/third_party/mesa3d/src/util/tests/hash_table/ |
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()
|
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()
|
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/gstreamer/gstplugins_base/gst-libs/gst/rtsp/ |
D | gstrtspmessage.c | 614 RTSPKeyValue key_value; in gst_rtsp_message_take_header() local 619 key_value.field = field; in gst_rtsp_message_take_header() 620 key_value.value = value; in gst_rtsp_message_take_header() 621 key_value.custom_key = NULL; in gst_rtsp_message_take_header() 623 g_array_append_val (msg->hdr_fields, key_value); in gst_rtsp_message_take_header() 668 RTSPKeyValue *key_value = &g_array_index (msg->hdr_fields, RTSPKeyValue, i); in gst_rtsp_message_remove_header() local 670 if (key_value->field == field && (indx == -1 || cnt++ == indx)) { in gst_rtsp_message_remove_header() 671 g_free (key_value->value); in gst_rtsp_message_remove_header() 710 RTSPKeyValue *key_value = &g_array_index (msg->hdr_fields, RTSPKeyValue, i); in gst_rtsp_message_get_header() local 712 if (key_value->field == field && cnt++ == indx) { in gst_rtsp_message_get_header() [all …]
|
/third_party/rust/crates/nom/tests/ |
D | ini.rs | 22 fn key_value(i: &[u8]) -> IResult<&[u8], (&str, &str)> { in key_value() function 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()
|
D | ini_str.rs | 31 fn key_value(i: &str) -> IResult<&str, (&str, &str)> { in key_value() function 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/rust/crates/nom/benchmarks/benches/ |
D | ini.rs | 26 fn key_value(i: &[u8]) -> IResult<&[u8], (&str, &str)> { in key_value() function 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()
|
D | ini_str.rs | 32 fn key_value(i: &str) -> IResult<&str, (&str, &str)> { in key_value() function 43 many0(key_value)(i) in keys_and_values_aggregator()
|
/third_party/rust/crates/nom/examples/ |
D | json.rs | 122 fn key_value<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in key_value() function 141 separated_list0(preceded(sp, char(',')), key_value), in hash()
|
D | json_iterator.rs | 252 fn key_value<'a>(i: &'a str) -> IResult<&'a str, (&'a str, ())> { 262 map(separated_list0(preceded(sp, char(',')), key_value), |_| ()),
|
/third_party/python/Objects/ |
D | abstract.c | 166 Py_ssize_t key_value; in PyObject_GetItem() local 167 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_GetItem() 168 if (key_value == -1 && PyErr_Occurred()) in PyObject_GetItem() 170 return PySequence_GetItem(o, key_value); in PyObject_GetItem() 217 Py_ssize_t key_value; in PyObject_SetItem() local 218 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_SetItem() 219 if (key_value == -1 && PyErr_Occurred()) in PyObject_SetItem() 221 return PySequence_SetItem(o, key_value, value); in PyObject_SetItem() 251 Py_ssize_t key_value; in PyObject_DelItem() local 252 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_DelItem() [all …]
|
/third_party/python/Lib/ |
D | heapq.py | 381 key_value, order, value, next = s = h[0] 390 key_value, order, value, next = h[0]
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
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/ |
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/ |
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/src/ |
D | inspector_socket_server.cc | 448 for (const auto& key_value : connected_sessions_) in TerminateConnections() local 449 key_value.second.second->Close(); in TerminateConnections()
|
/third_party/gn/src/gn/ |
D | parse_tree.cc | 385 Value key_value = subscript_->Execute(scope, err); in ExecuteScopeSubscriptAccess() local 388 if (!key_value.VerifyTypeIs(Value::STRING, err)) in ExecuteScopeSubscriptAccess() 391 base_value->scope_value()->GetValue(key_value.string_value()); in ExecuteScopeSubscriptAccess() 394 Err(subscript_.get(), "No value named \"" + key_value.string_value() + in ExecuteScopeSubscriptAccess()
|
/third_party/node/tools/inspector_protocol/ |
D | code_generator.py | 118 for key_value in config_values: 119 parts = key_value.split("=")
|
/third_party/alsa-utils/alsactl/ |
D | init_parse.c | 488 const char *key_value, const char *value) in do_match() argument 494 dbg("match %s '%s' <-> '%s'", key, key_value, value); in do_match() 495 match = fnmatch(key_value, value, 0) == 0; in do_match()
|
/third_party/gstreamer/gstplugins_good/gst/rtsp/ |
D | gstrtspsrc.c | 9770 RTSPKeyValue *key_value = (RTSPKeyValue *) data; in dump_key_value() local 9774 if (key_value->custom_key != NULL) in dump_key_value() 9775 key_string = key_value->custom_key; in dump_key_value() 9777 key_string = gst_rtsp_header_as_text (key_value->field); in dump_key_value() 9780 key_value->value); in dump_key_value()
|
/third_party/googletest/googlemock/include/gmock/ |
D | gmock-matchers.h | 2786 bool MatchAndExplain(PairType key_value, 2790 pair_getters::First(key_value, Rank0()), &inner_listener);
|