Home
last modified time | relevance | path

Searched refs:filebuf (Results 1 – 25 of 37) sorted by relevance

12

/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dftruncate.c53 struct stat filebuf; in ftruncate() local
55 if (fstat (fd, &filebuf) < 0) in ftruncate()
58 if (filebuf.st_size < length) in ftruncate()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dftruncate.c53 struct stat filebuf; in ftruncate() local
55 if (fstat (fd, &filebuf) < 0) in ftruncate()
58 if (filebuf.st_size < length) in ftruncate()
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dftruncate.c36 struct stat filebuf; in ftruncate() local
38 if (fstat (fd, &filebuf) < 0) in ftruncate()
41 if (filebuf.st_size < length) in ftruncate()
/netbsd-src/lib/libc/gen/
H A Dgetgrent.c343 char filebuf[_GETGR_R_SIZE_MAX], *ep; in __grscan_files() local
362 while (fgets(filebuf, (int)sizeof(filebuf), state->fp) != NULL) { in __grscan_files()
363 ep = strchr(filebuf, '\n'); in __grscan_files()
373 if (filebuf[0] == '+') /* skip compat line */ in __grscan_files()
377 if (! _gr_parse(filebuf, grp, buffer, buflen)) { in __grscan_files()
1356 char filebuf[_GETGR_R_SIZE_MAX], *ep; in __grscan_compat() local
1406 &cgrp, filebuf, sizeof(filebuf), &cgrpres); in __grscan_compat()
1417 &cretval, &cgrp, filebuf, in __grscan_compat()
1418 sizeof(filebuf), &cgrpres); in __grscan_compat()
1425 &cgrp, filebuf, sizeof(filebuf), &cgrpres); in __grscan_compat()
[all …]
/netbsd-src/usr.bin/netstat/
H A Dunix.c145 char *filebuf; in unixpr() local
210 filebuf = (char *)kvm_getfiles(get_kvmd(), KERN_FILE, in unixpr()
212 if (filebuf == 0) { in unixpr()
217 file = (struct file *)(filebuf + sizeof(fp)); in unixpr()
/netbsd-src/distrib/utils/ssh/
H A Dssh.c85 int find_in_path(char *cmd, char *filebuf);
535 find_in_path(char *cmd, char *filebuf) in find_in_path() argument
542 bufp = filebuf; in find_in_path()
547 if (access(filebuf, X_OK) == 0) in find_in_path()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-199956 * testsuite/27_io/filebuf.cc: Revisions.
57 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
59 * testsuite/27_io/filebuf-3.tst: Correct.
96 * bits/fstream.tcc (filebuf::underflow): Simplify.
101 * testsuite/27_io/filebuf.cc: Tweak.
173 * testsuite/27_io/filebuf.cc: Tweaks.
219 * bits/fstream.tcc (filebuf::underflow): Re-sync
304 * bits/std_fstream.h (filebuf::open): Tweak.
305 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
386 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
[all …]
H A DChangeLog-2002617 * include/bits/fstream.tcc (filebuf::open): Set input pointers.
1769 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1997 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
1998 (filebuf::_M_underflow_common(bool)): Remove generic version, as
2009 * testsuite/27_io/filebuf.cc: ...here.
2018 * testsuite/27_io/filebuf.cc: Same.
2041 * testsuite/27_io/filebuf.cc: Same.
3082 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
3150 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
3152 (filebuf::_M_destroy_internal_buffer): Same.
[all …]
H A DChangeLog-2001197 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
879 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1138 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1139 * testsuite/27_io/filebuf.cc (test07): New test.
2340 * testsuite/27_io/filebuf.cc: Likewise.
3665 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3667 (filebuf::_M_filebuf_init): Change to
3668 (filebuf::_M_allocate_file): Which is what it does now.
3669 (filebuf::_M_allocate_bufers): Change to
3670 (filebuf::_M_allocate_internal_buffer): This, and create
[all …]
H A DChangeLog-199833 Remove unused _IO_* members, possibly put into filebuf, which may
42 filebuf.
365 * bits/std_fstream.h: Add some filebuf members.
741 flags _S_fd_in etc. for special filebuf ctor.
H A DChangeLog-20002814 wofstream, filebuf, wfilebuf, fstream, wfstream.
3077 * testsuite/27_io/filebuf.cc: Tweaks.
3078 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
3133 * src/Makefile.am (sources): Add filebuf.cc.
3311 * testsuite/27_io/filebuf.cc: Tweak.
3314 filebuf dtor.
3321 * bits/fstream.tcc (filebuf::close()): Revert.
3322 (filebuf::basic_filebuf()): Revert.
3381 filebuf ctor.
3562 * testsuite/27_io/filebuf.cc: Changed calls to
[all …]
H A DChangeLog-20033959 from here to filebuf and stringbuf.
4242 is now used only for filebuf, when _M_buf_unified is true.
5030 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
5065 that upon filebuf::close() 27.8.1.1,3 is enforced.
6256 * testsuite/27_io/filebuf.cc,
8482 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Diosfwd66 typedef basic_filebuf<char> filebuf;
171 typedef basic_filebuf<char> filebuf;
213 class _LIBCPP_PREFERRED_NAME(filebuf) _LIBCPP_PREFERRED_NAME(wfilebuf) basic_filebuf;
H A Dfstream63 typedef basic_filebuf<char> filebuf;
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dserver.h118 unsigned char *checksum, struct buffer *filebuf);
H A Dserver.c1631 char *filebuf; in receive_file() local
1634 filebuf = xmalloc (size); in receive_file()
1635 p = filebuf; in receive_file()
1672 if (filebuf != NULL) in receive_file()
1678 if (filebuf == NULL) in receive_file()
1684 if (gunzip_and_write (fd, file, (unsigned char *) filebuf, size)) in receive_file()
1690 free (filebuf); in receive_file()
4990 struct buffer *filebuf) in server_updated() argument
5020 if (filebuf != NULL) in server_updated()
5022 size = buf_length (filebuf); in server_updated()
[all …]
H A Dclient.c1675 char *filebuf; in update_entries() local
1686 filebuf = NULL; in update_entries()
1691 &filebuf, &filebufsize, &nread); in update_entries()
1697 if (! rcs_change_text (short_pathname, filebuf, nread, buf, size, in update_entries()
1739 free (filebuf); in update_entries()
H A Drcs.c5780 char *filebuf; in cmp_file_buffer() local
5787 filebuf = xmalloc (len > CMP_BUF_SIZE ? CMP_BUF_SIZE : len); in cmp_file_buffer()
5794 if (fread (filebuf, 1, checklen, data->fp) != checklen) in cmp_file_buffer()
5800 free (filebuf); in cmp_file_buffer()
5804 if (memcmp (filebuf, buffer, checklen) != 0) in cmp_file_buffer()
5807 free (filebuf); in cmp_file_buffer()
5815 free (filebuf); in cmp_file_buffer()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/scripts/
H A Drun_doxygen435 istringstream ostringstream stringstream filebuf ifstream \
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/scripts/
H A Drun_doxygen400 istringstream ostringstream stringstream filebuf ifstream \
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Diosfwd159 typedef basic_filebuf<char> filebuf;
H A Dfstream120 /// Place to stash in || out || in | out settings for current filebuf.
596 * The file is closed by the filebuf object, not the formatting
859 * The file is closed by the filebuf object, not the formatting
1115 * The file is closed by the filebuf object, not the formatting
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dfstream125 /// Place to stash in || out || in | out settings for current filebuf.
601 * The file is closed by the filebuf object, not the formatting
864 * The file is closed by the filebuf object, not the formatting
1120 * The file is closed by the filebuf object, not the formatting
H A Diosfwd159 typedef basic_filebuf<char> filebuf;
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Dcontrib.texi871 large file support in C++ filebuf.

12