Home
last modified time | relevance | path

Searched refs:fieldOffset (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp551 size_t fieldOffset = _C2ParamInspector::GetOffset(field); in GetBaseOffset() local
554 if (offset < fieldOffset) { in GetBaseOffset()
557 if (offset == fieldOffset) { in GetBaseOffset()
561 if (field.extent() == 0 || offset < fieldOffset + fieldSize * fieldExtent) { in GetBaseOffset()
563 offset = fieldOffset + (offset - fieldOffset) % fieldSize; in GetBaseOffset()
568 offset - fieldOffset); in GetBaseOffset()
569 return ~offset ? fieldOffset + offset : offset; in GetBaseOffset()
/frameworks/compile/slang/
Dslang_backend.cpp485 const uint64_t fieldOffset = RL.getFieldOffset(fieldNo) >> 3; in PadStruct() local
486 const size_t prePadding = fieldOffset - fieldPrePaddingOffset; in PadStruct()
495 fieldPrePaddingOffset = fieldOffset + (ASTC.getTypeSize(FD->getType()) >> 3); in PadStruct()
859 const uint64_t fieldOffset = SL->getElementOffset(origFieldNum); in PadHelperFunctionStruct() local
860 const size_t prePadding = fieldOffset - fieldPrePaddingOffset; in PadHelperFunctionStruct()
870 fieldPrePaddingOffset = fieldOffset + DL->getTypeAllocSize(fieldType); in PadHelperFunctionStruct()