Home
last modified time | relevance | path

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

123

/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/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/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/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/valgrind/main/none/tests/x86/
Dfaultstatus.c127 ftruncate(fd, FILESIZE); in main()
/external/valgrind/main/none/tests/amd64/
Dfaultstatus.c109 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/tcpdump/lbl/
Dos-sunos4.h89 int ftruncate(int, off_t);
/external/libpcap/lbl/
Dos-sunos4.h89 int ftruncate(int, off_t);
/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()
Dshared_memory_posix.cc145 if (HANDLE_EINTR(ftruncate(fileno(fp), size)) != 0) in CreateNamed()
/external/webkit/Source/WebKit2/Platform/unix/
DSharedMemoryUnix.cpp131 while (ftruncate(fileDescriptor, size) == -1) { in create()
/external/chromium/chrome/browser/chromeos/
Dexternal_metrics.cc206 result = ftruncate(fd, 0); in CollectEvents()
/external/webkit/Source/WebCore/platform/posix/
DFileSystemPOSIX.cpp117 return !ftruncate(handle, offset); in truncateFile()
/external/iproute2/misc/
Dnstat.c571 ftruncate(fileno(hist_fp), 0); in main()
615 ftruncate(fileno(hist_fp), 0); in main()
/external/stressapptest/
Dconfigure.ac135 AC_CHECK_FUNCS([ftruncate gettimeofday memset munmap select socket strtol strtoull])
/external/qemu/block/
Dcow.c274 ret = ftruncate(cow_fd, sizeof(cow_header) + ((image_sectors + 7) >> 3)); in cow_create()
/external/chromium/net/disk_cache/
Dfile_posix.cc259 return 0 == ftruncate(platform_file_, length); in SetLength()
/external/protobuf/
Dconfig.h.in24 /* Define to 1 if you have the `ftruncate' function. */

123