Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dftruncate.cpp28 int ftruncate(int filedes, off_t length) { in ftruncate() function
/bionic/tests/
Dunistd_test.cpp196 TEST(UNISTD_TEST, ftruncate) { in TEST() argument
198 ASSERT_EQ(0, ftruncate(tf.fd, 123)); in TEST()
219 ASSERT_EQ(-1, ftruncate(tf.fd, -123)); in TEST()
1261 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST()
1284 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST()
1295 ASSERT_EQ(0, ftruncate(tf.fd, 2*file_size)); in TEST()
1306 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST()
1321 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST()
1348 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST()
/bionic/libc/include/
Dunistd.h321 int ftruncate(int __fd, off_t __length) __RENAME(ftruncate64);
327 int ftruncate(int __fd, off_t __length);
/bionic/benchmarks/
Dsyscall_mm_benchmark.cpp114 if (area_size > 0 && ftruncate(tf.fd, area_size)) { in MmapFileBenchmark()
399 if (params.size > 0 && ftruncate(tf.fd, params.size)) { in MprotectBenchmarkWithMmapFile()
/bionic/libc/system_properties/
Dprop_area.cpp91 if (ftruncate(fd, PA_SIZE) < 0) { in map_prop_area_rw()
/bionic/tests/headers/posix/
Dunistd_h.c336 FUNCTION(ftruncate, int (*f)(int, off_t)); in unistd_h()
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_074.S486 CALL(ftruncate)
Dliblinker_reloc_bench_006.S704 CALL(ftruncate)
Dliblinker_reloc_bench_003.S1231 CALL(ftruncate)
Dliblinker_reloc_bench_070.S2291 DATA_WORD(ftruncate)
Dliblinker_reloc_bench_012.S2125 CALL(ftruncate)
Dliblinker_reloc_bench_001.S4187 CALL(ftruncate)
/bionic/libc/
DSYSCALLS.TXT185 # (ftruncate only gets two lines because 32-bit bionic only uses the 64-bit call.)
187 int ftruncate|ftruncate64(int, off_t) lp64
Dlibc.map.txt401 ftruncate;
DAndroid.bp840 "bionic/ftruncate.cpp",
/bionic/libc/tools/
Dposix-2013.txt311 ftruncate
/bionic/tools/versioner/platforms/
Dlibc.map.txt401 ftruncate;