Home
last modified time | relevance | path

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

12345678910>>...17

/third_party/libunwind/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.cc302 auto &kv = *it; in search_header_linear_backwards() local
303 if (kv.name == name) { in search_header_linear_backwards()
304 return &kv; in search_header_linear_backwards()
314 for (auto &kv : req_.fs.headers()) { in assemble_request_cookie() local
315 if (kv.token != http2::HD_COOKIE || kv.value.empty()) { in assemble_request_cookie()
319 len += kv.value.size() + str_size("; "); in assemble_request_cookie()
325 for (auto &kv : req_.fs.headers()) { in assemble_request_cookie() local
326 if (kv.token != http2::HD_COOKIE || kv.value.empty()) { in assemble_request_cookie()
330 auto end = std::end(kv.value); in assemble_request_cookie()
331 for (auto it = std::begin(kv.value) + kv.value.size(); in assemble_request_cookie()
[all …]
Dhttp3.cc91 auto kv = &(*it); in copy_headers_to_nva_internal() local
92 if (kv->name.empty() || kv->name[0] == ':') { in copy_headers_to_nva_internal()
95 switch (kv->token) { in copy_headers_to_nva_internal()
132 kv = &(*it_forwarded); in copy_headers_to_nva_internal()
145 kv = &(*it_xff); in copy_headers_to_nva_internal()
158 kv = &(*it_xfp); in copy_headers_to_nva_internal()
171 kv = &(*it_via); in copy_headers_to_nva_internal()
176 make_nv_internal(kv->name, kv->value, kv->no_index, nv_flags)); in copy_headers_to_nva_internal()
Dshrpx_https_upstream.cc346 for (auto &kv : req.fs.headers()) { in htp_hdrs_completecb() local
347 kv.value = util::rstrip(balloc, kv.value); in htp_hdrs_completecb()
349 if (kv.token == http2::HD_TRANSFER_ENCODING && in htp_hdrs_completecb()
350 !http2::check_transfer_encoding(kv.value)) { in htp_hdrs_completecb()
374 for (const auto &kv : req.fs.headers()) { in htp_hdrs_completecb() local
375 if (kv.name == "authorization") { in htp_hdrs_completecb()
376 ss << TTY_HTTP_HD << kv.name << TTY_RST << ": <redacted>\n"; in htp_hdrs_completecb()
379 ss << TTY_HTTP_HD << kv.name << TTY_RST << ": " << kv.value << "\n"; in htp_hdrs_completecb()
593 for (auto &kv : req.fs.trailers()) { in htp_msg_completecb() local
594 kv.value = util::rstrip(balloc, kv.value); in htp_msg_completecb()
[all …]
Dhttp2.cc378 auto kv = &(*it); in copy_headers_to_nva_internal() local
379 if (kv->name.empty() || kv->name[0] == ':') { in copy_headers_to_nva_internal()
382 switch (kv->token) { in copy_headers_to_nva_internal()
419 kv = &(*it_forwarded); in copy_headers_to_nva_internal()
432 kv = &(*it_xff); in copy_headers_to_nva_internal()
445 kv = &(*it_xfp); in copy_headers_to_nva_internal()
458 kv = &(*it_via); in copy_headers_to_nva_internal()
463 make_nv_internal(kv->name, kv->value, kv->no_index, nv_flags)); in copy_headers_to_nva_internal()
489 auto kv = &(*it); in build_http1_headers_from_headers() local
490 if (kv->name.empty() || kv->name[0] == ':') { in build_http1_headers_from_headers()
[all …]
/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/libunwind/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/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/libinput/src/
Dutil-strings.h317 char **kv = strv_from_string(*pair, kv_separator); in kv_double_from_string() local
320 if (!kv || !kv[0] || !kv[1] || kv[2] || in kv_double_from_string()
321 !safe_atod(kv[0], &k) || in kv_double_from_string()
322 !safe_atod(kv[1], &v)) { in kv_double_from_string()
323 strv_free(kv); in kv_double_from_string()
331 strv_free(kv); in kv_double_from_string()
/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()
268 const auto kv = StrSplit(kvpair, '='); in ParseKeyValueFlag() local
269 if (kv.size() != 2) return false; in ParseKeyValueFlag()
270 value->emplace(kv[0], kv[1]); in ParseKeyValueFlag()
Dstatistics.cc195 for (auto const& kv : counter_stats) { in ComputeStats() local
197 const auto uc_stat = Stat.compute_(kv.second.s); in ComputeStats()
198 auto c = Counter(uc_stat, counter_stats[kv.first].c.flags, in ComputeStats()
199 counter_stats[kv.first].c.oneK); in ComputeStats()
200 data.counters[kv.first] = c; in ComputeStats()
Dreporter.cc75 for (const auto &kv : *global_context) { in PrintBasicContext()
76 Out << kv.first << ": " << kv.second << "\n"; in PrintBasicContext()
/third_party/cups-filters/filter/
Dpdfutils.c158 tmp=realloc(pdf->kv,sizeof(struct keyval_t)*pdf->kvalloc); in pdfOut_add_kv()
163 pdf->kv=tmp; in pdfOut_add_kv()
165 pdf->kv[pdf->kvsize].key=strdup(key); in pdfOut_add_kv()
166 pdf->kv[pdf->kvsize].value=strdup(val); in pdfOut_add_kv()
167 if ( (!pdf->kv[pdf->kvsize].key)||(!pdf->kv[pdf->kvsize].value) ) { in pdfOut_add_kv()
229 pdfOut_printf(pdf," /%s ",pdf->kv[iA].key); in pdfOut_finish_pdf()
230 pdfOut_putString(pdf,pdf->kv[iA].value,-1); in pdfOut_finish_pdf()
266 free(pdf->kv[iA].key); in pdfOut_finish_pdf()
267 free(pdf->kv[iA].value); in pdfOut_finish_pdf()
277 free(pdf->kv); in pdfOut_free()
/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_ldso_ns_config.c94 kvlist kv; in ns_config_test_0050() local
95 kv.num = 1; in ns_config_test_0050()
98 kv.key = &key; in ns_config_test_0050()
99 kv.val = &val; in ns_config_test_0050()
100 configor->kvs = &kv; in ns_config_test_0050()
115 kvlist kv; in ns_config_test_0060() local
116 kv.num = 1; in ns_config_test_0060()
119 kv.key = &key; in ns_config_test_0060()
120 kv.val = &val; in ns_config_test_0060()
121 configor->kvs = &kv; in ns_config_test_0060()
/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/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.txt48 "1. kv.",
49 "2. kv.",
50 "3. kv.",
51 "4. kv.",
/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/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/mesa3d/src/amd/vulkan/radix_sort/shaders/
Dscatter.glsl435 rs_histogram_rank(const RS_KEYVAL_TYPE kv[RS_SCATTER_BLOCK_ROWS],
467 const uint32_t digit = RS_KV_EXTRACT_DIGIT(kv[ii]);
494 const uint32_t digit = RS_KV_EXTRACT_DIGIT(kv[ii]);
529 const uint32_t digit = RS_KV_EXTRACT_DIGIT(kv[ii]);
576 const uint32_t digit = RS_KV_EXTRACT_DIGIT(kv[ii]);
614 const uint32_t digit = RS_KV_EXTRACT_DIGIT(kv[ii]);
647 const uint32_t digit = RS_KV_EXTRACT_DIGIT(kv[jj]);
1290 rs_rank_to_local(const RS_KEYVAL_TYPE kv[RS_SCATTER_BLOCK_ROWS],
1295 const uint32_t digit = RS_KV_EXTRACT_DIGIT(kv[ii]);
1313 rs_rank_to_global(const RS_KEYVAL_TYPE kv[RS_SCATTER_BLOCK_ROWS],
[all …]
/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/node/deps/v8/tools/testrunner/utils/
Ddump_build_config.py20 def as_json(kv): argument
21 assert '=' in kv
22 k, v = kv.split('=', 1)
Ddump_build_config_gyp.py43 def as_json(kv): argument
44 assert '=' in kv
45 k, v = kv.split('=', 1)
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dflat_hash_map.h588 static V& value(std::pair<const K, V>* kv) { return kv->second; } in value()
589 static const V& value(const std::pair<const K, V>* kv) { return kv->second; } in value()

12345678910>>...17