/freebsd-current/lib/libutil/ |
H A D | kinfo_getvmmap.c | 18 struct kinfo_vmentry *kiv, *kp, *kv; local 44 kv = (struct kinfo_vmentry *)(uintptr_t)bp; 45 if (kv->kve_structsize == 0) 47 bp += kv->kve_structsize; 61 kv = (struct kinfo_vmentry *)(uintptr_t)bp; 62 if (kv->kve_structsize == 0) 65 memcpy(kp, kv, kv->kve_structsize); 67 bp += kv->kve_structsize;
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TaskTimer.cpp | 20 for (const auto &kv : m_timed_tasks) { 21 callback(kv.first, kv.second);
|
H A D | TraceIntelPTMultiCpuDecoder.cpp | 214 for (const auto &kv : *m_continuous_executions_per_thread) 215 count += kv.second.size();
|
/freebsd-current/usr.sbin/pmc/ |
H A D | cmd_pmc_summary.cc | 146 for (auto &kv : countmap) 147 std::sort(kv.second.begin(), kv.second.end(), [](auto &a, auto &b) {return (a.first < b.first);}); 149 for (auto &kv : countmap) { 150 auto &name = eventnamemap[kv.first]; 151 auto rate = ratemap[kv.first]; 152 std::cout << "idx: " << kv.first << " name: " << name << " rate: " << rate << std::endl; 153 while (!kv.second.empty()) { 154 auto val = kv.second.back(); 155 kv [all...] |
/freebsd-current/stand/kboot/kboot/arch/amd64/ |
H A D | load_addr.c | 48 struct kv struct 70 str2type(struct kv *kv, const char *buf, uint64_t *value) argument 72 while (kv->name != NULL) { 73 if (strcmp(kv->name, buf) == 0) { 74 *value = kv->type; 77 kv++;
|
/freebsd-current/stand/kboot/kboot/ |
H A D | seg.c | 208 static struct kv struct 254 static struct kv * 255 kvlookup(const char *str, struct kv *kvs, size_t nkv) 284 struct kv *kv; local 324 kv = kvlookup(str, str2type_kv, nitems(str2type_kv)); 325 if (kv == NULL) /* failsafe for new types: igonre */ 327 else if ((kv->flags & KV_KEEPER) == 0) 328 remove_avail(start, end, kv->type);
|
/freebsd-current/contrib/llvm-project/lld/Common/ |
H A D | Args.cpp | 65 std::pair<StringRef, StringRef> kv = StringRef(arg->getValue()).split('='); local 66 if (kv.first == key) { 67 if (!to_integer(kv.second, defaultValue)) 68 error("invalid " + key + ": " + kv.second);
|
/freebsd-current/tools/tools/nanobsd/ |
H A D | mtree-dedup.awk | 63 function kv(str) function 148 line2kv(old_kvs, tree[from]); # old_kvs = kv's in entry 159 line2kv(old_kvs, tree[from]); # old_kvs = kv's in entry 164 line2kv(old_kvs, tree[path]); # old_kvs = kv's in entry 183 kv($i); 188 kv($i);
|
/freebsd-current/sbin/nvmecontrol/modules/samsung/ |
H A D | samsung.c | 46 uint8_t kv[256];/* Key-Value pair */ member in struct:samsung_log_extended_smart 76 static struct kv_name kv[] = local 103 name = kv_lookup(kv, nitems(kv), *walker);
|
/freebsd-current/contrib/smbfs/lib/smb/ |
H A D | subr.c | 72 int kv; local 73 size_t kvlen = sizeof(kv); 78 error = sysctlbyname("net.smb.version", &kv, &kvlen, NULL, 0); 83 if (NSMB_VERSION != kv) { 84 warnx("%s: kernel module version(%d) don't match library(%d).\n", __FUNCTION__, kv, NSMB_VERSION);
|
/freebsd-current/libexec/atf/atf-pytest-wrapper/ |
H A D | atf_pytest_wrapper.cpp | 34 // kv pairs (provided by ATF) 110 std::string kv = std::string(optarg); local 111 size_t splitter = kv.find("="); 113 Usage("Unknown variable: " + kv, true); 115 kv_map[kv.substr(0, splitter)] = kv.substr(splitter + 1); 182 // Pass ATF kv pairs as env variables to avoid dealing with
|
/freebsd-current/contrib/llvm-project/clang/utils/TableGen/ |
H A D | MveEmitter.cpp | 864 for (auto kv : CustomCodeGenArgs) 865 OS << " " << kv.first << " = " << kv.second << ";\n"; 906 for (const auto &kv : ImmediateArgs) { 907 const ImmediateArg &IA = kv.second; 921 std::string Index = utostr(kv.first); 1131 for (const auto &kv : ScalarTypes) { 1132 const ScalarType *RT = kv.second.get(); 1143 for (const auto &kv : ScalarTypes) { 1144 const ScalarType *RT = kv [all...] |
/freebsd-current/usr.bin/sort/ |
H A D | coll.c | 107 const struct key_value *kv; local 109 kv = get_key_from_keys_array(ka, i); 110 if (kv->k && kv->k != s) 111 bwsfree(kv->k); 136 struct key_value *kv; local 138 kv = get_key_from_keys_array(ka, ind); 140 if (kv->k && kv->k != s) 141 bwsfree(kv 171 const struct key_value *kv; local 981 randomcoll_init_hint(struct key_value *kv, void *hash) argument [all...] |
/freebsd-current/sbin/nvmecontrol/modules/intel/ |
H A D | intel.c | 131 static struct kv_name kv[] = local 160 name = kv_lookup(kv, nitems(kv), *walker);
|
/freebsd-current/contrib/libfido2/src/ |
H A D | u2f.c | 444 struct cbor_pair kv[3]; local 448 memset(&kv, 0, sizeof(kv)); 456 if ((kv[0].key = cbor_build_string("alg")) == NULL || 457 (kv[0].value = cbor_build_negint8(alg_cbor)) == NULL || 458 !cbor_map_add(item, kv[0])) { 463 if ((kv[1].key = cbor_build_string("sig")) == NULL || 464 (kv[1].value = fido_blob_encode(sig)) == NULL || 465 !cbor_map_add(item, kv[1])) { 470 if ((kv[ [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_thread_arg_retval.cpp | 103 data_.forEach([&](DenseMap<uptr, Data>::value_type& kv) -> bool { 104 ptrs->push_back((uptr)kv.second.args.arg_retval);
|
/freebsd-current/sbin/nvmecontrol/modules/wdc/ |
H A D | wdc.c | 454 const struct kv_name *kv, size_t kv_count) 472 printf(" %-30s: %jd\n", kv_lookup(kv, kv_count, ptype), (uintmax_t)param); 479 static struct kv_name kv[] = local 493 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); 499 static struct kv_name kv[] = local 514 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); 520 static struct kv_name kv[] = local 533 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitem 453 print_hgst_info_subpage_gen(void *buf, uint16_t subtype __unused, uint32_t size, const struct kv_name *kv, size_t kv_count) argument 653 static struct kv_name kv[] = local [all...] |
/freebsd-current/sys/sys/ |
H A D | bus_dma.h | 250 #define BUS_DMA_TEMPLATE_FILL(t, kv...) \ 252 bus_dma_param_t pm[] = { kv }; \ 259 void bus_dma_template_fill(bus_dma_template_t *t, bus_dma_param_t *kv,
|
/freebsd-current/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | JSONBackend.cpp | 173 for (auto kv: instance_lists) 174 instanceof[kv.first] = std::move(kv.second);
|
/freebsd-current/crypto/openssl/crypto/srp/ |
H A D | srp_lib.c | 109 BIGNUM *kv = NULL, *gb = NULL; local 117 if ((kv = BN_new()) == NULL || 125 || !BN_mod_mul(kv, v, k, N, bn_ctx) 126 || !BN_mod_add(B, gb, kv, N, bn_ctx)) { 132 BN_clear_free(kv);
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | ntp_control.c | 3336 struct ctl_var *kv; local 3390 for (kv = ext_sys_var; kv && !(EOV & kv->flags); kv++) 3391 if (DEF & kv->flags) 3392 ctl_putdata(kv->text, strlen(kv->text), 4599 struct ctl_var * kv; 4629 kv 5073 struct ctl_var *kv; local 5170 add_var( struct ctl_var **kv, u_long size, u_short def ) argument 5196 set_var( struct ctl_var **kv, const char *data, u_long size, u_short def ) argument [all...] |
/freebsd-current/crypto/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) 202 while (*kv && isspace(_UC(*kv))) 203 if (*++kv == '\0') 205 if ((p = strchr(kv, '=')) == NULL) 207 off = p - kv; 208 if ((kv = OPENSSL_strdup(kv)) == NULL) 212 for (p = kv [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
H A D | NativeProcessFreeBSD.cpp | 649 auto *kv = reinterpret_cast<struct kinfo_vmentry *>(bp); local 650 if (kv->kve_structsize == 0) 652 bp += kv->kve_structsize; 656 info.GetRange().SetRangeBase(kv->kve_start); 657 info.GetRange().SetRangeEnd(kv->kve_end); 660 if (kv->kve_protection & VM_PROT_READ) 665 if (kv->kve_protection & VM_PROT_WRITE) 670 if (kv->kve_protection & VM_PROT_EXECUTE) 675 if (kv->kve_path[0]) 676 info.SetName(kv [all...] |
/freebsd-current/contrib/llvm-project/lld/ELF/ |
H A D | MapFile.cpp | 246 for (auto kv : map) { 247 Symbol *sym = kv.first; 248 SetVector<InputFile *> &files = kv.second;
|
/freebsd-current/sbin/nvmecontrol/ |
H A D | nvmecontrol.h | 74 const char *kv_lookup(const struct kv_name *kv, size_t kv_count, uint32_t key);
|