Home
last modified time | relevance | path

Searched refs:field_mem (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dencode.c165 const char *field_mem = _field_mem; in encode_scalar() local
170 ctype val = *(ctype *)field_mem; \ in encode_scalar()
206 upb_strview view = *(upb_strview*)field_mem; in encode_scalar()
217 void *submsg = *(void **)field_mem; in encode_scalar()
231 void *submsg = *(void **)field_mem; in encode_scalar()
251 static void encode_array(upb_encstate *e, const char *field_mem, in encode_array() argument
253 const upb_array *arr = *(const upb_array**)field_mem; in encode_array()
370 static void encode_map(upb_encstate *e, const char *field_mem, in encode_map() argument
372 const upb_map *map = *(const upb_map**)field_mem; in encode_map()
/external/protobuf/php/ext/google/protobuf/
Dupb.c739 char *field_mem = frame->msg + field->offset; in upb_decode_prepareslot() local
744 field_mem = upb_array_reserve(arr, 1); in upb_decode_prepareslot()
747 return field_mem; in upb_decode_prepareslot()
789 void *field_mem; in upb_decode_varintfield() local
791 field_mem = upb_decode_prepareslot(frame, field); in upb_decode_varintfield()
792 CHK(field_mem); in upb_decode_varintfield()
798 memcpy(field_mem, &val, sizeof(val)); in upb_decode_varintfield()
804 memcpy(field_mem, &val32, sizeof(val32)); in upb_decode_varintfield()
809 memcpy(field_mem, &valbool, sizeof(valbool)); in upb_decode_varintfield()
814 memcpy(field_mem, &decoded, sizeof(decoded)); in upb_decode_varintfield()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c735 char *field_mem = frame->msg + field->offset; in upb_decode_prepareslot() local
740 field_mem = upb_array_reserve(arr, 1); in upb_decode_prepareslot()
743 return field_mem; in upb_decode_prepareslot()
785 void *field_mem; in upb_decode_varintfield() local
787 field_mem = upb_decode_prepareslot(frame, field); in upb_decode_varintfield()
788 CHK(field_mem); in upb_decode_varintfield()
794 memcpy(field_mem, &val, sizeof(val)); in upb_decode_varintfield()
800 memcpy(field_mem, &val32, sizeof(val32)); in upb_decode_varintfield()
805 memcpy(field_mem, &valbool, sizeof(valbool)); in upb_decode_varintfield()
810 memcpy(field_mem, &decoded, sizeof(decoded)); in upb_decode_varintfield()
[all …]