Lines Matching refs:Element

23 Element::Element(Context *rsc) : ObjectBase(rsc) {  in Element()  function in android::renderscript::Element
32 Element::~Element() { in ~Element()
36 void Element::operator delete(void* ptr) { in operator delete()
38 Element *e = (Element*) ptr; in operator delete()
43 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()
230 ObjectBaseRef<const Element> Element::createRef(Context *rsc, RsDataType dt, RsDataKind dk, in createRef()
232 ObjectBaseRef<const Element> returnRef; in createRef()
236 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
251 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef()
257 Element *e = new (allocMem) Element(rsc); in createRef()
275 ObjectBaseRef<const Element> Element::createRef(Context *rsc, size_t count, const Element **ein, in createRef()
278 ObjectBaseRef<const Element> returnRef; in createRef()
282 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
315 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef()
321 Element *e = new (allocMem) Element(rsc); in createRef()
350 void Element::incRefs(const void *ptr) const { in incRefs()
372 void Element::decRefs(const void *ptr) const { in decRefs()
394 void Element::callUpdateCacheObject(const Context *rsc, void *dstObj) const { in callUpdateCacheObject()
417 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); in rsi_ElementCreate()
431 return (RsElement)Element::create(rsc, ein_length, (const Element **)ein, in rsi_ElementCreate2()