/external/perfetto/src/protozero/protoc_plugin/ |
protozero_generator.cc | 159 const EnumDescriptor* enumeration = field->enum_type(); 186 enums_.push_back(source_->enum_type(i)); 190 enums_.push_back(message->enum_type(i)); 244 if (public_imports_.count(field->enum_type()->file()) == 0) { 245 referenced_enums_.insert(field->enum_type()); 416 cpp_type = GetCppClassName(field->enum_type(), true); 616 const EnumDescriptor* nested_enum = message->enum_type(i); 624 const EnumDescriptor* nested_enum = message->enum_type(i);
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_enum_field.cc | 133 return ClassName(params_, descriptor_->enum_type()); 327 return ClassName(params_, descriptor_->enum_type());
|
/external/protobuf/src/google/protobuf/util/internal/ |
utility.h | 138 const google::protobuf::Enum* enum_type, StringPiece enum_name); 143 const google::protobuf::Enum* enum_type, int32 value);
|
datapiece.cc | 262 StatusOr<int> DataPiece::ToEnum(const google::protobuf::Enum* enum_type) const { 269 FindEnumValueByNameOrNull(enum_type, enum_name); 275 value = FindEnumValueByNameOrNull(enum_type, enum_name); 281 FindEnumValueByNumberOrNull(enum_type, value.ValueOrDie())) {
|
type_info.cc | 96 google::protobuf::scoped_ptr<google::protobuf::Enum> enum_type( 99 type_resolver_->ResolveEnumType(string_type_url, enum_type.get()); 101 status.ok() ? StatusOrEnum(enum_type.release()) : StatusOrEnum(status);
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
objectivec_extension.cc | 110 EnumName(descriptor_->enum_type()) + "_EnumDescriptor";
|
/external/mesa3d/src/vulkan/util/ |
gen_enum_to_str.py | 178 for enum_type in xml.findall('./enums[@type="enum"]'): 179 enum = enum_factory(enum_type.attrib['name']) 180 for value in enum_type.findall('./enum'):
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
csharp_reflection_class.cc | 77 EnumGenerator enumGenerator(file_->enum_type(i), this->options()); 192 printer->Print("typeof($type_name$), ", "type_name", GetClassName(file_->enum_type(i))); 267 enums.push_back(GetClassName(descriptor->enum_type(i)));
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_file.cc | 143 if (file_->enum_type(i)->name() == classname_) { 193 EnumGenerator(file_->enum_type(i), params_).Generate(printer); 253 file_->enum_type(i),
|
/external/protobuf/src/google/protobuf/compiler/ |
parser_unittest.cc | 657 " enum_type { name: \"NestedEnum\" }" 811 "enum_type {" 829 "enum_type {" 849 "enum_type {" [all...] |
/external/protobuf/src/google/protobuf/compiler/python/ |
python_generator.cc | 406 // TODO(falk): Also print options and fix the message_type, enum_type, 421 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); 502 PrintEnum(*descriptor.enum_type(i)); 674 *message_descriptor.enum_type(i)); 795 // sets the message_type and enum_type of all message and enum fields to point 815 const EnumDescriptor& enum_descriptor = *descriptor.enum_type(i); 892 const EnumDescriptor* enum_type = field.enum_type(); local [all...] |
/external/protobuf/python/google/protobuf/internal/ |
descriptor_test.py | 74 enum_proto = message_proto.enum_type.add( 677 # """enum_type: < 734 enum_type = nested_type.enum_type.add() 735 enum_type.name = 'FOO' 736 enum_type_val = enum_type.value.add() 766 self.assertEqual(result.nested_types[0].fields[0].enum_type, 774 enum_type = message_type.enum_type.add() 775 enum_type.name = 'FOO [all...] |
python_message.py | 371 for enum_type in descriptor.enum_types: 372 setattr(cls, enum_type.name, enum_type_wrapper.EnumTypeWrapper(enum_type)) 373 for enum_value in enum_type.values: 466 def _GetIntegerEnumValue(enum_type, value): 470 enum_type with the same name. If the value is not a string, it's 475 return enum_type.values_by_name[value].number 478 enum_type.full_name, value)) 520 field_value = [_GetIntegerEnumValue(field.enum_type, val) 536 field_value = _GetIntegerEnumValue(field.enum_type, field_value [all...] |
type_checkers.py | 82 return EnumValueChecker(field.enum_type) 149 def __init__(self, enum_type): 150 self._enum_type = enum_type
|
/external/protobuf/src/google/protobuf/compiler/java/ |
java_file.cc | 289 EnumGenerator(file_->enum_type(i), immutable_api_, context_.get()) 292 EnumLiteGenerator(file_->enum_type(i), immutable_api_, context_.get()) 562 EnumGenerator generator(file_->enum_type(i), immutable_api_, 565 file_->enum_type(i), 570 EnumLiteGenerator generator(file_->enum_type(i), immutable_api_, 573 file_->enum_type(i),
|
java_name_resolver.cc | 104 if (message->enum_type(i)->name() == classname) { 161 if (file->enum_type(i)->name() == classname) {
|
java_enum_field.cc | 65 name_resolver->GetImmutableClassName(descriptor->enum_type()); 67 name_resolver->GetMutableClassName(descriptor->enum_type()); 357 return name_resolver_->GetImmutableClassName(descriptor_->enum_type()); [all...] |
java_enum_field_lite.cc | 65 name_resolver->GetImmutableClassName(descriptor->enum_type()); 67 name_resolver->GetMutableClassName(descriptor->enum_type()); 344 return name_resolver_->GetImmutableClassName(descriptor_->enum_type()); [all...] |
java_extension.cc | 93 singular_type = name_resolver->GetClassName(descriptor->enum_type(),
|
/external/libprotobuf-mutator/src/ |
field_instance.h | 172 const protobuf::EnumDescriptor* enum_type() const { function in class:protobuf_mutator::ConstFieldInstance 173 return descriptor_->enum_type(); 289 descriptor()->enum_type()->value(value.index); 363 descriptor()->enum_type()->value(value.index);
|
/external/python/apitools/apitools/base/py/ |
encoding.py | 572 def AddCustomJsonEnumMapping(enum_type, python_name, json_name, 580 enum_type: (messages.Enum) An enum type 587 if not issubclass(enum_type, messages.Enum): 589 'Cannot set JSON enum mapping for non-enum "%s"' % enum_type) 590 enum_name = _GetTypeKey(enum_type, package) 591 if python_name not in enum_type.names(): 593 'Enum value %s not a value for type %s' % (python_name, enum_type)) 595 _CheckForExistingMappings('enum', enum_type, python_name, json_name) 630 def GetCustomJsonEnumMapping(enum_type, python_name=None, json_name=None): 632 return _FetchRemapping(enum_type.definition_name(), 'enum' [all...] |
/development/vndk/tools/header-checker/src/dumper/ |
abi_wrappers.cpp | [all...] |
/external/protobuf/python/google/protobuf/ |
descriptor.py | 303 for enum_type in self.enum_types: 304 enum_type.containing_type = self 403 enum_type: (EnumDescriptor) If this field contains an enum, a 498 default_value, message_type, enum_type, containing_type, 508 default_value, message_type, enum_type, containing_type, 531 self.enum_type = enum_type [all...] |
/external/python/apitools/apitools/base/protorpclite/ |
messages.py | [all...] |
/external/clang/bindings/python/tests/cindex/ |
test_cursor.py | 297 enum_type = enum.enum_type 298 assert enum_type.kind == TypeKind.UINT 306 assert enum.enum_type.kind == TypeKind.LONGLONG
|