Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dreflection.h19 const upb_map* map_val;
26 upb_map* map;
116 upb_map *upb_map_new(upb_arena *a, upb_fieldtype_t key_type,
120 size_t upb_map_size(const upb_map *map);
125 bool upb_map_get(const upb_map *map, upb_msgval key, upb_msgval *val);
128 void upb_map_clear(upb_map *map);
132 bool upb_map_set(upb_map *map, upb_msgval key, upb_msgval val,
136 bool upb_map_delete(upb_map *map, upb_msgval key);
151 bool upb_mapiter_next(const upb_map *map, size_t *iter);
156 bool upb_mapiter_done(const upb_map *map, size_t iter);
[all …]
Dmsg.h368 } upb_map; typedef
386 upb_map *_upb_map_new(upb_arena *a, size_t key_size, size_t value_size);
437 UPB_INLINE size_t _upb_map_size(const upb_map *map) { in _upb_map_size()
441 UPB_INLINE bool _upb_map_get(const upb_map *map, const void *key, in _upb_map_get()
452 UPB_INLINE void* _upb_map_next(const upb_map *map, size_t *iter) { in _upb_map_next()
462 UPB_INLINE bool _upb_map_set(upb_map *map, const void *key, size_t key_size, in _upb_map_set()
474 UPB_INLINE bool _upb_map_delete(upb_map *map, const void *key, size_t key_size) { in _upb_map_delete()
479 UPB_INLINE void _upb_map_clear(upb_map *map) { in _upb_map_clear()
486 upb_map *map = *UPB_PTR_AT(msg, ofs, upb_map *); in _upb_msg_map_size()
493 upb_map *map = *UPB_PTR_AT(msg, ofs, upb_map *); in _upb_msg_map_get()
[all …]
Dreflection.c275 upb_map *map = (upb_map*)val.map_val; in _upb_msg_discardunknown()
350 upb_map *upb_map_new(upb_arena *a, upb_fieldtype_t key_type, in upb_map_new()
356 size_t upb_map_size(const upb_map *map) { in upb_map_size()
360 bool upb_map_get(const upb_map *map, upb_msgval key, upb_msgval *val) { in upb_map_get()
364 void upb_map_clear(upb_map *map) { in upb_map_clear()
368 bool upb_map_set(upb_map *map, upb_msgval key, upb_msgval val, in upb_map_set()
373 bool upb_map_delete(upb_map *map, upb_msgval key) { in upb_map_delete()
377 bool upb_mapiter_next(const upb_map *map, size_t *iter) { in upb_mapiter_next()
381 bool upb_mapiter_done(const upb_map *map, size_t iter) { in upb_mapiter_done()
390 upb_msgval upb_mapiter_key(const upb_map *map, size_t iter) { in upb_mapiter_key()
[all …]
Dmsg.c129 upb_map *_upb_map_new(upb_arena *a, size_t key_size, size_t value_size) { in _upb_map_new()
130 upb_map *map = upb_arena_malloc(a, sizeof(upb_map)); in _upb_map_new()
193 const upb_map *map, _upb_sortedmap *sorted) { in _upb_mapsorter_pushmap()
Ddecode.c440 upb_map **map_p = UPB_PTR_AT(msg, field->offset, upb_map *); in decode_tomap()
441 upb_map *map = *map_p; in decode_tomap()
Dencode.c372 const upb_map *map = *(const upb_map**)field_mem; in encode_map()
Djson_encode.c408 const upb_map *fields = upb_msg_get(msg, fields_f).map_val; in jsonenc_struct()
610 static void jsonenc_map(jsonenc *e, const upb_map *map, const upb_fielddef *f) { in jsonenc_map()
Dtext_encode.c222 static void txtenc_map(txtenc *e, const upb_map *map, const upb_fielddef *f) { in txtenc_map()
Djson_decode.c863 upb_map *map = upb_msg_mutable(msg, f, d->arena).map; in jsondec_map()
1145 upb_map *fields = upb_msg_mutable(msg, fields_f, d->arena).map; in jsondec_struct()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Dmsg.c456 upb_map *map;
542 upb_map *map = lmap->map; in lupb_map_newindex()
/external/protobuf/php/ext/google/protobuf/
Dupb.h502 struct upb_map;
503 typedef struct upb_map upb_map; typedef
573 const upb_map* map;
600 ACCESSORS(map, map, const upb_map*) in ACCESSORS()
698 upb_map *upb_map_new(upb_fieldtype_t ktype, upb_fieldtype_t vtype,
703 size_t upb_map_size(const upb_map *map);
704 upb_fieldtype_t upb_map_keytype(const upb_map *map);
705 upb_fieldtype_t upb_map_valuetype(const upb_map *map);
706 bool upb_map_get(const upb_map *map, upb_msgval key, upb_msgval *val);
714 bool upb_map_set(upb_map *map,
[all …]
Dupb.c4159 struct upb_map { struct
4216 upb_map *upb_map_new(upb_fieldtype_t ktype, upb_fieldtype_t vtype, in upb_map_new()
4220 upb_map *map = upb_malloc(alloc, sizeof(upb_map)); in upb_map_new()
4238 size_t upb_map_size(const upb_map *map) { in upb_map_size()
4242 upb_fieldtype_t upb_map_keytype(const upb_map *map) { in upb_map_keytype()
4246 upb_fieldtype_t upb_map_valuetype(const upb_map *map) { in upb_map_valuetype()
4250 bool upb_map_get(const upb_map *map, upb_msgval key, upb_msgval *val) { in upb_map_get()
4265 bool upb_map_set(upb_map *map, upb_msgval key, upb_msgval val, in upb_map_set()
4284 bool upb_map_del(upb_map *map, upb_msgval key) { in upb_map_del()
4305 void upb_mapiter_begin(upb_mapiter *i, const upb_map *map) { in upb_mapiter_begin()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h6617 UPB_DECLARE_TYPE(upb::Map, upb_map)
6686 const upb_map* map;
6713 ACCESSORS(map, map, const upb_map*)
6814 upb_map *upb_map_new(upb_fieldtype_t ktype, upb_fieldtype_t vtype,
6819 size_t upb_map_size(const upb_map *map);
6820 upb_fieldtype_t upb_map_keytype(const upb_map *map);
6821 upb_fieldtype_t upb_map_valuetype(const upb_map *map);
6822 bool upb_map_get(const upb_map *map, upb_msgval key, upb_msgval *val);
6830 bool upb_map_set(upb_map *map,
6835 bool upb_map_del(upb_map *map, upb_msgval key);
[all …]
Dupb.c5025 struct upb_map { struct
5082 upb_map *upb_map_new(upb_fieldtype_t ktype, upb_fieldtype_t vtype, in upb_map_new()
5086 upb_map *map = upb_malloc(alloc, sizeof(upb_map)); in upb_map_new()
5104 size_t upb_map_size(const upb_map *map) { in upb_map_size()
5108 upb_fieldtype_t upb_map_keytype(const upb_map *map) { in upb_map_keytype()
5112 upb_fieldtype_t upb_map_valuetype(const upb_map *map) { in upb_map_valuetype()
5116 bool upb_map_get(const upb_map *map, upb_msgval key, upb_msgval *val) { in upb_map_get()
5131 bool upb_map_set(upb_map *map, upb_msgval key, upb_msgval val, in upb_map_set()
5150 bool upb_map_del(upb_map *map, upb_msgval key) { in upb_map_del()
5171 void upb_mapiter_begin(upb_mapiter *i, const upb_map *map) { in upb_mapiter_begin()
[all …]