| /netbsd/src/external/bsd/nvi/dist/common/ |
| D | options_f.c | 41 f_altwerase(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_altwerase() argument 43 if (*valp) in f_altwerase() 52 f_columns(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_columns() argument 55 if (*valp < MINIMUM_SCREEN_COLS) { in f_columns() 70 if (*valp > MAXIMUM_SCREEN_COLS) { in f_columns() 82 f_lines(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_lines() argument 85 if (*valp < MINIMUM_SCREEN_ROWS) { in f_lines() 100 if (*valp > MAXIMUM_SCREEN_ROWS) { in f_lines() 110 o_set(sp, O_LINES, 0, NULL, *valp); in f_lines() 111 if (*valp == 1) { in f_lines() [all …]
|
| 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/src/crypto/external/bsd/openssh/dist/ |
| D | sshbuf-getput-basic.c | 46 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) in sshbuf_get_u64() argument 53 if (valp != NULL) in sshbuf_get_u64() 54 *valp = PEEK_U64(p); in sshbuf_get_u64() 59 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32() argument 66 if (valp != NULL) in sshbuf_get_u32() 67 *valp = PEEK_U32(p); in sshbuf_get_u32() 72 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) in sshbuf_get_u16() argument 79 if (valp != NULL) in sshbuf_get_u16() 80 *valp = PEEK_U16(p); in sshbuf_get_u16() 85 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8() argument [all …]
|
| D | sshbuf.h | 165 int sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp); 166 int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp); 167 int sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp); 168 int sshbuf_get_u8(struct sshbuf *buf, u_char *valp); 176 u_int64_t *valp); 178 u_int32_t *valp); 180 u_int16_t *valp); 182 u_char *valp); 199 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp); 200 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp); [all …]
|
| D | packet.h | 197 int sshpkt_get(struct ssh *ssh, void *valp, size_t len); 198 int sshpkt_get_u8(struct ssh *ssh, u_char *valp); 199 int sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp); 200 int sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp); 201 int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp); 202 int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 203 int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 204 int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp); 205 int sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp); 207 int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp);
|
| 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/src/external/gpl3/binutils/dist/bfd/ |
| D | xtensa-modules.c | 3501 Operand_soffsetx4_decode (uint32 *valp) in Operand_soffsetx4_decode() argument 3504 offset_0 = *valp & 0x3ffff; in Operand_soffsetx4_decode() 3506 *valp = soffsetx4_0; in Operand_soffsetx4_decode() 3511 Operand_soffsetx4_encode (uint32 *valp) in Operand_soffsetx4_encode() argument 3514 soffsetx4_0 = *valp; in Operand_soffsetx4_encode() 3516 *valp = offset_0; in Operand_soffsetx4_encode() 3521 Operand_soffsetx4_ator (uint32 *valp, uint32 pc) in Operand_soffsetx4_ator() argument 3523 *valp -= (pc & ~0x3); in Operand_soffsetx4_ator() 3528 Operand_soffsetx4_rtoa (uint32 *valp, uint32 pc) in Operand_soffsetx4_rtoa() argument 3530 *valp += (pc & ~0x3); in Operand_soffsetx4_rtoa() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/bfd/ |
| D | xtensa-modules.c | 3501 Operand_soffsetx4_decode (uint32 *valp) in Operand_soffsetx4_decode() argument 3504 offset_0 = *valp & 0x3ffff; in Operand_soffsetx4_decode() 3506 *valp = soffsetx4_0; in Operand_soffsetx4_decode() 3511 Operand_soffsetx4_encode (uint32 *valp) in Operand_soffsetx4_encode() argument 3514 soffsetx4_0 = *valp; in Operand_soffsetx4_encode() 3516 *valp = offset_0; in Operand_soffsetx4_encode() 3521 Operand_soffsetx4_ator (uint32 *valp, uint32 pc) in Operand_soffsetx4_ator() argument 3523 *valp -= (pc & ~0x3); in Operand_soffsetx4_ator() 3528 Operand_soffsetx4_rtoa (uint32 *valp, uint32 pc) in Operand_soffsetx4_rtoa() argument 3530 *valp += (pc & ~0x3); in Operand_soffsetx4_rtoa() [all …]
|
| D | xtensa-isa.c | 946 const xtensa_insnbuf slotbuf, uint32 *valp) in xtensa_operand_get_field() argument 975 *valp = (*get_fn) (slotbuf); in xtensa_operand_get_field() 1019 uint32 *valp) in xtensa_operand_encode() argument 1062 (*set_fn) (tmpbuf, *valp); in xtensa_operand_encode() 1063 return ((*get_fn) (tmpbuf) != *valp); in xtensa_operand_encode() 1077 orig_val = *valp; in xtensa_operand_encode() 1078 if ((*intop->encode) (valp) in xtensa_operand_encode() 1079 || (test_val = *valp, (*intop->decode) (&test_val)) in xtensa_operand_encode() 1083 sprintf (xtisa_error_msg, "cannot encode operand value 0x%08x", *valp); in xtensa_operand_encode() 1093 uint32 *valp) in xtensa_operand_decode() argument [all …]
|
| /netbsd/src/sys/dev/i2c/ |
| D | zl10353.c | 139 zl10353_read(struct zl10353 *zl, uint8_t reg, uint8_t *valp) in zl10353_read() argument 147 rv = iic_exec(zl->zl_i2c, op, zl->zl_i2c_addr, ®, 1, valp, 1, 0); in zl10353_read() 422 zl10353_get_guard(fe_guard_interval_t fg, uint16_t *valp) in zl10353_get_guard() argument 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() 455 zl10353_get_mode(fe_transmit_mode_t fm, uint16_t *valp) in zl10353_get_mode() argument 461 *valp |= ZL10353_TPS_MODE_2K; in zl10353_get_mode() [all …]
|
| D | i2c_exec.c | 328 uint8_t *valp, int flags) in iic_smbus_read_byte() argument 332 valp, 1, flags)); in iic_smbus_read_byte() 342 uint16_t *valp, int flags) in iic_smbus_read_word() argument 346 (uint8_t *)valp, 2, flags)); in iic_smbus_read_word() 355 iic_smbus_receive_byte(i2c_tag_t tag, i2c_addr_t addr, uint8_t *valp, in iic_smbus_receive_byte() argument 360 valp, 1, flags)); in iic_smbus_receive_byte()
|
| /netbsd/src/sbin/wsconsctl/ |
| D | util.c | 233 if (field_tab[i].valp == addr) in field_by_value() 290 (void)printf("%u", *((unsigned int *) f->valp)); in pr_field() 293 (void)printf("%d", *((int *) f->valp)); in pr_field() 296 (void)printf("\"%s\"", *((char **) f->valp)); in pr_field() 299 pr_bitfield(*((unsigned int *) f->valp)); in pr_field() 302 p = int2name(*((unsigned int *) f->valp), 1, in pr_field() 307 p = int2name(*((unsigned int *) f->valp), 1, in pr_field() 312 p = int2name(*((unsigned int *) f->valp), 1, in pr_field() 317 p = int2name(KB_ENCODING(*((unsigned int *) f->valp)), 1, in pr_field() 321 flags = KB_VARIANT(*((unsigned int *) f->valp)); in pr_field() [all …]
|
| /netbsd/src/sys/arch/atari/stand/binpatch/ |
| 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/src/sys/arch/usermode/usermode/ |
| 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/src/usr.bin/audio/ctl/ |
| 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() 184 printf("0x%x", *(const u_int*)p->valp); in prfield() 187 printf("%u", *(const u_char*)p->valp); in prfield() 190 printf("%lu", *(const u_long*)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() [all …]
|
| /netbsd/src/external/bsd/pcc/dist/pcc/f77/fcom/ |
| 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; 277 else consconv(type, &con, valtype, &valp->b_const.fconst); [all …]
|
| /netbsd/src/sys/fs/nfs/common/ |
| 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/src/external/gpl3/gdb/dist/gdb/ |
| D | auxv.c | 255 const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp, in generic_auxv_parse() argument 275 *valp = extract_unsigned_integer (ptr, sizeof_auxv_val, byte_order); in generic_auxv_parse() 286 const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) in default_auxv_parse() argument 292 return generic_auxv_parse (gdbarch, readptr, endptr, typep, valp, in default_auxv_parse() 300 const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) in svr4_auxv_parse() argument 305 return generic_auxv_parse (gdbarch, readptr, endptr, typep, valp, in svr4_auxv_parse() 320 const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) in parse_auxv() argument 323 return gdbarch_auxv_parse (gdbarch, readptr, endptr, typep, valp); in parse_auxv() 325 return ops->auxv_parse (readptr, endptr, typep, valp); in parse_auxv() 387 gdbarch *gdbarch, CORE_ADDR match, CORE_ADDR *valp) in target_auxv_search() argument [all …]
|
| D | auxv.h | 36 CORE_ADDR *valp); 47 CORE_ADDR *valp); 67 CORE_ADDR match, CORE_ADDR *valp); 72 extern int target_auxv_search (CORE_ADDR match, CORE_ADDR *valp);
|
| /netbsd/src/usr.bin/unifdef/ |
| D | unifdef.c | 728 eval_unary(const struct ops *ops, int *valp, const char **cpp) in eval_unary() argument 738 if (eval_unary(ops, valp, &cp) == LT_IF) in eval_unary() 740 *valp = !*valp; in eval_unary() 744 if (eval_table(eval_ops, valp, &cp) == LT_IF) 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() [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/gprof/ |
| D | gmon_io.c | 100 gmon_io_read_32 (FILE *ifp, unsigned int *valp) in gmon_io_read_32() argument 106 *valp = bfd_get_32 (core_bfd, buf); in gmon_io_read_32() 111 gmon_io_read_64 (FILE *ifp, uint64_t *valp) in gmon_io_read_64() argument 117 *valp = bfd_get_64 (core_bfd, buf); in gmon_io_read_64() 122 gmon_io_read_vma (FILE *ifp, bfd_vma *valp) in gmon_io_read_vma() argument 133 *valp = (int) val32; in gmon_io_read_vma() 135 *valp = val32; in gmon_io_read_vma() 142 *valp = (int64_t) val64; in gmon_io_read_vma() 144 *valp = val64; in gmon_io_read_vma()
|
| /netbsd/src/usr.bin/mixerctl/ |
| D | mixerctl.c | 54 mixer_ctrl_t *valp; member 93 m = p->valp; in prfield() 157 m = p->valp; in rdfield() 223 m = p->valp; in incfield() 295 val = *p->valp; in wrarg() 301 if (ioctl(fd, AUDIO_MIXER_WRITE, p->valp) == -1) in wrarg() 304 *p->valp = val; in wrarg() 306 if (ioctl(fd, AUDIO_MIXER_READ, p->valp) == -1) in wrarg() 410 rfields[i].valp = &values[i]; in main()
|
| /netbsd/src/sys/arch/powerpc/booke/ |
| D | copyin.c | 204 _ufetch_8(const uint8_t *vusaddr, uint8_t *valp) in _ufetch_8() argument 214 *valp = copyin_byte(vusaddr, mfmsr() | PSL_DS); in _ufetch_8() 222 _ufetch_16(const uint16_t *vusaddr, uint16_t *valp) in _ufetch_16() argument 232 *valp = copyin_halfword(vusaddr, mfmsr() | PSL_DS); in _ufetch_16() 240 _ufetch_32(const uint32_t *vusaddr, uint32_t *valp) in _ufetch_32() argument 250 *valp = copyin_word(vusaddr, mfmsr() | PSL_DS); in _ufetch_32()
|
| /netbsd/src/sys/kern/ |
| D | subr_copy.c | 700 ufetch_8(const uint8_t *uaddr, uint8_t *valp) in ufetch_8() argument 705 return _ufetch_8(uaddr, valp); in ufetch_8() 709 ufetch_16(const uint16_t *uaddr, uint16_t *valp) in ufetch_16() argument 714 return _ufetch_16(uaddr, valp); in ufetch_16() 718 ufetch_32(const uint32_t *uaddr, uint32_t *valp) in ufetch_32() argument 723 return _ufetch_32(uaddr, valp); in ufetch_32() 728 ufetch_64(const uint64_t *uaddr, uint64_t *valp) in ufetch_64() argument 733 return _ufetch_64(uaddr, valp); in ufetch_64()
|
| D | subr_msan.c | 1002 kmsan__ufetch_8(const uint8_t *uaddr, uint8_t *valp) in kmsan__ufetch_8() argument 1005 kmsan_check_arg(sizeof(uaddr) + sizeof(valp), "ufetch_8():args"); in kmsan__ufetch_8() 1006 _ret = _ufetch_8(uaddr, valp); in kmsan__ufetch_8() 1008 kmsan_shadow_fill(valp, KMSAN_STATE_INITED, sizeof(*valp)); in kmsan__ufetch_8() 1016 kmsan__ufetch_16(const uint16_t *uaddr, uint16_t *valp) in kmsan__ufetch_16() argument 1019 kmsan_check_arg(sizeof(uaddr) + sizeof(valp), "ufetch_16():args"); in kmsan__ufetch_16() 1020 _ret = _ufetch_16(uaddr, valp); in kmsan__ufetch_16() 1022 kmsan_shadow_fill(valp, KMSAN_STATE_INITED, sizeof(*valp)); in kmsan__ufetch_16() 1030 kmsan__ufetch_32(const uint32_t *uaddr, uint32_t *valp) in kmsan__ufetch_32() argument 1033 kmsan_check_arg(sizeof(uaddr) + sizeof(valp), "ufetch_32():args"); in kmsan__ufetch_32() [all …]
|