/freebsd-13-stable/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_valuevar.h | 38 void *outp, size_t *olen, bhnd_nvram_type otype); 40 const void *inp, size_t ilen, void *outp, size_t *olen, 68 typedef int (bhnd_nvram_val_op_encode)(bhnd_nvram_val *value, void *outp, 73 const void *inp, size_t ilen, void *outp, size_t *olen,
|
H A D | bhnd_nvram_value.c | 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, 83 bhnd_nvram_type itype, void *outp, size_t *olen, 280 void *outp; local 320 outp = bhnd_nvram_val_alloc_bytes(value, olen, otype, flags); 321 if (outp == NULL) 325 error = bhnd_nvram_value_coerce(inp, ilen, itype, outp, &olen, otype); 422 void *outp; local 666 bhnd_nvram_val_encode_null(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument 709 bhnd_nvram_val_encode_bool(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument 787 bhnd_nvram_val_encode_data(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument 820 bhnd_nvram_val_encode_string(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument 1050 bhnd_nvram_val_encode_int(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument 1331 bhnd_nvram_val_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument 1366 bhnd_nvram_val_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument 1512 bhnd_nvram_val_generic_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument 1628 bhnd_nvram_val_generic_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument [all...] |
H A D | bhnd_nvram_value_fmts.c | 69 bhnd_nvram_val *value, void *outp, size_t *olen, 77 size_t ilen, void *outp, size_t *olen, 87 void *outp, size_t *olen, bhnd_nvram_type otype); 91 size_t ilen, void *outp, size_t *olen, 95 size_t ilen, void *outp, size_t *olen, 103 size_t ilen, void *outp, size_t *olen, 107 void *outp, size_t *olen, bhnd_nvram_type otype); 266 bhnd_nvram_val_bcm_int_encode(bhnd_nvram_val *value, void *outp, size_t *olen, argument 272 return (bhnd_nvram_val_printf(value, "%[]s", outp, olen, ",")); 274 return (bhnd_nvram_val_generic_encode(value, outp, ole 281 bhnd_nvram_val_bcm_hex_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument 334 bhnd_nvram_val_bcm_decimal_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument 387 bhnd_nvram_val_bcm_leddc_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument 567 bhnd_nvram_val_bcmstr_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument 714 bhnd_nvram_val_bcm_macaddr_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument 758 bhnd_nvram_val_bcm_macaddr_string_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument [all...] |
H A D | bhnd_nvram_data_bcmvar.h | 73 const char *name, void *outp, size_t *olen, bhnd_nvram_type otype,
|
H A D | bhnd_nvram_value.h | 80 void *outp, size_t *olen, 85 size_t ilen, void *outp, size_t *olen, 89 const char *fmt, char *outp, size_t *olen, 92 const char *fmt, char *outp, size_t *olen,
|
H A D | bhnd_nvram_value_subr.c | 370 * result to @p outp. 378 * @param[out] outp On success, the string value will be written to 381 * @param[in,out] olen The capacity of @p outp. On success, will be set 387 * @retval ENOMEM If the @p outp is non-NULL, and the provided @p olen 396 bhnd_nvram_type itype, char *outp, size_t *olen, ...) 402 error = bhnd_nvram_value_vprintf(fmt, inp, ilen, itype, outp, olen, ap); 410 * result to @p outp. 418 * @param[out] outp On success, the string value will be written to 421 * @param[in,out] olen The capacity of @p outp. On success, will be set 428 * @retval ENOMEM If the @p outp i 395 bhnd_nvram_value_printf(const char *fmt, const void *inp, size_t ilen, bhnd_nvram_type itype, char *outp, size_t *olen, ...) argument 436 bhnd_nvram_value_vprintf(const char *fmt, const void *inp, size_t ilen, bhnd_nvram_type itype, char *outp, size_t *olen, va_list ap) argument 532 bhnd_nvram_value_coerce(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument [all...] |
H A D | bhnd_nvram_value_prf.c | 77 * result to @p outp. 81 * @param[out] outp On success, the string will be written to this 84 * @param[in,out] olen The capacity of @p outp. On success, will be set 94 * @retval ENOMEM If the @p outp is non-NULL, and the provided @p olen 102 bhnd_nvram_val_printf(bhnd_nvram_val *value, const char *fmt, char *outp, argument 109 error = bhnd_nvram_val_vprintf(value, fmt, outp, olen, ap); 117 * writing the result to @p outp. 121 * @param[out] outp On success, the string will be written to this 124 * @param[in,out] olen The capacity of @p outp. On success, will be set 204 * @retval ENOMEM If the @p outp i 212 bhnd_nvram_val_vprintf(bhnd_nvram_val *value, const char *fmt, char *outp, size_t *olen, va_list ap) argument [all...] |
H A D | bhnd_nvram_datavar.h | 50 void *outp, size_t *olen, bhnd_nvram_type otype); 61 void *outp, size_t *olen, bhnd_nvram_type otype); 67 bhnd_nvram_plist *options, void *outp,
|
H A D | bhnd_nvram_data_bcmraw.c | 146 bhnd_nvram_plist *options, void *outp, size_t *olen) 153 if (outp != NULL) 168 if (outp == NULL || limit < nbytes) { 172 p = ((char *)outp) + nbytes; 222 *((char *)outp + nbytes) = '\0'; 232 if (outp == NULL) 145 bhnd_nvram_bcmraw_serialize(bhnd_nvram_data_class *cls, bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, size_t *olen) argument
|
H A D | bhnd_nvram_plist.h | 92 const char *name, void *outp, size_t olen, 128 void *outp, size_t *olen, bhnd_nvram_type otype);
|
H A D | bhnd_nvram_subr.c | 693 * @param[out] outp On success, the parsed integer value will be 694 * written to @p outp. This argment may be NULL if 696 * @param[in,out] olen The capacity of @p outp. On success, will be set 704 * @retval ENOMEM If @p outp is non-NULL and a buffer of @p olen is too 712 size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype) 726 if (outp != NULL) 914 if (outp == NULL) 923 *(uint8_t *)outp = (uint8_t)value; 926 *(uint16_t *)outp = (uint16_t)value; 929 *(uint32_t *)outp 711 bhnd_nvram_parse_int(const char *str, size_t maxlen, u_int base, size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype) argument [all...] |
H A D | bhnd_nvram_store.h | 83 void *outp, size_t *olen, bhnd_nvram_type otype);
|
H A D | bhnd_nvram_data_bcm.c | 167 void *outp, size_t *olen, bhnd_nvram_type otype) 169 return (bhnd_nvram_bcm_getvar_direct_common(io, name, outp, olen, otype, 178 void *outp, size_t *olen, bhnd_nvram_type otype, bool have_header) 362 BHND_NVRAM_TYPE_STRING, outp, olen, otype)); 372 bhnd_nvram_plist *options, void *outp, size_t *olen) 383 if (outp != NULL) 451 memcpy(outp, &hdr, sizeof(hdr)); 461 if (outp == NULL || limit < nbytes) { 465 p = ((char *)outp) + nbytes; 515 *((char *)outp 166 bhnd_nvram_bcm_getvar_direct(struct bhnd_nvram_io *io, const char *name, void *outp, size_t *olen, bhnd_nvram_type otype) argument 177 bhnd_nvram_bcm_getvar_direct_common(struct bhnd_nvram_io *io, const char *name, void *outp, size_t *olen, bhnd_nvram_type otype, bool have_header) argument 371 bhnd_nvram_bcm_serialize(bhnd_nvram_data_class *cls, bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, size_t *olen) argument [all...] |
H A D | bhnd_nvram_data.c | 80 * format, writing the result to @p outp. 85 * @p outp, in serialization order. 87 * @param[out] outp On success, the serialed NVRAM data will be 95 * @retval ENOMEM If @p outp is non-NULL and a buffer of @p olen is too 108 bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, 111 return (cls->op_serialize(cls, props, options, outp, olen)); 589 void *outp, size_t *olen, bhnd_nvram_type otype) 613 error = bhnd_nvram_val_encode(&val, outp, olen, otype); 107 bhnd_nvram_data_serialize(bhnd_nvram_data_class *cls, bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, size_t *olen) argument 588 bhnd_nvram_data_generic_rp_getvar(struct bhnd_nvram_data *nv, void *cookiep, void *outp, size_t *olen, bhnd_nvram_type otype) argument
|
H A D | bhnd_nvram_data.h | 98 void *outp, size_t *olen);
|
H A D | bhnd_nvram_private.h | 218 void *outp, size_t *olen, 234 bhnd_nvram_type itype, char *outp, 238 bhnd_nvram_type itype, char *outp, 252 void *outp, size_t *olen,
|
/freebsd-13-stable/usr.bin/tcopy/ |
H A D | tcopy.c | 79 int lastnread, nread, nw, inp, outp; local 88 outp = -1; 130 if ((outp = open(argv[1], op == VERIFY ? O_RDONLY : 144 verify(inp, outp, buff); 180 writeop(outp, MTWEOF); 183 nw = write(outp, buff, nread); 217 writeop(outp, MTWEOF); 218 writeop(outp, MTWEOF); 220 rewind_tape(outp); 222 verify(inp, outp, buf 229 verify(int inp, int outp, char *outb) argument [all...] |
/freebsd-13-stable/sys/fs/cd9660/ |
H A D | cd9660_util.c | 70 char inbuf[3], outbuf[3], *inp, *outp; local 84 outp = outbuf; 86 &outp, &j); 91 *c |= (*(outp - len - 1) & 0xff) << (len << 3); 194 u_char *outp = outfn, *infnend = infn + infnlen; local 198 *outp++ = ASSOCCHAR; 206 outp -= (d == '.'); 211 *outp++ = c >> (clen << 3); 213 *outfnlen = outp - outfn; 228 char outbuf[3], *outp; local [all...] |
/freebsd-13-stable/crypto/openssl/crypto/aes/ |
H A D | aes_ige.c | 67 aes_block_t *outp = (aes_block_t *) out; 70 outp->data[n] = inp->data[n] ^ ivp->data[n]; 71 AES_encrypt((unsigned char *)outp->data, 72 (unsigned char *)outp->data, key); 74 outp->data[n] ^= iv2p->data[n]; 75 ivp = outp; 120 aes_block_t *outp = (aes_block_t *) out; 125 (unsigned char *)outp->data, key); 127 outp->data[n] ^= ivp->data[n]; 129 iv2p = outp; [all...] |
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | vis.c | 217 stravis(char **outp, const char *src, int flag) argument 227 *outp = realloc(buf, len + 1); 228 if (*outp == NULL) { 229 *outp = buf;
|
/freebsd-13-stable/bin/dd/ |
H A D | conv.c | 106 u_char *inp, *outp; local 137 for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) { 142 *outp++ = t[ch]; 146 *outp++ = ch; 163 (void)memset(outp, ctab ? ctab[' '] : ' ', cbsz - cnt); 185 outp = out.dbp;
|
/freebsd-13-stable/sys/fs/msdosfs/ |
H A D | msdosfs_conv.c | 782 char *outp, outstr[outlen * weight + 1]; local 785 outp = outstr; 787 msdosfs_iconv->conv(handle, instr, &inlen, &outp, &outlen); 801 u_char c, *outp; local 804 outp = outbuf; 810 ilen, (char **)&outp, &olen, KICONV_LOWER); 813 ilen, (char **)&outp, &olen); 822 *outp++ = '?'; 830 *outp++ = c; 834 *outp 846 char *up, *outp, unicode[3], outbuf[3]; local 922 u_char *inp, *outp, inbuf[3]; local 958 u_char *outp, outbuf[3]; local [all...] |
/freebsd-13-stable/sys/dev/ce/ |
H A D | machdep.h | 41 # define outb(port,b) outp((unsigned short)(port),b)
|
/freebsd-13-stable/sys/dev/cp/ |
H A D | machdep.h | 41 # define outb(port,b) outp((unsigned short)(port),b)
|
/freebsd-13-stable/contrib/wpa/src/utils/ |
H A D | common.c | 1070 char *outp, size_t out_size) 1074 if (!inp || !outp) 1094 *outp = '\0'; 1105 *outp++ = *inp++; 1112 *outp = '\0'; 1119 char *outp, size_t out_size) 1123 if (!inp || !outp) 1141 *outp++ = '\\'; 1145 *outp++ = *inp++; 1152 *outp 1069 utf8_unescape(const char *inp, size_t in_size, char *outp, size_t out_size) argument 1118 utf8_escape(const char *inp, size_t in_size, char *outp, size_t out_size) argument [all...] |