/third_party/mesa3d/src/util/tests/hash_table/ |
H A D | random_entry.c | 38 key_value(const void *key) in key_value() function 46 return key_value(a) == key_value(b); in uint32_t_key_equals() 52 return (key_value(entry->key) & 1) == 0; in uint32_t_key_is_even() 66 ht = _mesa_hash_table_create(NULL, key_value, uint32_t_key_equals); in main() 84 assert((key_value(entry->key) & 1) == 0); in main() 85 if (i == 0 || key_value(entry->key) != random_value) in main() 87 random_value = key_value(entry->key); in main()
|
H A D | delete_management.c | 38 key_value(const void *key) in key_value() function 46 return key_value(a) == key_value(b); in uint32_t_key_equals() 60 ht = _mesa_hash_table_create(NULL, key_value, uint32_t_key_equals); in main() 78 assert(key_value(entry->key) == i); in main() 85 assert(key_value(entry->key) >= SIZE - 100 && in main() 86 key_value(entry->key) < SIZE); in main()
|
H A D | insert_many.c | 38 key_value(const void *key) in key_value() function 46 return key_value(a) == key_value(b); in uint32_t_key_equals() 60 ht = _mesa_hash_table_create(NULL, key_value, uint32_t_key_equals); in main() 71 assert(key_value(entry->key) == i); in main()
|
/third_party/rust/crates/nom/tests/ |
H A D | ini.rs | 22 fn key_value(i: &[u8]) -> IResult<&[u8], (&str, &str)> { in key_value() functions 31 map(many0(terminated(key_value, opt(multispace))), |vec| { in keys_and_values() 48 many0(terminated(key_value, opt(multispace))), in categories() 83 let res = key_value(ini_file); in parse_key_value_test() 100 let res = key_value(ini_file); in parse_key_value_with_space_test() 117 let res = key_value(ini_file); in parse_key_value_with_comment_test()
|
H A D | ini_str.rs | 31 fn key_value(i: &str) -> IResult<&str, (&str, &str)> { in key_value() functions 43 many0(key_value)(i) in keys_and_values_aggregator() 95 let res = key_value(ini_file); in parse_key_value_test() 112 let res = key_value(ini_file); in parse_key_value_with_space_test() 129 let res = key_value(ini_file); in parse_key_value_with_comment_test()
|
/third_party/node/deps/v8/src/inspector/ |
H A D | v8-webdriver-serializer.cc | 164 v8::Local<v8::Value> key_value, property_value; in _serializeMap() local 168 if (!properties_and_values->Get(context, i).ToLocal(&key_value)) in _serializeMap() 174 if (key_value->IsString()) { in _serializeMap() 176 toProtocolString(context->GetIsolate(), key_value.As<v8::String>())); in _serializeMap() 178 Response response = _serializeRecursively(key_value, context, max_depth, in _serializeMap() 230 v8::Local<v8::Value> key_value, property_value; in _serializeObjectValue() local 234 if (!property_names->Get(context, i).ToLocal(&key_value)) in _serializeObjectValue() 237 if (key_value->IsString()) { in _serializeObjectValue() 239 value->HasRealNamedProperty(context, key_value.As<v8::String>()); in _serializeObjectValue() 244 toProtocolString(context->GetIsolate(), key_value in _serializeObjectValue() [all...] |
/third_party/rust/crates/nom/benchmarks/benches/ |
H A D | ini.rs | 26 fn key_value(i: &[u8]) -> IResult<&[u8], (&str, &str)> { in key_value() functions 40 many0(terminated(key_value, opt(multispace))), in categories() 73 many0(key_value)(i) in bench_ini_keys_and_values() 89 b.iter(|| key_value(str.as_bytes()).unwrap()) in bench_ini_key_value()
|
H A D | ini_str.rs | 32 fn key_value(i: &str) -> IResult<&str, (&str, &str)> { in key_value() functions 43 many0(key_value)(i) in keys_and_values_aggregator()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | persistent-map.h | 174 KeyValue key_value; member 231 return current_->key_value; 385 if (old && !(old->more == nullptr && old->key_value.key() == key)) { 390 more->erase(old->key_value.key()); 391 more->emplace(old->key_value.key(), old->key_value.value()); 465 if (key == tree->key_value.key()) { in GetFocusedValue() 466 return tree->key_value.value(); in GetFocusedValue()
|
/third_party/eudev/src/udev/ |
H A D | udev-rules.c | 1771 char *key_value = rules_str(rules, token->key.value_off); in match_key() local 1780 match = (streq(key_value, val)); in match_key() 1783 match = (fnmatch(key_value, val, 0) == 0); in match_key() 1815 key_value = value; in match_key() 1816 while (key_value != NULL) { in match_key() 1817 pos = strchr(key_value, '|'); in match_key() 1822 match = (fnmatch(key_value, val, 0) == 0); in match_key() 1825 key_value = pos; in match_key() 1873 const char *key_value; in match_attr() local 1876 key_value in match_attr() [all...] |
/third_party/python/Objects/ |
H A D | abstract.c | 165 Py_ssize_t key_value; in PyObject_GetItem() local 166 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_GetItem() 167 if (key_value == -1 && PyErr_Occurred()) in PyObject_GetItem() 169 return PySequence_GetItem(o, key_value); in PyObject_GetItem() 219 Py_ssize_t key_value; in PyObject_SetItem() local 220 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_SetItem() 221 if (key_value == -1 && PyErr_Occurred()) in PyObject_SetItem() 223 return PySequence_SetItem(o, key_value, value); in PyObject_SetItem() 253 Py_ssize_t key_value; in PyObject_DelItem() local 254 key_value in PyObject_DelItem() [all...] |
/third_party/node/deps/v8/tools/v8windbg/src/ |
H A D | object-inspection.h | 222 (IModelObject* context_object, PCWSTR key, IModelObject** key_value, 226 (IModelObject* context_object, PCWSTR key, IModelObject* key_value,
|
H A D | object-inspection.cc | 462 PCWSTR key, IModelObject** key_value, 477 if (key_value != nullptr) { 480 RETURN_IF_FAIL(GetModelForProperty(prop, sp_ctx, key_value)); 490 PCWSTR key, IModelObject* key_value,
|
/third_party/python/Lib/ |
H A D | heapq.py | 383 key_value, order, value, next = s = h[0] 392 key_value, order, value, next = h[0]
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-json.c | 1147 ecma_value_t key_value = ecma_make_string_value (key_p); in ecma_builtin_json_serialize_property() local 1148 ecma_value_t call_args[] = { key_value }; in ecma_builtin_json_serialize_property() 1169 ecma_value_t key_value = ecma_make_string_value (key_p); in ecma_builtin_json_serialize_property() local 1170 ecma_value_t call_args[] = { key_value, value }; in ecma_builtin_json_serialize_property()
|
/third_party/protobuf/python/google/protobuf/ |
H A D | json_format.py | 696 key_value = _ConvertScalarFieldValue(key, key_field, True) 699 message, field.name)[key_value]) 701 getattr(message, field.name)[key_value] = _ConvertScalarFieldValue(
|
/third_party/gn/src/base/containers/ |
H A D | flat_tree.h | 903 KeyValueCompare key_value(impl_.get_key_comp()); 904 return std::lower_bound(begin(), end(), key_ref, key_value); 924 KeyValueCompare key_value(impl_.get_key_comp()); 925 return std::upper_bound(begin(), end(), key_ref, key_value);
|
/third_party/node/deps/v8/third_party/inspector_protocol/ |
H A D | code_generator.py | 120 for key_value in config_values: 121 parts = key_value.split("=")
|
/third_party/node/src/ |
H A D | inspector_socket_server.cc | 462 for (const auto& key_value : connected_sessions_) in TerminateConnections() 463 key_value.second.second->Close(); in TerminateConnections()
|
/third_party/node/tools/inspector_protocol/ |
H A D | code_generator.py | 118 for key_value in config_values: 119 parts = key_value.split("=")
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-collections-gen.h | 40 TNode<Object> key_value,
|
H A D | builtins-collections-gen.cc | 27 TNode<Object> add_function, TNode<Object> key_value, in AddConstructorEntry() 31 CSA_DCHECK(this, Word32BinaryNot(IsTheHole(key_value))); in AddConstructorEntry() 35 ? LoadKeyValuePairNoSideEffects(context, key_value, in AddConstructorEntry() 37 : LoadKeyValuePair(context, key_value); in AddConstructorEntry() 43 Call(context, add_function, collection, key_value); in AddConstructorEntry() 25 AddConstructorEntry( Variant variant, TNode<Context> context, TNode<Object> collection, TNode<Object> add_function, TNode<Object> key_value, Label* if_may_have_side_effects, Label* if_exception, TVariable<Object>* var_exception) AddConstructorEntry() argument
|
/third_party/gn/src/gn/ |
H A D | parse_tree.cc | 387 Value key_value = subscript_->Execute(scope, err); in ExecuteScopeSubscriptAccess() local 390 if (!key_value.VerifyTypeIs(Value::STRING, err)) in ExecuteScopeSubscriptAccess() 393 ExecuteScopeAccessForMember(scope, key_value.string_value(), err); in ExecuteScopeSubscriptAccess() 396 Err(subscript_.get(), "No value named \"" + key_value.string_value() + in ExecuteScopeSubscriptAccess()
|
/third_party/alsa-utils/alsactl/ |
H A D | init_parse.c | 488 const char *key_value, const char *value) in do_match() 494 dbg("match %s '%s' <-> '%s'", key, key_value, value); in do_match() 495 match = fnmatch(key_value, value, 0) == 0; in do_match() 487 do_match(const char *key, enum key_op op, const char *key_value, const char *value) do_match() argument
|
/third_party/googletest/googlemock/include/gmock/ |
H A D | gmock-matchers.h | 2959 // Returns true if and only if 'key_value.first' (the key) matches the inner 2961 bool MatchAndExplain(PairType key_value, 2965 pair_getters::First(key_value, Rank0()), &inner_listener);
|