/external/chromium_org/chromeos/network/ |
D | network_ui_data.cc | 25 Enum enum_value; member 39 Enum enum_value) { in EnumToString() argument 41 if (table[i].enum_value == enum_value) in EnumToString() 55 return table[i].enum_value; in StringToEnum()
|
/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_org/tools/metrics/histograms/ |
D | update_histogram_enum.py | 60 enum_value = int(m.group(2)) 68 result[enum_value] = label 69 enum_value += 1 73 enum_value = 0
|
/external/clang/bindings/python/tests/cindex/ |
D | test_cursor.py | 184 assert spam.enum_value == 1 186 assert egg.enum_value == 2 188 assert ham.enum_value == 40 203 assert spam.enum_value == -1 205 assert ham.enum_value == 0x10000000000
|
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/parse/ |
D | translate.py | 74 def EnumValueToDict(enum_value): argument 75 assert isinstance(enum_value, ast.EnumValue) 76 return {'name': enum_value.name, 77 'value': enum_value.value}
|
/external/chromium_org/mojo/public/python/mojo/bindings/ |
D | reflection.py | 34 key, enum_value = value 35 if isinstance(key, str) and isinstance(enum_value, int): 36 dictionary[key] = enum_value
|
/external/chromium_org/mojo/public/tools/bindings/generators/java_templates/ |
D | enum_definition.tmpl | 1 {%- macro enum_value(enum, field, index) -%} 15 public static final int {{field.name}} = {{enum_value(enum, field, loop.index0)}};
|
/external/chromium_org/sync/syncable/ |
D | syncable_enum_conversions.cc | 25 #define ENUM_CASE(enum_value) case enum_value: return #enum_value argument
|
/external/lldb/test/lang/c/enum_types/ |
D | TestEnumTypes.py | 79 for enum_value in enum_values: 81 substrs = [enum_value])
|
/external/chromium_org/third_party/protobuf/python/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) 722 enum_value = enum_descriptor.values_by_name.get(value, None) 723 if enum_value is None: 729 enum_value = enum_descriptor.values_by_number.get(number, None) 730 if enum_value is None: 734 return enum_value.number
|
/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/chromium_org/build/android/gyp/ |
D | java_cpp_enum.py | 109 enum_value = enum_entry.groups()[2] 110 self._current_definition.AppendEntry(enum_key, enum_value) 185 for enum_name, enum_value in enum_definition.entries.iteritems(): 188 'VALUE': enum_value,
|
/external/chromium_org/extensions/common/features/ |
D | simple_feature.cc | 97 T* enum_value, in ParseEnum() argument 109 *enum_value = iter->second; in ParseEnum() 115 T* enum_value, in ParseEnum() argument 121 ParseEnum(string_value, enum_value, mapping); in ParseEnum() 149 T enum_value = static_cast<T>(0); in ParseEnumSet() local 150 ParseEnum(*iter, &enum_value, mapping); in ParseEnumSet() 151 enum_set->insert(enum_value); in ParseEnumSet()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
D | wire_format.cc | 185 const EnumValueDescriptor* enum_value = in ParseAndMergeField() local 187 if (enum_value != NULL) { in ParseAndMergeField() 188 message_reflection->AddEnum(message, field, enum_value); in ParseAndMergeField() 245 const EnumValueDescriptor* enum_value = in ParseAndMergeField() local 247 if (enum_value != NULL) { in ParseAndMergeField() 249 message_reflection->AddEnum(message, field, enum_value); in ParseAndMergeField() 251 message_reflection->SetEnum(message, field, enum_value); in ParseAndMergeField()
|
/external/chromium_org/tools/json_schema_compiler/ |
D | cc_generator.py | 905 enum_value.name 906 for enum_value in self._type_helper.FollowRef(type_).enum_values) + 940 for enum_value in self._type_helper.FollowRef(type_).enum_values: 941 name = enum_value.name 943 name = enum_value.CamelName() 944 (c.Append('case %s: ' % self._type_helper.GetEnumValue(type_, enum_value)) 968 for i, enum_value in enumerate( 973 (c.Append('if (enum_string == "%s")' % enum_value.name) 975 self._type_helper.GetEnumValue(type_, enum_value)))
|
D | idl_schema.py | 310 enum_value = {'name': node.GetName()} 313 enum_value['description'] = ProcessComment(child.GetName())[0] 316 enum.append(enum_value)
|
/external/lldb/test/lang/cpp/enum_types/ |
D | TestCPP11EnumTypes.py | 168 for enum_value in enum_values: 170 substrs = [enum_value])
|
/external/protobuf/python/google/protobuf/ |
D | text_format.py | 265 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
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
D | v8_utilities.py | 125 return ' || '.join(['string == "%s"' % enum_value 126 for enum_value in idl_type.enum_values])
|
/external/chromium_org/chrome/browser/prerender/ |
D | prerender_link_manager.cc | 77 const uint32 enum_value = rel_types & (RelTypeHistogramEnumMax - 1); in RecordLinkManagerAdded() local 78 UMA_HISTOGRAM_ENUMERATION("Prerender.RelTypesLinkAdded", enum_value, in RecordLinkManagerAdded() 83 const uint32 enum_value = rel_types & (RelTypeHistogramEnumMax - 1); in RecordLinkManagerStarting() local 84 UMA_HISTOGRAM_ENUMERATION("Prerender.RelTypesLinkStarted", enum_value, in RecordLinkManagerStarting()
|
/external/chromium_org/sync/protocol/ |
D | proto_enum_conversions.cc | 20 #define ENUM_CASE(enum_parent, enum_value) \ argument 21 case enum_parent::enum_value: return #enum_value
|
/external/protobuf/src/google/protobuf/ |
D | wire_format.cc | 488 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()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 872 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()
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/ |
D | python-proto2.cc | 616 const google::protobuf::EnumValueDescriptor* enum_value = in InternalGetScalar() local 618 result = PyInt_FromLong(enum_value->number()); in InternalGetScalar() 689 const google::protobuf::EnumValueDescriptor* enum_value = in InternalSetScalar() local 691 if (enum_value != NULL) { in InternalSetScalar() 692 reflection->SetEnum(message, field_descriptor, enum_value); in InternalSetScalar() 781 const google::protobuf::EnumValueDescriptor* enum_value = in InternalAddRepeatedScalar() local 783 if (enum_value != NULL) { in InternalAddRepeatedScalar() 784 reflection->AddEnum(message, field_descriptor, enum_value); in InternalAddRepeatedScalar() 864 const google::protobuf::EnumValueDescriptor* enum_value = in InternalGetRepeatedScalar() local 867 result = PyInt_FromLong(enum_value->number()); in InternalGetRepeatedScalar()
|