/freebsd/sys/dev/rtwn/rtl8188e/ |
H A D | r88e_calib.c | 157 uint16_t rx[2], struct r88e_iq_cal_reg_vals *vals) in r88e_iq_calib_run() argument 171 vals->adda[i] = rtwn_bb_read(sc, reg_adda[i]); in r88e_iq_calib_run() 173 vals->txpause = rtwn_read_1(sc, R92C_TXPAUSE); in r88e_iq_calib_run() 174 vals->bcn_ctrl[0] = rtwn_read_1(sc, R92C_BCN_CTRL(0)); in r88e_iq_calib_run() 175 vals->bcn_ctrl[1] = rtwn_read_1(sc, R92C_BCN_CTRL(1)); in r88e_iq_calib_run() 176 vals->gpio_muxcfg = rtwn_read_4(sc, R92C_GPIO_MUXCFG); in r88e_iq_calib_run() 192 vals->cck0_afesetting = rtwn_bb_read(sc, R92C_CCK0_AFESETTING); in r88e_iq_calib_run() 193 vals->ofdm0_trxpathena = in r88e_iq_calib_run() 195 vals->ofdm0_trmuxpar = rtwn_bb_read(sc, R92C_OFDM0_TRMUXPAR); in r88e_iq_calib_run() 196 vals->fpga0_rfifacesw0 = in r88e_iq_calib_run() [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | strpftime-test.c | 46 } vals[MAXSIZE]; member 240 for (j = 0; tests[i].vals[j].format != NULL; ++j) { in main() 246 len = strftime (buf, sizeof(buf), tests[i].vals[j].format, tm); in main() 249 tests[i].vals[j].format, (unsigned long)len, in main() 254 if (strcmp (buf, tests[i].vals[j].result) != 0) { in main() 256 tests[i].vals[j].format, buf, in main() 257 tests[i].vals[j].result); in main() 262 ptr = strptime (tests[i].vals[j].result, in main() 263 tests[i].vals[j].format, in main() 268 tests[i].vals[j].result, in main() [all …]
|
/freebsd/sys/dev/rtwn/rtl8192c/ |
H A D | r92c_calib.c | 135 uint16_t rx[2][2], struct r92c_iq_cal_reg_vals *vals) in r92c_iq_calib_run() argument 149 vals->adda[i] = rtwn_bb_read(sc, reg_adda[i]); in r92c_iq_calib_run() 151 vals->txpause = rtwn_read_1(sc, R92C_TXPAUSE); in r92c_iq_calib_run() 152 vals->bcn_ctrl[0] = rtwn_read_1(sc, R92C_BCN_CTRL(0)); in r92c_iq_calib_run() 153 vals->bcn_ctrl[1] = rtwn_read_1(sc, R92C_BCN_CTRL(1)); in r92c_iq_calib_run() 154 vals->gpio_muxcfg = rtwn_read_4(sc, R92C_GPIO_MUXCFG); in r92c_iq_calib_run() 175 vals->cck0_afesetting = rtwn_bb_read(sc, R92C_CCK0_AFESETTING); in r92c_iq_calib_run() 176 vals->ofdm0_trxpathena = in r92c_iq_calib_run() 178 vals->ofdm0_trmuxpar = rtwn_bb_read(sc, R92C_OFDM0_TRMUXPAR); in r92c_iq_calib_run() 179 vals->fpga0_rfifacesw0 = in r92c_iq_calib_run() [all …]
|
/freebsd/tools/tools/qrndtest/ |
H A D | r.c | 53 uint64_t vals[4] = {}; in main() local 71 vals[f() % 4]++; in main() 73 avg = vals[0] + vals[1] + vals[2] + vals[3]; in main() 75 printf("%d: %ld %ld %ld %ld\n", i, vals[0] - avg, vals[1] - avg, vals[2] - avg, vals[3] - avg); in main()
|
/freebsd/usr.sbin/pmcstudy/ |
H A D | pmcstudy.c | 170 uint64_t vals[MAX_COUNTER_SLOTS]; /* Last 64 entries */ member 483 par = partial->vals[pos] * 1.0; in allocstall1() 484 un = unhalt->vals[pos] * 1.0; in allocstall1() 505 par = partial->vals[pos] * 1.0; in allocstall2() 506 un = unhalt->vals[pos] * 1.0; in allocstall2() 529 br = brctr->vals[pos] * 1.0; in br_mispredict() 530 un = unhalt->vals[pos] * 1.0; in br_mispredict() 570 br = brctr->vals[pos] * 1.0; in br_mispredictib() 571 cl = clear->vals[pos] * 1.0; in br_mispredictib() 572 cl2 = clear2->vals[pos] * 1.0; in br_mispredictib() [all …]
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4vf_hw.c | 94 u32 params[7], vals[7]; in t4vf_get_sge_params() local 113 v = t4vf_query_params(adapter, 7, params, vals); in t4vf_get_sge_params() 117 sp->sge_control = vals[0]; in t4vf_get_sge_params() 118 sp->counter_val[0] = G_THRESHOLD_0(vals[6]); in t4vf_get_sge_params() 119 sp->counter_val[1] = G_THRESHOLD_1(vals[6]); in t4vf_get_sge_params() 120 sp->counter_val[2] = G_THRESHOLD_2(vals[6]); in t4vf_get_sge_params() 121 sp->counter_val[3] = G_THRESHOLD_3(vals[6]); in t4vf_get_sge_params() 122 sp->timer_val[0] = core_ticks_to_us(adapter, G_TIMERVALUE0(vals[2])); in t4vf_get_sge_params() 123 sp->timer_val[1] = core_ticks_to_us(adapter, G_TIMERVALUE1(vals[2])); in t4vf_get_sge_params() 124 sp->timer_val[2] = core_ticks_to_us(adapter, G_TIMERVALUE2(vals[3])); in t4vf_get_sge_params() [all …]
|
/freebsd/sys/dev/rtwn/rtl8192c/pci/ |
H A D | r92ce_calib.c | 135 uint16_t rx[2][2], struct r92ce_iq_cal_reg_vals *vals) in r92ce_iq_calib_run() argument 149 vals->adda[i] = rtwn_bb_read(sc, reg_adda[i]); in r92ce_iq_calib_run() 151 vals->txpause = rtwn_read_1(sc, R92C_TXPAUSE); in r92ce_iq_calib_run() 152 vals->bcn_ctrl[0] = rtwn_read_1(sc, R92C_BCN_CTRL(0)); in r92ce_iq_calib_run() 153 vals->bcn_ctrl[1] = rtwn_read_1(sc, R92C_BCN_CTRL(1)); in r92ce_iq_calib_run() 154 vals->gpio_muxcfg = rtwn_read_4(sc, R92C_GPIO_MUXCFG); in r92ce_iq_calib_run() 175 vals->ofdm0_trxpathena = in r92ce_iq_calib_run() 177 vals->ofdm0_trmuxpar = rtwn_bb_read(sc, R92C_OFDM0_TRMUXPAR); in r92ce_iq_calib_run() 178 vals->fpga0_rfifacesw1 = in r92ce_iq_calib_run() 193 vals->bcn_ctrl[0] & ~R92C_BCN_CTRL_EN_BCN); in r92ce_iq_calib_run() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UninitializedValues.cpp | 139 SmallVector<ValueVector, 8> vals; member in __anon2e1962360211::CFGBlockValues 151 return vals[block->getBlockID()]; in getValueVector() 175 CFGBlockValues::CFGBlockValues(const CFG &c) : cfg(c), vals(0) {} in CFGBlockValues() 184 vals.resize(n); in computeSetOfDeclarations() 185 for (auto &val : vals) in computeSetOfDeclarations() 481 CFGBlockValues &vals; member in __anon2e1962360511::TransferFunctions 490 TransferFunctions(CFGBlockValues &vals, const CFG &cfg, in TransferFunctions() argument 494 : vals(vals), cfg(cfg), block(block), ac(ac), in TransferFunctions() 592 Value AtPredExit = vals.getValue(Pred, B, vd); in getUninitUse() 597 vals.getValue(B, nullptr, vd) == Uninitialized) { in getUninitUse() [all …]
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | ad.c | 131 char **vals; in ldap_tsasl_bind_s() local 151 vals = ldap_get_values(ld, m, "supportedSASLMechanisms"); in ldap_tsasl_bind_s() 152 if (vals == NULL) { in ldap_tsasl_bind_s() 157 ret = tsasl_find_best_mech(peer, vals, &mech); in ldap_tsasl_bind_s() 359 char **vals; in _kadm5_ad_connect() local 378 vals = ldap_get_values(CTX2LP(context), in _kadm5_ad_connect() 380 if (vals == NULL) { in _kadm5_ad_connect() 385 context->base_dn = strdup(vals[0]); in _kadm5_ad_connect() 463 char **vals; in ad_find_entry() local 465 vals = ldap_get_values(CTX2LP(context), m0, "distinguishedName"); in ad_find_entry() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | acl_common.c | 738 acevals_init(acevals_t *vals, uid_t key) in acevals_init() argument 740 memset(vals, 0, sizeof (*vals)); in acevals_init() 741 vals->allowed = ACE_MASK_UNDEFINED; in acevals_init() 742 vals->denied = ACE_MASK_UNDEFINED; in acevals_init() 743 vals->mask = ACE_MASK_UNDEFINED; in acevals_init() 744 vals->key = key; in acevals_init() 1012 acevals_to_aent(acevals_t *vals, aclent_t *dest, ace_list_t *list, in acevals_to_aent() argument 1020 if (vals->allowed != (vals->denied ^ flips)) { in acevals_to_aent() 1024 if ((list->hasmask) && (list->acl_mask != vals->mask) && in acevals_to_aent() 1025 (vals->aent_type & (USER | GROUP | GROUP_OBJ))) { in acevals_to_aent() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | mbdb.c | 594 char **vals; local 596 vals = ldap_get_values(LDAPLMAP.ldap_ld, entry, attr); 597 if (vals == NULL) 622 if (vals[0] == NULL || vals[0][0] == '\0') 628 strlen(vals[0]) >= sizeof(user->mbdb_fullname)) 631 sm_pwfullname(vals[0], name, user->mbdb_fullname, 638 strlen(vals[0]) >= sizeof(user->mbdb_homedir)) 641 (void) sm_strlcpy(user->mbdb_homedir, vals[0], 648 strlen(vals[0]) >= sizeof(user->mbdb_shell)) 651 (void) sm_strlcpy(user->mbdb_shell, vals[0], [all …]
|
H A D | ldap.c | 733 char **vals = NULL; local 739 vals = ldap_get_values(lmap->ldap_ld, entry, "objectClass"); 740 if (vals == NULL) 743 for (i = 0; vals[i] != NULL; i++) 754 if ((p - q) == strlen(vals[i]) && 755 sm_strncasecmp(vals[i], q, p - q) == 0) 757 ldap_value_free(vals); 767 ldap_value_free(vals); 957 char **vals = NULL; local 1079 vals = ldap_get_values(lmap->ldap_ld, [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
H A D | zpool_create_018_pos.ksh | 78 set -A vals "off" "off" "$CPATH" "3" 82 set -A vals ${vals[*]} "on" 88 log_must $ZPOOL create -o ${props[$i]}=${vals[$i]} $TESTPOOL $disk 90 if [[ $RESULT != ${vals[$i]} ]]
|
/freebsd/sys/dev/rtwn/rtl8812a/ |
H A D | r12a_calib.c | 127 r12a_save_bb_afe_vals(struct rtwn_softc *sc, uint32_t vals[], in r12a_save_bb_afe_vals() argument 136 vals[i] = rtwn_bb_read(sc, regs[i]); in r12a_save_bb_afe_vals() 140 r12a_restore_bb_afe_vals(struct rtwn_softc *sc, uint32_t vals[], in r12a_restore_bb_afe_vals() argument 149 rtwn_bb_write(sc, regs[i], vals[i]); in r12a_restore_bb_afe_vals() 153 r12a_save_rf_vals(struct rtwn_softc *sc, uint32_t vals[], in r12a_save_rf_vals() argument 163 vals[c * size + i] = rtwn_rf_read(sc, c, regs[i]); in r12a_save_rf_vals() 167 r12a_restore_rf_vals(struct rtwn_softc *sc, uint32_t vals[], in r12a_restore_rf_vals() argument 177 rtwn_rf_write(sc, c, regs[i], vals[c * size + i]); in r12a_restore_rf_vals()
|
/freebsd/contrib/cortex-strings/scripts/ |
H A D | plot-sizes.py | 61 vals = [x.bytes*x.loops/x.elapsed/(1024*1024) for x in matches if x.bytes == xbytes] 62 if len(vals) > 1: 63 mean = sum(vals)/len(vals) 67 err1 = max(vals) - mean 69 err2 = min(vals) - mean 74 Y.append(vals[0])
|
H A D | plot-top.py | 33 vals = [match.bytes*match.loops/match.elapsed/(1024*1024) for 35 mean = sum(vals)/len(vals)
|
H A D | plot-align.py | 32 vals = [match.bytes*match.loops/match.elapsed/(1024*1024) for 34 mean = sum(vals)/len(vals)
|
/freebsd/lib/msun/tests/ |
H A D | csqrt_test.c | 152 static const double vals[] = { in test_infinities() local 163 for (i = 0; i < nitems(vals); i++) { in test_infinities() 164 if (isfinite(vals[i])) { in test_infinities() 165 assert_equal(t_csqrt(CMPLXL(-INFINITY, vals[i])), in test_infinities() 166 CMPLXL(0.0, copysignl(INFINITY, vals[i]))); in test_infinities() 167 assert_equal(t_csqrt(CMPLXL(INFINITY, vals[i])), in test_infinities() 168 CMPLXL(INFINITY, copysignl(0.0, vals[i]))); in test_infinities() 170 assert_equal(t_csqrt(CMPLXL(vals[i], INFINITY)), in test_infinities() 172 assert_equal(t_csqrt(CMPLXL(vals[i], -INFINITY)), in test_infinities()
|
/freebsd/lib/libthr/tests/ |
H A D | umtx_op_test.c | 69 uint32_t vals[THREAD_COUNT]; in ATF_TC_BODY() local 73 addrs[i] = (uintptr_t)&vals[i]; in ATF_TC_BODY() 74 vals[i] = 0; in ATF_TC_BODY() 76 &vals[i]); in ATF_TC_BODY()
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | hdb-ldap.c | 313 struct berval **vals; in LDAP_get_string_value() 315 vals = ldap_get_values_len(HDB2LDAP(db), entry, attribute); in LDAP_get_string_value() 316 if (vals == NULL || vals[0] == NULL) { in LDAP_get_string_value() 321 *ptr = malloc(vals[0]->bv_len + 1); in LDAP_get_string_value() 323 ldap_value_free_len(vals); in LDAP_get_string_value() 327 memcpy(*ptr, vals[0]->bv_val, vals[0]->bv_len); in LDAP_get_string_value() 328 (*ptr)[vals[0]->bv_len] = 0; in LDAP_get_string_value() 330 ldap_value_free_len(vals); in LDAP_get_string_value() 310 struct berval **vals; LDAP_get_string_value() local 399 struct berval **vals; LDAP_entry2mods() local 978 struct berval **vals; LDAP_message2entry() local [all...] |
/freebsd/contrib/libucl/klib/ |
H A D | khash.h | 199 khval_t *vals; \ 219 kfree((void *)h->vals); \ 261 khval_t *new_vals = (khval_t*)krealloc((void *)h->vals, new_n_buckets * sizeof(khval_t)); \ 263 h->vals = new_vals; \ 275 if (kh_is_map) val = h->vals[j]; \ 285 if (kh_is_map) { khval_t tmp = h->vals[i]; h->vals[i] = val; val = tmp; } \ 289 if (kh_is_map) h->vals[i] = val; \ 297 if (kh_is_map) h->vals = (khval_t*)krealloc((void *)h->vals, new_n_buckets * sizeof(khval_t)); \ 516 #define kh_val(h, x) ((h)->vals[x]) 521 #define kh_value(h, x) ((h)->vals[x])
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_ctx.c | 26 BIGNUM vals[BN_CTX_POOL_SIZE]; member 92 item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax); in ctxdbg() 170 BIO_printf(trc_out, "%02x ", pool->vals[loop++].dmax); in BN_CTX_free() 306 for (loop = 0, bn = p->head->vals; loop++ < BN_CTX_POOL_SIZE; bn++) in BN_POOL_finish() 329 for (loop = 0, bn = item->vals; loop++ < BN_CTX_POOL_SIZE; bn++) { in BN_POOL_get() 347 return item->vals; in BN_POOL_get() 354 return p->current->vals + ((p->used++) % BN_CTX_POOL_SIZE); in BN_POOL_get() 363 bn_check_top(p->current->vals + offset); in BN_POOL_release()
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | test-bidi.c | 44 uint32_t vals[MAX_LENGTH]; member 66 if (_wind_stringprep_testbidi(t->vals, t->len, WIND_PROFILE_NAME)) { in main() 74 if (!_wind_stringprep_testbidi(t->vals, t->len, WIND_PROFILE_NAME)) { in main()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_018_pos.ksh | 62 typeset vals=("off" "off" "$CPATH" "3" "on") 67 log_must zpool create -o ${props[$i]}=${vals[$i]} $TESTPOOL $DISK0 69 if [[ $RESULT != ${vals[$i]} ]]
|
/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_vsc7323.c | 51 int t3_elmr_blk_write(adapter_t *adap, int start, const u32 *vals, int n) in t3_elmr_blk_write() argument 58 for ( ; !ret && n; n--, vals++) { in t3_elmr_blk_write() 60 *vals & 0xffff); in t3_elmr_blk_write() 63 *vals >> 16); in t3_elmr_blk_write() 74 int t3_elmr_blk_read(adapter_t *adap, int start, u32 *vals, int n) in t3_elmr_blk_read() argument 99 for ( ; !ret && n; n--, vals++) { in t3_elmr_blk_read() 100 ret = mo->read(adap, ELMR_MDIO_ADDR, 0, ELMR_DATA_LO, vals); in t3_elmr_blk_read() 104 *vals |= v << 16; in t3_elmr_blk_read()
|