• Home
  • Raw
  • Download

Lines Matching refs:mFields

27     mFields = NULL;  in Element()
47 delete [] mFields; in clear()
48 mFields = NULL; in clear()
66 total += mFields[ct].e->mBits * mFields[ct].arraySize; in getSizeBits()
78 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; in getSizeBitsUnpadded()
90 prefix, mFields[ct].name.string(), mFields[ct].offsetBits, mFields[ct].arraySize); in dumpLOGV()
91 mFields[ct].e->dumpLOGV(prefix); in dumpLOGV()
107 stream->addString(&mFields[ct].name); in serialize()
108 stream->addU32(mFields[ct].arraySize); in serialize()
109 mFields[ct].e->serialize(stream); in serialize()
182 if (mFields[ct].name.string()[0] != '#') { in compute()
197 mFields[ct].offsetBits = bits; in compute()
198 mFields[ct].offsetBitsUnpadded = bitsUnpadded; in compute()
199 bits += mFields[ct].e->getSizeBits() * mFields[ct].arraySize; in compute()
200 bitsUnpadded += mFields[ct].e->getSizeBitsUnpadded() * mFields[ct].arraySize; in compute()
202 if (mFields[ct].e->mHasReference) { in compute()
206 if (mFields[ct].name.string()[0] == '#') { in compute()
210 mHal.state.fields[ctNoPadding] = mFields[ct].e.get(); in compute()
211 mHal.state.fieldArraySizes[ctNoPadding] = mFields[ct].arraySize; in compute()
212 mHal.state.fieldNames[ctNoPadding] = mFields[ct].name.string(); in compute()
213 mHal.state.fieldNameLengths[ctNoPadding] = mFields[ct].name.length() + 1; // to include 0 in compute()
214 mHal.state.fieldOffsetBytes[ctNoPadding] = mFields[ct].offsetBits >> 3; in compute()
265 if ((ee->mFields[i].e.get() != ein[i]) || in createRef()
266 (ee->mFields[i].name.length() != lengths[i]) || in createRef()
267 (ee->mFields[i].name != nin[i]) || in createRef()
268 (ee->mFields[i].arraySize != asin[i])) { in createRef()
284 e->mFields = new ElementField_t [count]; in createRef()
287 e->mFields[ct].e.set(ein[ct]); in createRef()
288 e->mFields[ct].name.setTo(nin[ct], lengths[ct]); in createRef()
289 e->mFields[ct].arraySize = asin[ct]; in createRef()
312 if (mFields[i].e->mHasReference) { in incRefs()
313 const uint8_t *p2 = &p[mFields[i].offsetBits >> 3]; in incRefs()
314 for (uint32_t ct=0; ct < mFields[i].arraySize; ct++) { in incRefs()
315 mFields[i].e->incRefs(p2); in incRefs()
316 p2 += mFields[i].e->getSizeBytes(); in incRefs()
334 if (mFields[i].e->mHasReference) { in decRefs()
335 const uint8_t *p2 = &p[mFields[i].offsetBits >> 3]; in decRefs()
336 for (uint32_t ct=0; ct < mFields[i].arraySize; ct++) { in decRefs()
337 mFields[i].e->decRefs(p2); in decRefs()
338 p2 += mFields[i].e->getSizeBytes(); in decRefs()