/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate03.c | 84 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()
|
D | ftruncate02.c | 116 TEST(ftruncate(fd, TRUNC_LEN1)); in main() 156 TEST(ftruncate(fd, TRUNC_LEN2)); in main()
|
D | ftruncate04.c | 124 TEST(ftruncate(fd, offset)); in ftruncate_expect_fail() 145 TEST(ftruncate(fd, offset)); in ftruncate_expect_success()
|
/external/curl/src/ |
D | tool_cb_see.h | 30 #undef ftruncate 31 #define ftruncate(fd,where) tool_ftruncate64(fd,where) macro
|
/external/valgrind/none/tests/mips32/ |
D | bug320057-mips32.c | 24 ftruncate(fd, SZ); in main() 25 DO(ftruncate(fd, SZ)); in main()
|
D | bug320057-mips32.stdout.exp | 2 ftruncate(fd, SZ); status: Success
|
/external/fio/examples/ |
D | ftruncate.fio | 1 # Example ftruncate engine jobs 4 ioengine=ftruncate
|
/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 | 84 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/ |
D | ltp-diorh.c | 143 assert("ftruncate", ftruncate(fd, BIGSIZE) == 0); in main() 166 assert("ftruncate", ftruncate(fd, 0) == 0); in main()
|
/external/bison/lib/ |
D | unistd.in.h | 573 # 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/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/bison/linux-lib/ |
D | unistd.h | 885 # 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/ |
D | unistd.h | 885 # 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/elfutils/libelf/ |
D | elf_update.c | 64 && 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/ |
D | memfd_test.c | 41 r = ftruncate(fd, sz); in mfd_assert_new() 393 r = ftruncate(fd, MFD_DEF_SIZE / 2); in mfd_assert_shrink() 413 r = ftruncate(fd, MFD_DEF_SIZE / 2); in mfd_fail_shrink() 428 r = ftruncate(fd, MFD_DEF_SIZE * 2); in mfd_assert_grow() 452 r = ftruncate(fd, MFD_DEF_SIZE * 2); in mfd_fail_grow()
|
/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-mx32/ |
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/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 13-1.c | 42 result = ftruncate(fd, BUF_SIZE); in main()
|
/external/strace/ |
D | truncate.c | 19 SYS_FUNC(ftruncate) in SYS_FUNC() argument
|