Home
last modified time | relevance | path

Searched refs:UPB_PTR_AT (Results 1 - 4 of 4) sorted by relevance

/third_party/protobuf/php/ext/google/protobuf/
H A Dphp-upb.h36 #define UPB_PTR_AT(msg, ofs, type) ((type*)((char*)(msg) + (ofs))) macro
39 *UPB_PTR_AT(msg, case_offset, int) == case_val \
40 ? *UPB_PTR_AT(msg, offset, fieldtype) \
44 *UPB_PTR_AT(msg, case_offset, int) = case_val; \
45 *UPB_PTR_AT(msg, offset, fieldtype) = value;
1320 upb_map *map = *UPB_PTR_AT(msg, ofs, upb_map *); in _upb_msg_map_size()
1327 upb_map *map = *UPB_PTR_AT(msg, ofs, upb_map *); in _upb_msg_map_get()
1334 upb_map *map = *UPB_PTR_AT(msg, ofs, upb_map *); in _upb_msg_map_next()
1351 upb_map *map = *UPB_PTR_AT(msg, ofs, upb_map *); in _upb_msg_map_delete()
1357 upb_map *map = *UPB_PTR_AT(ms in _upb_msg_map_clear()
3859 #undef UPB_PTR_AT global() macro
[all...]
H A Dphp-upb.c37 #define UPB_PTR_AT(msg, ofs, type) ((type*)((char*)(msg) + (ofs))) macro
40 *UPB_PTR_AT(msg, case_offset, int) == case_val \
41 ? *UPB_PTR_AT(msg, offset, fieldtype) \
45 *UPB_PTR_AT(msg, case_offset, int) = case_val; \
46 *UPB_PTR_AT(msg, offset, fieldtype) = value;
494 upb_array **arrp = UPB_PTR_AT(msg, field->offset, void); in decode_toarray()
512 mem = UPB_PTR_AT(_upb_array_ptr(arr), arr->len << op, void); in decode_toarray()
522 UPB_PTR_AT(_upb_array_ptr(arr), arr->len * sizeof(upb_strview), void); in decode_toarray()
529 *UPB_PTR_AT(_upb_array_ptr(arr), arr->len * sizeof(void *), upb_msg *) = in decode_toarray()
549 mem = UPB_PTR_AT(_upb_array_pt in decode_toarray()
8113 #undef UPB_PTR_AT global() macro
[all...]
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.h35 #define UPB_PTR_AT(msg, ofs, type) ((type*)((char*)(msg) + (ofs))) macro
38 *UPB_PTR_AT(msg, case_offset, int) == case_val \
39 ? *UPB_PTR_AT(msg, offset, fieldtype) \
43 *UPB_PTR_AT(msg, case_offset, int) = case_val; \
44 *UPB_PTR_AT(msg, offset, fieldtype) = value;
1249 upb_map *map = *UPB_PTR_AT(msg, ofs, upb_map *); in _upb_msg_map_size()
1256 upb_map *map = *UPB_PTR_AT(msg, ofs, upb_map *); in _upb_msg_map_get()
1263 upb_map *map = *UPB_PTR_AT(msg, ofs, upb_map *); in _upb_msg_map_next()
1280 upb_map *map = *UPB_PTR_AT(msg, ofs, upb_map *); in _upb_msg_map_delete()
1286 upb_map *map = *UPB_PTR_AT(ms in _upb_msg_map_clear()
6759 #undef UPB_PTR_AT global() macro
[all...]
H A Dupb.c36 #define UPB_PTR_AT(msg, ofs, type) ((type*)((char*)(msg) + (ofs))) macro
39 *UPB_PTR_AT(msg, case_offset, int) == case_val \
40 ? *UPB_PTR_AT(msg, offset, fieldtype) \
44 *UPB_PTR_AT(msg, case_offset, int) = case_val; \
45 *UPB_PTR_AT(msg, offset, fieldtype) = value;
445 upb_array **arrp = UPB_PTR_AT(msg, field->offset, void); in decode_toarray()
463 mem = UPB_PTR_AT(_upb_array_ptr(arr), arr->len << op, void); in decode_toarray()
470 UPB_PTR_AT(_upb_array_ptr(arr), arr->len * sizeof(upb_strview), void); in decode_toarray()
477 *UPB_PTR_AT(_upb_array_ptr(arr), arr->len * sizeof(void *), upb_msg *) = in decode_toarray()
497 mem = UPB_PTR_AT(_upb_array_pt in decode_toarray()
13799 #undef UPB_PTR_AT global() macro
[all...]

Completed in 36 milliseconds