• Home
  • Raw
  • Download

Lines Matching refs:ct

36     for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) {  in preDestroy()  local
37 if (mRSC->mStateElement.mElements[ct] == this) { in preDestroy()
38 mRSC->mStateElement.mElements.removeAt(ct); in preDestroy()
57 for (size_t ct=0; ct < mFieldCount; ct++) { in getSizeBits() local
58 total += mFields[ct].e->mBits * mFields[ct].arraySize; in getSizeBits()
67 for (uint32_t ct = 0; ct < mFieldCount; ct++) { in dumpLOGV() local
68 LOGV("%s Element field index: %u ------------------", prefix, ct); in dumpLOGV()
70 prefix, mFields[ct].name.string(), mFields[ct].offsetBits, mFields[ct].arraySize); in dumpLOGV()
71 mFields[ct].e->dumpLOGV(prefix); in dumpLOGV()
86 for (uint32_t ct = 0; ct < mFieldCount; ct++) { in serialize() local
87 stream->addString(&mFields[ct].name); in serialize()
88 stream->addU32(mFields[ct].arraySize); in serialize()
89 mFields[ct].e->serialize(stream); in serialize()
122 for (uint32_t ct = 0; ct < fieldCount; ct ++) { in createFromStream() local
124 subElemNamesLengths[ct] = elemName.length(); in createFromStream()
125 char *tmpName = new char[subElemNamesLengths[ct]]; in createFromStream()
126 memcpy(tmpName, elemName.string(), subElemNamesLengths[ct]); in createFromStream()
127 subElemNames[ct] = tmpName; in createFromStream()
128 arraySizes[ct] = stream->loadU32(); in createFromStream()
129 subElems[ct] = Element::createFromStream(rsc, stream); in createFromStream()
134 for (uint32_t ct = 0; ct < fieldCount; ct ++) { in createFromStream() local
135 delete [] subElemNames[ct]; in createFromStream()
136 subElems[ct]->decUserRef(); in createFromStream()
154 for (size_t ct=0; ct < mFieldCount; ct++) { in compute() local
155 mFields[ct].offsetBits = bits; in compute()
156 bits += mFields[ct].e->getSizeBits() * mFields[ct].arraySize; in compute()
158 if (mFields[ct].e->mHasReference) { in compute()
170 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { in createRef() local
171 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
203 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { in createRef() local
204 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
229 for (size_t ct=0; ct < count; ct++) { in createRef() local
230 e->mFields[ct].e.set(ein[ct]); in createRef()
231 e->mFields[ct].name.setTo(nin[ct], lengths[ct]); in createRef()
232 e->mFields[ct].arraySize = asin[ct]; in createRef()
257 for (uint32_t ct=0; ct < mFields[i].arraySize; ct++) { in incRefs() local
279 for (uint32_t ct=0; ct < mFields[i].arraySize; ct++) { in decRefs() local