/external/lldb/source/Interpreter/ |
D | Property.cpp | 75 …OptionValueEnumeration *enum_value = new OptionValueEnumeration(definition.enum_values, definition… in Property() local 76 m_value_sp.reset (enum_value); in Property() 79 if (enum_value->SetValueFromCString(definition.default_cstr_value).Success()) in Property() 81 enum_value->SetDefaultValue(enum_value->GetCurrentValue()); in Property() 86 enum_value->Clear(); in Property()
|
/external/ltrace/ |
D | lens_enum.c | 71 enum_values_equal(struct value *inf_value, struct value *enum_value, in enum_values_equal() argument 87 assert(inf_value->type->type == enum_value->type->type); in enum_values_equal() 89 unsigned char *enum_data = value_get_data(enum_value, arguments); in enum_values_equal() 90 size_t enum_sz = value_size(enum_value, arguments); in enum_values_equal()
|
/external/clang/bindings/python/tests/cindex/ |
D | test_cursor.py | 186 assert spam.enum_value == 1 188 assert egg.enum_value == 2 190 assert ham.enum_value == 40 205 assert spam.enum_value == -1 207 assert ham.enum_value == 0x10000000000
|
/external/protobuf/python/google/protobuf/ |
D | text_format.py | 185 enum_value = field.enum_type.values_by_number.get(value, None) 186 if enum_value is not None: 187 out.write(enum_value.name) 861 enum_value = enum_descriptor.values_by_name.get(value, None) 862 if enum_value is None: 868 enum_value = enum_descriptor.values_by_number.get(number, None) 869 if enum_value is None: 873 return enum_value.number
|
/external/nanopb-c/generator/google/protobuf/ |
D | text_format.py | 125 enum_value = field.enum_type.values_by_number.get(value, None) 126 if enum_value is not None: 127 out.write(enum_value.name) 727 enum_value = enum_descriptor.values_by_name.get(value, None) 728 if enum_value is None: 734 enum_value = enum_descriptor.values_by_number.get(number, None) 735 if enum_value is None: 739 return enum_value.number
|
/external/lldb/test/lang/c/enum_types/ |
D | TestEnumTypes.py | 79 for enum_value in enum_values: 81 substrs = [enum_value])
|
/external/llvm/bindings/python/llvm/tests/ |
D | test_core.py | 13 for enum_name, enum_value in enum_spec: 23 self.assertEqual(v_attr.value, enum_value) 25 e = enum_cls.from_value(enum_value)
|
/external/protobuf/python/google/protobuf/pyext/ |
D | repeated_scalar_container.cc | 169 const google::protobuf::EnumValueDescriptor* enum_value = in AssignItem() local 171 if (enum_value != NULL) { in AssignItem() 173 enum_value); in AssignItem() 255 const google::protobuf::EnumValueDescriptor* enum_value = in Item() local 258 result = PyInt_FromLong(enum_value->number()); in Item() 417 const google::protobuf::EnumValueDescriptor* enum_value = in Append() local 419 if (enum_value != NULL) { in Append() 420 reflection->AddEnum(message, field_descriptor, enum_value); in Append()
|
D | message.cc | 1689 const google::protobuf::EnumValueDescriptor* enum_value = in CheckAndGetInteger() local 1691 result = PyInt_FromLong(enum_value->number()); in CheckAndGetInteger() 1807 const google::protobuf::EnumValueDescriptor* enum_value = in CheckAndGetInteger() local 1809 if (enum_value != NULL) { in CheckAndGetInteger() 1810 reflection->SetEnum(message, field_descriptor, enum_value); in CheckAndGetInteger() 1958 ScopedPyObjectPtr enum_value; in CheckAndGetInteger() local 1959 while ((enum_value.reset(PyIter_Next(values_iter))) != NULL) { in CheckAndGetInteger() 1960 ScopedPyObjectPtr value_name(PyObject_GetAttr(enum_value, kname)); in CheckAndGetInteger() 1964 ScopedPyObjectPtr value_number(PyObject_GetAttrString(enum_value, in CheckAndGetInteger()
|
/external/lldb/test/lang/cpp/enum_types/ |
D | TestCPP11EnumTypes.py | 168 for enum_value in enum_values: 170 substrs = [enum_value])
|
/external/protobuf/src/google/protobuf/ |
D | wire_format.cc | 515 const EnumValueDescriptor* enum_value = in ParseAndMergeField() local 517 if (enum_value != NULL) { in ParseAndMergeField() 518 message_reflection->AddEnum(message, field, enum_value); in ParseAndMergeField() 575 const EnumValueDescriptor* enum_value = in ParseAndMergeField() local 577 if (enum_value != NULL) { in ParseAndMergeField() 579 message_reflection->AddEnum(message, field, enum_value); in ParseAndMergeField() 581 message_reflection->SetEnum(message, field, enum_value); in ParseAndMergeField()
|
D | text_format.cc | 679 const EnumValueDescriptor* enum_value = NULL; in ConsumeFieldValue() local 684 enum_value = enum_type->FindValueByName(value); in ConsumeFieldValue() 691 enum_value = enum_type->FindValueByNumber(int_value); in ConsumeFieldValue() 697 if (enum_value == NULL) { in ConsumeFieldValue() 709 SET_FIELD(Enum, enum_value); in ConsumeFieldValue()
|
D | descriptor.cc | 2514 void CrossLinkEnumValue(EnumValueDescriptor* enum_value, 2664 void ValidateEnumValueOptions(EnumValueDescriptor* enum_value, 4385 EnumValueDescriptor* enum_value, in CrossLinkEnumValue() argument 4387 if (enum_value->options_ == NULL) { in CrossLinkEnumValue() 4388 enum_value->options_ = &EnumValueOptions::default_instance(); in CrossLinkEnumValue() 4562 const EnumValueDescriptor* enum_value = enm->value(i); in ValidateEnumOptions() local 4563 if (used_values.find(enum_value->number()) != used_values.end()) { in ValidateEnumOptions() 4565 "\"" + enum_value->full_name() + in ValidateEnumOptions() 4567 used_values[enum_value->number()] + "\". If this is intended, set " in ValidateEnumOptions() 4580 used_values[enum_value->number()] = enum_value->full_name(); in ValidateEnumOptions() [all …]
|
D | extension_set.cc | 406 return iter->second.enum_value; in GetEnum() 421 extension->enum_value = value; in SetEnum() 1376 HANDLE_TYPE( ENUM, Enum, enum_value); in SerializeFieldWithCachedSizes() 1501 HANDLE_TYPE( ENUM, Enum, enum_value); in ByteSize()
|
D | extension_set_heavy.cc | 488 HANDLE_TYPE( ENUM, Enum, enum_value); in SerializeFieldWithCachedSizesToArray()
|
D | extension_set.h | 457 int enum_value; member
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 1384 bool Parser::ParseEnumConstant(EnumValueDescriptorProto* enum_value, in ParseEnumConstant() argument 1392 enum_value, DescriptorPool::ErrorCollector::NAME); in ParseEnumConstant() 1393 DO(ConsumeIdentifier(enum_value->mutable_name(), in ParseEnumConstant() 1404 enum_value, DescriptorPool::ErrorCollector::NUMBER); in ParseEnumConstant() 1408 enum_value->set_number(number); in ParseEnumConstant() 1411 DO(ParseEnumConstantOptions(enum_value, enum_value_location, in ParseEnumConstant()
|
D | parser.h | 383 bool ParseEnumConstant(EnumValueDescriptorProto* enum_value,
|
/external/protobuf/python/google/protobuf/internal/ |
D | cpp_message.py | 416 for enum_value in enum_type.values: 417 dictionary[enum_value.name] = enum_value.number
|
D | decoder.py | 431 (enum_value, pos) = _DecodeSignedVarint32(buffer, pos) 434 if enum_value in enum_type.values_by_number: 435 field_dict[key] = enum_value
|
D | python_message.py | 256 for enum_value in enum_type.values: 257 setattr(cls, enum_value.name, enum_value.number)
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | python_message.py | 244 for enum_value in enum_type.values: 245 setattr(cls, enum_value.name, enum_value.number)
|
/external/lldb/include/lldb/Symbol/ |
D | ClangASTType.h | 548 int64_t enum_value,
|
/external/chromium-trace/trace-viewer/tracing/third_party/python_gflags/ |
D | gflags.py | 2620 for enum_value in self.parser.enum_values: 2621 _WriteSimpleXMLElement(outfile, 'enum_value', enum_value, indent)
|
/external/lldb/source/Symbol/ |
D | ClangASTType.cpp | 5387 int64_t enum_value, in AddEnumerationValueToEnumerationType() argument 5404 enum_llvm_apsint = enum_value; in AddEnumerationValueToEnumerationType() 5661 …const int64_t enum_value = data.GetMaxU64Bitfield(&offset, data_byte_size, bitfield_bit_size, bitf… in DumpValue() local 5664 if (enum_pos->getInitVal() == enum_value) in DumpValue() 5672 s->Printf("%" PRIi64, enum_value); in DumpValue()
|