/external/curl/src/ |
D | tool_cb_see.h | 30 #undef ftruncate 31 #define ftruncate(fd,where) tool_ftruncate64(fd,where) macro
|
/external/google-breakpad/src/client/ |
D | minidump_file_writer.cc | 70 int result = ftruncate(file, offset); in CheckNeedsFTruncateWorkAround() 129 if (!NeedsFTruncateWorkAround() && ftruncate(file_, position_)) { in Close() 133 if (ftruncate(file_, position_)) { in Close() 298 if (ftruncate(file_, new_size) != 0) in Allocate()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate01.c | 66 TEST(ftruncate(fd, TRUNC_LEN1)); in verify_ftruncate() 75 TEST(ftruncate(fd, TRUNC_LEN2)); in verify_ftruncate()
|
D | ftruncate04.c | 46 TEST(ftruncate(fd, offset)); in ftruncate_expect_fail() 67 TEST(ftruncate(fd, offset)); in ftruncate_expect_success()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap09.c | 75 TEST(ftruncate(fd, TC[i].newsize)); in main() 102 if (ftruncate(fd, mapsize) < 0) in setup()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 16-1.c | 82 ret = ftruncate(fd_s, sysconf(_SC_PAGESIZE)); in main() 88 ret = ftruncate(fd_ns, sysconf(_SC_PAGESIZE)); in main()
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | ltp-diorh.c | 143 assert("ftruncate", ftruncate(fd, BIGSIZE) == 0); in main() 166 assert("ftruncate", ftruncate(fd, 0) == 0); in main()
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_rewrite_test.c | 107 show_result(ftruncate(fd, 0)); in stage_rewrite_test() 151 show_result(ftruncate(fd, 0)); in stage_rewrite_test()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/unistd_h/ |
D | 2-1-buildonly.c | 22 dummyvar = ftruncate; in dummyfcn()
|
/external/strace/tests/ |
D | ftruncate64.c | 41 int rc = ftruncate(-1, len); in main()
|
D | ftruncate.c | 43 rc = ftruncate(-1, len); in main()
|
/external/strace/tests-m32/ |
D | ftruncate64.c | 41 int rc = ftruncate(-1, len); in main()
|
D | ftruncate.c | 43 rc = ftruncate(-1, len); in main()
|
/external/strace/tests-mx32/ |
D | ftruncate64.c | 41 int rc = ftruncate(-1, len); in main()
|
D | ftruncate.c | 43 rc = ftruncate(-1, len); in main()
|
/external/elfutils/libelf/ |
D | elf_update.c | 64 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 142 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file()
|
/external/erofs-utils/lib/ |
D | io.c | 89 ret = ftruncate(fd, 0); in dev_open() 220 return ftruncate(erofs_devfd, length); in dev_resize()
|
/external/perfetto/src/tracing/ipc/ |
D | posix_shared_memory_unittest.cc | 79 ASSERT_EQ(0, ftruncate(fd_num, static_cast<off_t>(base::GetSysPageSize()))); in TEST() 101 ASSERT_EQ(0, ftruncate(fd_num, static_cast<off_t>(base::GetSysPageSize()))); in TEST()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 13-1.c | 37 result = ftruncate(fd, BUF_SIZE); in main()
|
D | 20-2.c | 45 result = ftruncate(fd, BUF_SIZE); in main()
|
D | 20-1.c | 45 result = ftruncate(fd, BUF_SIZE); in main()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/ |
D | asan-sigbus.cpp | 41 assert(ftruncate(fd, 0) == 0); in main()
|
/external/strace/ |
D | truncate.c | 19 SYS_FUNC(ftruncate) in SYS_FUNC() argument
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
D | 3-1.c | 37 if (ftruncate(fd, BUF_SIZE) != 0) { in main()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | closures.c | 445 if (ftruncate (execfd, offset + length)) in dlmmap_locked() 460 ftruncate (execfd, offset); in dlmmap_locked() 472 ftruncate (execfd, offset); in dlmmap_locked()
|