Home
last modified time | relevance | path

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

12345678910>>...13

/external/curl/src/
Dtool_cb_see.h30 #undef ftruncate
31 #define ftruncate(fd,where) tool_ftruncate64(fd,where) macro
/external/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate01.c66 TEST(ftruncate(fd, TRUNC_LEN1)); in verify_ftruncate()
75 TEST(ftruncate(fd, TRUNC_LEN2)); in verify_ftruncate()
Dftruncate04.c46 TEST(ftruncate(fd, offset)); in ftruncate_expect_fail()
67 TEST(ftruncate(fd, offset)); in ftruncate_expect_success()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap09.c75 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/
D16-1.c82 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/
Dltp-diorh.c143 assert("ftruncate", ftruncate(fd, BIGSIZE) == 0); in main()
166 assert("ftruncate", ftruncate(fd, 0) == 0); in main()
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_rewrite_test.c107 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/
D2-1-buildonly.c22 dummyvar = ftruncate; in dummyfcn()
/external/elfutils/libelf/
Delf_update.c64 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file()
142 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file()
/external/strace/tests-m32/
Dftruncate64.c41 int rc = ftruncate(-1, len); in main()
Dftruncate.c43 rc = ftruncate(-1, len); in main()
/external/strace/tests/
Dftruncate64.c41 int rc = ftruncate(-1, len); in main()
Dftruncate.c43 rc = ftruncate(-1, len); in main()
/external/strace/tests-mx32/
Dftruncate64.c41 int rc = ftruncate(-1, len); in main()
Dftruncate.c43 rc = ftruncate(-1, len); in main()
/external/perfetto/src/tracing/ipc/
Dposix_shared_memory_unittest.cc75 ASSERT_EQ(0, ftruncate(fd_num, base::kPageSize)); in TEST()
97 ASSERT_EQ(0, ftruncate(fd_num, base::kPageSize)); in TEST()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D13-1.c37 result = ftruncate(fd, BUF_SIZE); in main()
D20-2.c45 result = ftruncate(fd, BUF_SIZE); in main()
D20-1.c45 result = ftruncate(fd, BUF_SIZE); in main()
/external/strace/
Dtruncate.c19 SYS_FUNC(ftruncate) in SYS_FUNC() argument
/external/python/cpython2/Modules/_ctypes/libffi/src/
Dclosures.c445 if (ftruncate (execfd, offset + length)) in dlmmap_locked()
460 ftruncate (execfd, offset); in dlmmap_locked()
472 ftruncate (execfd, offset); in dlmmap_locked()
/external/libffi/src/
Dclosures.c473 if (ftruncate (execfd, offset + length)) in dlmmap_locked()
488 ftruncate (execfd, offset); in dlmmap_locked()
500 ftruncate (execfd, offset); in dlmmap_locked()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
D3-1.c37 if (ftruncate(fd, BUF_SIZE) != 0) { in main()
/external/crosvm/seccomp/x86_64/
Dblock_device.policy11 ftruncate: 1
/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c48 r = ftruncate(fd, sz); in mfd_assert_new()
475 r = ftruncate(fd, mfd_def_size / 2); in mfd_assert_shrink()
495 r = ftruncate(fd, mfd_def_size / 2); in mfd_fail_shrink()
510 r = ftruncate(fd, mfd_def_size * 2); in mfd_assert_grow()
534 r = ftruncate(fd, mfd_def_size * 2); in mfd_fail_grow()

12345678910>>...13