/external/nanopb-c/tests/regression/issue_118/ |
D | SConscript | 7 env.NanopbProto("enumdef") 8 env.Object('enumdef.pb.c') 10 env.NanopbProto(["enumuse", "enumdef.proto"])
|
D | enumuse.proto | 3 import 'enumdef.proto';
|
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_118/ |
D | SConscript | 7 env.NanopbProto("enumdef") 8 env.Object('enumdef.pb.c') 10 env.NanopbProto(["enumuse", "enumdef.proto"])
|
D | enumuse.proto | 3 import 'enumdef.proto';
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | defs.c | 147 upb_symtab_add(self->symtab, (upb_def**)&enumdesc->enumdef, 1, in add_enumdesc_to_pool() 1283 upb_enumdef_unref(self->enumdef, &self->enumdef); in EnumDescriptor_free() 1298 self->enumdef = upb_enumdef_new(&self->enumdef); in EnumDescriptor_alloc() 1331 upb_filedef_addenum(file_descriptor->filedef, self->enumdef, in EnumDescriptor_initialize() 1347 return get_def_obj(upb_def_file(self->enumdef)); in EnumDescriptor_file_descriptor() 1358 return rb_str_maybe_null(upb_enumdef_fullname(self->enumdef)); in EnumDescriptor_name() 1370 upb_enumdef* mut_def = check_enum_notfrozen(self->enumdef); in EnumDescriptor_name_set() 1387 upb_enumdef* mut_def = check_enum_notfrozen(self->enumdef); in EnumDescriptor_add_value() 1406 if (upb_enumdef_ntoiz(self->enumdef, name_str, &val)) { in EnumDescriptor_lookup_name() 1423 const char* name = upb_enumdef_iton(self->enumdef, val); in EnumDescriptor_lookup_value() [all …]
|
D | message.c | 765 const char* name = upb_enumdef_iton(enumdesc->enumdef, num); in enum_lookup() 786 bool found = upb_enumdef_ntoiz(enumdesc->enumdef, name, &num); in enum_resolve() 807 rb_intern(upb_enumdef_fullname(enumdesc->enumdef))); in build_module_from_enumdesc() 810 for (upb_enum_begin(&it, enumdesc->enumdef); in build_module_from_enumdesc() 827 get_def_obj(enumdesc->enumdef)); in build_module_from_enumdesc()
|
D | protobuf.h | 138 const upb_enumdef* enumdef; member 583 VALUE build_module_from_enumdesc(EnumDescriptor* enumdef);
|
D | storage.c | 715 const upb_enumdef *enumdef = upb_fielddef_enumsubdef(field); in layout_get_default() local 717 const char *label = upb_enumdef_iton(enumdef, num); in layout_get_default()
|
D | upb.c | 13962 const upb_enumdef *enumdef = in end_stringval_nontop() local 13969 ok = upb_enumdef_ntoi(enumdef, buf, len, &int_val); in end_stringval_nontop() 16390 const upb_enumdef *enumdef; member 16401 symbolic_name = upb_enumdef_iton(hd->enumdef, val); in scalar_enum() 16432 print_enum_symbolic_name(p, hd->enumdef, val); in repeated_enum() 16442 print_enum_symbolic_name(p, hd->enumdef, val); in mapvalue_enum() 16706 hd->enumdef = (const upb_enumdef *)upb_fielddef_subdef(f); in set_enum_hd()
|
D | upb.h | 1947 UPB_DECLARE_DEF_TYPE(upb::EnumDef, enumdef, ENUM)
|
/external/flatbuffers/src/ |
D | idl_gen_json_schema.cpp | 136 std::string enumdef(" \"enum\": ["); in generate() local 139 enumdef.append("\"" + (*enum_value)->name + "\""); in generate() 140 if (*enum_value != (*e)->Vals().back()) { enumdef.append(", "); } in generate() 142 enumdef.append("]"); in generate() 143 code_ += enumdef; in generate()
|
/external/protobuf/php/ext/google/protobuf/ |
D | def.c | 281 self->enumdef = NULL; in enum_descriptor_init_c_instance() 294 int field_num = upb_enumdef_numvals(intern->enumdef); in PHP_METHOD() 302 for(upb_enum_begin(&iter, intern->enumdef), i = 0; in PHP_METHOD() 316 RETURN_LONG(upb_enumdef_numvals(intern->enumdef)); in PHP_METHOD() 442 const upb_enumdef *enumdef = upb_fielddef_enumsubdef(intern->fielddef); in PHP_METHOD() local 443 PHP_PROTO_HASHTABLE_VALUE desc = get_def_obj(enumdef); in PHP_METHOD() 637 static void validate_enumdef(const upb_enumdef *enumdef) { in validate_enumdef() argument 640 const char *lookup = upb_enumdef_iton(enumdef, 0); in validate_enumdef() 973 const upb_enumdef *enumdef = upb_filedef_enum(file, i); in internal_add_generated_file() local 975 desc->enumdef = enumdef; in internal_add_generated_file() [all …]
|
D | upb.c | 1133 const upb_enumdef *enumdef; member 1684 return f->sub.enumdef; in upb_fielddef_enumsubdef() 2094 const upb_enumdef *e = f->sub.enumdef; in parse_default() 2505 f->sub.enumdef = symtab_resolve(ctx, f, prefix, name, UPB_DEFTYPE_ENUM); in resolve_fielddef() 2506 CHK(f->sub.enumdef); in resolve_fielddef() 10132 const upb_enumdef *enumdef = upb_fielddef_enumsubdef(p->top->f); in end_stringval_nontop() local 10138 ok = upb_enumdef_ntoi(enumdef, buf, len, &int_val); in end_stringval_nontop() 12532 const upb_enumdef *enumdef; member 12543 symbolic_name = upb_enumdef_iton(hd->enumdef, val); in scalar_enum() 12574 print_enum_symbolic_name(p, hd->enumdef, val); in repeated_enum() [all …]
|
D | protobuf.h | 830 const upb_enumdef* enumdef;
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/ |
D | printer.c | 306 const upb_enumdef *enumdef; member 317 symbolic_name = upb_enumdef_iton(hd->enumdef, val); in scalar_enum() 348 print_enum_symbolic_name(p, hd->enumdef, val); in repeated_enum() 358 print_enum_symbolic_name(p, hd->enumdef, val); in mapvalue_enum() 622 hd->enumdef = upb_fielddef_enumsubdef(f); in set_enum_hd()
|
D | parser.rl | 1367 const upb_enumdef *enumdef = upb_fielddef_enumsubdef(p->top->f); 1373 ok = upb_enumdef_ntoi(enumdef, buf, len, &int_val);
|
/external/flatbuffers/include/flatbuffers/ |
D | reflection.h | 384 auto enumdef = schema.enums()->Get(unionfield.type()->index()); in GetUnionType() local 390 auto enumval = enumdef->values()->LookupByKey(union_type); in GetUnionType()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | def.c | 34 const upb_enumdef *enumdef; member 469 return upb_fielddef_type(f) == UPB_TYPE_ENUM ? f->sub.enumdef : NULL; in upb_fielddef_enumsubdef() 1450 const upb_enumdef *e = f->sub.enumdef; in parse_default() 1911 f->sub.enumdef = symtab_resolve(ctx, f, prefix, name, UPB_DEFTYPE_ENUM); in resolve_fielddef()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/ |
D | parser.c | 1369 const upb_enumdef *enumdef = upb_fielddef_enumsubdef(p->top->f); in end_stringval_nontop() local 1375 ok = upb_enumdef_ntoi(enumdef, buf, len, &int_val); in end_stringval_nontop()
|