/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/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/ |
D | extended_descriptor.py | 254 def __PrintEnumValueCommentLines(self, enum_value): argument 255 if enum_value.description: 257 for line in textwrap.wrap(enum_value.description, width): 266 for enum_value in enum_values: 268 self.__PrintEnumValueCommentLines(enum_value) 269 self.__printer('%s = %s;', enum_value.name, enum_value.number) 376 for enum_value in enum_values: 377 self.__printer('%s = %s', enum_value.name, enum_value.number)
|
D | message_registry.py | 188 enum_value = extended_descriptor.ExtendedEnumValueDescriptor() 189 enum_value.name = self.__names.NormalizeEnumName(enum_name) 190 if enum_value.name != enum_name: 193 python_name=enum_value.name, json_name=enum_name)) 196 enum_value.number = index 197 enum_value.description = util.CleanDescription( 199 message.values.append(enum_value)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | generate_proto.py | 56 for enum_value in enum.values: 57 out << '%s = %s;' % (enum_value.name, enum_value.number)
|
D | protobuf_test.py | 68 proto.enum_value = protorpc_test_pb2.OptionalMessage.VAL2 83 proto.enum_value = protorpc_test_pb2.OptionalMessage.VAL2 106 proto.enum_value.append(protorpc_test_pb2.RepeatedMessage.VAL2) 107 proto.enum_value.append(protorpc_test_pb2.RepeatedMessage.VAL1) 166 field_num = test_util.OptionalMessage.enum_value.number
|
D | generate_python.py | 55 for enum_value in enum.values: 56 out << '%s = %s' % (enum_value.name, enum_value.number)
|
D | test_util.py | 293 enum_value = messages.EnumField(SimpleEnum, 10) variable in OptionalMessage 334 enum_value = messages.EnumField(SimpleEnum, variable in RepeatedMessage 469 message.enum_value = OptionalMessage.SimpleEnum.VAL2 484 message.enum_value = OptionalMessage.SimpleEnum.VAL2 499 message.enum_value = [RepeatedMessage.SimpleEnum.VAL2,
|
D | protorpc_test.proto | 48 optional SimpleEnum enum_value = 10; field 71 repeated SimpleEnum enum_value = 10; field
|
D | descriptor.py | 303 def describe_enum_value(enum_value): argument 313 enum_value_descriptor.name = six.text_type(enum_value.name) 314 enum_value_descriptor.number = enum_value.number
|
/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/clang/bindings/python/tests/cindex/ |
D | test_cursor.py | 246 assert spam.enum_value == 1 248 assert egg.enum_value == 2 250 assert ham.enum_value == 40 265 assert spam.enum_value == -1 267 assert ham.enum_value == 0x10000000000
|
/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/v8/build/android/gyp/ |
D | java_cpp_enum.py | 187 enum_value = enum_entry.groups()[2] 188 self._current_definition.AppendEntry(enum_key, enum_value) 275 for enum_name, enum_value in enum_definition.entries.iteritems(): 278 'VALUE': enum_value,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | encoding_test.py | 95 enum_value = 1 variable in MessageWithRemappings.SomeEnum 294 enum_field=MessageWithRemappings.SomeEnum.enum_value) 303 MessageWithRemappings.SomeEnum.enum_value, 328 double_encoding=MessageWithRemappings.SomeEnum.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()
|
/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()
|
/external/protobuf/python/google/protobuf/internal/ |
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 | cpp_message.py | 416 for enum_value in enum_type.values: 417 dictionary[enum_value.name] = enum_value.number
|