Home
last modified time | relevance | path

Searched refs:subdef (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c402 const upb_msgdef* subdef; in tryget_map_entry_msgdef() local
407 subdef = upb_fielddef_msgsubdef(field); in tryget_map_entry_msgdef()
408 return upb_msgdef_mapentry(subdef) ? subdef : NULL; in tryget_map_entry_msgdef()
412 const upb_msgdef* subdef = tryget_map_entry_msgdef(field); in map_entry_msgdef() local
413 assert(subdef); in map_entry_msgdef()
414 return subdef; in map_entry_msgdef()
418 const upb_msgdef* subdef = tryget_map_entry_msgdef(field); in is_map_field() local
419 if (subdef == NULL) return false; in is_map_field()
423 return upb_msgdef_syntax(subdef) == UPB_SYNTAX_PROTO3; in is_map_field()
427 const upb_msgdef* subdef = map_entry_msgdef(field); in map_field_key() local
[all …]
Dupb.c1252 const upb_def *subdef; in upb_validate_field() local
1260 subdef = upb_fielddef_subdef(f); in upb_validate_field()
1261 if (subdef == NULL) { in upb_validate_field()
1267 if (!upb_def_isfrozen(subdef) && !subdef->came_from_user) { in upb_validate_field()
1314 const upb_msgdef *subdef = upb_fielddef_msgsubdef(f); in upb_validate_field() local
1315 if (upb_msgdef_mapentry(subdef) && !upb_fielddef_isseq(f)) { in upb_validate_field()
2356 static bool upb_subdef_typecheck(upb_fielddef *f, const upb_def *subdef, in upb_subdef_typecheck() argument
2359 if (upb_dyncast_msgdef(subdef)) return true; in upb_subdef_typecheck()
2363 if (upb_dyncast_enumdef(subdef)) return true; in upb_subdef_typecheck()
2380 bool upb_fielddef_setsubdef(upb_fielddef *f, const upb_def *subdef, in upb_fielddef_setsubdef() argument
[all …]
Dupb.h2231 const Def* subdef() const;
2315 bool set_subdef(const Def* subdef, Status* s);
2316 bool set_enum_subdef(const EnumDef* subdef, Status* s);
2317 bool set_message_subdef(const MessageDef* subdef, Status* s);
2365 packed, name, num, msgdef, subdef, selector_base, \
2369 defaultval, {msgdef}, {subdef}, NULL, false, false, \
2449 bool upb_fielddef_setsubdef(upb_fielddef *f, const upb_def *subdef,
2451 bool upb_fielddef_setmsgsubdef(upb_fielddef *f, const upb_msgdef *subdef,
2453 bool upb_fielddef_setenumsubdef(upb_fielddef *f, const upb_enumdef *subdef,
3672 inline const Def* FieldDef::subdef() const { return upb_fielddef_subdef(this); }
[all …]
/external/protobuf/php/ext/google/protobuf/
Dstorage.c511 const upb_msgdef* subdef; in tryget_map_entry_msgdef() local
516 subdef = upb_fielddef_msgsubdef(field); in tryget_map_entry_msgdef()
517 return upb_msgdef_mapentry(subdef) ? subdef : NULL; in tryget_map_entry_msgdef()
521 const upb_msgdef* subdef = tryget_map_entry_msgdef(field); in map_entry_msgdef() local
522 assert(subdef); in map_entry_msgdef()
523 return subdef; in map_entry_msgdef()
531 const upb_msgdef* subdef = map_entry_msgdef(field); in map_field_key() local
532 return map_entry_key(subdef); in map_field_key()
536 const upb_msgdef* subdef = map_entry_msgdef(field); in map_field_value() local
537 return map_entry_value(subdef); in map_field_value()
Dupb.c3681 const upb_msgdef *subdef = upb_fielddef_msgsubdef(f); in upb_handlercache_get() local
3682 const upb_handlers *sub_mh = upb_handlercache_get(c, subdef); in upb_handlercache_get()
12217 const upb_msgdef *subdef = upb_fielddef_msgsubdef(f); in upb_json_codecache_get() local
12219 upb_json_codecache_get(c, subdef); in upb_json_codecache_get()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dhandlers.c385 const upb_msgdef *subdef = upb_fielddef_msgsubdef(f); in upb_handlercache_get() local
386 const upb_handlers *sub_mh = upb_handlercache_get(c, subdef); in upb_handlercache_get()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/
Dparser.c3424 const upb_msgdef *subdef = upb_fielddef_msgsubdef(f); in upb_json_codecache_get() local
3426 upb_json_codecache_get(c, subdef); in upb_json_codecache_get()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/
Dparser.rl2987 const upb_msgdef *subdef = upb_fielddef_msgsubdef(f);
2989 upb_json_codecache_get(c, subdef);