/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_value.c | 68 bhnd_nvram_type itype, void *outp, size_t *olen, 71 bhnd_nvram_type itype, void *outp, size_t *olen, 74 bhnd_nvram_type itype, void *outp, size_t *olen, 77 bhnd_nvram_type itype, void *outp, size_t *olen, 80 bhnd_nvram_type itype, void *outp, size_t *olen, 277 void *outp; in bhnd_nvram_val_init_common() local 317 outp = bhnd_nvram_val_alloc_bytes(value, olen, otype, flags); in bhnd_nvram_val_init_common() 318 if (outp == NULL) in bhnd_nvram_val_init_common() 322 error = bhnd_nvram_value_coerce(inp, ilen, itype, outp, &olen, otype); in bhnd_nvram_val_init_common() 419 void *outp; in bhnd_nvram_val_convert_common() local [all …]
|
H A D | bhnd_nvram_value_fmts.c | 66 bhnd_nvram_val *value, void *outp, size_t *olen, 74 size_t ilen, void *outp, size_t *olen, 84 void *outp, size_t *olen, bhnd_nvram_type otype); 88 size_t ilen, void *outp, size_t *olen, 92 size_t ilen, void *outp, size_t *olen, 100 size_t ilen, void *outp, size_t *olen, 104 void *outp, size_t *olen, bhnd_nvram_type otype); 263 bhnd_nvram_val_bcm_int_encode(bhnd_nvram_val *value, void *outp, size_t *olen, in bhnd_nvram_val_bcm_int_encode() argument 269 return (bhnd_nvram_val_printf(value, "%[]s", outp, olen, ",")); in bhnd_nvram_val_bcm_int_encode() 271 return (bhnd_nvram_val_generic_encode(value, outp, olen, otype)); in bhnd_nvram_val_bcm_int_encode() [all …]
|
H A D | bhnd_nvram_valuevar.h | 37 void *outp, size_t *olen, bhnd_nvram_type otype); 39 const void *inp, size_t ilen, void *outp, size_t *olen, 67 typedef int (bhnd_nvram_val_op_encode)(bhnd_nvram_val *value, void *outp, 72 const void *inp, size_t ilen, void *outp, size_t *olen,
|
H A D | bhnd_nvram_subr.c | 709 size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_parse_int() argument 723 if (outp != NULL) in bhnd_nvram_parse_int() 911 if (outp == NULL) in bhnd_nvram_parse_int() 920 *(uint8_t *)outp = (uint8_t)value; in bhnd_nvram_parse_int() 923 *(uint16_t *)outp = (uint16_t)value; in bhnd_nvram_parse_int() 926 *(uint32_t *)outp = (uint32_t)value; in bhnd_nvram_parse_int() 929 *(uint64_t *)outp = (uint64_t)value; in bhnd_nvram_parse_int() 933 *(int8_t *)outp = (int8_t)(int64_t)value; in bhnd_nvram_parse_int() 936 *(int16_t *)outp = (int16_t)(int64_t)value; in bhnd_nvram_parse_int() 939 *(int32_t *)outp = (int32_t)(int64_t)value; in bhnd_nvram_parse_int() [all …]
|
H A D | bhnd_nvram_value_prf.c | 99 bhnd_nvram_val_printf(bhnd_nvram_val *value, const char *fmt, char *outp, in bhnd_nvram_val_printf() argument 106 error = bhnd_nvram_val_vprintf(value, fmt, outp, olen, ap); in bhnd_nvram_val_printf() 209 bhnd_nvram_val_vprintf(bhnd_nvram_val *value, const char *fmt, char *outp, in bhnd_nvram_val_vprintf() argument 221 if (outp != NULL) in bhnd_nvram_val_vprintf() 228 *(outp + nbytes) = _c; \ in bhnd_nvram_val_vprintf() 548 memcpy(outp + nbytes, delim, delim_len); in bhnd_nvram_val_vprintf() 751 memcpy(outp + nbytes, sptr, slen); in bhnd_nvram_val_vprintf() 795 s = outp + nbytes; in bhnd_nvram_val_vprintf() 864 *(outp + nbytes) = '\0'; in bhnd_nvram_val_vprintf() 874 if (outp != NULL) in bhnd_nvram_val_vprintf()
|
H A D | bhnd_nvram_value_subr.c | 393 bhnd_nvram_type itype, char *outp, size_t *olen, ...) in bhnd_nvram_value_printf() argument 399 error = bhnd_nvram_value_vprintf(fmt, inp, ilen, itype, outp, olen, ap); in bhnd_nvram_value_printf() 434 bhnd_nvram_type itype, char *outp, size_t *olen, va_list ap) in bhnd_nvram_value_vprintf() argument 446 error = bhnd_nvram_val_vprintf(&val, fmt, outp, olen, ap); in bhnd_nvram_value_vprintf() 530 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_value_coerce() argument 542 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_value_coerce()
|
H A D | bhnd_nvram_data_bcm.c | 164 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_bcm_getvar_direct() argument 166 return (bhnd_nvram_bcm_getvar_direct_common(io, name, outp, olen, otype, in bhnd_nvram_bcm_getvar_direct() 175 void *outp, size_t *olen, bhnd_nvram_type otype, bool have_header) in bhnd_nvram_bcm_getvar_direct_common() argument 359 BHND_NVRAM_TYPE_STRING, outp, olen, otype)); in bhnd_nvram_bcm_getvar_direct_common() 369 bhnd_nvram_plist *options, void *outp, size_t *olen) in bhnd_nvram_bcm_serialize() argument 380 if (outp != NULL) in bhnd_nvram_bcm_serialize() 448 memcpy(outp, &hdr, sizeof(hdr)); in bhnd_nvram_bcm_serialize() 458 if (outp == NULL || limit < nbytes) { in bhnd_nvram_bcm_serialize() 462 p = ((char *)outp) + nbytes; in bhnd_nvram_bcm_serialize() 512 *((char *)outp + nbytes) = '\0'; in bhnd_nvram_bcm_serialize() [all …]
|
H A D | bhnd_nvram_data_bcmraw.c | 144 bhnd_nvram_plist *options, void *outp, size_t *olen) in bhnd_nvram_bcmraw_serialize() argument 151 if (outp != NULL) in bhnd_nvram_bcmraw_serialize() 166 if (outp == NULL || limit < nbytes) { in bhnd_nvram_bcmraw_serialize() 170 p = ((char *)outp) + nbytes; in bhnd_nvram_bcmraw_serialize() 220 *((char *)outp + nbytes) = '\0'; in bhnd_nvram_bcmraw_serialize() 230 if (outp == NULL) in bhnd_nvram_bcmraw_serialize()
|
H A D | bhnd_nvram_value.h | 79 void *outp, size_t *olen, 84 size_t ilen, void *outp, size_t *olen, 88 const char *fmt, char *outp, size_t *olen, 91 const char *fmt, char *outp, size_t *olen,
|
H A D | bhnd_nvram_datavar.h | 49 void *outp, size_t *olen, bhnd_nvram_type otype); 60 void *outp, size_t *olen, bhnd_nvram_type otype); 66 bhnd_nvram_plist *options, void *outp,
|
H A D | bhnd_nvram_data_btxt.c | 139 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_btxt_getvar_direct() argument 335 BHND_NVRAM_TYPE_STRING, outp, olen, otype)); in bhnd_nvram_btxt_getvar_direct() 345 bhnd_nvram_plist *options, void *outp, size_t *olen) in bhnd_nvram_btxt_serialize() argument 352 if (outp != NULL) in bhnd_nvram_btxt_serialize() 367 if (outp == NULL || limit < nbytes) { in bhnd_nvram_btxt_serialize() 371 p = ((char *)outp) + nbytes; in bhnd_nvram_btxt_serialize() 428 if (outp == NULL) in bhnd_nvram_btxt_serialize()
|
H A D | bhnd_nvram_data.c | 106 bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, in bhnd_nvram_data_serialize() argument 109 return (cls->op_serialize(cls, props, options, outp, olen)); in bhnd_nvram_data_serialize() 587 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_data_generic_rp_getvar() argument 611 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_data_generic_rp_getvar()
|
H A D | bhnd_nvram_private.h | 217 void *outp, size_t *olen, 233 bhnd_nvram_type itype, char *outp, 237 bhnd_nvram_type itype, char *outp, 251 void *outp, size_t *olen,
|
H A D | bhnd_nvram_plist.c | 627 void *outp, size_t olen, bhnd_nvram_type otype) in bhnd_nvram_plist_get_encoded() argument 634 return (bhnd_nvram_prop_encode(prop, outp, &olen, otype)); in bhnd_nvram_plist_get_encoded() 973 bhnd_nvram_prop_encode(bhnd_nvram_prop *prop, void *outp, size_t *olen, in bhnd_nvram_prop_encode() argument 976 return (bhnd_nvram_val_encode(prop->val, outp, olen, otype)); in bhnd_nvram_prop_encode()
|
/freebsd/sys/fs/cd9660/ |
H A D | cd9660_util.c | 59 char inbuf[3], outbuf[3], *inp, *outp; in isochar() local 73 outp = outbuf; in isochar() 75 &outp, &j); in isochar() 80 *c |= (*(outp - len - 1) & 0xff) << (len << 3); in isochar() 168 u_char *outp = outfn, *infnend = infn + infnlen; in isofntrans() local 172 *outp++ = ASSOCCHAR; in isofntrans() 180 outp -= (d == '.'); in isofntrans() 185 *outp++ = c >> (clen << 3); in isofntrans() 187 *outfnlen = outp - outfn; in isofntrans() 198 char outbuf[3], *outp; in sgetrune() local [all …]
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_conv.c | 781 char *outp, outstr[outlen * weight + 1]; in mbsadjpos() local 784 outp = outstr; in mbsadjpos() 786 msdosfs_iconv->conv(handle, instr, &inlen, &outp, &outlen); in mbsadjpos() 800 u_char c, *outp; in dos2unixchr() local 803 outp = outbuf; in dos2unixchr() 809 ilen, (char **)&outp, &olen, KICONV_LOWER); in dos2unixchr() 812 ilen, (char **)&outp, &olen); in dos2unixchr() 821 *outp++ = '?'; in dos2unixchr() 829 *outp++ = c; in dos2unixchr() 833 *outp = '\0'; in dos2unixchr() [all …]
|
/freebsd/usr.bin/tcopy/ |
H A D | tcopy.c | 67 int lastnread, nread, nw, inp, outp; in main() local 82 outp = -1; in main() 128 if ((outp = open(argv[1], op == VERIFY ? O_RDONLY : in main() 142 verify(inp, outp, buff); in main() 178 writeop(outp, MTWEOF); in main() 181 nw = write(outp, buff, nread); in main() 215 writeop(outp, MTWEOF); in main() 216 writeop(outp, MTWEOF); in main() 218 rewind_tape(outp); in main() 220 verify(inp, outp, buff); in main() [all …]
|
/freebsd/crypto/openssl/crypto/aes/ |
H A D | aes_ige.c | 72 aes_block_t *outp = (aes_block_t *) out; in AES_ige_encrypt() local 75 outp->data[n] = inp->data[n] ^ ivp->data[n]; in AES_ige_encrypt() 76 AES_encrypt((unsigned char *)outp->data, in AES_ige_encrypt() 77 (unsigned char *)outp->data, key); in AES_ige_encrypt() 79 outp->data[n] ^= iv2p->data[n]; in AES_ige_encrypt() 80 ivp = outp; in AES_ige_encrypt() 125 aes_block_t *outp = (aes_block_t *) out; in AES_ige_encrypt() local 130 (unsigned char *)outp->data, key); in AES_ige_encrypt() 132 outp->data[n] ^= ivp->data[n]; in AES_ige_encrypt() 134 iv2p = outp; in AES_ige_encrypt()
|
/freebsd/bin/dd/ |
H A D | conv.c | 98 u_char *inp, *outp; in block() local 129 for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) { in block() 134 *outp++ = t[ch]; in block() 138 *outp++ = ch; in block() 155 (void)memset(outp, ctab ? ctab[' '] : ' ', cbsz - cnt); in block() 177 outp = out.dbp; in block()
|
H A D | dd.c | 541 u_char *outp; in dd_out() local 563 outp = out.db; in dd_out() 576 sparse = BISZERO(outp, cnt); in dd_out() 597 nw = write(out.fd, outp, cnt); in dd_out() 613 outp += nw; in dd_out()
|
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | tps65132-regulator.txt | 11 -For regulator outp, the sub node name should be "outp". 32 outp { 33 regulator-name = "outp";
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | vis.c | 217 stravis(char **outp, const char *src, int flag) in stravis() argument 227 *outp = realloc(buf, len + 1); in stravis() 228 if (*outp == NULL) { in stravis() 229 *outp = buf; in stravis()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | common.c | 1107 char *outp, size_t out_size) in utf8_unescape() argument 1111 if (!inp || !outp) in utf8_unescape() 1131 *outp = '\0'; in utf8_unescape() 1142 *outp++ = *inp++; in utf8_unescape() 1149 *outp = '\0'; in utf8_unescape() 1156 char *outp, size_t out_size) in utf8_escape() argument 1160 if (!inp || !outp) in utf8_escape() 1178 *outp++ = '\\'; in utf8_escape() 1182 *outp++ = *inp++; in utf8_escape() 1189 *outp = '\0'; in utf8_escape()
|
/freebsd/crypto/openssh/ |
H A D | utf8.c | 258 asmprintf(char **outp, size_t sz, int *wp, const char *fmt, ...) in asmprintf() argument 263 *outp = NULL; in asmprintf() 265 ret = vasnmprintf(outp, sz, wp, fmt, ap); in asmprintf()
|
/freebsd/usr.sbin/traceroute/ |
H A D | traceroute.c | 295 u_char *outp; /* last output inner protocol packet */ variable 766 outp = (u_char *)(outip + 1); in main() 770 optlist = outp; in main() 771 outp += optlen; in main() 790 outip->ip_hl = (outp - (u_char *)outip) >> 2; in main() 1418 struct icmp *const icmpheader = (struct icmp *) outp; in icmp_prep() 1441 struct udphdr *const outudp = (struct udphdr *) outp; in udp_prep() 1467 struct udphdr *const outudp = (struct udphdr *) outp; in udplite_prep() 1493 struct tcphdr *const tcp = (struct tcphdr *) outp; in tcp_prep() 1520 struct sctphdr *const sctp = (struct sctphdr *) outp; in sctp_prep() [all …]
|