Home
last modified time | relevance | path

Searched refs:kv (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/third_party/libunwind/src/
Dos-freebsd.c58 struct kinfo_proc *kv; in get_pid_by_tid() local
80 for (i = 0, kv = (struct kinfo_proc *)buf; i < len / sizeof(*kv); in get_pid_by_tid()
81 i++, kv++) { in get_pid_by_tid()
82 if (kv->ki_tid == tid) { in get_pid_by_tid()
83 pid = kv->ki_pid; in get_pid_by_tid()
98 struct kinfo_vmentry *kv; in tdep_get_elf_image() local
128 for (bp = buf, eb = buf + len; bp < eb; bp += kv->kve_structsize) { in tdep_get_elf_image()
129 kv = (struct kinfo_vmentry *)(uintptr_t)bp; in tdep_get_elf_image()
130 if (ip < kv->kve_start || ip >= kv->kve_end) in tdep_get_elf_image()
132 if (kv->kve_type != KVME_TYPE_VNODE) in tdep_get_elf_image()
[all …]
/third_party/nghttp2/src/
Dshrpx_downstream.cc292 auto &kv = *it; in search_header_linear_backwards() local
293 if (kv.name == name) { in search_header_linear_backwards()
294 return &kv; in search_header_linear_backwards()
304 for (auto &kv : req_.fs.headers()) { in assemble_request_cookie() local
305 if (kv.token != http2::HD_COOKIE || kv.value.empty()) { in assemble_request_cookie()
309 len += kv.value.size() + str_size("; "); in assemble_request_cookie()
315 for (auto &kv : req_.fs.headers()) { in assemble_request_cookie() local
316 if (kv.token != http2::HD_COOKIE || kv.value.empty()) { in assemble_request_cookie()
320 auto end = std::end(kv.value); in assemble_request_cookie()
321 for (auto it = std::begin(kv.value) + kv.value.size(); in assemble_request_cookie()
[all …]
/third_party/libunwind/tests/
Dcrasher.c49 struct kinfo_vmentry *kv; in write_maps() local
73 for (bp = buf, eb = buf + len; bp < eb; bp += kv->kve_structsize) { in write_maps()
74 kv = (struct kinfo_vmentry *)(uintptr_t)bp; in write_maps()
75 if (kv->kve_type == KVME_TYPE_VNODE && in write_maps()
76 (kv->kve_protection & KVME_PROT_EXEC) != 0) { in write_maps()
77 fprintf(out, "0x%jx:%s ", kv->kve_start, kv->kve_path); in write_maps()
/third_party/python/Lib/wsgiref/
Dheaders.py64 self._headers[:] = [kv for kv in self._headers if kv[0].lower() != name]
91 return [kv[1] for kv in self._headers if kv[0].lower()==name]
139 return '\r\n'.join(["%s: %s" % kv for kv in self._headers]+['',''])
/third_party/grpc/src/core/lib/uri/
Duri_parser.cc161 for (const auto& kv : query_parameter_pairs_) { in URI() local
162 query_parameter_map_[kv.key] = kv.value; in URI()
172 for (const auto& kv : query_parameter_pairs_) { in URI() local
173 query_parameter_map_[kv.key] = kv.value; in URI()
186 for (const auto& kv : query_parameter_pairs_) { in operator =() local
187 query_parameter_map_[kv.key] = kv.value; in operator =()
/third_party/libinput/src/
Dutil-strings.h287 char **kv = strv_from_string(*pair, kv_separator); in kv_double_from_string() local
290 if (!kv || !kv[0] || !kv[1] || kv[2] || in kv_double_from_string()
291 !safe_atod(kv[0], &k) || in kv_double_from_string()
292 !safe_atod(kv[1], &v)) { in kv_double_from_string()
293 strv_free(kv); in kv_double_from_string()
301 strv_free(kv); in kv_double_from_string()
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph_txt.cc1653 for (const auto& kv : line_metrics) { in GetRectsForRange() local
1656 if (rect_width_style == RectWidthStyle::kMax && kv.first != max_line) { in GetRectsForRange()
1657 if (line_metrics[kv.first].min_left > min_left_ && in GetRectsForRange()
1658 (kv.first != min_line || first_line_dir == TextDirection::rtl)) { in GetRectsForRange()
1659 line_metrics[kv.first].boxes.emplace_back( in GetRectsForRange()
1662 line_baselines_[kv.first] - line_max_ascent_[kv.first], in GetRectsForRange()
1663 line_metrics[kv.first].min_left, in GetRectsForRange()
1664 line_baselines_[kv.first] + line_max_descent_[kv.first]), in GetRectsForRange()
1667 if (line_metrics[kv.first].max_right < max_right_ && in GetRectsForRange()
1668 (kv.first != min_line || first_line_dir == TextDirection::ltr)) { in GetRectsForRange()
[all …]
Dfont_features.cc33 for (auto kv : feature_map_) { in GetFeatureSettings() local
37 stream << kv.first << '=' << kv.second; in GetFeatureSettings()
/third_party/benchmark/src/
Dcommandlineflags.cc91 const auto kv = StrSplit(kvpair, '='); in ParseKvPairs() local
92 if (kv.size() != 2) { in ParseKvPairs()
98 if (!kvs.emplace(kv[0], kv[1]).second) { in ParseKvPairs()
100 << kv[0] << "\" was repeated.\n"; in ParseKvPairs()
258 const auto kv = StrSplit(kvpair, '='); in ParseKeyValueFlag() local
259 if (kv.size() != 2) return false; in ParseKeyValueFlag()
260 value->emplace(kv[0], kv[1]); in ParseKeyValueFlag()
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/
Dhr_BA.txt38 "1. kv.",
39 "2. kv.",
40 "3. kv.",
41 "4. kv.",
/third_party/icu/icu4c/source/test/intltest/
Dfldset.cpp109 UnicodeString *kv = split(dest[i], 0x003D /* '=' */, dc); in parseFrom() local
115 int32_t field = handleParseName(inheritFrom, kv[0], kv[1], status); in parseFrom()
119 const UChar *u = kv[0].getBuffer(); in parseFrom()
120 int32_t len = kv[0].length(); in parseFrom()
124 delete[] kv; in parseFrom()
130 handleParseValue(inheritFrom, field, kv[1], status); in parseFrom()
134 const UChar *u = kv[1].getBuffer(); in parseFrom()
135 int32_t len = kv[1].length(); in parseFrom()
139 delete[] kv; in parseFrom()
147 delete[] kv; in parseFrom()
/third_party/boost/libs/python/src/object/
Dfunction_doc_signature.cpp157 object kv; in parameter_string() local
158 if ( arg_names && (kv = arg_names[n-1]) ) in parameter_string()
159 param = str( " (%s)%s" % make_tuple(py_type_str(s[n]),kv[0]) ); in parameter_string()
170 object kv(arg_names[n-1]); in parameter_string() local
171 if (kv && len(kv) == 2) in parameter_string()
173 param = str("%s=%r" % make_tuple(param, kv[1])); in parameter_string()
208 object kv(f->m_arg_names[n-1]); in pretty_signature() local
210 if (kv && len(kv) == 2) in pretty_signature()
Dfunction.cpp86 tuple kv; in function() local
91 kv = make_tuple(p->name, p->default_value); in function()
96 kv = make_tuple(p->name); in function()
102 , incref(kv.ptr()) in function()
178 PyObject* kv = PyTuple_GET_ITEM(f->m_arg_names.ptr(), arg_pos); in call() local
184 ? PyDict_GetItem(keywords, PyTuple_GET_ITEM(kv, 0)) in call()
190 if (PyTuple_GET_SIZE(kv) > 1) in call()
191 value = PyTuple_GET_ITEM(kv, 1); in call()
265 object kv(m_arg_names[n]); in signature() local
266 if (kv) in signature()
[all …]
/third_party/skia/third_party/externals/icu/source/data/locales/
Dhr_BA.txt38 "1. kv.",
39 "2. kv.",
40 "3. kv.",
41 "4. kv.",
/third_party/icu/icu4c/source/data/locales/
Dhr_BA.txt38 "1. kv.",
39 "2. kv.",
40 "3. kv.",
41 "4. kv.",
/third_party/grpc/src/abseil-cpp/
Dpreprocessed_builds.yaml.gen.py99 kv = {}
104 bucket = kv.setdefault(line.strip(), [])
112 name="absl::" + kv["NAME"][0],
114 srcs=[package + "/" + f.strip('"') for f in kv.get("SRCS", [])],
115 hdrs=[package + "/" + f.strip('"') for f in kv.get("HDRS", [])],
117 deps=kv.get("DEPS", []),
118 visibility="PUBLIC" in kv,
119 testonly="TESTONLY" in kv,
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatParseInfoTree.java73 for (Entry<FieldDescriptor, List<TextFormatParseLocation>> kv : locationsFromField.entrySet()) { in TextFormatParseInfoTree()
74 locs.put(kv.getKey(), Collections.unmodifiableList(kv.getValue())); in TextFormatParseInfoTree()
80 for (Entry<FieldDescriptor, List<Builder>> kv : subtreeBuildersFromField.entrySet()) { in TextFormatParseInfoTree()
82 for (Builder subBuilder : kv.getValue()) { in TextFormatParseInfoTree()
85 subs.put(kv.getKey(), Collections.unmodifiableList(submessagesOfField)); in TextFormatParseInfoTree()
/third_party/node/deps/npm/node_modules/tar/lib/
Dtypes.js44 exports.code = new Map(Array.from(exports.name).map(kv => [kv[1], kv[0]]))
Dhigh-level-opt.js29 ]).reduce((set, kv) => (set[kv[0]] = kv[1], set), Object.create(null)) : {}
/third_party/iowow/src/kv/tests/
Diwkv_test9.c21 IWKV kv = NULL; in iwkv_test9_1() local
22 iwrc rc = iwkv_open(&opts, &kv); in iwkv_test9_1()
25 rc = iwkv_db(kv, 1, 0, &db); in iwkv_test9_1()
51 iwkv_close(&kv); in iwkv_test9_1()
/third_party/mindspore/mindspore/core/utils/
Dordered_map.h119 std::pair<iterator, bool> insert(const pair_type &kv) { in insert() argument
120 auto iter = map_data_.find(&(kv.first)); in insert()
124 auto new_iter = sequential_data_.emplace(sequential_data_.end(), kv); in insert()
129 std::pair<iterator, bool> insert(pair_type &&kv) { in insert() argument
130 auto iter = map_data_.find(&(kv.first)); in insert()
134 auto new_iter = sequential_data_.emplace(sequential_data_.end(), std::move(kv)); in insert()
290 std::pair<iterator, bool> insert(const pair_type &kv) { in insert() argument
291 auto [map_iter, inserted] = map_data_.emplace(kv.first.get(), iterator{}); in insert()
293 map_iter->second = sequential_data_.emplace(sequential_data_.end(), kv); in insert()
298 std::pair<iterator, bool> insert(pair_type &&kv) { in insert() argument
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DFieldsSet.java126 String kv[] = Utility.split(fieldStr, '='); in parseFrom() local
127 if(kv.length < 1 || kv.length > 2) { in parseFrom()
130 String key = kv[0]; in parseFrom()
132 if(kv.length>1) { in parseFrom()
133 value = kv[1]; in parseFrom()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DFieldsSet.java129 String kv[] = Utility.split(fieldStr, '='); in parseFrom() local
130 if(kv.length < 1 || kv.length > 2) { in parseFrom()
133 String key = kv[0]; in parseFrom()
135 if(kv.length>1) { in parseFrom()
136 value = kv[1]; in parseFrom()
/third_party/cef/libcef/browser/
Drequest_context_handler_map.cc41 for (auto& kv : render_id_handler_map_) { in GetHandler() local
42 if (kv.first.child_id == global_id.child_id) in GetHandler()
43 return kv.second; in GetHandler()
/third_party/mindspore/mindspore/core/ir/dtype/
Dcontainer.cc196 std::vector<std::pair<std::string, TypePtr>> kv; in DeepCopy() local
198 key_values_.begin(), key_values_.end(), std::back_inserter(kv), in DeepCopy()
200 return std::make_shared<Dictionary>(kv); in DeepCopy()
216 for (const auto &kv : key_values_) { in DumpContent() local
217 keys.push_back(kv.first); in DumpContent()
218 values.push_back(kv.second); in DumpContent()

12345678910>>...23