Lines Matching refs:mFields

26     mFields = nullptr;  in Element()
54 if (mFields) { in clear()
56 delete[] mFields[i].name; in clear()
58 delete [] mFields; in clear()
60 mFields = nullptr; in clear()
78 total += mFields[ct].e->mBits * mFields[ct].arraySize; in getSizeBits()
90 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; in getSizeBitsUnpadded()
102 prefix, mFields[ct].name, mFields[ct].offsetBits, mFields[ct].arraySize); in dumpLOGV()
103 mFields[ct].e->dumpLOGV(prefix); in dumpLOGV()
117 stream->addString(mFields[ct].name); in serialize()
118 stream->addU32(mFields[ct].arraySize); in serialize()
119 mFields[ct].e->serialize(rsc, stream); in serialize()
188 if (mFields[ct].name[0] != '#') { in compute()
203 mFields[ct].offsetBits = bits; in compute()
204 mFields[ct].offsetBitsUnpadded = bitsUnpadded; in compute()
205 bits += mFields[ct].e->getSizeBits() * mFields[ct].arraySize; in compute()
206 bitsUnpadded += mFields[ct].e->getSizeBitsUnpadded() * mFields[ct].arraySize; in compute()
208 if (mFields[ct].e->mHasReference) { in compute()
212 if (mFields[ct].name[0] == '#') { in compute()
216 mHal.state.fields[ctNoPadding] = mFields[ct].e.get(); in compute()
217 mHal.state.fieldArraySizes[ctNoPadding] = mFields[ct].arraySize; in compute()
218 mHal.state.fieldNames[ctNoPadding] = mFields[ct].name; in compute()
219 mHal.state.fieldNameLengths[ctNoPadding] = strlen(mFields[ct].name) + 1; // to include 0 in compute()
220 mHal.state.fieldOffsetBytes[ctNoPadding] = mFields[ct].offsetBits >> 3; in compute()
297 if ((ee->mFields[i].e.get() != ein[i]) || in createRef()
298 (strlen(ee->mFields[i].name) != len) || in createRef()
299 strcmp(ee->mFields[i].name, nin[i]) || in createRef()
300 (ee->mFields[i].arraySize != asize)) { in createRef()
323 e->mFields = new ElementField_t [count]; in createRef()
337 e->mFields[ct].e.set(ein[ct]); in createRef()
338 e->mFields[ct].name = rsuCopyString(nin[ct], len); in createRef()
339 e->mFields[ct].arraySize = asize; in createRef()
362 if (mFields[i].e->mHasReference) { in incRefs()
363 const uint8_t *p2 = &p[mFields[i].offsetBits >> 3]; in incRefs()
364 for (uint32_t ct=0; ct < mFields[i].arraySize; ct++) { in incRefs()
365 mFields[i].e->incRefs(p2); in incRefs()
366 p2 += mFields[i].e->getSizeBytes(); in incRefs()
384 if (mFields[i].e->mHasReference) { in decRefs()
385 const uint8_t *p2 = &p[mFields[i].offsetBits >> 3]; in decRefs()
386 for (uint32_t ct=0; ct < mFields[i].arraySize; ct++) { in decRefs()
387 mFields[i].e->decRefs(p2); in decRefs()
388 p2 += mFields[i].e->getSizeBytes(); in decRefs()