Home
last modified time | relevance | path

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

/third_party/grpc/third_party/upb/tests/bindings/lua/
Dtest_upb.lua575 local key_vals = numeric_types[key_type]
581 assert_nil(map[key_vals.valid_val])
583 map[key_vals.valid_val] = val_vals.valid_val
585 assert_equal(val_vals.valid_val, map[key_vals.valid_val])
589 assert_equal(key_vals.valid_val, k)
595 if key_vals.too_small then
596 assert_error_match(errmsg, function() map[key_vals.too_small] = 1 end)
598 if key_vals.too_big then
599 assert_error_match(errmsg, function() map[key_vals.too_big] = 1 end)
601 if key_vals.other_bad then
[all …]
/third_party/flatbuffers/rust/flexbuffers/src/builder/
Dmod.rs294 let key_vals = &mut self.values[split..]; in end_map_or_vector() localVariable
295 sort_map_by_keys(key_vals, &self.buffer); in end_map_or_vector()
296 let key_vector = store_vector(&mut self.buffer, key_vals, StoreOption::MapKeys); in end_map_or_vector()
297 store_vector(&mut self.buffer, key_vals, StoreOption::Map(key_vector)) in end_map_or_vector()