Home
last modified time | relevance | path

Searched full:valp (Results 1 – 25 of 83) sorted by relevance

1234

/freebsd/crypto/openssh/
H A Dsshbuf-getput-basic.c48 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) in sshbuf_get_u64() argument
55 if (valp != NULL) in sshbuf_get_u64()
56 *valp = PEEK_U64(p); in sshbuf_get_u64()
61 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32() argument
68 if (valp != NULL) in sshbuf_get_u32()
69 *valp = PEEK_U32(p); in sshbuf_get_u32()
74 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) in sshbuf_get_u16() argument
81 if (valp != NULL) in sshbuf_get_u16()
82 *valp = PEEK_U16(p); in sshbuf_get_u16()
87 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8() argument
[all …]
H A Dpacket.h199 int sshpkt_get(struct ssh *ssh, void *valp, size_t len);
200 int sshpkt_get_u8(struct ssh *ssh, u_char *valp);
201 int sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp);
202 int sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp);
203 int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp);
204 int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
205 int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
206 int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp);
207 int sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp);
209 int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp);
H A Dsshbuf.h156 int sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp);
157 int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
158 int sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp);
159 int sshbuf_get_u8(struct sshbuf *buf, u_char *valp);
167 u_int64_t *valp);
169 u_int32_t *valp);
171 u_int16_t *valp);
173 u_char *valp);
188 * Caller must free *valp.
190 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
[all …]
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/nvi/common/
H A Doptions_f.c31 f_altwerase(SCR *sp, OPTION *op, char *str, u_long *valp) in f_altwerase() argument
33 if (*valp) in f_altwerase()
42 f_columns(SCR *sp, OPTION *op, char *str, u_long *valp) in f_columns() argument
45 if (*valp < MINIMUM_SCREEN_COLS) { in f_columns()
60 if (*valp > MAXIMUM_SCREEN_COLS) { in f_columns()
72 f_lines(SCR *sp, OPTION *op, char *str, u_long *valp) in f_lines() argument
75 if (*valp < MINIMUM_SCREEN_ROWS) { in f_lines()
90 if (*valp > MAXIMUM_SCREEN_ROWS) { in f_lines()
100 o_set(sp, O_LINES, 0, NULL, *valp); in f_lines()
101 if (*valp == 1) { in f_lines()
[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/contrib/bsnmp/snmpd/
H A Dexport.c58 ssize_t req_size, u_char **valp) in string_save() argument
63 ctx->scratch->ptr1 = *valp; in string_save()
65 if ((*valp = malloc(value->v.octetstring.len + 1)) == NULL) { in string_save()
66 *valp = ctx->scratch->ptr1; in string_save()
70 memcpy(*valp, value->v.octetstring.octets, value->v.octetstring.len); in string_save()
71 (*valp)[value->v.octetstring.len] = '\0'; in string_save()
89 string_rollback(struct snmp_context *ctx, u_char **valp) in string_rollback() argument
91 free(*valp); in string_rollback()
92 *valp = ctx->scratch->ptr1; in string_rollback()
158 ip_save(struct snmp_value *value, struct snmp_context *ctx, u_char *valp) in ip_save() argument
[all …]
/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_attrval.c32 dwarf_attrval_flag(Dwarf_Die die, Dwarf_Half attr, Dwarf_Bool *valp, Dwarf_Error *err) in dwarf_attrval_flag() argument
39 if (die == NULL || valp == NULL) { in dwarf_attrval_flag()
44 *valp = 0; in dwarf_attrval_flag()
54 *valp = (Dwarf_Bool) (!!at->u[0].u64); in dwarf_attrval_flag()
100 dwarf_attrval_signed(Dwarf_Die die, Dwarf_Half attr, Dwarf_Signed *valp, Dwarf_Error *err) in dwarf_attrval_signed() argument
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()
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dsyslogio.c162 ** valp -- information content being set to
173 sm_syslogsetinfo(fp, what, valp) in sm_syslogsetinfo() argument
176 void *valp;
181 fp->f_ival = *((int *)(valp));
195 ** valp -- location to placed queried information
202 ** Fills in 'valp' with data.
206 sm_sysloggetinfo(fp, what, valp) in sm_sysloggetinfo() argument
209 void *valp;
214 *((int *)(valp)) = fp->f_ival;
H A Dfindfp.c272 ** valp -- structure to obtain info from
283 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);
323 return (*fp->f_setinfo)(fp, what, valp);
342 ** valp -- structure to place obtained info into
346 ** - when valp==NULL and request expects otherwise
355 sm_io_getinfo(fp, what, valp) in sm_io_getinfo() argument
358 void *valp;
[all …]
H A Dstdio.c295 ** valp -- location of data used for setting
303 sm_stdsetinfo(fp, what, valp) in sm_stdsetinfo() argument
306 void *valp;
311 return sm_stdsetmode(fp, (const int *)valp);
325 ** valp -- location to place found info
328 ** Success: may or may not place info in 'valp' depending
335 sm_stdgetinfo(fp, what, valp) in sm_stdgetinfo() argument
338 void *valp;
343 return sm_stdgetmode(fp, (int *)valp);
H A Dstrio.c395 ** valp -- location to data for doing set
403 sm_strsetinfo(fp, what, valp) in sm_strsetinfo() argument
406 void *valp;
411 return sm_strsetmode(fp, (int *) valp);
426 ** valp -- location to return information in
434 sm_strgetinfo(fp, what, valp) in sm_strgetinfo() argument
437 void *valp;
442 return sm_strgetmode(fp, (int *) valp);
H A Dsmstdio.c242 ** valp -- memory location of info to set
251 sm_stdiosetinfo(fp, what, valp) in sm_stdiosetinfo() argument
254 void *valp;
271 ** valp -- memory location to place info
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
81 valp = gctl_get_param(req, "keyno", &dummy); in g_eli_ctl_attach()
82 if (valp != NULL) { in g_eli_ctl_attach()
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()
682 if (valp == NULL) { in g_eli_ctl_setkey()
686 if (*valp != -1) in g_eli_ctl_setkey()
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_pci.c115 char *valp = val->value; in process_pci_value() local
128 if (CHECK_AND_SKIP_PREFIX(valp, "hex:")) { in process_pci_value()
130 OPENSSL_hexstr2buf(valp, &val_len); in process_pci_value()
158 } else if (CHECK_AND_SKIP_PREFIX(valp, "file:")) { in process_pci_value()
161 BIO *b = BIO_new_file(valp, "r"); in process_pci_value()
196 } else if (CHECK_AND_SKIP_PREFIX(valp, "text:")) { in process_pci_value()
197 val_len = strlen(valp); in process_pci_value()
/freebsd/crypto/openssl/test/testutil/
H A Dtestutil_init.c116 char *valp = val; in setup_trace() local
119 for (valp = val; (item = strtok(valp, ",")) != NULL; valp = NULL) { in setup_trace()
/freebsd/sys/fs/nfs/
H A Dnfsclstate.h428 uint8_t *valp; in nfsfldi_stripeindex() local
432 valp = (uint8_t *)&ndi->nfsdi_data[ndi->nfsdi_addrcnt]; in nfsfldi_stripeindex()
433 valp += pos; in nfsfldi_stripeindex()
434 return ((int)*valp); in nfsfldi_stripeindex()
443 uint8_t *valp; in nfsfldi_setstripeindex() local
447 valp = (uint8_t *)&ndi->nfsdi_data[ndi->nfsdi_addrcnt]; in nfsfldi_setstripeindex()
448 valp += pos; in nfsfldi_setstripeindex()
449 *valp = val; in nfsfldi_setstripeindex()
/freebsd/contrib/unifdef/
H A Dunifdef.c1026 eval_unary(const struct ops *ops, long *valp, const char **cpp) in eval_unary() argument
1038 lt = eval_unary(ops, valp, &cp); in eval_unary()
1042 *valp = !*valp; in eval_unary()
1043 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary()
1048 lt = eval_unary(ops, valp, &cp); in eval_unary()
1052 *valp = ~(*valp); in eval_unary()
1053 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary()
1058 lt = eval_unary(ops, valp, &cp); in eval_unary()
1062 *valp = -(*valp); in eval_unary()
1063 lt = *valp ? LT_TRUE : LT_FALSE; 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/sys/dev/sfxge/common/
H A Def10_image.c200 __in const void *valp, in efx_asn1_match_tag_value() argument
219 if (memcmp(cursor->buffer + cursor->hdr_size, valp, val_size) != 0) { in efx_asn1_match_tag_value()
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()
[all …]
/freebsd/sys/arm64/include/
H A Dcpu.h286 #define get_kernel_reg(reg, valp) \ argument
287 get_kernel_reg_iss(reg ## _ISS, valp)
289 #define get_kernel_reg_masked(reg, valp, mask) \ argument
290 get_kernel_reg_iss_masked(reg ## _ISS, valp, mask)
292 #define get_user_reg(reg, valp, fbsd) \ argument
293 get_user_reg_iss(reg ## _ISS, valp, fbsd)
/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/contrib/sendmail/src/
H A Dsfsasl.c47 ** valp -- the thang to return the information in
51 ** >=0 on success with valp filled in (if possible).
57 sasl_getinfo(fp, what, valp) in sasl_getinfo() argument
60 void *valp;
76 return sm_io_getinfo(so->fp, what, valp);
438 ** valp -- the thang to return the information in (unused)
442 ** >=0 on success with valp filled in (if possible).
449 tls_getinfo(fp, what, valp) in tls_getinfo() argument
452 void *valp;
H A Dbf.c259 ** valp -- thing to return the info in
263 sm_bfgetinfo(fp, what, valp) in sm_bfgetinfo() argument
266 void *valp;
820 ** valp -- thing to set/change the info to
825 sm_bfsetinfo(fp, what, valp) in sm_bfsetinfo() argument
828 void *valp;
838 bsize = *((int *) valp);

1234