Searched refs:outp (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_valuevar.h37 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 Dbhnd_nvram_value.c68 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; local
317 outp = bhnd_nvram_val_alloc_bytes(value, olen, otype, flags);
318 if (outp == NULL)
322 error = bhnd_nvram_value_coerce(inp, ilen, itype, outp, &olen, otype);
419 void *outp; local
663 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
706 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
784 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
817 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
1047 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
1328 bhnd_nvram_val_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument
1363 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
1509 bhnd_nvram_val_generic_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument
1625 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 Dbhnd_nvram_value_fmts.c66 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, argument
269 return (bhnd_nvram_val_printf(value, "%[]s", outp, olen, ","));
271 return (bhnd_nvram_val_generic_encode(value, outp, ole
278 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
331 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
384 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
564 bhnd_nvram_val_bcmstr_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument
711 bhnd_nvram_val_bcm_macaddr_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument
755 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 Dbhnd_nvram_data_bcmvar.h71 const char *name, void *outp, size_t *olen, bhnd_nvram_type otype,
H A Dbhnd_nvram_value.h79 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 Dbhnd_nvram_value_subr.c367 * result to @p outp.
375 * @param[out] outp On success, the string value will be written to
378 * @param[in,out] olen The capacity of @p outp. On success, will be set
384 * @retval ENOMEM If the @p outp is non-NULL, and the provided @p olen
393 bhnd_nvram_type itype, char *outp, size_t *olen, ...)
399 error = bhnd_nvram_value_vprintf(fmt, inp, ilen, itype, outp, olen, ap);
407 * result to @p outp.
415 * @param[out] outp On success, the string value will be written to
418 * @param[in,out] olen The capacity of @p outp. On success, will be set
425 * @retval ENOMEM If the @p outp i
392 bhnd_nvram_value_printf(const char *fmt, const void *inp, size_t ilen, bhnd_nvram_type itype, char *outp, size_t *olen, ...) argument
433 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
529 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 Dbhnd_nvram_value_prf.c74 * result to @p outp.
78 * @param[out] outp On success, the string will be written to this
81 * @param[in,out] olen The capacity of @p outp. On success, will be set
91 * @retval ENOMEM If the @p outp is non-NULL, and the provided @p olen
99 bhnd_nvram_val_printf(bhnd_nvram_val *value, const char *fmt, char *outp, argument
106 error = bhnd_nvram_val_vprintf(value, fmt, outp, olen, ap);
114 * writing the result to @p outp.
118 * @param[out] outp On success, the string will be written to this
121 * @param[in,out] olen The capacity of @p outp. On success, will be set
201 * @retval ENOMEM If the @p outp i
209 bhnd_nvram_val_vprintf(bhnd_nvram_val *value, const char *fmt, char *outp, size_t *olen, va_list ap) argument
[all...]
H A Dbhnd_nvram_datavar.h49 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 Dbhnd_nvram_data_bcmraw.c144 bhnd_nvram_plist *options, void *outp, size_t *olen)
151 if (outp != NULL)
166 if (outp == NULL || limit < nbytes) {
170 p = ((char *)outp) + nbytes;
220 *((char *)outp + nbytes) = '\0';
230 if (outp == NULL)
143 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 Dbhnd_nvram_plist.h91 const char *name, void *outp, size_t olen,
127 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_subr.c690 * @param[out] outp On success, the parsed integer value will be
691 * written to @p outp. This argment may be NULL if
693 * @param[in,out] olen The capacity of @p outp. On success, will be set
701 * @retval ENOMEM If @p outp is non-NULL and a buffer of @p olen is too
709 size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype)
723 if (outp != NULL)
911 if (outp == NULL)
920 *(uint8_t *)outp = (uint8_t)value;
923 *(uint16_t *)outp = (uint16_t)value;
926 *(uint32_t *)outp
708 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 Dbhnd_nvram_store.h82 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_data_bcm.c164 void *outp, size_t *olen, bhnd_nvram_type otype)
166 return (bhnd_nvram_bcm_getvar_direct_common(io, name, outp, olen, otype,
175 void *outp, size_t *olen, bhnd_nvram_type otype, bool have_header)
359 BHND_NVRAM_TYPE_STRING, outp, olen, otype));
369 bhnd_nvram_plist *options, void *outp, size_t *olen)
380 if (outp != NULL)
448 memcpy(outp, &hdr, sizeof(hdr));
458 if (outp == NULL || limit < nbytes) {
462 p = ((char *)outp) + nbytes;
512 *((char *)outp
163 bhnd_nvram_bcm_getvar_direct(struct bhnd_nvram_io *io, const char *name, void *outp, size_t *olen, bhnd_nvram_type otype) argument
174 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
368 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 Dbhnd_nvram_data.c78 * format, writing the result to @p outp.
83 * @p outp, in serialization order.
85 * @param[out] outp On success, the serialed NVRAM data will be
93 * @retval ENOMEM If @p outp is non-NULL and a buffer of @p olen is too
106 bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp,
109 return (cls->op_serialize(cls, props, options, outp, olen));
587 void *outp, size_t *olen, bhnd_nvram_type otype)
611 error = bhnd_nvram_val_encode(&val, outp, olen, otype);
105 bhnd_nvram_data_serialize(bhnd_nvram_data_class *cls, bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, size_t *olen) argument
586 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 Dbhnd_nvram_data.h97 void *outp, size_t *olen);
H A Dbhnd_nvram_private.h217 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 Dbhnd_nvram_data_btxt.c139 void *outp, size_t *olen, bhnd_nvram_type otype)
335 BHND_NVRAM_TYPE_STRING, outp, olen, otype));
345 bhnd_nvram_plist *options, void *outp, size_t *olen)
352 if (outp != NULL)
367 if (outp == NULL || limit < nbytes) {
371 p = ((char *)outp) + nbytes;
428 if (outp == NULL)
138 bhnd_nvram_btxt_getvar_direct(struct bhnd_nvram_io *io, const char *name, void *outp, size_t *olen, bhnd_nvram_type otype) argument
344 bhnd_nvram_btxt_serialize(bhnd_nvram_data_class *cls, bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp, size_t *olen) argument
H A Dbhnd_nvram_store.c1021 void *outp; local
1047 if ((error = bhnd_nvram_io_write_ptr(io, 0, &outp, olen, NULL)))
1051 error = bhnd_nvram_data_serialize(cls, props, options, outp, &olen);
1083 * @param[out] outp On success, the requested value will be written
1086 * @param[in,out] olen The capacity of @p outp. On success, will be set
1089 * @p outp.
1093 * @retval ENOMEM If @p outp is non-NULL and a buffer of @p olen is too
1100 void *outp, size_t *olen, bhnd_nvram_type otype)
1129 error = bhnd_nvram_prop_encode(prop, outp, olen, otype);
1138 error = bhnd_nvram_data_getvar(sc->data, cookiep, outp, ole
1099 bhnd_nvram_store_getvar(struct bhnd_nvram_store *sc, const char *name, void *outp, size_t *olen, bhnd_nvram_type otype) argument
[all...]
/freebsd-current/sys/fs/cd9660/
H A Dcd9660_util.c59 char inbuf[3], outbuf[3], *inp, *outp; local
73 outp = outbuf;
75 &outp, &j);
80 *c |= (*(outp - len - 1) & 0xff) << (len << 3);
168 u_char *outp = outfn, *infnend = infn + infnlen; local
172 *outp++ = ASSOCCHAR;
180 outp -= (d == '.');
185 *outp++ = c >> (clen << 3);
187 *outfnlen = outp - outfn;
198 char outbuf[3], *outp; local
[all...]
/freebsd-current/usr.bin/tcopy/
H A Dtcopy.c66 int lastnread, nread, nw, inp, outp; local
80 outp = -1;
122 if ((outp = open(argv[1], op == VERIFY ? O_RDONLY :
136 verify(inp, outp, buff);
172 writeop(outp, MTWEOF);
175 nw = write(outp, buff, nread);
209 writeop(outp, MTWEOF);
210 writeop(outp, MTWEOF);
212 rewind_tape(outp);
214 verify(inp, outp, buf
221 verify(int inp, int outp, char *outb) argument
[all...]
/freebsd-current/crypto/openssl/crypto/aes/
H A Daes_ige.c72 aes_block_t *outp = (aes_block_t *) out;
75 outp->data[n] = inp->data[n] ^ ivp->data[n];
76 AES_encrypt((unsigned char *)outp->data,
77 (unsigned char *)outp->data, key);
79 outp->data[n] ^= iv2p->data[n];
80 ivp = outp;
125 aes_block_t *outp = (aes_block_t *) out;
130 (unsigned char *)outp->data, key);
132 outp->data[n] ^= ivp->data[n];
134 iv2p = outp;
[all...]
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dvis.c217 stravis(char **outp, const char *src, int flag) argument
227 *outp = realloc(buf, len + 1);
228 if (*outp == NULL) {
229 *outp = buf;
/freebsd-current/bin/dd/
H A Dconv.c98 u_char *inp, *outp; local
129 for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) {
134 *outp++ = t[ch];
138 *outp++ = ch;
155 (void)memset(outp, ctab ? ctab[' '] : ' ', cbsz - cnt);
177 outp = out.dbp;
/freebsd-current/sys/fs/msdosfs/
H A Dmsdosfs_conv.c781 char *outp, outstr[outlen * weight + 1]; local
784 outp = outstr;
786 msdosfs_iconv->conv(handle, instr, &inlen, &outp, &outlen);
800 u_char c, *outp; local
803 outp = outbuf;
809 ilen, (char **)&outp, &olen, KICONV_LOWER);
812 ilen, (char **)&outp, &olen);
821 *outp++ = '?';
829 *outp++ = c;
833 *outp
845 char *up, *outp, unicode[3], outbuf[3]; local
921 u_char *inp, *outp, inbuf[3]; local
957 u_char *outp, outbuf[3]; local
[all...]
/freebsd-current/crypto/openssh/
H A Dutf8.c258 asmprintf(char **outp, size_t sz, int *wp, const char *fmt, ...) argument
263 *outp = NULL;
265 ret = vasnmprintf(outp, sz, wp, fmt, ap);

Completed in 211 milliseconds

12