| /freebsd-14.2/sys/contrib/openzfs/module/lua/ |
| H A D | lfunc.c | 39 uv->v = &uv->u.value; in luaF_newupval() 41 return uv; in luaF_newupval() 49 UpVal *uv; in luaF_findupval() local 66 uv->u.l.next->u.l.prev = uv; in luaF_findupval() 68 lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv); in luaF_findupval() 69 return uv; in luaF_findupval() 74 lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv); in unlinkupval() 76 uv->u.l.prev->u.l.next = uv->u.l.next; in unlinkupval() 81 if (uv->v != &uv->u.value) /* is it open? */ in luaF_freeupval() 88 UpVal *uv; in luaF_close() local [all …]
|
| H A D | lgc.c | 188 void luaC_checkupvalcolor (global_State *g, UpVal *uv) { in luaC_checkupvalcolor() argument 189 GCObject *o = obj2gco(uv); in luaC_checkupvalcolor() 195 markvalue(g, uv->v); in luaC_checkupvalcolor() 258 UpVal *uv = gco2uv(o); in reallymarkobject() local 259 markvalue(g, uv->v); in reallymarkobject() 260 if (uv->v != &uv->u.value) /* open? */ in reallymarkobject() 323 UpVal *uv; in remarkupvals() local 324 for (uv = g->uvhead.u.l.next; uv != &g->uvhead; uv = uv->u.l.next) { in remarkupvals() 325 if (isgray(obj2gco(uv))) in remarkupvals() 326 markvalue(g, uv->v); in remarkupvals()
|
| H A D | lstate.h | 193 struct UpVal uv; member 205 #define gco2u(o) (&rawgco2u(o)->uv) 212 #define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv))
|
| /freebsd-14.2/contrib/lua/src/ |
| H A D | lfunc.c | 53 uv->v.p = &uv->u.value; /* make it closed */ in luaF_initupvals() 54 setnilvalue(uv->v.p); in luaF_initupvals() 55 cl->upvals[i] = uv; in luaF_initupvals() 67 UpVal *uv = gco2upv(o); in newupval() local 74 *prev = uv; in newupval() 79 return uv; in newupval() 184 *uv->u.open.previous = uv->u.open.next; in luaF_unlinkupval() 185 if (uv->u.open.next) in luaF_unlinkupval() 186 uv->u.open.next->u.open.previous = uv->u.open.previous; in luaF_unlinkupval() 194 UpVal *uv; in luaF_closeupval() local [all …]
|
| H A D | lgc.c | 305 UpVal *uv = gco2upv(o); in reallymarkobject() local 306 if (upisopen(uv)) in reallymarkobject() 376 UpVal *uv; in remarkupvals() local 380 for (uv = thread->openupval; uv != NULL; uv = uv->u.open.next) { in remarkupvals() 384 lua_assert(upisopen(uv) && isgray(uv)); in remarkupvals() 567 markvalue(g, &u->uv[i].uv); in traverseudata() 628 UpVal *uv; in traversethread() local 638 for (uv = th->openupval; uv != NULL; uv = uv->u.open.next) in traversethread() 764 if (upisopen(uv)) in freeupval() 765 luaF_unlinkupval(uv); in freeupval() [all …]
|
| /freebsd-14.2/lib/msun/src/ |
| H A D | e_hypotl.c | 22 union IEEEl2bits uv; \ 24 uv.e = v; \ 25 h = uv.bits.manh; \ 26 l = uv.bits.manl; \ 99 union IEEEl2bits uv; in hypotl() local 100 uv.e = t1; uv.bits.manl = 0; t1 = uv.e; in hypotl() 106 union IEEEl2bits uv; in hypotl() local 107 uv.e = y1; uv.bits.manl = 0; y1 = uv.e; in hypotl() 110 uv.e = t1; uv.bits.manl = 0; t1 = uv.e; in hypotl()
|
| /freebsd-14.2/sys/contrib/openzfs/module/unicode/ |
| H A D | u8_textprep.c | 505 b1 = u8_common_b1_tbl[uv][b1]; in do_case_conv() 509 b2 = u8_case_common_b2_tbl[uv][b1][b2]; in do_case_conv() 716 b1 = u8_common_b1_tbl[uv][b1]; in combining_class() 849 b1 = u8_common_b1_tbl[uv][b1]; in do_decomp() 853 b2 = u8_decomp_b2_tbl[uv][b1][b2]; in do_decomp() 1003 b1 = u8_composition_b1_tbl[uv][b1]; in find_composition_start() 1574 i = combining_class(uv, s, sz); in collect_a_seq() 1625 i = do_decomp(uv, uts, s, sz, in collect_a_seq() 1631 combining_class(uv, in collect_a_seq() 1865 if (uv > U8_UNICODE_LATEST) { in u8_strcmp() [all …]
|
| /freebsd-14.2/stand/efi/libefi/ |
| H A D | efienv.c | 38 CHAR16 *uv; in efi_getenv() local 43 uv = NULL; in efi_getenv() 44 if (utf8_to_ucs2(v, &uv, &ul) != 0) in efi_getenv() 47 rv = RS->GetVariable(uv, g, &attr, &dl, data); in efi_getenv() 50 free(uv); in efi_getenv() 75 CHAR16 *uv; in efi_setenv() local 78 uv = NULL; in efi_setenv() 79 if (utf8_to_ucs2(varname, &uv, &ul) != 0) in efi_setenv() 82 rv = RS->SetVariable(uv, guid, attr, len, data); in efi_setenv() 83 free(uv); in efi_setenv()
|
| /freebsd-14.2/sys/arm64/nvidia/tegra210/ |
| H A D | tegra210_cpufreq.c | 182 int uv, scale, min_uvolt, max_uvolt, step_uvolt; in freq_to_voltage() local 200 uv = DIV_ROUND_CLOSEST(ent->c2 * sc->speedo_value, scale); in freq_to_voltage() 201 uv = DIV_ROUND_CLOSEST((uv + ent->c1) * sc->speedo_value, scale) + in freq_to_voltage() 205 uv = ROUND_UP(uv, step_uvolt); in freq_to_voltage() 210 if (uv < min_uvolt) in freq_to_voltage() 211 uv = min_uvolt; in freq_to_voltage() 212 if (uv > max_uvolt) in freq_to_voltage() 213 uv = max_uvolt; in freq_to_voltage() 214 return (uv); in freq_to_voltage()
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm/ |
| H A D | cros-adc-thermistors.dtsi | 15 pullup-uv = <1800000>; 22 pullup-uv = <1800000>; 29 pullup-uv = <1800000>; 36 pullup-uv = <1800000>;
|
| /freebsd-14.2/sys/arm/nvidia/tegra124/ |
| H A D | tegra124_cpufreq.c | 225 int uv, scale, min_uvolt, max_uvolt, step_uvolt; in freq_to_voltage() local 242 uv = DIV_ROUND_CLOSEST(ent->c2 * sc->speedo_value, scale); in freq_to_voltage() 243 uv = DIV_ROUND_CLOSEST((uv + ent->c1) * sc->speedo_value, scale) + in freq_to_voltage() 247 uv = ROUND_UP(uv, step_uvolt); in freq_to_voltage() 252 if (uv < min_uvolt) in freq_to_voltage() 253 uv = min_uvolt; in freq_to_voltage() 254 if (uv > max_uvolt) in freq_to_voltage() 255 uv = max_uvolt; in freq_to_voltage() 256 return (uv); in freq_to_voltage()
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/ |
| H A D | t_convfp.c | 113 unsigned long uv; in ATF_TC_BODY() local 116 uv = (unsigned long)nv; in ATF_TC_BODY() 118 ATF_CHECK_EQ_MSG(uv, 5, in ATF_TC_BODY() 119 "%.3f casted to unsigned long is %lu", nv, uv); in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/libfido2/examples/ |
| H A D | cred.c | 47 bool rk, bool uv, int ext, int cred_protect, const char *key_out, in verify_cred() argument 86 if (uv && (r = fido_cred_set_uv(cred, FIDO_OPT_TRUE)) != FIDO_OK) in verify_cred() 153 bool uv = false; in main() local 234 uv = true; in main() 289 if (uv && (r = fido_cred_set_uv(cred, FIDO_OPT_TRUE)) != FIDO_OK) in main() 314 uv = true; in main() 318 fido_cred_attstmt_len(cred), rk, uv, ext, fido_cred_prot(cred), in main()
|
| H A D | assert.c | 43 const unsigned char *sig_ptr, size_t sig_len, bool up, bool uv, int ext, in verify_assert() argument 155 if (uv && (r = fido_assert_set_uv(assert, FIDO_OPT_TRUE)) != FIDO_OK) in verify_assert() 179 bool uv = false; in main() local 256 uv = true; in main() 301 if (uv && (r = fido_assert_set_uv(assert, FIDO_OPT_TRUE)) != FIDO_OK) in main() 325 uv = true; in main() 329 fido_assert_sig_len(assert, 0), up, uv, ext, argv[0]); in main()
|
| /freebsd-14.2/contrib/libfido2/tools/ |
| H A D | token.c | 508 int uv = 0; in token_set() local 549 uv = 1; in token_set() 577 if (ea || uv) in token_set() 587 if (uv) in token_set() 598 if (uv) in token_set() 682 int uv = 0; in token_delete() local 704 uv = 1; in token_delete() 718 if (uv) in token_delete() 725 if (uv == 0) in token_delete()
|
| H A D | assert_get.c | 21 fido_opt_t uv; member 67 k = &opt->uv; in parse_toggle() 111 fprintf(stderr, "uv=%s\n", opt2str(opt->uv)); in prepare_assert() 127 if ((r = fido_assert_set_uv(assert, opt->uv)) != FIDO_OK) in prepare_assert() 227 opt.up = opt.uv = opt.pin = FIDO_OPT_OMIT; in assert_get() 261 opt.uv = FIDO_OPT_TRUE; in assert_get()
|
| /freebsd-14.2/sys/dev/iicbus/pmic/rockchip/ |
| H A D | rk8xx_regulators.c | 112 rk8xx_regnode_reg_to_voltage(struct rk8xx_reg_sc *sc, uint8_t val, int *uv) in rk8xx_regnode_reg_to_voltage() argument 126 *uv = sc->def->voltage_min2 + in rk8xx_regnode_reg_to_voltage() 130 *uv = sc->def->voltage_max2; in rk8xx_regnode_reg_to_voltage() 135 *uv = sc->def->voltage_min + val * sc->def->voltage_step; in rk8xx_regnode_reg_to_voltage() 137 *uv = sc->def->voltage_max; in rk8xx_regnode_reg_to_voltage() 141 *uv = sc->def->voltage_min + val * sc->def->voltage_step; in rk8xx_regnode_reg_to_voltage() 143 *uv = sc->def->voltage_min + in rk8xx_regnode_reg_to_voltage()
|
| /freebsd-14.2/contrib/libfido2/src/ |
| H A D | assert.c | 89 fido_opt_t uv = assert->uv; in fido_dev_get_assert_tx() local 131 if (pin != NULL || (uv == FIDO_OPT_TRUE && in fido_dev_get_assert_tx() 138 uv = FIDO_OPT_OMIT; in fido_dev_get_assert_tx() 142 if (assert->up != FIDO_OPT_OMIT || uv != FIDO_OPT_OMIT) in fido_dev_get_assert_tx() 333 if (pin != NULL || (assert->uv == FIDO_OPT_TRUE && in fido_dev_get_assert() 361 fido_log_debug("%s: up=%d, uv=%d", __func__, up, uv); in fido_check_flags() 369 if (uv == FIDO_OPT_TRUE && in fido_check_flags() 528 assert->uv) < 0) { in fido_assert_verify() 737 assert->uv = uv ? FIDO_OPT_TRUE : FIDO_OPT_FALSE; in fido_assert_set_options() 753 assert->uv = uv; in fido_assert_set_uv() [all …]
|
| H A D | cred.c | 56 fido_opt_t uv = cred->uv; in fido_dev_make_cred_tx() local 99 if (pin != NULL || (uv == FIDO_OPT_TRUE && in fido_dev_make_cred_tx() 110 uv = FIDO_OPT_OMIT; in fido_dev_make_cred_tx() 114 if (cred->rk != FIDO_OPT_OMIT || uv != FIDO_OPT_OMIT) in fido_dev_make_cred_tx() 365 cred->uv) < 0) { in fido_cred_verify() 454 cred->uv) < 0) { in fido_cred_verify_self() 573 cred->uv = FIDO_OPT_OMIT; in fido_cred_reset_tx() 898 fido_cred_set_options(fido_cred_t *cred, bool rk, bool uv) in fido_cred_set_options() argument 901 cred->uv = uv ? FIDO_OPT_TRUE : FIDO_OPT_FALSE; in fido_cred_set_options() 915 fido_cred_set_uv(fido_cred_t *cred, fido_opt_t uv) in fido_cred_set_uv() argument [all …]
|
| /freebsd-14.2/contrib/libfido2/fuzz/ |
| H A D | fuzz_assert.c | 37 uint8_t uv; member 82 if (unpack_byte(v[0], &p->uv) < 0 || in unpack() 122 (argv[0] = pack_byte(p->uv)) == NULL || in pack() 207 const char *rp_id, int ext, uint8_t up, uint8_t uv, const char *pin, in get_assert() argument 226 if (uv & 1) in get_assert() 255 const unsigned char *sig_ptr, size_t sig_len, uint8_t up, uint8_t uv, in verify_assert() argument 276 if (uv & 1) in verify_assert() 457 get_assert(assert, p->opt, &p->cdh, p->rp_id, p->ext, p->up, p->uv, in test() 469 fido_assert_sig_len(assert, i), p->up, p->uv, p->ext, pk); in test() 507 mutate_byte(&p->uv); in mutate()
|
| H A D | fuzz_cred.c | 39 uint8_t uv; member 91 unpack_byte(v[3], &p->uv) < 0 || in unpack() 133 (argv[3] = pack_byte(p->uv)) == NULL || in pack() 217 int ext, uint8_t rk, uint8_t uv, const char *pin, uint8_t excl_count, in make_cred() argument 247 if (uv & 1) in make_cred() 273 size_t authdata_raw_len, int ext, uint8_t rk, uint8_t uv, in verify_cred() argument 307 if (uv & 1) in verify_cred() 377 p->rk, p->uv, p->pin, p->excl_count, &p->excl_cred); in test_cred() 384 fido_cred_authdata_raw_len(cred), p->ext, p->rk, p->uv, in test_cred() 456 mutate_byte(&p->uv); in mutate()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/iio/light/ |
| H A D | st,uvis25.yaml | 7 title: ST UVIS25 uv sensor 35 uv-sensor@47 {
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/hwmon/ |
| H A D | ntc_thermistor.txt | 23 - "pullup-uv" Pull up voltage in micro volts 40 pullup-uv = <1800000>;
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_vis.c | 138 char uv[10]; in ATF_TC_BODY() local 141 ATF_REQUIRE(strunvis(uv, ed[i].e) == ed[i].error); in ATF_TC_BODY() 143 ATF_REQUIRE(memcmp(ed[i].d, uv, ed[i].error) == 0); in ATF_TC_BODY()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/mfd/ |
| H A D | dlg,da9063.yaml | 15 Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special 132 regulator-uv-protection-microvolt = <0>; 139 regulator-uv-protection-microvolt = <1>;
|