Home
last modified time | relevance | path

Searched refs:enum_name (Results 1 – 14 of 14) sorted by relevance

/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pool.py312 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/
Dmessage_registry.py186 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)
Dutil.py98 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/
Dpeerconnection_jni.cc1390 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/
Dtest_core.py13 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/
Dvk_layer_documentation_generate.py166 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)
Dvk_helper.py239 (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/
Dhb-gobject-enums.h.tmpl45 HB_EXTERN GType @enum_name@_get_type (void) G_GNUC_CONST;
46 #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
Dhb-gobject-enums.cc.tmpl49 @enum_name@_get_type (void)
/external/autotest/client/cros/cellular/
Dcellular.py10 def Enum(enum_name, items): argument
21 setattr(output, item, enum_name + ':' + item)
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py417 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/
DglX_proto_size.py68 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/
Dencoding.py570 enum_name = _GetTypeKey(enum_type, package)
574 field_mappings = _JSON_ENUM_MAPPINGS.setdefault(enum_name, {})
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1941 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()