Searched refs:ftruncate (Results 1 - 9 of 9) sorted by relevance

/bionic/libc/arch-arm64/syscalls/
H A Dftruncate.S5 ENTRY(ftruncate) function
14 END(ftruncate)
16 ALIAS_SYMBOL(ftruncate64, ftruncate)
/bionic/libc/arch-x86_64/syscalls/
H A Dftruncate.S5 ENTRY(ftruncate) function
15 END(ftruncate)
17 ALIAS_SYMBOL(ftruncate64, ftruncate)
/bionic/libc/arch-mips64/syscalls/
H A Dftruncate.S5 ENTRY(ftruncate) function
25 END(ftruncate)
27 ALIAS_SYMBOL(ftruncate64, ftruncate)
/bionic/libc/bionic/
H A Dftruncate.cpp25 // The kernel's implementation of ftruncate uses an unsigned long for the length
28 int ftruncate(int filedes, off_t length) { function
H A Dsystem_properties.cpp247 if (ftruncate(fd, PA_SIZE) < 0) {
/bionic/tests/
H A Dunistd_test.cpp186 TEST(UNISTD_TEST, ftruncate) {
188 ASSERT_EQ(0, ftruncate(tf.fd, 123));
209 ASSERT_EQ(-1, ftruncate(tf.fd, -123));
1045 ASSERT_EQ(0, ftruncate(tf.fd, file_size));
1068 ASSERT_EQ(0, ftruncate(tf.fd, file_size));
1079 ASSERT_EQ(0, ftruncate(tf.fd, 2*file_size));
1090 ASSERT_EQ(0, ftruncate(tf.fd, file_size));
1105 ASSERT_EQ(0, ftruncate(tf.fd, file_size));
1132 ASSERT_EQ(0, ftruncate(tf.fd, file_size));
/bionic/libc/include/
H A Dunistd.h182 int ftruncate(int __fd, off_t __length) __RENAME(ftruncate64) __INTRODUCED_IN(12);
189 int ftruncate(int __fd, off_t __length);
/bionic/tools/versioner/current/
H A Dunistd.h182 int ftruncate(int __fd, off_t __length) __RENAME(ftruncate64) __INTRODUCED_IN(12);
189 int ftruncate(int __fd, off_t __length);
/bionic/tools/relocation_packer/src/
H A Delf_file.cc961 const int truncate = ftruncate(fd_, file_bytes);

Completed in 343 milliseconds