Searched refs:statbuff (Results 1 – 5 of 5) sorted by relevance
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
D | mmap.c | 43 struct stat statbuff; in mmap_0100() local 47 int back = stat(ptr, &statbuff); in mmap_0100() 52 start = mmap(NULL, statbuff.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in mmap_0100() 56 mm = munmap(start, statbuff.st_size); in mmap_0100() 80 struct stat statbuff; in mmap_0200() local 86 int back = stat(ptr, &statbuff); in mmap_0200() 90 start = mmap(NULL, statbuff.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in mmap_0200() 94 mm = munmap(start, statbuff.st_size); in mmap_0200() 134 struct stat statbuff; in mmap_0400() local 140 int back = stat(ptr, &statbuff); in mmap_0400() [all …]
|
D | munmap.c | 32 struct stat statbuff; in munmap_0100() local
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
D | lstat.c | 39 struct stat statbuff; in lstat_0100() local 42 int32_t back = lstat(ptr, &statbuff); in lstat_0100() 44 EXPECT_EQ("lstat_0100", statbuff.st_size, 17); in lstat_0100() 61 struct stat statbuff; in lstat_time64_0100() local 64 int32_t back = __lstat_time64(ptr, &statbuff); in lstat_time64_0100() 66 EXPECT_EQ("lstat_0100", statbuff.st_size, 17); in lstat_time64_0100() 78 struct stat statbuff; in lstat_0200() local 79 int32_t back = lstat(STR_TEST_TXT, &statbuff); in lstat_0200() 100 struct stat statbuff; in lstat_0300() local 101 int32_t back = lstat(ptrlink, &statbuff); in lstat_0300() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | ftruncate.c | 35 struct stat statbuff; in ftruncate_0100() local 39 stat(ptr, &statbuff); in ftruncate_0100() 40 EXPECT_EQ("ftruncate_0100", statbuff.st_size, FILE_ZERO); in ftruncate_0100() 57 struct stat statbuff; in ftruncate_0200() local 61 stat(ptr, &statbuff); in ftruncate_0200() 62 EXPECT_EQ("ftruncate_0200", (int)statbuff.st_size, FILE_FIRST); in ftruncate_0200() 78 struct stat statbuff; in ftruncate_0300() local 82 stat(ptr, &statbuff); in ftruncate_0300() 83 EXPECT_EQ("ftruncate_0300", (int)statbuff.st_size, FILE_SECOND); in ftruncate_0300()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/ |
D | unistd_ftruncate64_test.cpp | 28 struct stat statbuff; variable 29 EXPECT_EQ(0, stat("test.txt", &statbuff)); 30 EXPECT_EQ(SIZE_1024, statbuff.st_size);
|