| /freebsd/contrib/nvi/common/ |
| H A D | options_f.c | 31 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 D | util.c | 267 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 D | sshbuf-getput-basic.c | 46 sshbuf_get_u64(struct sshbuf *buf, uint64_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, uint32_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, uint16_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 …]
|
| H A D | sshbuf.h | 177 int sshbuf_get_u64(struct sshbuf *buf, uint64_t *valp); 178 int sshbuf_get_u32(struct sshbuf *buf, uint32_t *valp); 179 int sshbuf_get_u16(struct sshbuf *buf, uint16_t *valp); 180 int sshbuf_get_u8(struct sshbuf *buf, u_char *valp); 188 uint64_t *valp); 190 uint32_t *valp); 192 uint16_t *valp); 194 u_char *valp); 211 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp); 212 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp); [all …]
|
| H A D | packet.h | 200 int sshpkt_get(struct ssh *ssh, void *valp, size_t len); 201 int sshpkt_get_u8(struct ssh *ssh, u_char *valp); 202 int sshpkt_get_u32(struct ssh *ssh, uint32_t *valp); 203 int sshpkt_get_u64(struct ssh *ssh, uint64_t *valp); 204 int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp); 205 int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 206 int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 207 int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp); 208 int sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp); 210 int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp);
|
| H A D | sshbuf-getput-crypto.c | 36 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 D | export.c | 58 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 D | dwarf_attrval.c | 32 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 D | findfp.c | 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); 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) [all …]
|
| H A D | syslogio.c | 173 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 D | stdio.c | 303 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 D | strio.c | 403 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 D | smstdio.c | 251 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 D | db_interface.c | 102 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 D | g_eli_ctl.c | 59 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/contrib/unifdef/ |
| H A D | unifdef.c | 1026 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 D | support.c | 50 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/crypto/x509/ |
| H A D | v3_pci.c | 122 char *valp = val->value; in process_pci_value() local 135 if (CHECK_AND_SKIP_PREFIX(valp, "hex:")) { in process_pci_value() 136 unsigned char *tmp_data2 = OPENSSL_hexstr2buf(valp, &val_len); in process_pci_value() 164 } else if (CHECK_AND_SKIP_PREFIX(valp, "file:")) { in process_pci_value() 167 BIO *b = BIO_new_file(valp, "r"); in process_pci_value() 202 } else if (CHECK_AND_SKIP_PREFIX(valp, "text:")) { in process_pci_value() 203 val_len = strlen(valp); in process_pci_value()
|
| /freebsd/sys/fs/nfs/ |
| H A D | nfsclstate.h | 436 uint8_t *valp; in nfsfldi_stripeindex() local 440 valp = (uint8_t *)&ndi->nfsdi_data[ndi->nfsdi_addrcnt]; in nfsfldi_stripeindex() 441 valp += pos; in nfsfldi_stripeindex() 442 return ((int)*valp); in nfsfldi_stripeindex() 451 uint8_t *valp; in nfsfldi_setstripeindex() local 455 valp = (uint8_t *)&ndi->nfsdi_data[ndi->nfsdi_addrcnt]; in nfsfldi_setstripeindex() 456 valp += pos; in nfsfldi_setstripeindex() 457 *valp = val; in nfsfldi_setstripeindex()
|
| /freebsd/crypto/openssl/test/testutil/ |
| H A D | testutil_init.c | 117 char *valp = val; in setup_trace() local 120 for (valp = val; (item = strtok(valp, ",")) != NULL; valp = NULL) { in setup_trace()
|
| /freebsd/sys/arm64/include/ |
| H A D | cpu.h | 296 #define get_kernel_reg(reg, valp) \ argument 297 get_kernel_reg_iss(reg ## _ISS, valp) 299 #define get_kernel_reg_masked(reg, valp, mask) \ argument 300 get_kernel_reg_iss_masked(reg ## _ISS, valp, mask) 302 #define get_user_reg(reg, valp, fbsd) \ argument 303 get_user_reg_iss(reg ## _ISS, valp, fbsd)
|
| /freebsd/sys/dev/sfxge/common/ |
| H A D | ef10_image.c | 200 __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/ddb/ |
| H A D | db_main.c | 170 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 D | aic79xx_osm.h | 165 #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)
|
| H A D | aic7xxx_osm.h | 152 #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)
|