Searched refs:subdef (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/php/ext/google/protobuf/ |
D | storage.c | 265 const upb_msgdef* subdef; in tryget_map_entry_msgdef() local 270 subdef = upb_fielddef_msgsubdef(field); in tryget_map_entry_msgdef() 271 return upb_msgdef_mapentry(subdef) ? subdef : NULL; in tryget_map_entry_msgdef() 275 const upb_msgdef* subdef = tryget_map_entry_msgdef(field); in map_entry_msgdef() local 276 assert(subdef); in map_entry_msgdef() 277 return subdef; in map_entry_msgdef()
|
D | upb.c | 135 const upb_def *subdef; in upb_validate_field() local 143 subdef = upb_fielddef_subdef(f); in upb_validate_field() 144 if (subdef == NULL) { in upb_validate_field() 150 if (!upb_def_isfrozen(subdef) && !subdef->came_from_user) { in upb_validate_field() 197 const upb_msgdef *subdef = upb_fielddef_msgsubdef(f); in upb_validate_field() local 198 if (upb_msgdef_mapentry(subdef) && !upb_fielddef_isseq(f)) { in upb_validate_field() 1132 static bool upb_subdef_typecheck(upb_fielddef *f, const upb_def *subdef, in upb_subdef_typecheck() argument 1135 if (upb_dyncast_msgdef(subdef)) return true; in upb_subdef_typecheck() 1139 if (upb_dyncast_enumdef(subdef)) return true; in upb_subdef_typecheck() 1156 bool upb_fielddef_setsubdef(upb_fielddef *f, const upb_def *subdef, in upb_fielddef_setsubdef() argument [all …]
|
D | upb.h | 1648 const Def* subdef() const; 1722 bool set_subdef(const Def* subdef, Status* s); 1723 bool set_enum_subdef(const EnumDef* subdef, Status* s); 1724 bool set_message_subdef(const MessageDef* subdef, Status* s); 1808 bool upb_fielddef_setsubdef(upb_fielddef *f, const upb_def *subdef, 1810 bool upb_fielddef_setmsgsubdef(upb_fielddef *f, const upb_msgdef *subdef, 1812 bool upb_fielddef_setenumsubdef(upb_fielddef *f, const upb_enumdef *subdef, 2641 inline const Def* FieldDef::subdef() const { return upb_fielddef_subdef(this); } in subdef() function 2651 inline bool FieldDef::set_subdef(const Def* subdef, Status* s) { in set_subdef() argument 2652 return upb_fielddef_setsubdef(this, subdef, s); in set_subdef() [all …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | storage.c | 350 const upb_msgdef* subdef; in tryget_map_entry_msgdef() local 355 subdef = upb_fielddef_msgsubdef(field); in tryget_map_entry_msgdef() 356 return upb_msgdef_mapentry(subdef) ? subdef : NULL; in tryget_map_entry_msgdef() 360 const upb_msgdef* subdef = tryget_map_entry_msgdef(field); in map_entry_msgdef() local 361 assert(subdef); in map_entry_msgdef() 362 return subdef; in map_entry_msgdef() 370 const upb_msgdef* subdef = map_entry_msgdef(field); in map_field_key() local 371 return map_entry_key(subdef); in map_field_key() 375 const upb_msgdef* subdef = map_entry_msgdef(field); in map_field_value() local 376 return map_entry_value(subdef); in map_field_value()
|
D | upb.c | 178 const upb_def *subdef; in upb_validate_field() local 186 subdef = upb_fielddef_subdef(f); in upb_validate_field() 187 if (subdef == NULL) { in upb_validate_field() 193 if (!upb_def_isfrozen(subdef) && !subdef->came_from_user) { in upb_validate_field() 240 const upb_msgdef *subdef = upb_fielddef_msgsubdef(f); in upb_validate_field() local 241 if (upb_msgdef_mapentry(subdef) && !upb_fielddef_isseq(f)) { in upb_validate_field() 1263 static bool upb_subdef_typecheck(upb_fielddef *f, const upb_def *subdef, in upb_subdef_typecheck() argument 1266 if (upb_dyncast_msgdef(subdef)) return true; in upb_subdef_typecheck() 1270 if (upb_dyncast_enumdef(subdef)) return true; in upb_subdef_typecheck() 1287 bool upb_fielddef_setsubdef(upb_fielddef *f, const upb_def *subdef, in upb_fielddef_setsubdef() argument [all …]
|
D | upb.h | 2097 const Def* subdef() const; 2181 bool set_subdef(const Def* subdef, Status* s); 2182 bool set_enum_subdef(const EnumDef* subdef, Status* s); 2183 bool set_message_subdef(const MessageDef* subdef, Status* s); 2271 bool upb_fielddef_setsubdef(upb_fielddef *f, const upb_def *subdef, 2273 bool upb_fielddef_setmsgsubdef(upb_fielddef *f, const upb_msgdef *subdef, 2275 bool upb_fielddef_setenumsubdef(upb_fielddef *f, const upb_enumdef *subdef, 3257 inline const Def* FieldDef::subdef() const { return upb_fielddef_subdef(this); } 3267 inline bool FieldDef::set_subdef(const Def* subdef, Status* s) { 3268 return upb_fielddef_setsubdef(this, subdef, s); [all …]
|