Home
last modified time | relevance | path

Searched refs:FieldOffset (Results 1 – 3 of 3) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_reflection_state.cpp726 size_t FieldOffset = FieldExport->getOffsetInParent(); in declareRecord() local
731 slangAssert(FieldOffset >= Pos); in declareRecord()
737 FieldState.mPrePadding = FieldOffset - Pos; in declareRecord()
739 FieldState.mOffset = FieldOffset; in declareRecord()
742 Pos = FieldOffset + FieldAllocSize; in declareRecord()
Dslang_rs_reflection_cpp.cpp818 size_t FieldOffset = F->getOffsetInParent(); in genPackVarOfType() local
828 if (FieldOffset > Pos) { in genPackVarOfType()
829 mOut.indent() << FieldPackerName << ".skip(" << (FieldOffset - Pos) in genPackVarOfType()
841 Pos = FieldOffset + FieldAllocSize; in genPackVarOfType()
Dslang_rs_reflection.cpp2245 size_t FieldOffset = F->getOffsetInParent(); in genPackVarOfType() local
2257 emitSkip(Pos, FieldOffset, Field32PreAndPostPadding.first /* pre */); in genPackVarOfType()
2264 Pos = FieldOffset + FieldAllocSize; in genPackVarOfType()
2611 size_t FieldOffset = F->getOffsetInParent(); in genTypeClassComponentSetter() local
2630 genConditionalVal(" + ", true, FieldOffset, Field32OffsetAndStoreSize.first /* offset */); in genTypeClassComponentSetter()
2808 size_t FieldOffset = F->getOffsetInParent(); in genAddElement() local
2822 genAddPadding(FieldOffset - Pos, Field32PreAndPostPadding.first /* pre */); in genAddElement()
2840 Pos = FieldOffset + FieldAllocSize; in genAddElement()