Lines Matching refs:Element
24 Element::Element(Context *rsc) : ObjectBase(rsc) { in Element() function in Element
33 Element::~Element() { in ~Element()
37 void Element::operator delete(void* ptr) { in operator delete()
39 Element *e = (Element*) ptr; in operator delete()
44 void Element::preDestroy() const { in preDestroy()
53 void Element::clear() { in clear()
71 size_t Element::getSizeBits() const { in getSizeBits()
83 size_t Element::getSizeBitsUnpadded() const { in getSizeBitsUnpadded()
95 void Element::dumpLOGV(const char *prefix) const { in dumpLOGV()
107 void Element::serialize(Context *rsc, OStream *stream) const { in serialize()
123 Element *Element::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
138 return (Element *)Element::create(rsc, in createFromStream()
145 const Element **subElems = new const Element *[fieldCount]; in createFromStream()
154 subElems[ct] = Element::createFromStream(rsc, stream); in createFromStream()
157 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames, in createFromStream()
169 return (Element *)elem; in createFromStream()
172 void Element::compute() { in compute()
193 mHal.state.fields = new const Element*[noPaddingFieldCount]; in compute()
228 ObjectBaseRef<const Element> Element::createRef(Context *rsc, RsDataType dt, RsDataKind dk, in createRef()
230 ObjectBaseRef<const Element> returnRef; in createRef()
234 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
249 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef()
255 Element *e = new (allocMem) Element(rsc); in createRef()
273 ObjectBaseRef<const Element> Element::createRef(Context *rsc, size_t count, const Element **ein, in createRef()
276 ObjectBaseRef<const Element> returnRef; in createRef()
280 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
313 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef()
319 Element *e = new (allocMem) Element(rsc); in createRef()
348 void Element::incRefs(const void *ptr) const { in incRefs()
370 void Element::decRefs(const void *ptr) const { in decRefs()
392 void Element::callUpdateCacheObject(const Context *rsc, void *dstObj) const { in callUpdateCacheObject()
418 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); in rsi_ElementCreate()
432 return (RsElement)Element::create(rsc, ein_length, (const Element **)ein, in rsi_ElementCreate2()
443 Element *e = static_cast<Element *>(elem); in rsaElementGetNativeData()
454 Element *e = static_cast<Element *>(elem); in rsaElementGetSubElements()