/openbsd/usr.bin/vi/common/ |
H A D | options_f.c | 35 if (!*valp) in f_altwerase() 47 if (*valp < MINIMUM_SCREEN_COLS) { in f_columns() 62 if (*valp > MAXIMUM_SCREEN_COLS) { in f_columns() 77 if (*valp < MINIMUM_SCREEN_ROWS) { in f_lines() 92 if (*valp > MAXIMUM_SCREEN_ROWS) { in f_lines() 102 o_set(sp, O_LINES, 0, NULL, *valp); in f_lines() 103 if (*valp == 1) { in f_lines() 112 sp->defscroll = (*valp - 1) / 2; in f_lines() 161 if (*valp) in f_readonly() 228 if (!*valp) in f_ttywerase() [all …]
|
H A D | util.c | 121 nget_uslong(u_long *valp, const char *p, char **endp, int base) in nget_uslong() argument 124 *valp = strtoul(p, endp, base); in nget_uslong() 127 if (errno == ERANGE && *valp == ULONG_MAX) in nget_uslong() 139 nget_slong(long *valp, const char *p, char **endp, int base) in nget_slong() argument 142 *valp = strtol(p, endp, base); in nget_slong() 146 if (*valp == LONG_MAX) in nget_slong() 148 if (*valp == LONG_MIN) in nget_slong()
|
/openbsd/usr.bin/ssh/ |
H A D | sshbuf-getput-basic.c | 129 *valp = 0; in sshbuf_peek_u64() 144 *valp = 0; in sshbuf_peek_u32() 159 *valp = 0; in sshbuf_peek_u16() 174 *valp = 0; in sshbuf_peek_u8() 178 *valp = *p; in sshbuf_peek_u8() 190 *valp = NULL; in sshbuf_get_string() 217 *valp = NULL; in sshbuf_get_string_direct() 223 *valp = p; in sshbuf_get_string_direct() 243 *valp = NULL; in sshbuf_peek_string_direct() 274 *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 | 193 int sshpkt_get(struct ssh *ssh, void *valp, size_t len); 194 int sshpkt_get_u8(struct ssh *ssh, u_char *valp); 195 int sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp); 196 int sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp); 197 int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp); 198 int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 199 int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 200 int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp); 201 int sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp); 203 int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp);
|
H A D | sshbuf-getput-crypto.c | 31 sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp) in sshbuf_get_bignum2() argument 38 if (valp != NULL) in sshbuf_get_bignum2() 39 *valp = NULL; in sshbuf_get_bignum2() 42 if (valp != NULL) { in sshbuf_get_bignum2() 48 *valp = v; in sshbuf_get_bignum2()
|
/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | xtensa-modules.c | 712 *valp = val; in encode_b4constu() 738 *valp = val; in encode_simm8x256() 760 *valp = val; in encode_soffset() 776 *valp = val; in encode_imm4() 792 *valp = val; in encode_op0() 808 *valp = val; in encode_op1() 824 *valp = val; in encode_imm6() 840 *valp = val; in encode_op2() 856 *valp = val; in encode_imm7() 878 *valp = val; in encode_simm4() [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | xtensa-modules.c | 1501 *valp = r_0; in Operand_immrx4_encode() 1521 *valp = r_0; in Operand_lsi4x4_encode() 1568 *valp -= pc; in Operand_uimm6_ator() 1575 *valp += pc; in Operand_uimm6_rtoa() 1613 *valp = t_0; in Operand_ai4const_encode() 1651 *valp = r_0; in Operand_b4const_encode() 1689 *valp = r_0; in Operand_b4constu_encode() 1896 *valp -= pc; in Operand_label8_ator() 1903 *valp += pc; in Operand_label8_rtoa() 1930 *valp -= pc; in Operand_ulabel8_ator() [all …]
|
/openbsd/sys/dev/pci/drm/i915/ |
H A D | i915_params.c | 283 static void _param_dup_charp(char **valp) in _param_dup_charp() argument 285 *valp = kstrdup(*valp, GFP_ATOMIC); in _param_dup_charp() 288 static void _param_nop(void *valp) in _param_nop() argument 292 #define _param_dup(valp) \ argument 293 _Generic(valp, \ 295 default: _param_nop)(valp) 307 kfree(*valp); in _param_free_charp() 308 *valp = NULL; in _param_free_charp() 311 #define _param_free(valp) \ argument 312 _Generic(valp, \ [all …]
|
/openbsd/sbin/wsconsctl/ |
H A D | util.c | 211 if (field_tab->valp == addr) in field_by_value() 258 printf("%u", *((u_int *) f->valp)); in pr_field() 261 printf("%d", *((int *) f->valp)); in pr_field() 267 pc = f->valp; in pr_field() 343 *((u_int *) f->valp) += u; in rd_field() 345 *((u_int *) f->valp) = u; in rd_field() 351 *((int *) f->valp) += i; in rd_field() 353 *((int *) f->valp) = i; in rd_field() 365 pc = f->valp; in rd_field() 387 *((u_int *) f->valp) = i; in rd_field() [all …]
|
H A D | mouse.c | 109 if (f->valp != &cfg_param in mouse_init() 110 && f->valp != &cfg_scaling in mouse_init() 111 && f->valp != &cfg_revscroll) in mouse_init() 152 || f->valp == &cfg_param || (f->flags & FLG_DEAD)) in mouse_get_values() 154 if (mousecfg_get_field((struct wsmouse_parameters *) f->valp)) { in mouse_get_values() 208 (struct wsmouse_parameters *) f->valp)) { in mouse_put_values()
|
/openbsd/sys/dev/i2c/ |
H A D | i2c_exec.c | 137 uint8_t *valp, int flags) in iic_smbus_read_byte() argument 141 &cmd, sizeof cmd, valp, sizeof (*valp), flags)); in iic_smbus_read_byte() 150 iic_smbus_receive_byte(i2c_tag_t tag, i2c_addr_t addr, uint8_t *valp, in iic_smbus_receive_byte() argument 155 NULL, 0, valp, sizeof (*valp), flags)); in iic_smbus_receive_byte()
|
/openbsd/gnu/usr.bin/binutils/gas/config/ |
H A D | tc-m88k.c | 639 unsigned *valp; 814 unsigned *valp; 827 val = *valp; 846 *valp = val << 21; 853 unsigned *valp; 883 val = *valp; 886 *valp = val << 21; 947 get_bf (param, valp) in get_bf() argument 949 unsigned *valp; 1128 *valp = val; [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/gas/config/ |
H A D | tc-m88k.c | 640 *valp = assoc_tab[i].val; in match_name() 791 get_cmp (char *param, unsigned *valp) in get_cmp() argument 804 val = *valp; in get_cmp() 823 *valp = val << 21; in get_cmp() 858 val = *valp; in get_cnd() 861 *valp = val << 21; in get_cnd() 918 get_bf (char *param, unsigned *valp) in get_bf() argument 1069 *valp = val % (1 << 9); in get_vec9() 1075 get_o6 (char *param, unsigned *valp) in get_o6() argument 1089 *valp = val; in get_o6() [all …]
|
/openbsd/gnu/usr.bin/binutils/gprof/ |
H A D | gmon_io.c | 101 gmon_io_read_32 (ifp, valp) in gmon_io_read_32() argument 103 unsigned int *valp; 109 *valp = bfd_get_32 (core_bfd, buf); 115 gmon_io_read_64 (ifp, valp) in gmon_io_read_64() argument 117 BFD_HOST_U_64_BIT *valp; 123 *valp = bfd_get_64 (core_bfd, buf); 129 gmon_io_read_vma (ifp, valp) in gmon_io_read_vma() argument 131 bfd_vma *valp; 144 *valp = (int) val32; 146 *valp = val32; [all …]
|
/openbsd/usr.bin/mixerctl/ |
H A D | mixerctl.c | 60 mixer_ctrl_t *valp; member 170 oldval = *p->valp; in rdfield() 171 m = p->valp; in rdfield() 225 if (ioctl(fd, AUDIO_MIXER_WRITE, p->valp) == -1) { in rdfield() 228 if (ioctl(fd, AUDIO_MIXER_READ, p->valp) == -1) { in rdfield() 235 prfield(p, NULL, 0, p->valp); in rdfield() 322 rfields[i].valp = &values[i]; in main() 362 prfield(&fields[i], sep, vflag, fields[i].valp); in main() 384 prfield(p, sep, vflag, p->valp); in main()
|
/openbsd/usr.sbin/smtpd/ |
H A D | util.c | 858 char *keyp, *valp; in parse_table_line() local 889 if ((valp = strchr(keyp, ']')) == NULL) { in parse_table_line() 893 valp++; in parse_table_line() 895 valp = keyp + strcspn(keyp, " \t:"); in parse_table_line() 898 *type = (*valp == '\0') ? T_LIST : T_HASH; in parse_table_line() 906 if (*valp != '\0') { in parse_table_line() 907 *valp++ = '\0'; in parse_table_line() 908 valp += strspn(valp, " \t"); in parse_table_line() 910 if (*valp == '\0') in parse_table_line() 914 *val = valp; in parse_table_line()
|
/openbsd/gnu/usr.bin/binutils-2.17/gprof/ |
H A D | gmon_io.c | 102 gmon_io_read_32 (FILE *ifp, unsigned int *valp) in gmon_io_read_32() argument 108 *valp = bfd_get_32 (core_bfd, buf); in gmon_io_read_32() 114 gmon_io_read_64 (FILE *ifp, BFD_HOST_U_64_BIT *valp) in gmon_io_read_64() argument 120 *valp = bfd_get_64 (core_bfd, buf); in gmon_io_read_64() 126 gmon_io_read_vma (FILE *ifp, bfd_vma *valp) in gmon_io_read_vma() argument 139 *valp = (int) val32; in gmon_io_read_vma() 141 *valp = val32; in gmon_io_read_vma() 150 *valp = (BFD_HOST_64_BIT) val64; in gmon_io_read_vma() 153 *valp = val64; in gmon_io_read_vma()
|
/openbsd/usr.bin/unifdef/ |
H A D | unifdef.c | 977 lt = eval_unary(ops, valp, &cp); in eval_unary() 981 *valp = !*valp; in eval_unary() 982 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary() 995 *valp = strtol(cp, &ep, 0); in eval_unary() 998 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary() 1019 *valp = (value[sym] != NULL); in eval_unary() 1020 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary() 1030 *valp = 0; in eval_unary() 1036 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary() 1063 lt = ops->inner(ops+1, valp, &cp); in eval_table() [all …]
|
/openbsd/sys/arch/arm/arm/ |
H A D | db_interface.c | 93 db_access_und_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_und_sp() argument 97 *valp = get_stackptr(PSR_UND32_MODE); in db_access_und_sp() 102 db_access_abt_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_abt_sp() argument 106 *valp = get_stackptr(PSR_ABT32_MODE); in db_access_abt_sp() 111 db_access_irq_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_irq_sp() argument 115 *valp = get_stackptr(PSR_IRQ32_MODE); in db_access_irq_sp()
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20030125-1.c | 3 int func(int *valp) { in func() argument 6 while ((val = *valp) != 0) { in func()
|
/openbsd/regress/usr.bin/mandoc/db/dbm_dump/ |
H A D | dbm_dump.c | 166 const char *val0, *valp; in dump_macro() local 173 valp = val0 = dbm_get(p.i[0]); in dump_macro() 177 pchk(dbm_get(*p.i++), &valp, "value", 0); in dump_macro() 179 dump_str(&valp); in dump_macro() 188 pchk(page0.c, &valp, "page0", 3); in dump_macro()
|
/openbsd/sys/dev/ic/ |
H A D | aic79xx_openbsd.h | 175 #define ahd_outsb(ahd, port, valp, count) \ argument 178 (port & 0xFF), valp, count) 180 #define ahd_insb(ahd, port, valp, count) \ argument 183 (port & 0xFF), valp, count)
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | auxv.h | 46 CORE_ADDR *typep, CORE_ADDR *valp); 53 CORE_ADDR match, CORE_ADDR *valp);
|
/openbsd/usr.bin/mg/ |
H A D | interpreter.c | 398 char *cmdp, *fendp, *valp, *fname, *funb = NULL; in parsexp() local 438 valp = fendp + 1; in parsexp() 440 ret = expandvals(cmdp, valp, funb); in parsexp() 573 char *p, *vnamep, *vendp = NULL, *valp; in founddef() local 612 valp = skipwhite(vendp + 1); in founddef() 614 expandvals(NULL, valp, defnam); in founddef() 623 expandvals(char *cmdp, char *valp, char *bp) in expandvals() argument 633 p = skipwhite(valp); in expandvals()
|