Home
last modified time | relevance | path

Searched refs:valp (Results 1 – 25 of 71) sorted by relevance

123

/freebsd/contrib/nvi/common/
H A Doptions_f.c33 if (*valp) in f_altwerase()
45 if (*valp < MINIMUM_SCREEN_COLS) { in f_columns()
60 if (*valp > MAXIMUM_SCREEN_COLS) { in f_columns()
75 if (*valp < MINIMUM_SCREEN_ROWS) { in f_lines()
90 if (*valp > MAXIMUM_SCREEN_ROWS) { in f_lines()
101 if (*valp == 1) { in f_lines()
110 sp->defscroll = (*valp - 1) / 2; in f_lines()
151 if (*valp) in f_print()
176 if (*valp) in f_readonly()
216 if (*valp) in f_ttywerase()
[all …]
H A Dutil.c267 nget_uslong(u_long *valp, const CHAR_T *p, CHAR_T **endp, int base) argument
270 *valp = STRTOUL(p, endp, base);
273 if (errno == ERANGE && *valp == ULONG_MAX)
285 nget_slong(long *valp, const CHAR_T *p, CHAR_T **endp, int base) argument
288 *valp = STRTOL(p, endp, base);
292 if (*valp == LONG_MAX)
294 if (*valp == LONG_MIN)
/freebsd/crypto/openssh/
H A Dsshbuf-getput-basic.c133 *valp = 0; in sshbuf_peek_u64()
148 *valp = 0; in sshbuf_peek_u32()
163 *valp = 0; in sshbuf_peek_u16()
178 *valp = 0; in sshbuf_peek_u8()
182 *valp = *p; in sshbuf_peek_u8()
194 *valp = NULL; in sshbuf_get_string()
221 *valp = NULL; in sshbuf_get_string_direct()
227 *valp = p; in sshbuf_get_string_direct()
247 *valp = NULL; in sshbuf_peek_string_direct()
278 *valp = NULL; in sshbuf_get_cstring()
[all …]
H A Dsshbuf.h155 int sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp);
156 int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
157 int sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp);
158 int sshbuf_get_u8(struct sshbuf *buf, u_char *valp);
166 u_int64_t *valp);
168 u_int32_t *valp);
170 u_int16_t *valp);
172 u_char *valp);
201 int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp,
217 const u_char **valp, size_t *lenp);
[all …]
H A Dpacket.h197 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);
H A Dsshbuf-getput-crypto.c36 sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp) in sshbuf_get_bignum2() argument
43 if (valp != NULL) in sshbuf_get_bignum2()
44 *valp = NULL; in sshbuf_get_bignum2()
47 if (valp != NULL) { in sshbuf_get_bignum2()
53 *valp = v; in sshbuf_get_bignum2()
/freebsd/contrib/bsnmp/snmpd/
H A Dexport.c63 ctx->scratch->ptr1 = *valp; in string_save()
66 *valp = ctx->scratch->ptr1; in string_save()
91 free(*valp); in string_rollback()
92 *valp = ctx->scratch->ptr1; in string_rollback()
160 ctx->scratch->int1 = (valp[0] << 24) | (valp[1] << 16) | (valp[2] << 8) in ip_save()
161 | valp[3]; in ip_save()
163 valp[0] = value->v.ipaddress[0]; in ip_save()
164 valp[1] = value->v.ipaddress[1]; in ip_save()
165 valp[2] = value->v.ipaddress[2]; in ip_save()
166 valp[3] = value->v.ipaddress[3]; in ip_save()
[all …]
/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_attrval.c39 if (die == NULL || valp == NULL) { in dwarf_attrval_flag()
44 *valp = 0; in dwarf_attrval_flag()
107 if (die == NULL || valp == NULL) { in dwarf_attrval_signed()
112 *valp = 0; in dwarf_attrval_signed()
121 *valp = (int8_t) at->u[0].s64; in dwarf_attrval_signed()
124 *valp = (int16_t) at->u[0].s64; in dwarf_attrval_signed()
127 *valp = (int32_t) at->u[0].s64; in dwarf_attrval_signed()
131 *valp = at->u[0].s64; in dwarf_attrval_signed()
152 if (die == NULL || valp == NULL) { in dwarf_attrval_unsigned()
157 *valp = 0; in dwarf_attrval_unsigned()
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dsyslogio.c173 sm_syslogsetinfo(fp, what, valp) in sm_syslogsetinfo() argument
176 void *valp;
181 fp->f_ival = *((int *)(valp));
206 sm_sysloggetinfo(fp, what, valp) in sm_sysloggetinfo() argument
209 void *valp;
214 *((int *)(valp)) = fp->f_ival;
H A Dfindfp.c283 sm_io_setinfo(fp, what, valp) in sm_io_setinfo() argument
286 void *valp;
288 SM_FILE_T *v = (SM_FILE_T *) valp;
312 fp->f_timeout = *((int *)valp);
355 sm_io_getinfo(fp, what, valp) in sm_io_getinfo() argument
358 void *valp;
360 SM_FILE_T *v = (SM_FILE_T *) valp;
367 if (valp == NULL)
385 if (valp == NULL)
390 return strcmp(fp->f_type, valp) == 0;
[all …]
H A Dstdio.c303 sm_stdsetinfo(fp, what, valp) in sm_stdsetinfo() argument
306 void *valp;
311 return sm_stdsetmode(fp, (const int *)valp);
335 sm_stdgetinfo(fp, what, valp) in sm_stdgetinfo() argument
338 void *valp;
343 return sm_stdgetmode(fp, (int *)valp);
H A Dstrio.c403 sm_strsetinfo(fp, what, valp) in sm_strsetinfo() argument
406 void *valp;
411 return sm_strsetmode(fp, (int *) valp);
434 sm_strgetinfo(fp, what, valp) in sm_strgetinfo() argument
437 void *valp;
442 return sm_strgetmode(fp, (int *) valp);
H A Dsmstdio.c251 sm_stdiosetinfo(fp, what, valp) in sm_stdiosetinfo() argument
254 void *valp;
280 sm_stdiogetinfo(fp, what, valp) in sm_stdiogetinfo() argument
283 void *valp;
/freebsd/sys/arm/arm/
H A Ddb_interface.c102 db_access_und_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_und_sp() argument
106 *valp = get_stackptr(PSR_UND32_MODE); in db_access_und_sp()
113 db_access_abt_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_abt_sp() argument
117 *valp = get_stackptr(PSR_ABT32_MODE); in db_access_abt_sp()
124 db_access_irq_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_irq_sp() argument
128 *valp = get_stackptr(PSR_IRQ32_MODE); in db_access_irq_sp()
134 int db_frame(struct db_variable *vp, db_expr_t *valp, int rw) in db_frame() argument
143 *valp = *reg; in db_frame()
145 *reg = *valp; in db_frame()
/freebsd/sys/geom/eli/
H A Dg_eli_ctl.c59 intmax_t *valp; in g_eli_ctl_attach() local
83 valp = gctl_get_paraml(req, "keyno", sizeof(*valp)); in g_eli_ctl_attach()
84 if (valp != NULL) in g_eli_ctl_attach()
85 nkey = *valp; in g_eli_ctl_attach()
647 intmax_t *valp; in g_eli_ctl_setkey() local
681 valp = gctl_get_paraml(req, "keyno", sizeof(*valp)); in g_eli_ctl_setkey()
687 nkey = *valp; in g_eli_ctl_setkey()
695 valp = gctl_get_paraml(req, "iterations", sizeof(*valp)); in g_eli_ctl_setkey()
703 } else if (*valp != -1 && *valp != md.md_iterations) { in g_eli_ctl_setkey()
755 intmax_t *valp; in g_eli_ctl_delkey() local
[all …]
/freebsd/contrib/unifdef/
H A Dunifdef.c1038 lt = eval_unary(ops, valp, &cp); in eval_unary()
1042 *valp = !*valp; in eval_unary()
1048 lt = eval_unary(ops, valp, &cp); in eval_unary()
1052 *valp = ~(*valp); in eval_unary()
1058 lt = eval_unary(ops, valp, &cp); in eval_unary()
1062 *valp = -(*valp); in eval_unary()
1076 *valp = strtol(cp, &ep, 0); in eval_unary()
1079 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary()
1100 *valp = (sym->value != NULL); in eval_unary()
1111 *valp = 0; in eval_unary()
[all …]
/freebsd/lib/libsysdecode/
H A Dsupport.c50 print_mask_part(FILE *fp, struct name_table *table, uintmax_t *valp, in print_mask_part() argument
55 rem = *valp; in print_mask_part()
62 if (table->val == 0 && *valp != 0) in print_mask_part()
70 *valp = rem; in print_mask_part()
/freebsd/crypto/openssl/test/testutil/
H A Dtestutil_init.c115 char *valp = val; in setup_trace() local
118 for (valp = val; (item = strtok(valp, ",")) != NULL; valp = NULL) { in setup_trace()
/freebsd/sys/fs/nfs/
H A Dnfsclstate.h424 uint8_t *valp; in nfsfldi_stripeindex() local
428 valp = (uint8_t *)&ndi->nfsdi_data[ndi->nfsdi_addrcnt]; in nfsfldi_stripeindex()
429 valp += pos; in nfsfldi_stripeindex()
430 return ((int)*valp); in nfsfldi_stripeindex()
439 uint8_t *valp; in nfsfldi_setstripeindex() local
443 valp = (uint8_t *)&ndi->nfsdi_data[ndi->nfsdi_addrcnt]; in nfsfldi_setstripeindex()
444 valp += pos; in nfsfldi_setstripeindex()
445 *valp = val; in nfsfldi_setstripeindex()
/freebsd/sys/dev/sfxge/common/
H A Def10_image.c200 __in const void *valp, in efx_asn1_match_tag_value() argument
277 __out uint8_t **valp, in efx_asn1_get_tag_value() argument
282 if (cursor == NULL || valp == NULL || val_sizep == NULL) { in efx_asn1_get_tag_value()
292 *valp = cursor->buffer + cursor->hdr_size; in efx_asn1_get_tag_value()
335 uint8_t *valp; in efx_check_signed_image_header() local
398 valp = NULL; in efx_check_signed_image_header()
401 &valp, &val_size); in efx_check_signed_image_header()
405 if ((valp == NULL) || (val_size == 0)) { in efx_check_signed_image_header()
409 if (valp < (uint8_t *)bufferp) { in efx_check_signed_image_header()
413 if ((valp + val_size) > ((uint8_t *)bufferp + buffer_size)) { in efx_check_signed_image_header()
[all …]
/freebsd/sys/ddb/
H A Ddb_main.c170 db_expr_t *valp) in X_db_symbol_values() argument
178 if (valp != NULL) in X_db_symbol_values()
179 *valp = (db_expr_t)lval.value; in X_db_symbol_values()
184 if (valp != NULL) in X_db_symbol_values()
185 *valp = (db_expr_t)((const Elf_Sym *)sym)->st_value + in X_db_symbol_values()
/freebsd/sys/dev/aic7xxx/
H A Daic7xxx_osm.h152 #define ahc_outsb(ahc, port, valp, count) \ argument
153 bus_space_write_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count)
155 #define ahc_insb(ahc, port, valp, count) \ argument
156 bus_space_read_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count)
H A Daic79xx_osm.h165 #define ahd_outsb(ahd, port, valp, count) \ argument
168 (port & 0xFF), valp, count)
170 #define ahd_insb(ahd, port, valp, count) \ argument
173 (port & 0xFF), valp, count)
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dstate.c1027 char *cp, *varp, *valp; in suboption() local
1164 valp = 0; in suboption()
1178 cp = valp = (char *)subpointer; in suboption()
1184 if (valp) in suboption()
1185 esetenv(varp, valp, 1); in suboption()
1189 valp = 0; in suboption()
1203 if (valp) in suboption()
1204 esetenv(varp, valp, 1); in suboption()
/freebsd/contrib/nvi/vi/
H A Dv_init.c107 v_optchange(SCR *sp, int offset, char *str, u_long *valp) in v_optchange() argument
117 return (vs_crel(sp, *valp)); in v_optchange()

123