Home
last modified time | relevance | path

Searched refs:kv (Results 1 - 25 of 79) sorted by relevance

1234

/third_party/libunwind/libunwind/src/
H A 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 in tdep_get_elf_image()
[all...]
/third_party/nghttp2/src/
H A 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 in copy_headers_to_nva_internal()
[all...]
H A 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()
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 Dshrpx_https_upstream.cc346 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 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/
H A 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/benchmark/src/
H A 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() 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 Dstatistics.cc195 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 Dreporter.cc75 for (const auto &kv : *global_context) { in PrintBasicContext()
76 Out << kv.first << ": " << kv.second << "\n"; in PrintBasicContext()
/third_party/cups-filters/filter/
H A 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[i in pdfOut_finish_pdf()
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A 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()
[all...]
/third_party/musl/libc-test/src/functionalext/unittest/
H A 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()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DFieldsSet.java129 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 DFieldsSet.java126 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 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/v8/tools/testrunner/utils/
H A Ddump_build_config.py20 def as_json(kv):
21 assert '=' in kv
22 k, v = kv.split('=', 1)
H A Ddump_build_config_gyp.py43 def as_json(kv):
44 assert '=' in kv
45 k, v = kv.split('=', 1)
/third_party/libinput/src/
H A Dutil-strings.h363 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 Dohos_components_mapping.cc82 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 Dsession_config_test.cpp227 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 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()
/third_party/openGLES/extensions/
H A Dmakeindex.py56 sortext = sorted(dict.items(), key = lambda kv : kv[1].get(key))
/third_party/skia/third_party/externals/opengl-registry/extensions/
H A Dmakeindex.py66 sortext = sorted(dict.items(), key = lambda kv : kv[1].get(key))
/third_party/node/deps/openssl/openssl/apps/
H A Dreq.c192 * 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 Dreq.c192 * 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...]

Completed in 20 milliseconds

1234