/netbsd/external/bsd/nvi/dist/common/ |
H A D | options_f.c | 43 if (*valp) in f_altwerase() 55 if (*valp < MINIMUM_SCREEN_COLS) { in f_columns() 70 if (*valp > MAXIMUM_SCREEN_COLS) { in f_columns() 85 if (*valp < MINIMUM_SCREEN_ROWS) { in f_lines() 111 if (*valp == 1) { in f_lines() 120 sp->defscroll = (*valp - 1) / 2; in f_lines() 161 if (*valp) in f_print() 186 if (*valp) in f_readonly() 226 if (*valp) in f_ttywerase() 290 *valp = 1; in f_window() [all …]
|
H A D | util.c | 169 nget_uslong(SCR *sp, u_long *valp, const CHAR_T *p, CHAR_T **endp, int base) in nget_uslong() argument 172 *valp = STRTOUL(p, endp, base); in nget_uslong() 175 if (errno == ERANGE && *valp == ULONG_MAX) in nget_uslong() 187 nget_slong(SCR *sp, long int *valp, const CHAR_T *p, CHAR_T **endp, int base) in nget_slong() argument 190 *valp = STRTOL(p, endp, base); in nget_slong() 194 if (*valp == LONG_MAX) in nget_slong() 196 if (*valp == LONG_MIN) in nget_slong()
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | sshbuf-getput-basic.c | 131 *valp = 0; in sshbuf_peek_u64() 146 *valp = 0; in sshbuf_peek_u32() 161 *valp = 0; in sshbuf_peek_u16() 176 *valp = 0; in sshbuf_peek_u8() 180 *valp = *p; in sshbuf_peek_u8() 192 *valp = NULL; in sshbuf_get_string() 219 *valp = NULL; in sshbuf_get_string_direct() 225 *valp = p; in sshbuf_get_string_direct() 245 *valp = NULL; in sshbuf_peek_string_direct() 276 *valp = NULL; in sshbuf_get_cstring() [all …]
|
H A D | sshbuf.h | 162 int sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp); 163 int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp); 164 int sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp); 165 int sshbuf_get_u8(struct sshbuf *buf, u_char *valp); 173 u_int64_t *valp); 175 u_int32_t *valp); 177 u_int16_t *valp); 179 u_char *valp); 208 int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, 222 int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp); [all …]
|
H A D | packet.h | 195 int sshpkt_get(struct ssh *ssh, void *valp, size_t len); 196 int sshpkt_get_u8(struct ssh *ssh, u_char *valp); 197 int sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp); 198 int sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp); 199 int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp); 200 int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 201 int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 202 int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp); 203 int sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp); 205 int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp);
|
H A D | sshbuf-getput-crypto.c | 33 sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp) in sshbuf_get_bignum2() argument 40 if (valp != NULL) in sshbuf_get_bignum2() 41 *valp = NULL; in sshbuf_get_bignum2() 44 if (valp != NULL) { in sshbuf_get_bignum2() 50 *valp = v; in sshbuf_get_bignum2()
|
/netbsd/external/bsd/elftoolchain/dist/libdwarf/ |
H A D | dwarf_attrval.c | 42 if (die == NULL || valp == NULL) { in dwarf_attrval_flag() 47 *valp = 0; in dwarf_attrval_flag() 110 if (die == NULL || valp == NULL) { in dwarf_attrval_signed() 115 *valp = 0; in dwarf_attrval_signed() 124 *valp = (int8_t) at->u[0].s64; in dwarf_attrval_signed() 127 *valp = (int16_t) at->u[0].s64; in dwarf_attrval_signed() 130 *valp = (int32_t) at->u[0].s64; in dwarf_attrval_signed() 134 *valp = at->u[0].s64; in dwarf_attrval_signed() 154 if (die == NULL || valp == NULL) { in dwarf_attrval_unsigned() 159 *valp = 0; in dwarf_attrval_unsigned() [all …]
|
/netbsd/sbin/wsconsctl/ |
H A D | util.c | 206 if (field_tab[i].valp == addr) in field_by_value() 266 (void)printf("%d", *((int *) f->valp)); in pr_field() 272 pr_bitfield(*((unsigned int *) f->valp)); in pr_field() 377 *((unsigned int *) f->valp) += u; in rd_field() 379 *((unsigned int *) f->valp) = u; in rd_field() 385 *((int *) f->valp) += i; in rd_field() 387 *((int *) f->valp) = i; in rd_field() 404 *((unsigned int *) f->valp) = i; in rd_field() 415 *((unsigned int *) f->valp) |= i; in rd_field() 444 *((unsigned int *) f->valp) = i; in rd_field() [all …]
|
/netbsd/external/gpl3/gdb/dist/bfd/ |
H A D | xtensa-modules.c | 4270 *valp = *valp & 1; in Operand_my_encode() 4429 *valp = *valp << 1; in Operand_bt2_decode() 4438 *valp = *valp >> 1; in Operand_bt2_encode() 4445 *valp = *valp << 1; in Operand_bs2_decode() 4454 *valp = *valp >> 1; in Operand_bs2_encode() 4461 *valp = *valp << 1; in Operand_br2_decode() 4470 *valp = *valp >> 1; in Operand_br2_encode() 4477 *valp = *valp << 2; in Operand_bt4_decode() 4486 *valp = *valp >> 2; in Operand_bt4_encode() 4493 *valp = *valp << 2; in Operand_bs4_decode() [all …]
|
/netbsd/external/gpl3/binutils/dist/bfd/ |
H A D | xtensa-modules.c | 4270 *valp = *valp & 1; in Operand_my_encode() 4429 *valp = *valp << 1; in Operand_bt2_decode() 4438 *valp = *valp >> 1; in Operand_bt2_encode() 4445 *valp = *valp << 1; in Operand_bs2_decode() 4454 *valp = *valp >> 1; in Operand_bs2_encode() 4461 *valp = *valp << 1; in Operand_br2_decode() 4470 *valp = *valp >> 1; in Operand_br2_encode() 4477 *valp = *valp << 2; in Operand_bt4_decode() 4486 *valp = *valp >> 2; in Operand_bt4_encode() 4493 *valp = *valp << 2; in Operand_bs4_decode() [all …]
|
/netbsd/external/gpl3/binutils.old/dist/bfd/ |
H A D | xtensa-modules.c | 4270 *valp = *valp & 1; in Operand_my_encode() 4429 *valp = *valp << 1; in Operand_bt2_decode() 4438 *valp = *valp >> 1; in Operand_bt2_encode() 4445 *valp = *valp << 1; in Operand_bs2_decode() 4454 *valp = *valp >> 1; in Operand_bs2_encode() 4461 *valp = *valp << 1; in Operand_br2_decode() 4470 *valp = *valp >> 1; in Operand_br2_encode() 4477 *valp = *valp << 2; in Operand_bt4_decode() 4486 *valp = *valp >> 2; in Operand_bt4_encode() 4493 *valp = *valp << 2; in Operand_bs4_decode() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/bfd/ |
H A D | xtensa-modules.c | 4270 *valp = *valp & 1; in Operand_my_encode() 4429 *valp = *valp << 1; in Operand_bt2_decode() 4438 *valp = *valp >> 1; in Operand_bt2_encode() 4445 *valp = *valp << 1; in Operand_bs2_decode() 4454 *valp = *valp >> 1; in Operand_bs2_encode() 4461 *valp = *valp << 1; in Operand_br2_decode() 4470 *valp = *valp >> 1; in Operand_br2_encode() 4477 *valp = *valp << 2; in Operand_bt4_decode() 4486 *valp = *valp >> 2; in Operand_bt4_encode() 4493 *valp = *valp << 2; in Operand_bs4_decode() [all …]
|
/netbsd/sys/dev/i2c/ |
H A D | zl10353.c | 428 *valp |= ZL10353_TPS_GUARD_1_4; in zl10353_get_guard() 432 *valp |= ZL10353_TPS_GUARD_1_8; in zl10353_get_guard() 436 *valp |= ZL10353_TPS_GUARD_1_16; in zl10353_get_guard() 440 *valp |= ZL10353_TPS_GUARD_1_32; in zl10353_get_guard() 444 *valp |= ZL10353_TPS_GUARD_AUTO; in zl10353_get_guard() 461 *valp |= ZL10353_TPS_MODE_2K; in zl10353_get_mode() 465 *valp |= ZL10353_TPS_MODE_8K; in zl10353_get_mode() 469 *valp |= ZL10353_TPS_MODE_AUTO; in zl10353_get_mode() 564 *valp |= ZL10353_TPS_HIERARCHY_1; in zl10353_get_hier() 568 *valp |= ZL10353_TPS_HIERARCHY_2; in zl10353_get_hier() [all …]
|
/netbsd/sys/arch/atari/stand/binpatch/ |
H A D | binpatch.c | 121 void *valp; in main() local 248 valp = mappedfile + valoff; in main() 257 uval8 = *(uint8_t *)valp; in main() 258 sval8 = *(int8_t *)valp; in main() 265 uval16 = *(uint16_t *)valp; in main() 266 sval16 = *(int16_t *)valp; in main() 273 uval32 = *(uint32_t *)valp; in main() 274 sval32 = *(int32_t *)valp; in main() 281 uval64 = *(uint64_t *)valp; in main() 282 sval64 = *(int64_t *)valp; in main() [all …]
|
/netbsd/sys/arch/usermode/usermode/ |
H A D | copy.c | 90 _ufetch_8(const uint8_t *uaddr, uint8_t *valp) in _ufetch_8() argument 92 *valp = *uaddr; in _ufetch_8() 97 _ufetch_16(const uint16_t *uaddr, uint16_t *valp) in _ufetch_16() argument 99 *valp = *uaddr; in _ufetch_16() 104 _ufetch_32(const uint32_t *uaddr, uint32_t *valp) in _ufetch_32() argument 106 *valp = *uaddr; in _ufetch_32() 112 _ufetch_64(const uint64_t *uaddr, uint64_t *valp) in _ufetch_64() argument 114 *valp = *uaddr; in _ufetch_64()
|
/netbsd/usr.bin/audio/ctl/ |
H A D | ctl.c | 73 void *valp; member 175 printf("%s", (const char*)p->valp); in prfield() 178 printf("%d", *(const int*)p->valp); in prfield() 181 printf("%u", *(const u_int*)p->valp); in prfield() 187 printf("%u", *(const u_char*)p->valp); in prfield() 193 v = *(const u_int*)p->valp; in prfield() 206 v = *(u_int*)p->valp; in prfield() 214 v = *(u_int*)p->valp; in prfield() 252 *(u_char *)p->valp = u; in rdfield() 262 *(u_int*)p->valp = enc; in rdfield() [all …]
|
/netbsd/sys/arch/riscv/riscv/ |
H A D | trap.c | 661 *(uint8_t *)valp = *(volatile const uint8_t *)uaddr; in fetch_user_data() 685 _ufetch_8(const uint8_t *uaddr, uint8_t *valp) in _ufetch_8() argument 687 return fetch_user_data(uaddr, valp, sizeof(*valp)); in _ufetch_8() 691 _ufetch_16(const uint16_t *uaddr, uint16_t *valp) in _ufetch_16() argument 693 return fetch_user_data(uaddr, valp, sizeof(*valp)); in _ufetch_16() 697 _ufetch_32(const uint32_t *uaddr, uint32_t *valp) in _ufetch_32() argument 699 return fetch_user_data(uaddr, valp, sizeof(*valp)); in _ufetch_32() 704 _ufetch_64(const uint64_t *uaddr, uint64_t *valp) in _ufetch_64() argument 706 return fetch_user_data(uaddr, valp, sizeof(*valp)); in _ufetch_64() 726 *(volatile uint8_t *)uaddr = *(const uint8_t *)valp; in store_user_data() [all …]
|
/netbsd/external/bsd/pcc/dist/pcc/f77/fcom/ |
H A D | data.c | 51 dataval(repp, valp) in dataval() argument 52 register struct bigblock *repp, *valp; in dataval() 70 if( ! ISCONST(valp) ) 86 setdata(p, valp, elen, vlen); 91 frexpr(valp); 233 LOCAL void setdata(varp, valp, elen, vlen) in setdata() argument 236 struct bigblock *valp; 260 valtype = valp->vtype; 276 con.ci = valp->b_const.fconst.ci; 312 k = valp->vleng->b_const.fconst.ci; [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | auxv.h | 36 CORE_ADDR *valp); 47 CORE_ADDR *valp); 54 CORE_ADDR *typep, CORE_ADDR *valp); 61 CORE_ADDR match, CORE_ADDR *valp);
|
H A D | auxv.c | 256 gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp, in generic_auxv_parse() argument 276 *valp = extract_unsigned_integer (ptr, sizeof_auxv_val, byte_order); in generic_auxv_parse() 287 gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) in default_auxv_parse() argument 293 return generic_auxv_parse (gdbarch, readptr, endptr, typep, valp, in default_auxv_parse() 301 gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) in svr4_auxv_parse() argument 306 return generic_auxv_parse (gdbarch, readptr, endptr, typep, valp, in svr4_auxv_parse() 316 gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) in target_auxv_parse() argument 321 return gdbarch_auxv_parse (gdbarch, readptr, endptr, typep, valp); in target_auxv_parse() 323 return current_top_target ()->auxv_parse (readptr, endptr, typep, valp); in target_auxv_parse() 379 target_auxv_search (struct target_ops *ops, CORE_ADDR match, CORE_ADDR *valp) [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | auxv.h | 36 CORE_ADDR *valp); 47 CORE_ADDR *valp); 54 CORE_ADDR *typep, CORE_ADDR *valp); 61 CORE_ADDR match, CORE_ADDR *valp);
|
H A D | auxv.c | 256 gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp, in generic_auxv_parse() argument 276 *valp = extract_unsigned_integer (ptr, sizeof_auxv_val, byte_order); in generic_auxv_parse() 287 gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) in default_auxv_parse() argument 293 return generic_auxv_parse (gdbarch, readptr, endptr, typep, valp, in default_auxv_parse() 301 gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) in svr4_auxv_parse() argument 306 return generic_auxv_parse (gdbarch, readptr, endptr, typep, valp, in svr4_auxv_parse() 316 gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) in target_auxv_parse() argument 321 return gdbarch_auxv_parse (gdbarch, readptr, endptr, typep, valp); in target_auxv_parse() 323 return current_top_target ()->auxv_parse (readptr, endptr, typep, valp); in target_auxv_parse() 379 target_auxv_search (struct target_ops *ops, CORE_ADDR match, CORE_ADDR *valp) [all …]
|
/netbsd/sys/fs/nfs/common/ |
H A D | nfsclstate.h | 341 uint8_t *valp; in nfsfldi_stripeindex() local 345 valp = (uint8_t *)&ndi->nfsdi_data[ndi->nfsdi_addrcnt]; in nfsfldi_stripeindex() 346 valp += pos; in nfsfldi_stripeindex() 347 return ((int)*valp); in nfsfldi_stripeindex() 356 uint8_t *valp; in nfsfldi_setstripeindex() local 360 valp = (uint8_t *)&ndi->nfsdi_data[ndi->nfsdi_addrcnt]; in nfsfldi_setstripeindex() 361 valp += pos; in nfsfldi_setstripeindex() 362 *valp = val; in nfsfldi_setstripeindex()
|
/netbsd/usr.bin/unifdef/ |
H A D | unifdef.c | 738 if (eval_unary(ops, valp, &cp) == LT_IF) in eval_unary() 740 *valp = !*valp; in eval_unary() 751 *valp = strtol(cp, &ep, 0); in eval_unary() 762 *valp = (value[sym] != NULL); in eval_unary() 774 *valp = 0; in eval_unary() 776 *valp = strtol(value[sym], &ep, 0); in eval_unary() 788 debug("eval%td = %d", ops - eval_ops, *valp); in eval_unary() 789 return (*valp ? LT_TRUE : LT_FALSE); in eval_unary() 804 if (ops->inner(ops+1, valp, &cp) == LT_IF) in eval_table() 817 *valp = op->fn(*valp, val); in eval_table() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/nat/ |
H A D | ppc-linux.c | 33 ppc64_host_hwcap (unsigned long *valp) in ppc64_host_hwcap() argument 36 *valp = getauxval (AT_HWCAP); in ppc64_host_hwcap() 48 *valp = data[1]; in ppc64_host_hwcap()
|