/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | reflection.h | 21 const upb_array* array_val; 28 upb_array* array; 95 upb_array *upb_array_new(upb_arena *a, upb_fieldtype_t type); 98 size_t upb_array_size(const upb_array *arr); 101 upb_msgval upb_array_get(const upb_array *arr, size_t i); 104 void upb_array_set(upb_array *arr, size_t i, upb_msgval val); 107 bool upb_array_append(upb_array *array, upb_msgval val, upb_arena *arena); 111 bool upb_array_resize(upb_array *array, size_t size, upb_arena *arena);
|
D | msg.h | 212 } upb_array; typedef 214 UPB_INLINE const void *_upb_array_constptr(const upb_array *arr) { in _upb_array_constptr() 224 UPB_INLINE void *_upb_array_ptr(upb_array *arr) { in _upb_array_ptr() 234 UPB_INLINE upb_array *_upb_array_new(upb_arena *a, size_t init_size, in _upb_array_new() 236 const size_t arr_size = UPB_ALIGN_UP(sizeof(upb_array), 8); in _upb_array_new() 237 const size_t bytes = sizeof(upb_array) + (init_size << elem_size_lg2); in _upb_array_new() 238 upb_array *arr = (upb_array*)upb_arena_malloc(a, bytes); in _upb_array_new() 247 bool _upb_array_realloc(upb_array *arr, size_t min_size, upb_arena *arena); 250 void *_upb_array_resize_fallback(upb_array **arr_ptr, size_t size, 252 bool _upb_array_append_fallback(upb_array **arr_ptr, const void *value, [all …]
|
D | msg.c | 71 bool _upb_array_realloc(upb_array *arr, size_t min_size, upb_arena *arena) { in _upb_array_realloc() 93 static upb_array *getorcreate_array(upb_array **arr_ptr, int elem_size_lg2, in getorcreate_array() 95 upb_array *arr = *arr_ptr; in getorcreate_array() 104 void *_upb_array_resize_fallback(upb_array **arr_ptr, size_t size, in _upb_array_resize_fallback() 106 upb_array *arr = getorcreate_array(arr_ptr, elem_size_lg2, arena); in _upb_array_resize_fallback() 111 bool _upb_array_append_fallback(upb_array **arr_ptr, const void *value, in _upb_array_append_fallback() 113 upb_array *arr = getorcreate_array(arr_ptr, elem_size_lg2, arena); in _upb_array_append_fallback()
|
D | reflection.c | 287 const upb_array *arr = val.array_val; in _upb_msg_discardunknown() 311 upb_array *upb_array_new(upb_arena *a, upb_fieldtype_t type) { in upb_array_new() 315 size_t upb_array_size(const upb_array *arr) { in upb_array_size() 319 upb_msgval upb_array_get(const upb_array *arr, size_t i) { in upb_array_get() 328 void upb_array_set(upb_array *arr, size_t i, upb_msgval val) { in upb_array_set() 335 bool upb_array_append(upb_array *arr, upb_msgval val, upb_arena *arena) { in upb_array_append() 344 bool upb_array_resize(upb_array *arr, size_t size, upb_arena *arena) { in upb_array_resize()
|
D | encode.c | 142 static void encode_fixedarray(upb_encstate *e, const upb_array *arr, in encode_fixedarray() 253 const upb_array *arr = *(const upb_array**)field_mem; in encode_array()
|
D | decode.c | 176 static bool decode_reserve(upb_decstate *d, upb_array *arr, size_t elem) { in decode_reserve() 352 upb_array **arrp = UPB_PTR_AT(msg, field->offset, void); in decode_toarray() 353 upb_array *arr = *arrp; in decode_toarray()
|
D | json_encode.c | 389 const upb_array *paths = upb_msg_get(msg, paths_f).array_val; in jsonenc_fieldmask() 435 const upb_array *values = upb_msg_get(msg, values_f).array_val; in jsonenc_listvalue() 594 static void jsonenc_array(jsonenc *e, const upb_array *arr, in jsonenc_array()
|
D | decode_fast.c | 169 upb_array *arr; 274 upb_array **arr_p = fastdecode_fieldmem(msg, *data); in fastdecode_getfield() 583 upb_array **arr_p = fastdecode_fieldmem(msg, data); in fastdecode_packedfixed() 584 upb_array *arr = *arr_p; in fastdecode_packedfixed()
|
D | json_decode.c | 852 upb_array *arr = upb_msg_mutable(msg, f, d->arena).array; in jsondec_array() 1127 upb_array *values = upb_msg_mutable(msg, values_f, d->arena).array; in jsondec_listvalue() 1250 upb_array *arr = upb_msg_mutable(msg, paths_f, d->arena).array; in jsondec_fieldmask()
|
D | text_encode.c | 181 static void txtenc_array(txtenc *e, const upb_array *arr, in txtenc_array()
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.h | 468 struct upb_array { struct 499 struct upb_array; 500 typedef struct upb_array upb_array; typedef 575 const upb_array* arr; 603 ACCESSORS(arr, arr, const upb_array*) in ACCESSORS() 677 upb_array *upb_array_new(upb_fieldtype_t type, upb_arena *a); 678 upb_fieldtype_t upb_array_type(const upb_array *arr); 682 size_t upb_array_size(const upb_array *arr); 683 upb_msgval upb_array_get(const upb_array *arr, size_t i); 688 bool upb_array_set(upb_array *arr, size_t i, upb_msgval val); [all …]
|
D | upb.c | 667 static bool upb_array_grow(upb_array *arr, size_t elements) { in upb_array_grow() 689 static void *upb_array_reserve(upb_array *arr, size_t elements) { in upb_array_reserve() 696 static void *upb_array_add(upb_array *arr, size_t elements) { in upb_array_add() 702 static upb_array *upb_getarr(upb_decframe *frame, in upb_getarr() 705 return *(upb_array**)&frame->msg[field->offset]; in upb_getarr() 708 static upb_array *upb_getorcreatearr(upb_decframe *frame, in upb_getorcreatearr() 710 upb_array *arr = upb_getarr(frame, field); in upb_getorcreatearr() 718 *(upb_array**)&frame->msg[field->offset] = arr; in upb_getorcreatearr() 740 upb_array *arr; in upb_decode_prepareslot() 753 upb_array *arr = upb_getarr(frame, field); in upb_decode_setpresent() [all …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.h | 6620 struct upb_array; 6621 typedef struct upb_array upb_array; 6688 const upb_array* arr; 6716 ACCESSORS(arr, arr, const upb_array*) 6792 upb_array *upb_array_new(upb_fieldtype_t type, upb_arena *a); 6793 upb_fieldtype_t upb_array_type(const upb_array *arr); 6797 size_t upb_array_size(const upb_array *arr); 6798 upb_msgval upb_array_get(const upb_array *arr, size_t i); 6803 bool upb_array_set(upb_array *arr, size_t i, upb_msgval val); 6890 struct upb_array { [all …]
|
D | upb.c | 663 static bool upb_array_grow(upb_array *arr, size_t elements) { in upb_array_grow() 685 static void *upb_array_reserve(upb_array *arr, size_t elements) { in upb_array_reserve() 692 static void *upb_array_add(upb_array *arr, size_t elements) { in upb_array_add() 698 static upb_array *upb_getarr(upb_decframe *frame, in upb_getarr() 701 return *(upb_array**)&frame->msg[field->offset]; in upb_getarr() 704 static upb_array *upb_getorcreatearr(upb_decframe *frame, in upb_getorcreatearr() 706 upb_array *arr = upb_getarr(frame, field); in upb_getorcreatearr() 714 *(upb_array**)&frame->msg[field->offset] = arr; in upb_getorcreatearr() 736 upb_array *arr; in upb_decode_prepareslot() 749 upb_array *arr = upb_getarr(frame, field); in upb_decode_setpresent() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/ |
D | msg.c | 336 upb_array *arr;
|