Home
last modified time | relevance | path

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

12

/freebsd-12.1/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value.c281 void *outp; in bhnd_nvram_val_init_common() local
322 if (outp == NULL) in bhnd_nvram_val_init_common()
424 void *outp; in bhnd_nvram_val_convert_common() local
467 if (outp == NULL) in bhnd_nvram_val_convert_common()
678 if (outp != NULL) in bhnd_nvram_val_encode_null()
699 if (outp == NULL) in bhnd_nvram_val_encode_null()
723 if (outp != NULL) in bhnd_nvram_val_encode_bool()
844 if (outp != NULL) in bhnd_nvram_val_encode_string()
1068 if (outp != NULL) in bhnd_nvram_val_encode_int()
1568 if (outp != NULL) in bhnd_nvram_val_generic_encode()
[all …]
H A Dbhnd_nvram_value_fmts.c92 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,
297 outp, olen, otype)); in bhnd_nvram_val_bcm_hex_encode_elem()
318 stype, outp, olen, otype)); in bhnd_nvram_val_bcm_hex_encode_elem()
330 outp, olen, width)); in bhnd_nvram_val_bcm_hex_encode_elem()
349 outp, olen, otype)); in bhnd_nvram_val_bcm_decimal_encode_elem()
432 if (outp != NULL) in bhnd_nvram_val_bcm_leddc_encode_elem()
539 *(uint16_t *)outp = led16; in bhnd_nvram_val_bcm_leddc_encode_elem()
548 *(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()
213 bhnd_nvram_val_vprintf(bhnd_nvram_val *value, const char *fmt, char *outp, in bhnd_nvram_val_vprintf() argument
225 if (outp != NULL) in bhnd_nvram_val_vprintf()
232 *(outp + nbytes) = _c; \ in bhnd_nvram_val_vprintf()
552 memcpy(outp + nbytes, delim, delim_len); in bhnd_nvram_val_vprintf()
755 memcpy(outp + nbytes, sptr, slen); in bhnd_nvram_val_vprintf()
799 s = outp + nbytes; in bhnd_nvram_val_vprintf()
868 *(outp + nbytes) = '\0'; in bhnd_nvram_val_vprintf()
878 if (outp != NULL) in bhnd_nvram_val_vprintf()
H A Dbhnd_nvram_value_subr.c397 bhnd_nvram_type itype, char *outp, size_t *olen, ...) in bhnd_nvram_value_printf() argument
403 error = bhnd_nvram_value_vprintf(fmt, inp, ilen, itype, outp, olen, ap); in bhnd_nvram_value_printf()
438 bhnd_nvram_type itype, char *outp, size_t *olen, va_list ap) in bhnd_nvram_value_vprintf() argument
450 error = bhnd_nvram_val_vprintf(&val, fmt, outp, olen, ap); in bhnd_nvram_value_vprintf()
534 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_value_coerce() argument
546 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_value_coerce()
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_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_value.h81 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 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.c142 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_btxt_getvar_direct() argument
339 BHND_NVRAM_TYPE_STRING, outp, olen, otype)); in bhnd_nvram_btxt_getvar_direct()
349 bhnd_nvram_plist *options, void *outp, size_t *olen) in bhnd_nvram_btxt_serialize() argument
356 if (outp != NULL) in bhnd_nvram_btxt_serialize()
371 if (outp == NULL || limit < nbytes) { in bhnd_nvram_btxt_serialize()
375 p = ((char *)outp) + nbytes; in bhnd_nvram_btxt_serialize()
432 if (outp == NULL) in bhnd_nvram_btxt_serialize()
H A Dbhnd_nvram_data.c109 bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, in bhnd_nvram_data_serialize() argument
112 return (cls->op_serialize(cls, props, options, outp, olen)); in bhnd_nvram_data_serialize()
592 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_data_generic_rp_getvar() argument
616 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.c630 void *outp, size_t olen, bhnd_nvram_type otype) in bhnd_nvram_plist_get_encoded() argument
637 return (bhnd_nvram_prop_encode(prop, outp, &olen, otype)); in bhnd_nvram_plist_get_encoded()
976 bhnd_nvram_prop_encode(bhnd_nvram_prop *prop, void *outp, size_t *olen, in bhnd_nvram_prop_encode() argument
979 return (bhnd_nvram_val_encode(prop->val, outp, olen, otype)); in bhnd_nvram_prop_encode()
/freebsd-12.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-12.1/sys/fs/msdosfs/
H A Dmsdosfs_conv.c786 outp = outstr; in mbsadjpos()
805 outp = outbuf; in dos2unixchr()
831 *outp++ = c; in dos2unixchr()
835 *outp = '\0'; in dos2unixchr()
836 outp = outbuf; in dos2unixchr()
837 return (outp); in dos2unixchr()
890 outp = outbuf; in unix2doschr()
926 outp = outbuf; in win2unixchr()
948 *outp = '\0'; in win2unixchr()
949 outp = outbuf; in win2unixchr()
[all …]
/freebsd-12.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-12.1/crypto/openssl/crypto/aes/
H A Daes_ige.c63 aes_block_t *outp = (aes_block_t *) out; in AES_ige_encrypt() local
66 outp->data[n] = inp->data[n] ^ ivp->data[n]; in AES_ige_encrypt()
67 AES_encrypt((unsigned char *)outp->data, in AES_ige_encrypt()
68 (unsigned char *)outp->data, key); in AES_ige_encrypt()
70 outp->data[n] ^= iv2p->data[n]; in AES_ige_encrypt()
71 ivp = outp; in AES_ige_encrypt()
116 aes_block_t *outp = (aes_block_t *) out; in AES_ige_encrypt() local
121 (unsigned char *)outp->data, key); in AES_ige_encrypt()
123 outp->data[n] ^= ivp->data[n]; in AES_ige_encrypt()
125 iv2p = outp; in AES_ige_encrypt()
/freebsd-12.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.c514 u_char *outp; in dd_out() local
536 outp = out.db; in dd_out()
549 sparse = BISZERO(outp, cnt); in dd_out()
569 nw = write(out.fd, outp, cnt); in dd_out()
584 outp += nw; in dd_out()
/freebsd-12.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-12.1/contrib/wpa/src/utils/
H A Dcommon.c1070 char *outp, size_t out_size) in utf8_unescape() argument
1074 if (!inp || !outp) in utf8_unescape()
1094 *outp = '\0'; in utf8_unescape()
1105 *outp++ = *inp++; in utf8_unescape()
1112 *outp = '\0'; in utf8_unescape()
1119 char *outp, size_t out_size) in utf8_escape() argument
1123 if (!inp || !outp) in utf8_escape()
1141 *outp++ = '\\'; in utf8_escape()
1145 *outp++ = *inp++; in utf8_escape()
1152 *outp = '\0'; in utf8_escape()
/freebsd-12.1/sys/i386/ibcs2/
H A Dibcs2_misc.c319 caddr_t outp; /* iBCS2-format */ in ibcs2_getdents() local
382 outp = uap->buf; in ibcs2_getdents()
425 outp++; in ibcs2_getdents()
436 if ((error = copyout((caddr_t)&idb, outp, 10)) != 0 || in ibcs2_getdents()
448 outp += IBCS2_RECLEN(reclen); in ibcs2_getdents()
452 if (outp == uap->buf) in ibcs2_getdents()
472 caddr_t outp; /* iBCS2-format */ in ibcs2_read() local
543 outp = uap->buf; in ibcs2_read()
586 outp++; in ibcs2_read()
611 outp += sizeof(struct ibcs2_direct); in ibcs2_read()
[all …]
/freebsd-12.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()
/freebsd-12.1/sys/dev/isp/
H A Disp_target.c308 void *outp; in isp_target_put_entry() local
311 outp = isp_getrqentry(isp); in isp_target_put_entry()
312 if (outp == NULL) { in isp_target_put_entry()
320 (na_fcentry_24xx_t *)outp); in isp_target_put_entry()
323 (na_fcentry_e_t *)outp); in isp_target_put_entry()
325 isp_put_notify_ack_fc(isp, ap, (na_fcentry_t *)outp); in isp_target_put_entry()
330 (at2e_entry_t *)outp); in isp_target_put_entry()
333 (at2_entry_t *)outp); in isp_target_put_entry()
338 (ct2e_entry_t *)outp); in isp_target_put_entry()
341 (ct2_entry_t *)outp); in isp_target_put_entry()
[all …]

12