Home
last modified time | relevance | path

Searched refs:enum_value (Results 1 – 15 of 15) sorted by relevance

/external/chromium/chrome/browser/sync/protocol/
Dproto_enum_conversions.cc20 #define ENUM_CASE(enum_parent, enum_value) \ argument
21 case enum_parent::enum_value: return #enum_value
/external/clang/bindings/python/tests/cindex/
Dtest_cursor.py191 assert spam.enum_value == 1
193 assert egg.enum_value == 2
195 assert ham.enum_value == 40
210 assert spam.enum_value == -1
212 assert ham.enum_value == 0x10000000000
/external/chromium/chrome/browser/sync/syncable/
Dsyncable_enum_conversions.cc24 #define ENUM_CASE(enum_value) case enum_value: return #enum_value argument
/external/protobuf/python/google/protobuf/
Dtext_format.py265 enum_value = enum_descriptor.values_by_number.get(number, None)
266 if enum_value is None:
272 enum_value = enum_descriptor.values_by_name.get(identifier, None)
273 if enum_value is None:
277 value = enum_value.number
Dreflection.py308 for enum_value in enum_type.values:
309 setattr(cls, enum_value.name, enum_value.number)
/external/protobuf/src/google/protobuf/
Dwire_format.cc488 const EnumValueDescriptor* enum_value = in ParseAndMergeField() local
490 if (enum_value != NULL) { in ParseAndMergeField()
491 message_reflection->AddEnum(message, field, enum_value); in ParseAndMergeField()
548 const EnumValueDescriptor* enum_value = in ParseAndMergeField() local
550 if (enum_value != NULL) { in ParseAndMergeField()
552 message_reflection->AddEnum(message, field, enum_value); in ParseAndMergeField()
554 message_reflection->SetEnum(message, field, enum_value); in ParseAndMergeField()
Ddescriptor.cc2034 void CrossLinkEnumValue(EnumValueDescriptor* enum_value,
2163 void ValidateEnumValueOptions(EnumValueDescriptor* enum_value,
3566 EnumValueDescriptor* enum_value, const EnumValueDescriptorProto& proto) { in CrossLinkEnumValue() argument
3567 if (enum_value->options_ == NULL) { in CrossLinkEnumValue()
3568 enum_value->options_ = &EnumValueOptions::default_instance(); in CrossLinkEnumValue()
3718 EnumValueDescriptor* enum_value, const EnumValueDescriptorProto& proto) { in ValidateEnumValueOptions() argument
4252 const EnumValueDescriptor* enum_value = NULL; in SetOptionValue() local
4275 enum_value = symbol.enum_value_descriptor; in SetOptionValue()
4281 enum_value = enum_type->FindValueByName(value_name); in SetOptionValue()
4284 if (enum_value == NULL) { in SetOptionValue()
[all …]
Dtext_format.cc421 const EnumValueDescriptor* enum_value in ConsumeFieldValue() local
424 if (enum_value == NULL) { in ConsumeFieldValue()
430 SET_FIELD(Enum, enum_value); in ConsumeFieldValue()
Dextension_set.cc294 return iter->second.enum_value; in PRIMITIVE_ACCESSORS()
309 extension->enum_value = value; in SetEnum()
1195 HANDLE_TYPE( ENUM, Enum, enum_value); in SerializeFieldWithCachedSizes()
1342 HANDLE_TYPE( ENUM, Enum, enum_value); in ByteSize()
Dextension_set_heavy.cc420 HANDLE_TYPE( ENUM, Enum, enum_value); in SerializeFieldWithCachedSizesToArray()
Dextension_set.h393 int enum_value; member
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc872 bool Parser::ParseEnumConstant(EnumValueDescriptorProto* enum_value) { in ParseEnumConstant() argument
873 RecordLocation(enum_value, DescriptorPool::ErrorCollector::NAME); in ParseEnumConstant()
874 DO(ConsumeIdentifier(enum_value->mutable_name(), in ParseEnumConstant()
882 enum_value->set_number(number); in ParseEnumConstant()
884 DO(ParseEnumConstantOptions(enum_value)); in ParseEnumConstant()
Dparser.h249 bool ParseEnumConstant(EnumValueDescriptorProto* enum_value);
/external/chromium-trace/trace-viewer/third_party/python_gflags/
Dgflags.py2620 for enum_value in self.parser.enum_values:
2621 _WriteSimpleXMLElement(outfile, 'enum_value', enum_value, indent)
/external/clang/bindings/python/clang/
Dcindex.py1210 def enum_value(self): member in Cursor