Home
last modified time | relevance | path

Searched refs:fieldDesc (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp325 if (desc.fieldDesc) { in updateParamsFromMessage()
328 + _C2ParamInspector::GetOffset(*desc.fieldDesc); in updateParamsFromMessage()
332 if (!desc.fieldDesc /* whole param */ || desc.fieldDesc->extent() == 0) { in updateParamsFromMessage()
349 } else if (desc.fieldDesc->type() == C2FieldDescriptor::BLOB) { in updateParamsFromMessage()
351 if (desc.fieldDesc->extent() > size) { in updateParamsFromMessage()
353 desc.fieldDesc->extent() - size); in updateParamsFromMessage()
373 if (!desc.fieldDesc) { in parseMessageAndDoWork()
392 C2FieldDescriptor::type_t fieldType = desc.fieldDesc->type(); in parseMessageAndDoWork()
393 size_t fieldExtent = desc.fieldDesc->extent(); in parseMessageAndDoWork()
505 if (!desc.fieldDesc) { in getParams()
[all …]
DReflectedParamUpdater.h198 std::unique_ptr<C2FieldDescriptor> fieldDesc; member
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBUtilities_PackagePrivate.h182 GPBMessageFieldDescription *fieldDesc = field->description_; in GPBGetHasIvarField() local
183 return GPBGetHasIvar(self, fieldDesc->hasIndex, fieldDesc->number); in GPBGetHasIvarField()
187 GPBMessageFieldDescription *fieldDesc = field->description_; in GPBSetHasIvarField() local
188 GPBSetHasIvar(self, fieldDesc->hasIndex, fieldDesc->number, value); in GPBSetHasIvarField()
DGPBUtilities.m208 //% GPBMessageFieldDescription *fieldDesc = field->description_;
209 //% GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
330 GPBMessageFieldDescription *fieldDesc = field->description_;
331 GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
494 GPBMessageFieldDescription *fieldDesc = field->description_;
495 return GPBGetHasIvar(self, (int32_t)(fieldDesc->offset), fieldDesc->number);
514 GPBMessageFieldDescription *fieldDesc = field->description_;
517 GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
524 GPBSetHasIvar(self, (int32_t)(fieldDesc->offset), fieldDesc->number, value);
563 GPBMessageFieldDescription *fieldDesc = field->description_;
[all …]
DGPBDescriptor.m90 for (GPBFieldDescriptor *fieldDesc in allMessageFields) {
91 if (fieldDesc->description_->hasIndex == hasIndex) {
92 [result addObject:fieldDesc];
138 GPBMessageFieldDescription *fieldDesc = fieldDescriptions;
139 desc = &(fieldDesc[i]);
290 for (GPBFieldDescriptor *fieldDesc in fields) {
291 fieldDesc->containingOneof_ = self;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests.m1801 GPBFieldDescriptor *fieldDesc = [descriptor fieldWithName:@"foo"];
1802 XCTAssertNotNil(fieldDesc);
1803 XCTAssertTrue(fieldDesc.hasDefaultValue);
1807 fieldDesc = [descriptor fieldWithName:@"bar"];
1808 XCTAssertNotNil(fieldDesc);
1809 XCTAssertTrue(fieldDesc.hasDefaultValue);