Home
last modified time | relevance | path

Searched refs:ftruncate (Results 1 – 25 of 93) sorted by relevance

1234

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
Dftruncate.c8 int ftruncate(int fd, off_t length) { in ftruncate() function
/external/bison/lib/
Dunistd.in.h573 # undef ftruncate
574 # define ftruncate rpl_ftruncate
576 _GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length));
577 _GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length));
580 _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length));
582 _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length));
584 _GL_CXXALIASWARN (ftruncate);
586 # undef ftruncate
588 _GL_WARN_ON_USE (ftruncate, "ftruncate is unportable - "
/external/elfutils/libelf/
Delf_update.c84 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file()
126 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file()
/external/bison/darwin-lib/
Dunistd.h885 # undef ftruncate
886 # define ftruncate rpl_ftruncate
888 _GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length));
889 _GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length));
892 _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length));
894 _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length));
896 _GL_CXXALIASWARN (ftruncate);
898 # undef ftruncate
900 _GL_WARN_ON_USE (ftruncate, "ftruncate is unportable - "
/external/bison/linux-lib/
Dunistd.h885 # undef ftruncate
886 # define ftruncate rpl_ftruncate
888 _GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length));
889 _GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length));
892 _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length));
894 _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length));
896 _GL_CXXALIASWARN (ftruncate);
898 # undef ftruncate
900 _GL_WARN_ON_USE (ftruncate, "ftruncate is unportable - "
/external/libffi/src/
Dclosures.c368 if (ftruncate (execfd, offset + length)) in dlmmap_locked()
383 ftruncate (execfd, offset); in dlmmap_locked()
395 ftruncate (execfd, offset); in dlmmap_locked()
/external/openssh/openbsd-compat/
Dxmmap.c74 if (ftruncate(tmpfd, size) != 0) in xmmap()
Dbsd-misc.c127 ret = ftruncate(fd, length); in truncate()
/external/oprofile/libdb/
Ddb_manage.c77 if (ftruncate(data->fd, new_file_size)) in odb_grow_hashtable()
225 if (ftruncate(data->fd, file_size)) { in odb_open()
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
Dsunos4.h149 extern int ftruncate(int, off_t);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dfuse.h103 int (*ftruncate)(const char* path, off_t, struct fuse_file_info*); member
Dkernel_wrap_newlib.cc69 OP(dev_fdio, ftruncate); \
151 int WRAP(ftruncate)(int fd, off_t length) { in WRAP() argument
Dmount_fuse.cc301 if (!fuse_ops_->ftruncate) in FTruncate()
304 int result = fuse_ops_->ftruncate(path_.c_str(), length, &info_); in FTruncate()
/external/valgrind/main/none/tests/amd64/
Dfaultstatus.c109 ftruncate(fd, FILESIZE); in main()
/external/valgrind/main/none/tests/x86/
Dfaultstatus.c127 ftruncate(fd, FILESIZE); in main()
/external/e2fsprogs/tests/progs/
Drandom_exercise.c110 ftruncate(fd, size); in truncate_file()
/external/valgrind/main/none/tests/
Dfaultstatus.c148 ftruncate(fd, FILESIZE);
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dkernel_proxy_mock.h33 MOCK_METHOD2(ftruncate, int(int, off_t));
/external/libpcap/lbl/
Dos-sunos4.h89 int ftruncate(int, off_t);
/external/tcpdump/lbl/
Dos-sunos4.h89 int ftruncate(int, off_t);
/external/chromium_org/third_party/sqlite/src/test/
Dsysfault.test142 test_syscall install {open ftruncate close read pread pread64 write fallocate}
163 test_syscall errno ftruncate EINTR
/external/dhcpcd/
Dcommon.c245 if (ftruncate(fd, (off_t)0) == -1) in writepid()
/external/chromium/base/
Dplatform_file_posix.cc158 return ((file >= 0) && !HANDLE_EINTR(ftruncate(file, length))); in TruncatePlatformFile()
/external/chromium_org/net/base/
Dfile_stream_context_posix.cc138 if (ftruncate(file_, bytes) != 0) { in Truncate()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dmemfs_malloc.cc176 int ret = ftruncate(hugetlb_fd_, hugetlb_base_ + size + extra); in AllocInternal()

1234