/netbsd/external/mit/lua/dist/src/ |
H A D | lfunc.c | 57 uv->v.p = &uv->u.value; /* make it closed */ in luaF_initupvals() 58 setnilvalue(uv->v.p); in luaF_initupvals() 59 cl->upvals[i] = uv; in luaF_initupvals() 71 UpVal *uv = gco2upv(o); in newupval() local 78 *prev = uv; in newupval() 83 return uv; in newupval() 188 *uv->u.open.previous = uv->u.open.next; in luaF_unlinkupval() 189 if (uv->u.open.next) in luaF_unlinkupval() 190 uv->u.open.next->u.open.previous = uv->u.open.previous; in luaF_unlinkupval() 198 UpVal *uv; in luaF_closeupval() local [all …]
|
H A D | lgc.c | 308 UpVal *uv = gco2upv(o); in reallymarkobject() local 309 if (upisopen(uv)) in reallymarkobject() 379 UpVal *uv; in remarkupvals() local 383 for (uv = thread->openupval; uv != NULL; uv = uv->u.open.next) { in remarkupvals() 387 lua_assert(upisopen(uv) && isgray(uv)); in remarkupvals() 570 markvalue(g, &u->uv[i].uv); in traverseudata() 631 UpVal *uv; in traversethread() local 641 for (uv = th->openupval; uv != NULL; uv = uv->u.open.next) in traversethread() 767 if (upisopen(uv)) in freeupval() 768 luaF_unlinkupval(uv); in freeupval() [all …]
|
/netbsd/external/cddl/osnet/dist/common/unicode/ |
H A D | u8_textprep.c | 504 b1 = u8_common_b1_tbl[uv][b1]; in do_case_conv() 508 b2 = u8_case_common_b2_tbl[uv][b1][b2]; in do_case_conv() 715 b1 = u8_common_b1_tbl[uv][b1]; in combining_class() 848 b1 = u8_common_b1_tbl[uv][b1]; in do_decomp() 852 b2 = u8_decomp_b2_tbl[uv][b1][b2]; in do_decomp() 1000 b1 = u8_composition_b1_tbl[uv][b1]; in find_composition_start() 1565 i = combining_class(uv, s, sz); in collect_a_seq() 1616 i = do_decomp(uv, uts, s, sz, in collect_a_seq() 1622 combining_class(uv, in collect_a_seq() 1856 if (uv > U8_UNICODE_LATEST) { in u8_strcmp() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/volt/ |
H A D | nouveau_nvkm_subdev_volt_gk20a.c | 101 int i, uv; in gk20a_volt_vid_get() local 103 uv = regulator_get_voltage(volt->vdd); in gk20a_volt_vid_get() 106 if (volt->base.vid[i].uv >= uv) in gk20a_volt_vid_get() 118 nvkm_debug(subdev, "set voltage as %duv\n", volt->base.vid[vid].uv); in gk20a_volt_vid_set() 119 return regulator_set_voltage(volt->vdd, volt->base.vid[vid].uv, 1200000); in gk20a_volt_vid_set() 128 int target_uv = volt->base.vid[id].uv; in gk20a_volt_set_id() 157 int i, uv; in gk20a_volt_ctor() local 161 uv = regulator_get_voltage(tdev->vdd); in gk20a_volt_ctor() 162 nvkm_debug(&volt->base.subdev, "the default voltage is %duV\n", uv); in gk20a_volt_ctor() 169 volt->base.vid[i].uv = max( in gk20a_volt_ctor() [all …]
|
H A D | nouveau_nvkm_subdev_volt_base.c | 48 return volt->vid[i].uv; in nvkm_volt_get() 56 nvkm_volt_set(struct nvkm_volt *volt, u32 uv) in nvkm_volt_set() argument 62 return volt->func->volt_set(volt, uv); in nvkm_volt_set() 65 int err = volt->vid[i].uv - uv; in nvkm_volt_set() 76 nvkm_error(subdev, "couldn't set %iuv\n", uv); in nvkm_volt_set() 81 nvkm_debug(subdev, "set req %duv to %duv: %d\n", uv, in nvkm_volt_set() 82 volt->vid[best].uv, ret); in nvkm_volt_set() 208 volt->vid[volt->vid_nr].uv = info.base; in nvkm_volt_parse_bios() 223 volt->vid[volt->vid_nr].uv = ivid.voltage; in nvkm_volt_parse_bios() 320 volt->vid[i].vid, volt->vid[i].uv); in nvkm_volt_ctor()
|
/netbsd/external/mit/libuv/lib/ |
H A D | Makefile | 8 LIB= uv 11 INCS= uv.h uv/unix.h uv/bsd.h uv/errno.h uv/version.h uv/threadpool.h 57 uv-data-getter-setters.c \ 58 uv-common.c \
|
/netbsd/external/mit/libuv/dist/ |
H A D | Makefile.am | 20 include_HEADERS=include/uv.h 22 uvincludedir = $(includedir)/uv 23 uvinclude_HEADERS = include/uv/errno.h \ 25 include/uv/version.h 44 src/uv-common.c \ 45 src/uv-common.h \ 58 uvinclude_HEADERS += include/uv/win.h include/uv/tree.h 96 uvinclude_HEADERS += include/uv/unix.h 378 uvinclude_HEADERS += include/uv/aix.h 429 uvinclude_HEADERS += include/uv/bsd.h [all …]
|
H A D | LINKS.md | 55 * [mruby-uv](https://github.com/mattn/mruby-uv): mruby binding 76 * [php-uv](https://github.com/bwoebi/php-uv) 78 * [go-uv](https://github.com/mattn/go-uv) 83 * [ooc-uv](https://github.com/nddrylliog/ooc-uv) 85 * [uv-dylan](https://github.com/waywardmonkeys/uv-dylan)
|
/netbsd/sys/dev/fdt/ |
H A D | pwmregulator.c | 246 int duty, d0, d1, v0, v1, uv, rc; in pwmregulator_set_voltage() local 258 uv = (min_uvolt + max_uvolt) / 2; in pwmregulator_set_voltage() 264 if (abs(sc->sc_voltage_table[i].microvolt - uv) < in pwmregulator_set_voltage() 265 abs(sc->sc_voltage_table[bestidx].microvolt - uv)) in pwmregulator_set_voltage() 275 duty = (uv - v0) * (d1 - d0) / (v1 - v0) + d0; in pwmregulator_set_voltage() 291 int duty, d0, d1, v0, v1, uv, rc; in pwmregulator_get_voltage() local 313 uv = sc->sc_voltage_table[bestidx].microvolt; in pwmregulator_get_voltage() 320 uv = (duty - d0) * (v1 - v0) / (d1 - d0) + v0; in pwmregulator_get_voltage() 323 *puvolt = uv; in pwmregulator_get_voltage()
|
/netbsd/sys/arch/vax/vax/ |
H A D | locore.c | 91 vaddr_t uv; in _start() local 322 uv = uvm_lwp_getuarea(&lwp0); in _start() 323 uv += REDZONEADDR; in _start() 326 memset((void *)uv, 0, sizeof(struct rpb)); in _start() 327 prpb = (struct rpb *)uv; in _start() 332 memcpy((void *)uv, prpb, sizeof(struct rpb)); in _start() 345 pt = kvtopte(uv); in _start()
|
/netbsd/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
H A D | cros-adc-thermistors.dtsi | 15 pullup-uv = <1800000>; 22 pullup-uv = <1800000>; 29 pullup-uv = <1800000>; 36 pullup-uv = <1800000>;
|
/netbsd/external/bsd/libfido2/dist/tools/ |
H A D | token.c | 360 int uv = 0; in token_set() local 398 uv = 1; in token_set() 426 if (ea || uv) in token_set() 436 if (uv) in token_set() 445 if (uv) in token_set() 529 int uv = 0; in token_delete() local 551 uv = 1; in token_delete() 565 if (uv) in token_delete() 572 if (uv == 0) in token_delete()
|
H A D | assert_get.c | 20 fido_opt_t uv; member 66 k = &opt->uv; in parse_toggle() 109 fprintf(stderr, "uv=%s\n", opt2str(opt->uv)); in prepare_assert() 122 if ((r = fido_assert_set_uv(assert, opt->uv)) != FIDO_OK) in prepare_assert() 222 opt.up = opt.uv = opt.pin = FIDO_OPT_OMIT; in assert_get() 256 opt.uv = FIDO_OPT_TRUE; in assert_get()
|
/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()
|
/netbsd/external/bsd/libfido2/dist/examples/ |
H A D | assert.c | 41 const unsigned char *sig_ptr, size_t sig_len, bool up, bool uv, int ext, in verify_assert() argument 138 if (uv && (r = fido_assert_set_uv(assert, FIDO_OPT_TRUE)) != FIDO_OK) in verify_assert() 161 bool uv = false; in main() local 240 uv = true; in main() 286 if (uv && (r = fido_assert_set_uv(assert, FIDO_OPT_TRUE)) != FIDO_OK) in main() 318 uv = true; in main() 322 fido_assert_sig_len(assert, 0), up, uv, ext, argv[0]); in main()
|
H A D | cred.c | 46 const unsigned char *sig_ptr, size_t sig_len, bool rk, bool uv, int ext, in verify_cred() argument 86 if (uv && (r = fido_cred_set_uv(cred, FIDO_OPT_TRUE)) != FIDO_OK) in verify_cred() 166 bool uv = false; in main() local 244 uv = true; in main() 301 if (uv && (r = fido_cred_set_uv(cred, FIDO_OPT_TRUE)) != FIDO_OK) in main() 329 uv = true; in main() 334 fido_cred_sig_len(cred), rk, uv, ext, key_out, id_out); in main()
|
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/ |
H A D | nouveau_nvkm_subdev_clk_gm20b.c | 128 u32 uv; member 201 s32 mv = DIV_ROUND_CLOSEST(uv, 1000); in gm20b_dvfs_calc_det_coeff() 217 __func__, uv, dvfs->dfs_coeff, dvfs->dfs_ext_cal, in gm20b_dvfs_calc_det_coeff() 481 clk->new_uv = volt->vid[cstate->voltage].uv; in gm20b_clk_calc() 584 if (clk->uv == clk->new_uv) in gm20b_clk_prog() 610 if (clk->uv < clk->new_uv) in gm20b_clk_prog() 635 clk->uv = clk->new_uv; in gm20b_clk_prog() 861 _clk->uv = nvkm_volt_get(volt); in gm20b_clk_init() 995 vmin = volt->vid[0].uv; in gm20b_clk_init_safe_fmax() 997 if (volt->vid[i].uv <= vmin) { in gm20b_clk_init_safe_fmax() [all …]
|
/netbsd/external/bsd/libfido2/dist/src/ |
H A D | assert.c | 85 fido_opt_t uv = assert->uv; in fido_dev_get_assert_tx() local 127 if (pin != NULL || (uv == FIDO_OPT_TRUE && in fido_dev_get_assert_tx() 134 uv = FIDO_OPT_OMIT; in fido_dev_get_assert_tx() 138 if (assert->up != FIDO_OPT_OMIT || uv != FIDO_OPT_OMIT) in fido_dev_get_assert_tx() 308 if (pin != NULL || (assert->uv == FIDO_OPT_TRUE && in fido_dev_get_assert() 336 fido_log_debug("%s: up=%d, uv=%d", __func__, up, uv); in fido_check_flags() 344 if (uv == FIDO_OPT_TRUE && in fido_check_flags() 565 assert->uv) < 0) { in fido_assert_verify() 735 assert->uv = uv ? FIDO_OPT_TRUE : FIDO_OPT_FALSE; in fido_assert_set_options() 751 assert->uv = uv; in fido_assert_set_uv() [all …]
|
H A D | cred.c | 50 fido_opt_t uv = cred->uv; in fido_dev_make_cred_tx() local 93 if (pin != NULL || (uv == FIDO_OPT_TRUE && in fido_dev_make_cred_tx() 104 uv = FIDO_OPT_OMIT; in fido_dev_make_cred_tx() 108 if (cred->rk != FIDO_OPT_OMIT || uv != FIDO_OPT_OMIT) in fido_dev_make_cred_tx() 324 cred->uv) < 0) { in fido_cred_verify() 403 cred->uv) < 0) { in fido_cred_verify_self() 507 cred->uv = FIDO_OPT_OMIT; in fido_cred_reset_tx() 793 fido_cred_set_options(fido_cred_t *cred, bool rk, bool uv) in fido_cred_set_options() argument 796 cred->uv = uv ? FIDO_OPT_TRUE : FIDO_OPT_FALSE; in fido_cred_set_options() 810 fido_cred_set_uv(fido_cred_t *cred, fido_opt_t uv) in fido_cred_set_uv() argument [all …]
|
/netbsd/sys/arch/x86/x86/ |
H A D | vm_machdep.c | 137 vaddr_t uv; in cpu_lwp_fork() local 168 uv = uvm_lwp_getuarea(l2); in cpu_lwp_fork() 169 KASSERT(uv % PAGE_SIZE == 0); in cpu_lwp_fork() 173 pcb2->pcb_rsp0 = (uv + USPACE - PAGE_SIZE + in cpu_lwp_fork() 177 pcb2->pcb_rsp0 = (uv + USPACE - 16); in cpu_lwp_fork() 181 pcb2->pcb_esp0 = (uv + USPACE - 16); in cpu_lwp_fork()
|
/netbsd/external/bsd/libfido2/dist/fuzz/ |
H A D | fuzz_assert.c | 36 uint8_t uv; member 81 if (unpack_byte(v[0], &p->uv) < 0 || in unpack() 121 (argv[0] = pack_byte(p->uv)) == NULL || in pack() 206 const char *rp_id, int ext, uint8_t up, uint8_t uv, const char *pin, in get_assert() argument 225 if (uv & 1) in get_assert() 254 const unsigned char *sig_ptr, size_t sig_len, uint8_t up, uint8_t uv, in verify_assert() argument 274 if (uv & 1) in verify_assert() 397 get_assert(assert, p->opt, &p->cdh, p->rp_id, p->ext, p->up, p->uv, in test() 409 fido_assert_sig_len(assert, i), p->up, p->uv, p->ext, pk); in test() 444 mutate_byte(&p->uv); in mutate()
|
H A D | fuzz_cred.c | 38 uint8_t uv; member 90 unpack_byte(v[3], &p->uv) < 0 || in unpack() 132 (argv[3] = pack_byte(p->uv)) == NULL || in pack() 216 int ext, uint8_t rk, uint8_t uv, const char *pin, uint8_t excl_count, in make_cred() argument 243 if (uv & 1) in make_cred() 269 size_t authdata_raw_len, int ext, uint8_t rk, uint8_t uv, in verify_cred() argument 295 if (uv & 1) in verify_cred() 353 p->rk, p->uv, p->pin, p->excl_count, &p->excl_cred); in test_cred() 360 fido_cred_authdata_raw_len(cred), p->ext, p->rk, p->uv, in test_cred() 429 mutate_byte(&p->uv); in mutate()
|
/netbsd/sys/arch/hppa/hppa/ |
H A D | vm_machdep.c | 92 vaddr_t uv; in cpu_lwp_fork() local 122 uv = uvm_lwp_getuarea(l2); in cpu_lwp_fork() 123 sp = (register_t)uv + PAGE_SIZE; in cpu_lwp_fork() 178 fdcache(HPPA_SID_KERNEL, uv, sp - uv); in cpu_lwp_fork()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/config/i386/ |
H A D | pentium.md | 38 (define_attr "pent_pair" "uv,pu,pv,np" 46 (const_string "uv")) 114 (define_reservation "pentium-uv" "(pentium-u | pentium-v)") 118 (define_reservation "pentium-firstuv" "(pentium-uv + pentium-portuv)") 237 (and (eq_attr "pent_pair" "uv") 239 "pentium-firstuvboth,pentium-uv+pentium-memory,pentium-uv") 261 (and (eq_attr "pent_pair" "uv") 263 "pentium-firstuvload,pentium-uv") 285 (and (eq_attr "pent_pair" "uv")
|
/netbsd/external/gpl3/gcc/dist/gcc/config/i386/ |
H A D | pentium.md | 38 (define_attr "pent_pair" "uv,pu,pv,np" 46 (const_string "uv")) 114 (define_reservation "pentium-uv" "(pentium-u | pentium-v)") 118 (define_reservation "pentium-firstuv" "(pentium-uv + pentium-portuv)") 237 (and (eq_attr "pent_pair" "uv") 239 "pentium-firstuvboth,pentium-uv+pentium-memory,pentium-uv") 261 (and (eq_attr "pent_pair" "uv") 263 "pentium-firstuvload,pentium-uv") 285 (and (eq_attr "pent_pair" "uv")
|