/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_cs.h | 182 size_t val_size) in vn_cs_encoder_write() argument 184 assert(val_size <= size); in vn_cs_encoder_write() 188 memcpy(enc->cur, val, val_size); in vn_cs_encoder_write() 211 size_t val_size) in vn_cs_decoder_peek_internal() argument 213 assert(val_size <= size); in vn_cs_decoder_peek_internal() 217 memset(val, 0, val_size); in vn_cs_decoder_peek_internal() 222 memcpy(val, dec->cur, val_size); in vn_cs_decoder_peek_internal() 230 size_t val_size) in vn_cs_decoder_read() argument 232 if (vn_cs_decoder_peek_internal(dec, size, val, val_size)) in vn_cs_decoder_read() 240 size_t val_size) in vn_cs_decoder_peek() argument [all …]
|
/third_party/vulkan-loader/loader/ |
D | get_environment.c | 118 DWORD val_size = GetEnvironmentVariableW(name_utf16, NULL, 0); in loader_getenv() local 121 if (val_size == 0) { in loader_getenv() 125 wchar_t *val = (wchar_t *)loader_stack_alloc(val_size * sizeof(wchar_t)); in loader_getenv() 126 if (GetEnvironmentVariableW(name_utf16, val, val_size) != val_size - 1) { in loader_getenv()
|
/third_party/node/deps/openssl/openssl/crypto/ |
D | params.c | 168 static int general_get_int(const OSSL_PARAM *p, void *val, size_t val_size) in general_get_int() argument 171 return signed_from_signed(val, val_size, p->data, p->data_size); in general_get_int() 173 return signed_from_unsigned(val, val_size, p->data, p->data_size); in general_get_int() 178 static int general_set_int(OSSL_PARAM *p, void *val, size_t val_size) in general_set_int() argument 182 p->return_size = val_size; /* Expected size */ in general_set_int() 186 r = signed_from_signed(p->data, p->data_size, val, val_size); in general_set_int() 188 r = unsigned_from_signed(p->data, p->data_size, val, val_size); in general_set_int() 189 p->return_size = r ? p->data_size : val_size; in general_set_int() 194 static int general_get_uint(const OSSL_PARAM *p, void *val, size_t val_size) in general_get_uint() argument 197 return unsigned_from_signed(val, val_size, p->data, p->data_size); in general_get_uint() [all …]
|
/third_party/openssl/crypto/ |
D | params.c | 166 static int general_get_int(const OSSL_PARAM *p, void *val, size_t val_size) in general_get_int() argument 169 return signed_from_signed(val, val_size, p->data, p->data_size); in general_get_int() 171 return signed_from_unsigned(val, val_size, p->data, p->data_size); in general_get_int() 176 static int general_set_int(OSSL_PARAM *p, void *val, size_t val_size) in general_set_int() argument 180 p->return_size = val_size; /* Expected size */ in general_set_int() 184 r = signed_from_signed(p->data, p->data_size, val, val_size); in general_set_int() 186 r = unsigned_from_signed(p->data, p->data_size, val, val_size); in general_set_int() 187 p->return_size = r ? p->data_size : val_size; in general_set_int() 192 static int general_get_uint(const OSSL_PARAM *p, void *val, size_t val_size) in general_get_uint() argument 195 return unsigned_from_signed(val, val_size, p->data, p->data_size); in general_get_uint() [all …]
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | php-upb.h | 1200 char val_size; member 1277 size_t key_size, void *val, size_t val_size) { in _upb_map_get() argument 1282 _upb_map_fromvalue(tabval, val, val_size); in _upb_map_get() 1298 void *val, size_t val_size, upb_arena *arena) { in _upb_map_set() argument 1300 upb_value tabval = _upb_map_tovalue(val, val_size, arena); in _upb_map_set() 1326 size_t val_size) { in _upb_msg_map_get() argument 1329 return _upb_map_get(map, key, key_size, val, val_size); in _upb_msg_map_get() 1340 size_t key_size, void *val, size_t val_size, in _upb_msg_map_set() argument 1344 *map = _upb_map_new(arena, key_size, val_size); in _upb_msg_map_set() 1346 return _upb_map_set(*map, key, key_size, val, val_size, arena); in _upb_msg_map_set()
|
D | php-upb.c | 596 char val_size = desctype_to_mapsize[val_field->descriptortype]; in decode_tomap() local 599 map = _upb_map_new(d->arena, key_size, val_size); in decode_tomap() 615 _upb_map_set(map, &ent.k, map->key_size, &ent.v, map->val_size, d->arena); in decode_tomap() 1128 _upb_map_fromvalue(val, &ent.v, map->val_size); in upb_encode_map() 1379 map->val_size = value_size; in _upb_map_new() 5925 return _upb_map_get(map, &key, map->key_size, val, map->val_size); in upb_map_get() 5930 return _upb_map_set(map, &key, map->key_size, &val, map->val_size, arena); in upb_map_set() 5964 _upb_map_fromvalue(upb_strtable_iter_value(&i), &ret, map->val_size); in upb_mapiter_value()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.h | 1129 char val_size; member 1206 size_t key_size, void *val, size_t val_size) { in _upb_map_get() argument 1211 _upb_map_fromvalue(tabval, val, val_size); in _upb_map_get() 1227 void *val, size_t val_size, upb_arena *arena) { in _upb_map_set() argument 1229 upb_value tabval = _upb_map_tovalue(val, val_size, arena); in _upb_map_set() 1255 size_t val_size) { in _upb_msg_map_get() argument 1258 return _upb_map_get(map, key, key_size, val, val_size); in _upb_msg_map_get() 1269 size_t key_size, void *val, size_t val_size, in _upb_msg_map_set() argument 1273 *map = _upb_map_new(arena, key_size, val_size); in _upb_msg_map_set() 1275 return _upb_map_set(*map, key, key_size, val, val_size, arena); in _upb_msg_map_set()
|
D | upb.c | 544 char val_size = desctype_to_mapsize[val_field->descriptortype]; in decode_tomap() local 547 map = _upb_map_new(d->arena, key_size, val_size); in decode_tomap() 563 _upb_map_set(map, &ent.k, map->key_size, &ent.v, map->val_size, d->arena); in decode_tomap() 1084 map->val_size == UPB_MAPTYPE_STRING ? upb_value_getptr(val) : &val; in upb_encode_map() 1354 map->val_size = value_size; in _upb_map_new() 5374 return _upb_map_get(map, &key, map->key_size, val, map->val_size); in upb_map_get() 5379 return _upb_map_set(map, &key, map->key_size, &val, map->val_size, arena); in upb_map_set() 5405 _upb_map_fromvalue(upb_strtable_iter_value(&i), &ret, map->val_size); in upb_mapiter_value()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/ |
D | Record.h | 991 inline size_t val_size () const { return NumConds; } in val_size() function
|