Home
last modified time | relevance | path

Searched refs:key_value (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/util/tests/hash_table/
Drandom_entry.c38 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()
Ddelete_management.c38 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()
Dinsert_many.c38 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/
Dgstrtspmessage.c614 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/
Dini.rs22 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()
Dini_str.rs31 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/
Dini.rs26 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()
Dini_str.rs32 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/
Djson.rs122 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()
Djson_iterator.rs252 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/
Dabstract.c166 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/
Dheapq.py381 key_value, order, value, next = s = h[0]
390 key_value, order, value, next = h[0]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-json.c1147 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/
Djson_format.py696 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/
Dflat_tree.h903 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/
Dinspector_socket_server.cc448 for (const auto& key_value : connected_sessions_) in TerminateConnections() local
449 key_value.second.second->Close(); in TerminateConnections()
/third_party/gn/src/gn/
Dparse_tree.cc385 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/
Dcode_generator.py118 for key_value in config_values:
119 parts = key_value.split("=")
/third_party/alsa-utils/alsactl/
Dinit_parse.c488 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/
Dgstrtspsrc.c9770 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/
Dgmock-matchers.h2786 bool MatchAndExplain(PairType key_value,
2790 pair_getters::First(key_value, Rank0()), &inner_listener);