Home
last modified time | relevance | path

Searched refs:outbuf (Results 1 – 25 of 73) sorted by relevance

123

/dflybsd-src/contrib/ncurses/progs/
H A Ddump_entry.c73 static DYNBUF outbuf; variable
159 free_DYN(&outbuf); in _nc_leaks_dump_entry()
419 while (outbuf.used > 0 && outbuf.text[outbuf.used - 1] == ' ') in trim_trailing()
420 outbuf.text[--outbuf.used] = '\0'; in trim_trailing()
428 strcpy_DYN(&outbuf, trailer); in force_wrap()
617 if (TcOutput() && outbuf.used && !wrap_1ST(mode)) { in wrap_concat()
624 strcpy_DYN(&outbuf, align); in wrap_concat()
631 strncpy_DYN(&outbuf, fill + step, (size_t) size); in wrap_concat()
643 strcpy_DYN(&outbuf, align); in wrap_concat()
644 strcpy_DYN(&outbuf, fill + step); in wrap_concat()
[all …]
/dflybsd-src/sys/vfs/isofs/cd9660/
H A Dcd9660_rrip.c113 char *outbuf, *inbuf, *freebuf; in cd9660_rrip_slink() local
118 outbuf = ana->outbuf; in cd9660_rrip_slink()
133 *outbuf++ = '/'; in cd9660_rrip_slink()
156 outbuf -= len; in cd9660_rrip_slink()
163 outbuf -= len; in cd9660_rrip_slink()
195 bcopy(inbuf,outbuf,wlen); in cd9660_rrip_slink()
196 outbuf += wlen; in cd9660_rrip_slink()
204 ana->outbuf = outbuf; in cd9660_rrip_slink()
219 ana->outbuf -= *ana->outlen; in cd9660_rrip_slink()
273 ana->outbuf -= *ana->outlen - wlen; in cd9660_rrip_altname()
[all …]
H A Diso_rrip.h65 char *outbuf; /* name/symbolic link output area */ member
76 char *outbuf, u_short *outlen,
79 char *outbuf, u_short *outlen,
/dflybsd-src/contrib/wpa_supplicant/src/eap_server/
H A Deap_server_pwd.c39 struct wpabuf *outbuf; member
135 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
163 wpabuf_free(data->outbuf); in eap_pwd_reset()
178 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) + in eap_pwd_build_id_req()
180 if (data->outbuf == NULL) { in eap_pwd_build_id_req()
186 wpabuf_free(data->outbuf); in eap_pwd_build_id_req()
187 data->outbuf = NULL; in eap_pwd_build_id_req()
226 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_build_id_req()
227 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC); in eap_pwd_build_id_req()
228 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF); in eap_pwd_build_id_req()
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dlto-compress.c172 unsigned char *outbuf = (unsigned char *) xmalloc (outbuf_length); in lto_end_compression() local
179 out_stream.next_out = outbuf; in lto_end_compression()
202 stream->callback ((const char *) outbuf, out_bytes, stream->opaque); in lto_end_compression()
209 out_stream.next_out = outbuf; in lto_end_compression()
221 free (outbuf); in lto_end_compression()
258 unsigned char *outbuf = (unsigned char *) xmalloc (outbuf_length); in lto_end_uncompression() local
269 in_stream.next_out = outbuf; in lto_end_uncompression()
292 stream->callback ((const char *) outbuf, out_bytes, stream->opaque); in lto_end_uncompression()
299 in_stream.next_out = outbuf; in lto_end_uncompression()
312 free (outbuf); in lto_end_uncompression()
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dlto-compress.c174 unsigned char *outbuf = (unsigned char *) xmalloc (outbuf_length); in lto_end_compression() local
183 out_stream.next_out = outbuf; in lto_end_compression()
206 stream->callback ((const char *) outbuf, out_bytes, stream->opaque); in lto_end_compression()
213 out_stream.next_out = outbuf; in lto_end_compression()
225 free (outbuf); in lto_end_compression()
263 unsigned char *outbuf = (unsigned char *) xmalloc (outbuf_length); in lto_end_uncompression() local
275 in_stream.next_out = outbuf; in lto_end_uncompression()
298 stream->callback ((const char *) outbuf, out_bytes, stream->opaque); in lto_end_uncompression()
305 in_stream.next_out = outbuf; in lto_end_uncompression()
318 free (outbuf); in lto_end_uncompression()
/dflybsd-src/contrib/wpa_supplicant/src/eap_peer/
H A Deap_pwd.c41 struct wpabuf *outbuf; member
162 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
197 wpabuf_free(data->outbuf); in eap_pwd_deinit()
335 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) + in eap_pwd_perform_id_exchange()
337 if (data->outbuf == NULL) { in eap_pwd_perform_id_exchange()
341 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_perform_id_exchange()
342 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC); in eap_pwd_perform_id_exchange()
343 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF); in eap_pwd_perform_id_exchange()
344 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange()
345 wpabuf_put_u8(data->outbuf, id->prep); in eap_pwd_perform_id_exchange()
[all …]
/dflybsd-src/usr.bin/gzip/
H A Dunbzip2.c41 static char *inbuf, *outbuf; in unbzip2() local
45 if (outbuf == NULL) in unbzip2()
46 outbuf = malloc(BUFLEN); in unbzip2()
47 if (inbuf == NULL || outbuf == NULL) in unbzip2()
81 bzs.next_out = outbuf; in unbzip2()
93 n = write(out, outbuf, BUFLEN - bzs.avail_out); in unbzip2()
/dflybsd-src/sys/sys/
H A Diconv.h161 size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
163 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype);
165 size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
167 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype);
183 char **outbuf, size_t *outbytesleft);
185 char **outbuf, size_t *outbytesleft, int casetype);
187 char **outbuf, size_t *outbytesleft);
189 char **outbuf, size_t *outbytesleft, int casetype);
/dflybsd-src/crypto/libressl/crypto/ct/
H A Dct_b64.c80 unsigned char *outbuf = NULL; in ct_base64_decode() local
88 outbuf = malloc(outlen); in ct_base64_decode()
89 if (outbuf == NULL) { in ct_base64_decode()
94 outlen = EVP_DecodeBlock(outbuf, (unsigned char *)in, inlen); in ct_base64_decode()
111 *out = outbuf; in ct_base64_decode()
114 free(outbuf); in ct_base64_decode()
/dflybsd-src/contrib/cvs-1.12/src/
H A Dbuffer.c1023 buf_copy_lines (struct buffer *outbuf, struct buffer *inbuf, int command) in buf_copy_lines() argument
1052 buf_append_char (outbuf, command); in buf_copy_lines()
1053 buf_append_char (outbuf, ' '); in buf_copy_lines()
1063 buf_append_data (outbuf, inbuf->data, data); in buf_copy_lines()
1079 buf_append_data (outbuf, nldata, nldata); in buf_copy_lines()
1083 buf_output (outbuf, nldata->bufp, len); in buf_copy_lines()
1104 buf_copy_counted (struct buffer *outbuf, struct buffer *inbuf, int *special) in buf_copy_counted() argument
1229 buf_append_data (outbuf, start, data); in buf_copy_counted()
1234 buf_output (outbuf, stop->bufp, stopwant); in buf_copy_counted()
1414 char *inbuf, *outbuf; in packetizing_buffer_input() local
[all …]
/dflybsd-src/usr.bin/banner/
H A Dbanner.c113 char outbuf[LINELEN+1], *sp, c, cc; in scan_out() local
117 strp = &outbuf[0]; in scan_out()
136 while (*--strp == BACKGND && strp >= outbuf) in scan_out()
140 write(scfd, outbuf, strp-outbuf); in scan_out()
/dflybsd-src/sys/libiconv/
H A Diconv_xlat.c80 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, in iconv_xlat_conv() argument
88 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL) in iconv_xlat_conv()
97 dst = *outbuf; in iconv_xlat_conv()
101 *outbuf += n; in iconv_xlat_conv()
/dflybsd-src/sys/dev/acpica/acpi_hp/
H A Dacpi_hp.c305 UINT8 instance, char* outbuf, size_t outsize,
900 char* outbuf, size_t outsize, UINT32* sequence, int detail) in acpi_hp_get_cmi_block() argument
914 outbuf[0] = 0; in acpi_hp_get_cmi_block()
946 strlcat(outbuf, acpi_hp_get_string_from_object( in acpi_hp_get_cmi_block()
950 while (strlen(outbuf) < outlen) in acpi_hp_get_cmi_block()
951 strlcat(outbuf, " ", outsize); in acpi_hp_get_cmi_block()
953 strlcat(outbuf, acpi_hp_get_string_from_object( in acpi_hp_get_cmi_block()
957 while (strlen(outbuf) < outlen) in acpi_hp_get_cmi_block()
958 strlcat(outbuf, " ", outsize); in acpi_hp_get_cmi_block()
959 strlcat(outbuf, acpi_hp_get_string_from_object( in acpi_hp_get_cmi_block()
[all …]
/dflybsd-src/contrib/gcc-4.7/libcpp/
H A Dcharset.c235 uchar *outbuf = *outbufp; in one_cppchar_to_utf8() local
256 *outbuf++ = *p++; in one_cppchar_to_utf8()
258 *outbufp = outbuf; in one_cppchar_to_utf8()
283 uchar *outbuf; in one_utf8_to_utf32() local
295 outbuf = *outbufp; in one_utf8_to_utf32()
296 outbuf[bigend ? 3 : 0] = (s & 0x000000FF); in one_utf8_to_utf32()
297 outbuf[bigend ? 2 : 1] = (s & 0x0000FF00) >> 8; in one_utf8_to_utf32()
298 outbuf[bigend ? 1 : 2] = (s & 0x00FF0000) >> 16; in one_utf8_to_utf32()
299 outbuf[bigend ? 0 : 3] = (s & 0xFF000000) >> 24; in one_utf8_to_utf32()
344 uchar *outbuf = *outbufp; in one_utf8_to_utf16() local
[all …]
/dflybsd-src/contrib/xz/src/liblzma/common/
H A Dstream_encoder_mt.c65 lzma_outbuf *outbuf; member
237 thr->outbuf->size = thr->block_options.header_size; in worker_encode()
250 thr->progress_out = thr->outbuf->size; in worker_encode()
279 thr->in, &in_pos, in_limit, thr->outbuf->buf, in worker_encode()
280 &thr->outbuf->size, out_size, action); in worker_encode()
281 } while (ret == LZMA_OK && thr->outbuf->size < out_size); in worker_encode()
291 thr->outbuf->buf); in worker_encode()
316 thr->outbuf->size = 0; in worker_encode()
318 thr->in, in_size, thr->outbuf->buf, in worker_encode()
319 &thr->outbuf->size, out_size); in worker_encode()
[all …]
/dflybsd-src/contrib/lvm2/dist/daemons/clvmd/
H A Drefresh_clvmd.c90 char outbuf[PIPE_BUF]; in _send_request() local
91 struct clvm_header *outheader = (struct clvm_header *) outbuf; in _send_request()
108 if ((len = read(_clvmd_sock, outbuf, sizeof(struct clvm_header))) < 0) { in _send_request()
130 memcpy(*retbuf, outbuf, len); in _send_request()
191 char outbuf[sizeof(struct clvm_header) + len + strlen(node) + 1]; in _cluster_request() local
197 struct clvm_header *head = (struct clvm_header *) outbuf; in _cluster_request()
211 status = _send_request(outbuf, sizeof(struct clvm_header) + in _cluster_request()
/dflybsd-src/contrib/gcc-8.0/libcpp/
H A Dcharset.c234 uchar *outbuf = *outbufp; in one_cppchar_to_utf8() local
255 *outbuf++ = *p++; in one_cppchar_to_utf8()
257 *outbufp = outbuf; in one_cppchar_to_utf8()
282 uchar *outbuf; in one_utf8_to_utf32() local
294 outbuf = *outbufp; in one_utf8_to_utf32()
295 outbuf[bigend ? 3 : 0] = (s & 0x000000FF); in one_utf8_to_utf32()
296 outbuf[bigend ? 2 : 1] = (s & 0x0000FF00) >> 8; in one_utf8_to_utf32()
297 outbuf[bigend ? 1 : 2] = (s & 0x00FF0000) >> 16; in one_utf8_to_utf32()
298 outbuf[bigend ? 0 : 3] = (s & 0xFF000000) >> 24; in one_utf8_to_utf32()
343 uchar *outbuf = *outbufp; in one_utf8_to_utf16() local
[all …]
/dflybsd-src/usr.bin/iconv/
H A Diconv.c76 char inbuf[INBUFSIZE], outbuf[OUTBUFSIZE], *in, *out; in do_conv() local
93 out = outbuf; in do_conv()
99 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes, in do_conv()
126 out = outbuf; in do_conv()
131 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes, stdout); in do_conv()
/dflybsd-src/lib/libc/inet/
H A Dinet_net_ntop.c160 char outbuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255/128")]; in inet_net_ntop_ipv6() local
170 cp = outbuf; in inet_net_ntop_ipv6()
242 if (cp != outbuf) in inet_net_ntop_ipv6()
251 if (strlen(outbuf) + 1 > size) in inet_net_ntop_ipv6()
253 strcpy(dst, outbuf); in inet_net_ntop_ipv6()
/dflybsd-src/sys/netgraph7/deflate/
H A Dng_deflate.c64 u_char outbuf[DEFLATE_BUF_SIZE]; /* output buffer */ member
475 priv->cx.next_out = priv->outbuf + 2 + DEFLATE_HDRLEN; in ng_deflate_compress()
503 ((u_int16_t *)priv->outbuf)[0] = htons(PROT_COMPD); in ng_deflate_compress()
504 ((u_int16_t *)priv->outbuf)[1] = htons(priv->seqnum); in ng_deflate_compress()
507 *resultp = m_devget(priv->outbuf, outlen, 0, NULL); in ng_deflate_compress()
585 priv->cx.next_out = priv->outbuf + 1; in ng_deflate_decompress()
615 if ((priv->outbuf[1] & 0x01) != 0) { in ng_deflate_decompress()
616 priv->outbuf[0] = 0; in ng_deflate_decompress()
618 *resultp = m_devget(priv->outbuf, outlen, 0, NULL); in ng_deflate_decompress()
622 *resultp = m_devget(priv->outbuf + 1, outlen, 0, NULL); in ng_deflate_decompress()
/dflybsd-src/contrib/gdb-7/bfd/
H A Dsimple.c152 bfd_byte *outbuf, in bfd_simple_get_relocated_section_contents() argument
167 contents = outbuf; in bfd_simple_get_relocated_section_contents()
200 if (outbuf == NULL) in bfd_simple_get_relocated_section_contents()
206 outbuf = data; in bfd_simple_get_relocated_section_contents()
242 outbuf, in bfd_simple_get_relocated_section_contents()
/dflybsd-src/sys/vfs/msdosfs/
H A Dmsdosfs_conv.c807 dos2unixchr(u_char *outbuf, const u_char **instr, size_t *ilen, int lower, in dos2unixchr() argument
817 outp = outbuf; in dos2unixchr()
857 char *up, *outp, unicode[3], outbuf[3]; in unix2doschr() local
900 outp = outbuf; in unix2doschr()
932 win2unixchr(u_char *outbuf, uint16_t wc, struct msdosfsmount *pmp) in win2unixchr() argument
945 outp = outbuf; in win2unixchr()
974 u_char *outp, outbuf[3]; in unix2winchr() local
982 outp = outbuf; in unix2winchr()
999 wc = (outbuf[0]<<8) | outbuf[1]; in unix2winchr()
/dflybsd-src/contrib/binutils-2.27/bfd/
H A Dsimple.c176 bfd_byte *outbuf, in bfd_simple_get_relocated_section_contents() argument
192 contents = outbuf; in bfd_simple_get_relocated_section_contents()
227 if (outbuf == NULL) in bfd_simple_get_relocated_section_contents()
237 outbuf = data; in bfd_simple_get_relocated_section_contents()
267 outbuf, in bfd_simple_get_relocated_section_contents()
/dflybsd-src/contrib/binutils-2.34/bfd/
H A Dsimple.c176 bfd_byte *outbuf, in bfd_simple_get_relocated_section_contents() argument
192 contents = outbuf; in bfd_simple_get_relocated_section_contents()
227 if (outbuf == NULL) in bfd_simple_get_relocated_section_contents()
237 outbuf = data; in bfd_simple_get_relocated_section_contents()
267 outbuf, in bfd_simple_get_relocated_section_contents()

123