Searched refs:named_value (Results 1 – 3 of 3) sorted by relevance
/external/ltrace/ |
D | value_dict.c | 28 struct named_value struct 39 VECT_INIT(&dict->named, struct named_value); in val_dict_init() argument 55 named_value_clone(struct named_value *tgt, in named_value_clone() 56 const struct named_value *src, void *data) in named_value_clone() 70 named_value_dtor(struct named_value *named, void *data) in named_value_dtor() 84 if (VECT_CLONE(&target->named, &source->named, struct named_value, in val_dict_clone() 105 struct named_value element = { name, *val, own_name }; in val_dict_push_named() 132 struct named_value *element in val_dict_get_name() 133 = VECT_ELEMENT(&dict->named, struct named_value, i); in val_dict_get_name() 147 VECT_DESTROY(&dict->named, struct named_value, named_value_dtor, NULL); in val_dict_destroy()
|
/external/chromium_org/mojo/public/tools/bindings/generators/ |
D | mojom_python_generator.py | 185 def GetComputedValue(named_value): argument 186 if isinstance(named_value, mojom.EnumValue): 187 field = next(ifilter(lambda field: field.name == named_value.name, 188 named_value.enum.fields), None) 192 (named_value.name, named_value.enum.name)) 194 ResolveEnum(named_value.enum) 196 elif isinstance(named_value, mojom.ConstantValue): 197 ResolveConstant(named_value.constant) 198 named_value.computed_value = named_value.constant.computed_value 199 return named_value.computed_value [all …]
|
D | mojom_java_generator.py | 280 def _TranslateNamedValue(named_value): argument 281 entity_name = GetNameForElement(named_value) 282 if named_value.parent_kind: 283 return GetJavaType(context, named_value.parent_kind) + '.' + entity_name 285 if not isinstance(named_value, mojom.EnumValue): 286 entity_name = (GetConstantsMainEntityName(named_value.module) + '.' + 288 if GetPackage(named_value.module) == GetPackage(context.resolve('module')): 290 return GetPackage(named_value.module) + '.' + entity_name
|