/third_party/libunwind/libunwind/src/ |
H A D | os-freebsd.c | 58 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 in tdep_get_elf_image() [all...] |
/third_party/nghttp2/src/ |
H A D | http3.cc | 91 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 in copy_headers_to_nva_internal() [all...] |
H A D | shrpx_downstream.cc | 302 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() 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() 326 if (kv.token != http2::HD_COOKIE || kv in assemble_request_cookie() 513 auto &kv = *it; header() local 523 auto &kv = *it; header() local [all...] |
H A D | shrpx_https_upstream.cc | 346 for (auto &kv : req.fs.headers()) { in htp_hdrs_completecb() 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() 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 in htp_hdrs_completecb() [all...] |
/third_party/python/Lib/wsgiref/ |
H A D | headers.py | 64 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/ |
H A D | crasher.c | 49 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/benchmark/src/ |
H A D | commandlineflags.cc | 91 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() local 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()
|
H A D | statistics.cc | 195 for (auto const& kv : counter_stats) { in ComputeStats() 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()
|
H A D | reporter.cc | 75 for (const auto &kv : *global_context) { in PrintBasicContext() 76 Out << kv.first << ": " << kv.second << "\n"; in PrintBasicContext()
|
/third_party/cups-filters/filter/ |
H A D | pdfutils.c | 158 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[i in pdfOut_finish_pdf() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | fldset.cpp | 109 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() [all...] |
/third_party/musl/libc-test/src/functionalext/unittest/ |
H A D | unit_test_ldso_ns_config.c | 94 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() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | FieldsSet.java | 129 String kv[] = Utility.split(fieldStr, '='); in parseFrom() 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/ |
H A D | FieldsSet.java | 126 String kv[] = Utility.split(fieldStr, '='); in parseFrom() 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/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | TextFormatParseInfoTree.java | 73 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/v8/tools/testrunner/utils/ |
H A D | dump_build_config.py | 20 def as_json(kv): 21 assert '=' in kv 22 k, v = kv.split('=', 1)
|
H A D | dump_build_config_gyp.py | 43 def as_json(kv): 44 assert '=' in kv 45 k, v = kv.split('=', 1)
|
/third_party/libinput/src/ |
H A D | util-strings.h | 363 char **kv = strv_from_string(pair, kv_separator, &nelem); in kv_double_from_string() local 366 if (!kv || nelem != 2 || in kv_double_from_string() 367 !safe_atod(kv[0], &k) || in kv_double_from_string() 368 !safe_atod(kv[1], &v)) { in kv_double_from_string() 369 strv_free(kv); in kv_double_from_string() 376 strv_free(kv); in kv_double_from_string()
|
/third_party/gn/src/gn/ |
H A D | ohos_components_mapping.cc | 82 for (const auto kv : mapping_dict->DictItems()) {
in LoadMappingFile() 83 auto iter = mapping_map_.find(kv.first);
in LoadMappingFile() 85 iter->second(kv.second);
in LoadMappingFile()
|
/third_party/backends/testsuite/backend/genesys/ |
H A D | session_config_test.cpp | 227 for (const auto& kv : iface.recorded_slope_tables()) { in print_checkpoint() 228 out << " " << kv.first << ": {"; in print_checkpoint() 229 for (unsigned i = 0; i < kv.second.size(); ++i) { in print_checkpoint() 233 out << ' ' << kv.second[i]; in print_checkpoint() 242 for (const auto& kv : iface.recorded_key_values()) { in print_checkpoint() 243 out << " " << kv.first << " : " << kv.second << '\n'; in print_checkpoint()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | flat_hash_map.h | 588 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()
|
/third_party/openGLES/extensions/ |
H A D | makeindex.py | 56 sortext = sorted(dict.items(), key = lambda kv : kv[1].get(key))
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ |
H A D | makeindex.py | 66 sortext = sorted(dict.items(), key = lambda kv : kv[1].get(key))
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | req.c | 192 * Is the |kv| key already duplicated? This is remarkably tricky to get right. 195 static int duplicated(LHASH_OF(OPENSSL_STRING) *addexts, char *kv) in LHASH_OF() 202 while (*kv && isspace(_UC(*kv))) in LHASH_OF() 203 if (*++kv == '\0') in LHASH_OF() 205 if ((p = strchr(kv, '=')) == NULL) in LHASH_OF() 207 off = p - kv; in LHASH_OF() 208 if ((kv = OPENSSL_strdup(kv)) == NULL) in LHASH_OF() 212 for (p = kv in LHASH_OF() [all...] |
/third_party/openssl/apps/ |
H A D | req.c | 192 * Is the |kv| key already duplicated? This is remarkably tricky to get right. 195 static int duplicated(LHASH_OF(OPENSSL_STRING) *addexts, char *kv) in LHASH_OF() 202 while (*kv && isspace(*kv)) in LHASH_OF() 203 if (*++kv == '\0') in LHASH_OF() 205 if ((p = strchr(kv, '=')) == NULL) in LHASH_OF() 207 off = p - kv; in LHASH_OF() 208 if ((kv = OPENSSL_strdup(kv)) == NULL) in LHASH_OF() 212 for (p = kv in LHASH_OF() [all...] |