Lines Matching refs:fd
23 inline static uint32_t GetOffset(const C2FieldDescriptor &fd) { in GetOffset()
24 return fd._mFieldId._mOffset; in GetOffset()
27 inline static void SetOffset(C2FieldDescriptor &fd, uint32_t offset) { in SetOffset()
28 fd._mFieldId._mOffset = offset; in SetOffset()
31 inline static uint32_t GetEndOffset(const C2FieldDescriptor &fd, uint32_t paramSize = 0) {
32 uint32_t endOffset = fd._mFieldId._mOffset + fd._mExtent * fd._mFieldId._mSize;
34 return fd._mExtent ? endOffset : std::max(endOffset, paramSize);
37 inline static uint32_t GetSize(const C2FieldDescriptor &fd) { in GetSize()
38 return fd._mFieldId._mSize; in GetSize()
61 inline static _C2FieldId GetField(const C2FieldDescriptor &fd) { in GetField()
62 return fd._mFieldId; in GetField()
91 C2FieldDescriptor &fd, C2FieldDescriptor::NamedValuesType &&namedValues) { in AddNamedValues()
92 fd._mNamedValues = std::move(namedValues); in AddNamedValues()
102 C2FieldDescriptor OffsetFieldDescriptor(const C2FieldDescriptor &fd, size_t offset) { in OffsetFieldDescriptor()
103 return C2FieldDescriptor(fd, offset); in OffsetFieldDescriptor()