Searched refs:statbuff (Results 1 – 4 of 4) 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 | 36 struct stat statbuff; in lstat_0100() local 39 int32_t back = lstat(ptr, &statbuff); in lstat_0100() 41 EXPECT_EQ("lstat_0100", statbuff.st_size, 17); in lstat_0100() 56 struct stat statbuff; in lstat_time64_0100() local 59 int32_t back = __lstat_time64(ptr, &statbuff); in lstat_time64_0100() 61 EXPECT_EQ("lstat_0100", statbuff.st_size, 17); in lstat_time64_0100() 73 struct stat statbuff; in lstat_0200() local 74 int32_t back = lstat("test.txt", &statbuff); in lstat_0200() 92 struct stat statbuff; in lstat_0300() local 93 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()
|