Home
last modified time | relevance | path

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

12345678910>>...12

/external/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate03.c84 wjh_ret = ftruncate(wjh_f, 1); in main()
139 wjh_ret = ftruncate(wjh_f, trunc_size); in main()
171 wjh_ret = ftruncate(wjh_f, trunc_size); in main()
Dftruncate02.c117 TEST(ftruncate(fd, TRUNC_LEN1)); in main()
157 TEST(ftruncate(fd, TRUNC_LEN2)); in main()
Dftruncate04.c124 TEST(ftruncate(fd, offset)); in ftruncate_expect_fail()
145 TEST(ftruncate(fd, offset)); in ftruncate_expect_success()
/external/curl/src/
Dtool_cb_see.h30 #undef ftruncate
31 #define ftruncate(fd,where) tool_ftruncate64(fd,where) macro
/external/valgrind/none/tests/mips32/
Dbug320057-mips32.c24 ftruncate(fd, SZ); in main()
25 DO(ftruncate(fd, SZ)); in main()
Dbug320057-mips32.stdout.exp2 ftruncate(fd, SZ); status: Success
/external/fio/examples/
Dftruncate.fio1 # Example ftruncate engine jobs
4 ioengine=ftruncate
/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.c84 ret = ftruncate(fd_s, sysconf(_SC_PAGESIZE)); in main()
90 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/elfutils/libelf/
Delf_update.c64 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file()
124 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file()
/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c78 r = ftruncate(fd, sz); in mfd_assert_new()
436 r = ftruncate(fd, mfd_def_size / 2); in mfd_assert_shrink()
456 r = ftruncate(fd, mfd_def_size / 2); in mfd_fail_shrink()
471 r = ftruncate(fd, mfd_def_size * 2); in mfd_assert_grow()
495 r = ftruncate(fd, mfd_def_size * 2); in mfd_fail_grow()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/unistd_h/
D2-1-buildonly.c22 dummyvar = ftruncate; in dummyfcn()
/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/python/cpython3/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/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/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/strace/tests-m32/
Dftruncate64.c41 int rc = ftruncate(-1, len); in main()
Dftruncate.c43 rc = ftruncate(-1, len); in main()
/external/ImageMagick/MagickCore/
Dnt-base.h134 #if !defined(ftruncate)
135 # define ftruncate(file,length) NTTruncateFile(file,length) macro
/external/google-breakpad/src/client/
Dminidump_file_writer.cc84 if (-1 == ftruncate(file_, position_)) { in Close()
234 if (ftruncate(file_, new_size) != 0) in Allocate()

12345678910>>...12