Home
last modified time | relevance | path

Searched refs:msgval (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Dmsg.c401 upb_msgval msgval = lupb_tomsgval(L, larray->type, 3, 1, LUPB_COPY); in lupb_array_newindex() local
404 upb_array_append(larray->arr, msgval, lupb_arenaget(L, 1)); in lupb_array_newindex()
406 upb_array_set(larray->arr, n, msgval); in lupb_array_newindex()
807 upb_msgval msgval; in lupb_msg_newindex() local
822 msgval.map_val = lmap->map; in lupb_msg_newindex()
830 msgval.array_val = larr->arr; in lupb_msg_newindex()
834 msgval.msg_val = msg; in lupb_msg_newindex()
836 msgval = lupb_tomsgval(L, upb_fielddef_type(f), 3, 1, LUPB_COPY); in lupb_msg_newindex()
844 upb_msg_set(msg, f, msgval, lupb_arenaget(L, 1)); in lupb_msg_newindex()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dmsg.h413 UPB_INLINE bool _upb_map_tovalue(const void *val, size_t size, upb_value *msgval, in _upb_map_tovalue() argument
419 *msgval = upb_value_ptr(strp); in _upb_map_tovalue()
421 memcpy(msgval, val, size); in _upb_map_tovalue()