Home
last modified time | relevance | path

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

/bionic/libc/arch-arm64/syscalls/
Dftruncate.S5 ENTRY(ftruncate)
14 END(ftruncate)
16 ALIAS_SYMBOL(ftruncate64, ftruncate)
/bionic/libc/arch-x86_64/syscalls/
Dftruncate.S5 ENTRY(ftruncate)
15 END(ftruncate)
17 ALIAS_SYMBOL(ftruncate64, ftruncate)
/bionic/libc/arch-mips64/syscalls/
Dftruncate.S5 ENTRY(ftruncate)
25 END(ftruncate)
27 ALIAS_SYMBOL(ftruncate64, ftruncate)
/bionic/libc/bionic/
Dftruncate.cpp28 int ftruncate(int filedes, off_t length) { in ftruncate() function
Dsystem_properties.cpp260 if (ftruncate(fd, PA_SIZE) < 0) { in map_prop_area_rw()
/bionic/tests/
Dunistd_test.cpp174 TEST(UNISTD_TEST, ftruncate) { in TEST() argument
176 ASSERT_EQ(0, ftruncate(tf.fd, 123)); in TEST()
197 ASSERT_EQ(-1, ftruncate(tf.fd, -123)); in TEST()
872 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST()
895 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST()
906 ASSERT_EQ(0, ftruncate(tf.fd, 2*file_size)); in TEST()
917 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST()
932 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST()
959 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST()
/bionic/libc/include/
Dunistd.h183 extern int ftruncate(int __fd, off_t __length) __RENAME(ftruncate64);
189 extern int ftruncate(int __fd, off_t __length);
/bionic/libc/
Dlibc.mips64.map335 ftruncate;
Dlibc.x86_64.map335 ftruncate;
Dlibc.arm64.map335 ftruncate;
Dlibc.x86.brillo.map402 ftruncate;
Dlibc.mips.brillo.map404 ftruncate;
Dlibc.arm.brillo.map406 ftruncate;
Dlibc.mips.map404 ftruncate;
Dlibc.x86.map402 ftruncate;
Dlibc.arm.map406 ftruncate;
Dlibc.map.txt408 ftruncate;
DSYSCALLS.TXT164 int ftruncate|ftruncate64(int, off_t) arm64,mips64,x86_64
DAndroid.mk141 bionic/ftruncate.cpp \
DAndroid.bp1323 "bionic/ftruncate.cpp",
/bionic/libc/tools/
Dposix-2013.txt311 ftruncate
/bionic/tools/relocation_packer/src/
Delf_file.cc961 const int truncate = ftruncate(fd_, file_bytes); in Flush()