/freebsd-12-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 | 72 bhnd_nvram_type itype, void *outp, size_t *olen, 75 bhnd_nvram_type itype, void *outp, size_t *olen, 78 bhnd_nvram_type itype, void *outp, size_t *olen, 81 bhnd_nvram_type itype, void *outp, size_t *olen, 84 bhnd_nvram_type itype, void *outp, size_t *olen, 281 void *outp; local 321 outp = bhnd_nvram_val_alloc_bytes(value, olen, otype, flags); 322 if (outp == NULL) 326 error = bhnd_nvram_value_coerce(inp, ilen, itype, outp, &olen, otype); 424 void *outp; local 669 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 712 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 790 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 824 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 1054 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 1335 bhnd_nvram_val_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument 1370 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 1516 bhnd_nvram_val_generic_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument 1632 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, 88 void *outp, size_t *olen, bhnd_nvram_type otype); 92 size_t ilen, void *outp, size_t *olen, 96 size_t ilen, void *outp, size_t *olen, 104 size_t ilen, void *outp, size_t *olen, 109 void *outp, size_t *olen, bhnd_nvram_type otype); 269 bhnd_nvram_val_bcm_int_encode(bhnd_nvram_val *value, void *outp, size_t *olen, argument 275 return (bhnd_nvram_val_printf(value, "%[]s", outp, olen, ",")); 277 return (bhnd_nvram_val_generic_encode(value, outp, ole 284 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 337 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 390 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 570 bhnd_nvram_val_bcmstr_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument 717 bhnd_nvram_val_bcm_macaddr_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument 762 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 | 81 void *outp, size_t *olen, 86 size_t ilen, void *outp, size_t *olen, 90 const char *fmt, char *outp, size_t *olen, 93 const char *fmt, char *outp, size_t *olen,
|
H A D | bhnd_nvram_value_subr.c | 371 * result to @p outp. 379 * @param[out] outp On success, the string value will be written to 382 * @param[in,out] olen The capacity of @p outp. On success, will be set 388 * @retval ENOMEM If the @p outp is non-NULL, and the provided @p olen 397 bhnd_nvram_type itype, char *outp, size_t *olen, ...) 403 error = bhnd_nvram_value_vprintf(fmt, inp, ilen, itype, outp, olen, ap); 411 * result to @p outp. 419 * @param[out] outp On success, the string value will be written to 422 * @param[in,out] olen The capacity of @p outp. On success, will be set 429 * @retval ENOMEM If the @p outp i 396 bhnd_nvram_value_printf(const char *fmt, const void *inp, size_t ilen, bhnd_nvram_type itype, char *outp, size_t *olen, ...) argument 437 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 533 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); 118 * writing the result to @p outp. 122 * @param[out] outp On success, the string will be written to this 125 * @param[in,out] olen The capacity of @p outp. On success, will be set 205 * @retval ENOMEM If the @p outp i 213 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 | 81 * format, writing the result to @p outp. 86 * @p outp, in serialization order. 88 * @param[out] outp On success, the serialed NVRAM data will be 96 * @retval ENOMEM If @p outp is non-NULL and a buffer of @p olen is too 109 bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, 112 return (cls->op_serialize(cls, props, options, outp, olen)); 592 void *outp, size_t *olen, bhnd_nvram_type otype) 616 error = bhnd_nvram_val_encode(&val, outp, olen, otype); 108 bhnd_nvram_data_serialize(bhnd_nvram_data_class *cls, bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, size_t *olen) argument 591 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-12-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-12-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-12-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-12-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-12-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-12-stable/sys/fs/msdosfs/ |
H A D | msdosfs_conv.c | 783 char *outp, outstr[outlen * weight + 1]; local 786 outp = outstr; 788 msdosfs_iconv->conv(handle, instr, &inlen, &outp, &outlen); 802 u_char c, *outp; local 805 outp = outbuf; 811 ilen, (char **)&outp, &olen, KICONV_LOWER); 814 ilen, (char **)&outp, &olen); 823 *outp++ = '?'; 831 *outp++ = c; 835 *outp 847 char *up, *outp, unicode[3], outbuf[3]; local 923 u_char *inp, *outp, inbuf[3]; local 959 u_char *outp, outbuf[3]; local [all...] |
/freebsd-12-stable/sys/i386/ibcs2/ |
H A D | ibcs2_misc.c | 319 caddr_t outp; /* iBCS2-format */ local 382 outp = uap->buf; 425 outp++; 436 if ((error = copyout((caddr_t)&idb, outp, 10)) != 0 || 437 (error = copyout(BSD_DIRENT(inp)->d_name, outp + 10, 448 outp += IBCS2_RECLEN(reclen); 452 if (outp == uap->buf) 472 caddr_t outp; /* iBCS2-format */ local 543 outp = uap->buf; 586 outp [all...] |
/freebsd-12-stable/sys/dev/cx/ |
H A D | machdep.h | 41 # define outb(port,b) outp((unsigned short)(port),b)
|
/freebsd-12-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...] |