| /freebsd/lib/libutil/ |
| H A D | kinfo_getvmmap.c | 18 struct kinfo_vmentry *kiv, *kp, *kv; in kinfo_getvmmap() local 44 kv = (struct kinfo_vmentry *)(uintptr_t)bp; in kinfo_getvmmap() 45 if (kv->kve_structsize == 0) in kinfo_getvmmap() 47 bp += kv->kve_structsize; in kinfo_getvmmap() 61 kv = (struct kinfo_vmentry *)(uintptr_t)bp; in kinfo_getvmmap() 62 if (kv->kve_structsize == 0) in kinfo_getvmmap() 65 memcpy(kp, kv, kv->kve_structsize); in kinfo_getvmmap() 67 bp += kv->kve_structsize; in kinfo_getvmmap()
|
| /freebsd/usr.sbin/pmc/ |
| H A D | cmd_pmc_summary.cc | 146 for (auto &kv : countmap) in pmc_summary_handler() local 147 std::sort(kv.second.begin(), kv.second.end(), [](auto &a, auto &b) {return (a.first < b.first);}); in pmc_summary_handler() 149 for (auto &kv : countmap) { in pmc_summary_handler() local 150 auto &name = eventnamemap[kv.first]; in pmc_summary_handler() 151 auto rate = ratemap[kv.first]; in pmc_summary_handler() 152 std::cout << "idx: " << kv.first << " name: " << name << " rate: " << rate << std::endl; in pmc_summary_handler() 153 while (!kv.second.empty()) { in pmc_summary_handler() 154 auto val = kv.second.back(); in pmc_summary_handler() 155 kv.second.pop_back(); in pmc_summary_handler() 161 for (auto &kv : countmap) { in pmc_summary_handler() local [all …]
|
| /freebsd/usr.sbin/ctld/ |
| H A D | ctld.cc | 925 for (const auto &kv : conf_portal_groups) { in isns_register_request() local 926 pg = kv.second.get(); in isns_register_request() 935 for (const auto &kv : conf_targets) { in isns_register_request() local 936 const struct target *target = kv.second.get(); in isns_register_request() 1061 for (auto &kv : conf_isns) in isns_update() local 1062 isns_check(&kv.second); in isns_update() 1505 for (const auto &kv : conf_targets) in delete_target_luns() local 1506 kv.second->remove_lun(lun); in delete_target_luns() 1507 for (const auto &kv : conf_controllers) in delete_target_luns() local 1508 kv.second->remove_lun(lun); in delete_target_luns() [all …]
|
| /freebsd/stand/kboot/libkboot/ |
| H A D | seg.c | 209 static struct kv struct 254 static struct kv * 255 kvlookup(const char *str, struct kv *kvs, size_t nkv) in kvlookup() 284 struct kv *kv; in populate_avail_from_iomem() local 324 kv = kvlookup(str, str2type_kv, nitems(str2type_kv)); in populate_avail_from_iomem() 325 if (kv == NULL) /* failsafe for new types: igonre */ in populate_avail_from_iomem() 327 else if ((kv->flags & KV_KEEPER) == 0) in populate_avail_from_iomem() 328 remove_avail(start, end, kv->type); in populate_avail_from_iomem()
|
| /freebsd/contrib/pkgconf/libpkgconf/ |
| H A D | tuple.c | 119 pkgconf_tuple_define_global(pkgconf_client_t *client, const char *kv) in pkgconf_tuple_define_global() argument 121 char *workbuf = strdup(kv); in pkgconf_tuple_define_global() 335 char *kv, *parsekv; in pkgconf_tuple_parse() local 362 kv = pkgconf_tuple_find_global(client, varname); in pkgconf_tuple_parse() 363 if (kv != NULL) in pkgconf_tuple_parse() 365 size_t nlen = pkgconf_strlcpy(bptr, kv, remain); in pkgconf_tuple_parse() 378 kv = pkgconf_tuple_find(client, vars, varname); in pkgconf_tuple_parse() 380 if (kv != NULL) in pkgconf_tuple_parse() 384 parsekv = pkgconf_tuple_parse(client, vars, kv, flags); in pkgconf_tuple_parse()
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 863 for (auto kv : CustomCodeGenArgs) in genCode() local 864 OS << " " << kv.first << " = " << kv.second << ";\n"; in genCode() 905 for (const auto &kv : ImmediateArgs) { in genSema() local 906 const ImmediateArg &IA = kv.second; in genSema() 920 std::string Index = utostr(kv.first); in genSema() 1134 for (const auto &kv : ScalarTypes) { in getType() local 1135 const ScalarType *RT = kv.second.get(); in getType() 1146 for (const auto &kv : ScalarTypes) { in getType() local 1147 const ScalarType *RT = kv.second.get(); in getType() 1572 for (const auto &kv : ACLEIntrinsics) { in EmitBuiltinCG() local [all …]
|
| /freebsd/contrib/libfido2/src/ |
| H A D | u2f.c | 445 struct cbor_pair kv[3]; in encode_cred_attstmt() local 449 memset(&kv, 0, sizeof(kv)); in encode_cred_attstmt() 457 if ((kv[0].key = cbor_build_string("alg")) == NULL || in encode_cred_attstmt() 458 (kv[0].value = cbor_build_negint8(alg_cbor)) == NULL || in encode_cred_attstmt() 459 !cbor_map_add(item, kv[0])) { in encode_cred_attstmt() 464 if ((kv[1].key = cbor_build_string("sig")) == NULL || in encode_cred_attstmt() 465 (kv[1].value = fido_blob_encode(sig)) == NULL || in encode_cred_attstmt() 466 !cbor_map_add(item, kv[1])) { in encode_cred_attstmt() 471 if ((kv[2].key = cbor_build_string("x5c")) == NULL || in encode_cred_attstmt() 472 (kv[2].value = cbor_new_definite_array(1)) == NULL || in encode_cred_attstmt() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TaskTimer.cpp | 20 for (const auto &kv : m_timed_tasks) { in ForEachTimedTask() local 21 callback(kv.first, kv.second); in ForEachTimedTask()
|
| /freebsd/usr.bin/sort/ |
| H A D | coll.c | 107 const struct key_value *kv; in clean_keys_array() local 109 kv = get_key_from_keys_array(ka, i); in clean_keys_array() 110 if (kv->k && kv->k != s) in clean_keys_array() 111 bwsfree(kv->k); in clean_keys_array() 136 struct key_value *kv; in set_key_on_keys_array() local 138 kv = get_key_from_keys_array(ka, ind); in set_key_on_keys_array() 140 if (kv->k && kv->k != s) in set_key_on_keys_array() 141 bwsfree(kv->k); in set_key_on_keys_array() 142 kv->k = s; in set_key_on_keys_array() 171 const struct key_value *kv; in sort_list_item_size() local [all …]
|
| /freebsd/contrib/llvm-project/lld/Common/ |
| H A D | Args.cpp | 65 std::pair<StringRef, StringRef> kv = StringRef(arg->getValue()).split('='); in getZOptionValue() local 66 if (kv.first == key) { in getZOptionValue() 67 if (!to_integer(kv.second, defaultValue)) in getZOptionValue() 68 error("invalid " + key + ": " + kv.second); in getZOptionValue()
|
| /freebsd/sbin/nvmecontrol/modules/wdc/ |
| H A D | wdc.c | 456 const struct kv_name *kv, size_t kv_count) in print_hgst_info_subpage_gen() argument 474 printf(" %-30s: %jd\n", kv_lookup(kv, kv_count, ptype), (uintmax_t)param); in print_hgst_info_subpage_gen() 481 static struct kv_name kv[] = in print_hgst_info_write_errors() local 495 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_write_errors() 501 static struct kv_name kv[] = in print_hgst_info_read_errors() local 516 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_read_errors() 522 static struct kv_name kv[] = in print_hgst_info_verify_errors() local 535 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_verify_errors() 655 static struct kv_name kv[] = in print_hgst_info_erase_errors() local 672 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_erase_errors()
|
| /freebsd/sbin/nvmecontrol/modules/samsung/ |
| H A D | samsung.c | 46 uint8_t kv[256];/* Key-Value pair */ member 76 static struct kv_name kv[] = in print_samsung_extended_smart() local 103 name = kv_lookup(kv, nitems(kv), *walker); in print_samsung_extended_smart()
|
| /freebsd/sbin/nvmecontrol/modules/micron/ |
| H A D | micron.c | 56 static struct kv_name kv[] = in print_micron_unique_smart() local 78 name = kv_lookup(kv, nitems(kv), *walker); in print_micron_unique_smart()
|
| /freebsd/libexec/atf/atf-pytest-wrapper/ |
| H A D | atf_pytest_wrapper.cpp | 110 std::string kv = std::string(optarg); in Parse() local 111 size_t splitter = kv.find("="); in Parse() 113 Usage("Unknown variable: " + kv, true); in Parse() 115 kv_map[kv.substr(0, splitter)] = kv.substr(splitter + 1); in Parse()
|
| /freebsd/contrib/smbfs/lib/smb/ |
| H A D | subr.c | 72 int kv; in smb_lib_init() local 73 size_t kvlen = sizeof(kv); in smb_lib_init() 78 error = sysctlbyname("net.smb.version", &kv, &kvlen, NULL, 0); in smb_lib_init() 83 if (NSMB_VERSION != kv) { in smb_lib_init() 84 warnx("%s: kernel module version(%d) don't match library(%d).\n", __FUNCTION__, kv, NSMB_VERSION); in smb_lib_init()
|
| /freebsd/share/timedef/ |
| H A D | cs_CZ.ISO8859-2.src | 11 kv� 25 kv�tna 73 kv�ten
|
| H A D | cs_CZ.UTF-8.src | 11 kvě 25 května 73 květen
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_globals.cpp | 334 DynInitGlobals().forEach([&](auto &kv) { in StopInitOrderChecking() argument 335 UnpoisonDynamicGlobals(kv.second, /*mark_initialized=*/false); in StopInitOrderChecking() 505 DynInitGlobals().forEach([&](auto &kv) { in __asan_before_dynamic_init() argument 506 if (kv.first != module_name) { in __asan_before_dynamic_init() 507 PoisonDynamicGlobals(kv.second); in __asan_before_dynamic_init() 509 UnpoisonDynamicGlobals(kv.second, in __asan_before_dynamic_init() 576 DynInitGlobals().forEach([&](auto &kv) { in __asan_after_dynamic_init() argument 577 UnpoisonDynamicGlobals(kv.second, /*mark_initialized=*/false); in __asan_after_dynamic_init()
|
| /freebsd/tools/tools/nanobsd/ |
| H A D | mtree-dedup.awk | 63 function kv(str) function 183 kv($i); 188 kv($i);
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_control.c | 3336 struct ctl_var *kv; in read_sysvars() 3390 for (kv = ext_sys_var; kv && !(EOV & kv->flags); kv++) in read_sysvars() 3391 if (DEF & kv->flags) in read_sysvars() 3392 ctl_putdata(kv->text, strlen(kv->text), in read_sysvars() 4599 struct ctl_var * kv; in read_clockstatus() 4629 kv in read_clockstatus() 3337 struct ctl_var *kv; read_sysvars() local 5085 struct ctl_var *kv; report_event() local 5183 add_var(struct ctl_var ** kv,u_long size,u_short def) add_var() argument 5209 set_var(struct ctl_var ** kv,const char * data,u_long size,u_short def) set_var() argument 5297 free_varlist(struct ctl_var * kv) free_varlist() argument [all...] |
| /freebsd/sbin/nvmecontrol/modules/intel/ |
| H A D | intel.c | 133 static struct kv_name kv[] = in print_intel_add_smart() local 166 name = kv_lookup(kv, nitems(kv), *walker); in print_intel_add_smart()
|
| /freebsd/crypto/openssl/crypto/srp/ |
| H A D | srp_lib.c | 109 BIGNUM *kv = NULL, *gb = NULL; in SRP_Calc_B_ex() local 116 if ((kv = BN_new()) == NULL || (gb = BN_new()) == NULL || (B = BN_new()) == NULL) in SRP_Calc_B_ex() 123 || !BN_mod_mul(kv, v, k, N, bn_ctx) in SRP_Calc_B_ex() 124 || !BN_mod_add(B, gb, kv, N, bn_ctx)) { in SRP_Calc_B_ex() 130 BN_clear_free(kv); in SRP_Calc_B_ex()
|
| /freebsd/crypto/openssl/apps/ |
| H A D | req.c | 241 static int duplicated(LHASH_OF(OPENSSL_STRING) *addexts, char *kv) in duplicated() argument 248 while (isspace(_UC(*kv))) in duplicated() 249 kv++; in duplicated() 250 if ((p = strchr(kv, '=')) == NULL) { in duplicated() 254 off = p - kv; in duplicated() 255 if ((kv = OPENSSL_strdup(kv)) == NULL) in duplicated() 259 for (p = kv + off; p > kv; --p) in duplicated() 262 if (p == kv) { in duplicated() 264 OPENSSL_free(kv); in duplicated() 270 p = (char *)lh_OPENSSL_STRING_insert(addexts, (OPENSSL_STRING *)kv); in duplicated() [all …]
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | Driver.cpp | 553 std::pair<StringRef, StringRef> kv = StringRef(arg->getValue()).split('='); in getZStartStopVisibility() local 554 if (kv.first == "start-stop-visibility") { in getZStartStopVisibility() 556 if (kv.second == "default") in getZStartStopVisibility() 558 else if (kv.second == "internal") in getZStartStopVisibility() 560 else if (kv.second == "hidden") in getZStartStopVisibility() 562 else if (kv.second == "protected") in getZStartStopVisibility() 566 << StringRef(kv.second); in getZStartStopVisibility() 575 std::pair<StringRef, StringRef> kv = StringRef(arg->getValue()).split('='); in getZGcs() local 576 if (kv.first == "gcs") { in getZGcs() 578 if (kv.second == "implicit") in getZGcs() [all …]
|
| /freebsd/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); 88 __anona9def5290102(DenseMap<uptr, Data>::value_type& kv) GetAllPtrsLocked() argument
|