Home
last modified time | relevance | path

Searched refs:outp (Results 1 – 25 of 52) sorted by relevance

123

/freebsd-13.1/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value.c280 void *outp; in bhnd_nvram_val_init_common() local
321 if (outp == NULL) in bhnd_nvram_val_init_common()
422 void *outp; in bhnd_nvram_val_convert_common() local
465 if (outp == NULL) in bhnd_nvram_val_convert_common()
675 if (outp != NULL) in bhnd_nvram_val_encode_null()
696 if (outp == NULL) in bhnd_nvram_val_encode_null()
720 if (outp != NULL) in bhnd_nvram_val_encode_bool()
840 if (outp != NULL) in bhnd_nvram_val_encode_string()
1064 if (outp != NULL) in bhnd_nvram_val_encode_int()
1564 if (outp != NULL) in bhnd_nvram_val_generic_encode()
[all …]
H A Dbhnd_nvram_value_fmts.c91 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,
294 outp, olen, otype)); in bhnd_nvram_val_bcm_hex_encode_elem()
315 stype, outp, olen, otype)); in bhnd_nvram_val_bcm_hex_encode_elem()
327 outp, olen, width)); in bhnd_nvram_val_bcm_hex_encode_elem()
346 outp, olen, otype)); in bhnd_nvram_val_bcm_decimal_encode_elem()
429 if (outp != NULL) in bhnd_nvram_val_bcm_leddc_encode_elem()
536 *(uint16_t *)outp = led16; in bhnd_nvram_val_bcm_leddc_encode_elem()
545 *(uint32_t *)outp = led32; in bhnd_nvram_val_bcm_leddc_encode_elem()
[all …]
H A Dbhnd_nvram_valuevar.h38 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 Dbhnd_nvram_subr.c712 size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_parse_int() argument
726 if (outp != NULL) in bhnd_nvram_parse_int()
914 if (outp == NULL) in bhnd_nvram_parse_int()
923 *(uint8_t *)outp = (uint8_t)value; in bhnd_nvram_parse_int()
926 *(uint16_t *)outp = (uint16_t)value; in bhnd_nvram_parse_int()
929 *(uint32_t *)outp = (uint32_t)value; in bhnd_nvram_parse_int()
932 *(uint64_t *)outp = (uint64_t)value; in bhnd_nvram_parse_int()
936 *(int8_t *)outp = (int8_t)(int64_t)value; in bhnd_nvram_parse_int()
939 *(int16_t *)outp = (int16_t)(int64_t)value; in bhnd_nvram_parse_int()
942 *(int32_t *)outp = (int32_t)(int64_t)value; in bhnd_nvram_parse_int()
[all …]
H A Dbhnd_nvram_value_prf.c102 bhnd_nvram_val_printf(bhnd_nvram_val *value, const char *fmt, char *outp, in bhnd_nvram_val_printf() argument
109 error = bhnd_nvram_val_vprintf(value, fmt, outp, olen, ap); in bhnd_nvram_val_printf()
212 bhnd_nvram_val_vprintf(bhnd_nvram_val *value, const char *fmt, char *outp, in bhnd_nvram_val_vprintf() argument
224 if (outp != NULL) in bhnd_nvram_val_vprintf()
231 *(outp + nbytes) = _c; \ in bhnd_nvram_val_vprintf()
551 memcpy(outp + nbytes, delim, delim_len); in bhnd_nvram_val_vprintf()
754 memcpy(outp + nbytes, sptr, slen); in bhnd_nvram_val_vprintf()
798 s = outp + nbytes; in bhnd_nvram_val_vprintf()
867 *(outp + nbytes) = '\0'; in bhnd_nvram_val_vprintf()
877 if (outp != NULL) in bhnd_nvram_val_vprintf()
H A Dbhnd_nvram_value_subr.c396 bhnd_nvram_type itype, char *outp, size_t *olen, ...) in bhnd_nvram_value_printf() argument
402 error = bhnd_nvram_value_vprintf(fmt, inp, ilen, itype, outp, olen, ap); in bhnd_nvram_value_printf()
437 bhnd_nvram_type itype, char *outp, size_t *olen, va_list ap) in bhnd_nvram_value_vprintf() argument
449 error = bhnd_nvram_val_vprintf(&val, fmt, outp, olen, ap); in bhnd_nvram_value_vprintf()
533 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_value_coerce() argument
545 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_value_coerce()
H A Dbhnd_nvram_value.h80 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 Dbhnd_nvram_data_bcmraw.c146 bhnd_nvram_plist *options, void *outp, size_t *olen) in bhnd_nvram_bcmraw_serialize() argument
153 if (outp != NULL) in bhnd_nvram_bcmraw_serialize()
168 if (outp == NULL || limit < nbytes) { in bhnd_nvram_bcmraw_serialize()
172 p = ((char *)outp) + nbytes; in bhnd_nvram_bcmraw_serialize()
222 *((char *)outp + nbytes) = '\0'; in bhnd_nvram_bcmraw_serialize()
232 if (outp == NULL) in bhnd_nvram_bcmraw_serialize()
H A Dbhnd_nvram_data_bcm.c167 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_bcm_getvar_direct() argument
362 BHND_NVRAM_TYPE_STRING, outp, olen, otype)); in bhnd_nvram_bcm_getvar_direct_common()
372 bhnd_nvram_plist *options, void *outp, size_t *olen) in bhnd_nvram_bcm_serialize() argument
383 if (outp != NULL) in bhnd_nvram_bcm_serialize()
451 memcpy(outp, &hdr, sizeof(hdr)); in bhnd_nvram_bcm_serialize()
461 if (outp == NULL || limit < nbytes) { in bhnd_nvram_bcm_serialize()
465 p = ((char *)outp) + nbytes; in bhnd_nvram_bcm_serialize()
515 *((char *)outp + nbytes) = '\0'; in bhnd_nvram_bcm_serialize()
535 if (outp == NULL) in bhnd_nvram_bcm_serialize()
543 crc8 = bhnd_nvram_crc8((uint8_t *)outp + BCM_NVRAM_CRC_SKIP, in bhnd_nvram_bcm_serialize()
[all …]
H A Dbhnd_nvram_datavar.h50 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 Dbhnd_nvram_data_btxt.c141 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_btxt_getvar_direct() argument
337 BHND_NVRAM_TYPE_STRING, outp, olen, otype)); in bhnd_nvram_btxt_getvar_direct()
347 bhnd_nvram_plist *options, void *outp, size_t *olen) in bhnd_nvram_btxt_serialize() argument
354 if (outp != NULL) in bhnd_nvram_btxt_serialize()
369 if (outp == NULL || limit < nbytes) { in bhnd_nvram_btxt_serialize()
373 p = ((char *)outp) + nbytes; in bhnd_nvram_btxt_serialize()
430 if (outp == NULL) in bhnd_nvram_btxt_serialize()
H A Dbhnd_nvram_data.c108 bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, in bhnd_nvram_data_serialize() argument
111 return (cls->op_serialize(cls, props, options, outp, olen)); in bhnd_nvram_data_serialize()
589 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_data_generic_rp_getvar() argument
613 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_data_generic_rp_getvar()
H A Dbhnd_nvram_private.h218 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,
H A Dbhnd_nvram_plist.h92 const char *name, void *outp, size_t olen,
128 void *outp, size_t *olen, bhnd_nvram_type otype);
/freebsd-13.1/sys/fs/cd9660/
H A Dcd9660_util.c70 char inbuf[3], outbuf[3], *inp, *outp; local
84 outp = outbuf;
86 &outp, &j);
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
233 outp = outbuf;
[all …]
/freebsd-13.1/sys/fs/msdosfs/
H A Dmsdosfs_conv.c785 outp = outstr; in mbsadjpos()
804 outp = outbuf; in dos2unixchr()
830 *outp++ = c; in dos2unixchr()
834 *outp = '\0'; in dos2unixchr()
835 outp = outbuf; in dos2unixchr()
836 return (outp); in dos2unixchr()
889 outp = outbuf; in unix2doschr()
925 outp = outbuf; in win2unixchr()
947 *outp = '\0'; in win2unixchr()
948 outp = outbuf; in win2unixchr()
[all …]
/freebsd-13.1/usr.bin/tcopy/
H A Dtcopy.c79 int lastnread, nread, nw, inp, outp; in main() local
88 outp = -1; in main()
144 verify(inp, outp, buff); in main()
180 writeop(outp, MTWEOF); in main()
183 nw = write(outp, buff, nread); in main()
217 writeop(outp, MTWEOF); in main()
218 writeop(outp, MTWEOF); in main()
220 rewind_tape(outp); in main()
222 verify(inp, outp, buff); in main()
229 verify(int inp, int outp, char *outb) in verify() argument
[all …]
/freebsd-13.1/crypto/openssl/crypto/aes/
H A Daes_ige.c67 aes_block_t *outp = (aes_block_t *) out; in AES_ige_encrypt() local
70 outp->data[n] = inp->data[n] ^ ivp->data[n]; in AES_ige_encrypt()
71 AES_encrypt((unsigned char *)outp->data, in AES_ige_encrypt()
72 (unsigned char *)outp->data, key); in AES_ige_encrypt()
74 outp->data[n] ^= iv2p->data[n]; in AES_ige_encrypt()
75 ivp = outp; in AES_ige_encrypt()
120 aes_block_t *outp = (aes_block_t *) out; in AES_ige_encrypt() local
125 (unsigned char *)outp->data, key); in AES_ige_encrypt()
127 outp->data[n] ^= ivp->data[n]; in AES_ige_encrypt()
129 iv2p = outp; in AES_ige_encrypt()
/freebsd-13.1/bin/dd/
H A Dconv.c106 u_char *inp, *outp; in block() local
137 for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) { in block()
142 *outp++ = t[ch]; in block()
146 *outp++ = ch; in block()
163 (void)memset(outp, ctab ? ctab[' '] : ' ', cbsz - cnt); in block()
185 outp = out.dbp; in block()
H A Ddd.c544 u_char *outp; in dd_out() local
566 outp = out.db; in dd_out()
579 sparse = BISZERO(outp, cnt); in dd_out()
599 nw = write(out.fd, outp, cnt); in dd_out()
614 outp += nw; in dd_out()
/freebsd-13.1/sys/contrib/device-tree/Bindings/regulator/
H A Dtps65132-regulator.txt11 -For regulator outp, the sub node name should be "outp".
32 outp {
33 regulator-name = "outp";
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dvis.c217 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-13.1/contrib/wpa/src/utils/
H A Dcommon.c1094 char *outp, size_t out_size) in utf8_unescape() argument
1098 if (!inp || !outp) in utf8_unescape()
1118 *outp = '\0'; in utf8_unescape()
1129 *outp++ = *inp++; in utf8_unescape()
1136 *outp = '\0'; in utf8_unescape()
1143 char *outp, size_t out_size) in utf8_escape() argument
1147 if (!inp || !outp) in utf8_escape()
1165 *outp++ = '\\'; in utf8_escape()
1169 *outp++ = *inp++; in utf8_escape()
1176 *outp = '\0'; in utf8_escape()
/freebsd-13.1/crypto/openssh/
H A Dutf8.c258 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-13.1/lib/libc/net/
H A Dgetnameinfo.c496 char *outp = host; in hexname() local
498 *outp = '\0'; in hexname()
500 n = snprintf(outp, hostlen, "%s%02x", in hexname()
506 outp += n; in hexname()

123