Home
last modified time | relevance | path

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

/external/nanopb-c/tests/regression/issue_118/
DSConscript7 env.NanopbProto("enumdef")
8 env.Object('enumdef.pb.c')
10 env.NanopbProto(["enumuse", "enumdef.proto"])
Denumuse.proto3 import 'enumdef.proto';
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_118/
DSConscript7 env.NanopbProto("enumdef")
8 env.Object('enumdef.pb.c')
10 env.NanopbProto(["enumuse", "enumdef.proto"])
Denumuse.proto3 import 'enumdef.proto';
/external/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c147 upb_symtab_add(self->symtab, (upb_def**)&enumdesc->enumdef, 1, in add_enumdesc_to_pool()
1010 upb_enumdef_unref(self->enumdef, &self->enumdef); in EnumDescriptor_free()
1025 self->enumdef = upb_enumdef_new(&self->enumdef); in EnumDescriptor_alloc()
1054 return rb_str_maybe_null(upb_enumdef_fullname(self->enumdef)); in EnumDescriptor_name()
1066 upb_enumdef* mut_def = check_enum_notfrozen(self->enumdef); in EnumDescriptor_name_set()
1083 upb_enumdef* mut_def = check_enum_notfrozen(self->enumdef); in EnumDescriptor_add_value()
1102 if (upb_enumdef_ntoiz(self->enumdef, name_str, &val)) { in EnumDescriptor_lookup_name()
1119 const char* name = upb_enumdef_iton(self->enumdef, val); in EnumDescriptor_lookup_value()
1138 for (upb_enum_begin(&it, self->enumdef); in EnumDescriptor_each()
1158 if (!upb_def_isfrozen((const upb_def*)self->enumdef)) { in EnumDescriptor_enummodule()
[all …]
Dmessage.c494 const char* name = upb_enumdef_iton(enumdesc->enumdef, num); in enum_lookup()
515 bool found = upb_enumdef_ntoiz(enumdesc->enumdef, name, &num); in enum_resolve()
536 rb_intern(upb_enumdef_fullname(enumdesc->enumdef))); in build_module_from_enumdesc()
539 for (upb_enum_begin(&it, enumdesc->enumdef); in build_module_from_enumdesc()
557 get_def_obj(enumdesc->enumdef)); in build_module_from_enumdesc()
Dprotobuf.h134 const upb_enumdef* enumdef; member
506 VALUE build_module_from_enumdesc(EnumDescriptor* enumdef);
Dupb.c11086 const upb_enumdef *enumdef = in end_stringval() local
11093 ok = upb_enumdef_ntoi(enumdef, buf, len, &int_val); in end_stringval()
12256 const upb_enumdef *enumdef; member
12267 symbolic_name = upb_enumdef_iton(hd->enumdef, val); in scalar_enum()
12298 print_enum_symbolic_name(p, hd->enumdef, val); in repeated_enum()
12308 print_enum_symbolic_name(p, hd->enumdef, val); in mapvalue_enum()
12568 hd->enumdef = (const upb_enumdef *)upb_fielddef_subdef(f); in set_enum_hd()
Dupb.h1834 UPB_DECLARE_DEF_TYPE(upb::EnumDef, enumdef, ENUM)
/external/flatbuffers/src/
Didl_gen_json_schema.cpp130 std::string enumdef(" \"enum\": ["); in generate() local
133 enumdef.append("\"" + (*enum_value)->name + "\""); in generate()
134 if (*enum_value != (*e)->vals.vec.back()) { enumdef.append(", "); } in generate()
136 enumdef.append("]"); in generate()
137 code_ += enumdef; in generate()
/external/protobuf/php/ext/google/protobuf/
Dprotobuf.h97 const upb_enumdef* enumdef; member
Dupb.c10389 const upb_enumdef *enumdef = in end_stringval() local
10396 ok = upb_enumdef_ntoi(enumdef, buf, len, &int_val); in end_stringval()
11439 const upb_enumdef *enumdef; member
11450 symbolic_name = upb_enumdef_iton(hd->enumdef, val); in scalar_enum()
11481 print_enum_symbolic_name(p, hd->enumdef, val); in repeated_enum()
11491 print_enum_symbolic_name(p, hd->enumdef, val); in mapvalue_enum()
11750 hd->enumdef = (const upb_enumdef *)upb_fielddef_subdef(f); in set_enum_hd()
Dupb.h1422 UPB_DECLARE_DEF_TYPE(upb::EnumDef, enumdef, ENUM)
/external/flatbuffers/include/flatbuffers/
Dreflection.h384 auto enumdef = schema.enums()->Get(unionfield.type()->index()); in GetUnionType() local
390 auto enumval = enumdef->values()->LookupByKey(union_type); in GetUnionType()