Searched refs:enum_name (Results 1 – 14 of 14) sorted by relevance
/external/nanopb-c/generator/google/protobuf/ |
D | descriptor_pool.py | 312 enum_name = '.'.join((package, enum_proto.name)) 314 enum_name = enum_proto.name 324 full_name=enum_name, 331 scope['.%s' % enum_name] = desc 332 self._enum_descriptors[enum_name] = desc 490 enum_name = '.'.join((package, enum_proto.name)) 492 enum_name = enum_proto.name 493 enum_desc = self.FindEnumTypeByName(enum_name) 494 yield (enum_name, enum_desc)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/ |
D | message_registry.py | 186 for index, (enum_name, enum_description) in enumerate( 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)) 349 def __DeclareEnum(self, enum_name, attrs): argument 354 self.AddEnumDescriptor(enum_name, description, 356 self.__AddIfUnknown(enum_name) 357 return TypeInfo(type_name=enum_name, variant=messages.Variant.ENUM) 383 enum_name = '%sValuesEnum' % name_hint 384 return self.__DeclareEnum(enum_name, attrs)
|
D | util.py | 98 def NormalizeEnumName(self, enum_name): argument 100 enum_name = enum_name.upper() 101 return self.CleanName(enum_name)
|
/external/webrtc/talk/app/webrtc/java/jni/ |
D | peerconnection_jni.cc | 1390 std::string enum_name = GetJavaEnumName( in JavaIceTransportsTypeToNativeType() local 1394 if (enum_name == "ALL") in JavaIceTransportsTypeToNativeType() 1397 if (enum_name == "RELAY") in JavaIceTransportsTypeToNativeType() 1400 if (enum_name == "NOHOST") in JavaIceTransportsTypeToNativeType() 1403 if (enum_name == "NONE") in JavaIceTransportsTypeToNativeType() 1406 RTC_CHECK(false) << "Unexpected IceTransportsType enum_name " << enum_name; in JavaIceTransportsTypeToNativeType() 1412 std::string enum_name = GetJavaEnumName( in JavaBundlePolicyToNativeType() local 1416 if (enum_name == "BALANCED") in JavaBundlePolicyToNativeType() 1419 if (enum_name == "MAXBUNDLE") in JavaBundlePolicyToNativeType() 1422 if (enum_name == "MAXCOMPAT") in JavaBundlePolicyToNativeType() [all …]
|
/external/llvm/bindings/python/llvm/tests/ |
D | test_core.py | 13 for enum_name, enum_value in enum_spec: 17 self.assertTrue(hasattr(enum_cls, enum_name)) 18 v_attr = getattr(enum_cls, enum_name)
|
/external/vulkan-validation-layers/ |
D | vk_layer_documentation_generate.py | 166 enum_name = line.split(',')[0].strip() 168 if enum_name in self.layer_dict[layer_name]['CHECKS']: 169 … print('ERROR : % layer has duplicate error enum: %s' % (layer_name, enum_name)) 170 self.layer_dict[layer_name]['CHECKS'].append(enum_name)
|
D | vk_helper.py | 239 (enum_name, eq_char, enum_val) = line_txt.split(None, 2) 241 enum_name = line_txt.split(',')[0] 243 self.enum_val_dict[enum_name] = {} 244 self.enum_val_dict[enum_name]['type'] = enum_type 247 self.enum_val_dict[enum_name]['val'] = enum_val.split()[0] 249 if 'VK_BIT' in self.enum_val_dict[enum_name]['val']: 250 vk_bit_val = self.enum_val_dict[enum_name]['val'] 252 self.enum_val_dict[enum_name]['val'] = str(1 << bit_shift) 255 …self.enum_val_dict[enum_name]['val'] = self.enum_val_dict[enum_name]['val'].strip(')').replace('-(… 259 int(self.enum_val_dict[enum_name]['val'], 0) [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-gobject-enums.h.tmpl | 45 HB_EXTERN GType @enum_name@_get_type (void) G_GNUC_CONST; 46 #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
|
D | hb-gobject-enums.cc.tmpl | 49 @enum_name@_get_type (void)
|
/external/autotest/client/cros/cellular/ |
D | cellular.py | 10 def Enum(enum_name, items): argument 21 setattr(output, item, enum_name + ':' + item)
|
/external/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 417 enum_name = '.'.join((package, enum_proto.name)) 419 enum_name = enum_proto.name 429 full_name=enum_name, 435 scope['.%s' % enum_name] = desc 436 self._enum_descriptors[enum_name] = desc
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | glX_proto_size.py | 68 for enum_name in enum_dict: 69 e = enum_dict[ enum_name ]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | encoding.py | 570 enum_name = _GetTypeKey(enum_type, package) 574 field_mappings = _JSON_ENUM_MAPPINGS.setdefault(enum_name, {})
|
/external/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 1941 ScopedPyObjectPtr enum_name(PyObject_GetAttr(enum_type, kname)); in CheckAndGetInteger() local 1942 if (enum_name == NULL) { in CheckAndGetInteger() 1946 enum_name, wrapped) == -1) { in CheckAndGetInteger()
|