/haiku/src/system/libroot/posix/glibc/include/bits/ |
H A D | stat.h | 46 __off_t st_size; /* Size of file, in bytes. */ 48 __off64_t st_size; /* Size of file, in bytes. */ 96 __off64_t st_size; /* Size of file, in bytes. */
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | truncate.c | 24 stat.st_size = newSize; 38 stat.st_size = newSize;
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | MetadataCache.cpp | 43 st->st_size = fStatCache.st_size; 78 off_t oldSize = fStatCache.st_size; 79 fStatCache.st_size = max_c((off_t)newSize, fStatCache.st_size); 81 if (oldSize != fStatCache.st_size) { 159 if (oldStat->st_size != newStat->st_size)
|
/haiku/src/bin/network/ftpd/ |
H A D | md5hl.c | 64 if (ofs > stbuf.st_size) 65 ofs = stbuf.st_size; 66 if ((len == 0) || (len > stbuf.st_size - ofs)) 67 len = stbuf.st_size - ofs;
|
H A D | logwtmp.c | 93 (void)ftruncate(fd, buf.st_size);
|
/haiku/src/bin/ |
H A D | fortune.c | 124 buffer = malloc(stat.st_size + 1); 130 if (read(fd, buffer, stat.st_size) < 0) { 137 buffer[stat.st_size] = '\0'; 143 for (i = 0; i < stat.st_size - 2; i++) { 160 for (i = 0; i < stat.st_size - 2; i++) {
|
/haiku/headers/posix/compat/sys/ |
H A D | stat.h | 25 off_t st_size; /* size in bytes of this file */ member in struct:stat_beos
|
/haiku/src/system/boot/loader/ |
H A D | load_driver_settings.cpp | 36 char* buffer = (char*)kernel_args_malloc(stat.st_size + 1); 40 if (read(fd, buffer, stat.st_size) != stat.st_size) { 52 buffer[stat.st_size] = '\0'; 57 file->size = stat.st_size;
|
/haiku/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | NodeInfo.cpp | 16 visitor->Visit(this, st.st_size);
|
/haiku/src/system/libroot/posix/sys/ |
H A D | stat.c | 80 beosStat->st_size = stat->st_size; 102 stat->st_size = beosStat->st_size;
|
/haiku/src/kits/debugger/files/ |
H A D | SourceFile.cpp | 66 if (st.st_size > kMaxSourceFileSize) { 70 size_t fileSize = st.st_size;
|
/haiku/src/tests/system/boot/loader/ |
H A D | Handle.cpp | 116 if (stat.st_size == 0) { 121 return stat.st_size;
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | file.cpp | 138 buffer[0x1c] = node->st_size & 0xff; // file size 139 buffer[0x1d] = (node->st_size >> 8) & 0xff; 140 buffer[0x1e] = (node->st_size >> 16) & 0xff; 141 buffer[0x1f] = (node->st_size >> 24) & 0xff; 200 st->st_size = node->st_size; 201 st->st_blocks = (node->st_size + 511) / 512; 246 DPRINTF(0, ("setting file size to %" B_PRIdOFF "\n", st->st_size)); 250 } else if (st->st_size > MAX_FILE_SIZE) { 254 uint32 clusters = (st->st_size [all...] |
H A D | dir.cpp | 515 < dir->st_size) { 519 dir->st_size = clusters * vol->bytes_per_sector 659 dir->st_size, last_entry ? "" : "n't")); 662 if (*ne * 0x20 >= dir->st_size) { 677 " clusters\n", dir->st_size / vol->bytes_per_sector 684 dir->st_size = vol->bytes_per_sector*vol->sectors_per_cluster*clusters_needed; 902 info.size = node->st_size; 1003 entry->st_size = info.size; 1006 entry->st_size = count_clusters(vol,entry->cluster) 1011 (entry->st_size [all...] |
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | fileops.c | 611 && S_ISREG (st.st_mode) && st.st_size != 0 613 && (sizeof (ptrdiff_t) > 4 || st.st_size < 1*1024*1024)) 617 if (ROUNDED (st.st_size) < ROUNDED (fp->_IO_buf_end 621 (void) __munmap (fp->_IO_buf_base + ROUNDED (st.st_size), 623 - ROUNDED (st.st_size)); 624 fp->_IO_buf_end = fp->_IO_buf_base + st.st_size; 626 else if (ROUNDED (st.st_size) > ROUNDED (fp->_IO_buf_end 634 ROUNDED (st.st_size), MREMAP_MAYMOVE); 645 p = _G_MMAP64 (NULL, st.st_size, PROT_READ, MAP_SHARED, 648 p = __mmap (NULL, st.st_size, PROT_REA [all...] |
/haiku/src/tests/kits/storage/ |
H A D | BasicTest.h | 63 && st1.st_size == st2.st_size
|
H A D | BasicTest.cpp | 78 printf(" st_size : %lld\n", st.st_size);
|
/haiku/src/tests/system/libroot/posix/ |
H A D | truncate.cpp | 37 printf("size %10Ld\n", st.st_size);
|
H A D | fseek_test.cpp | 324 } else if (ftello(fp) != st1.st_size) { 325 printf("%d: fstat st_size %zd ftello %zd\n", __LINE__, 326 (size_t) st1.st_size, (size_t) ftello(fp)); 346 } else if (ftello(fp) != st1.st_size) { 347 printf("%d: fstat st_size %zd ftello %zd\n", __LINE__, 348 (size_t) st1.st_size, (size_t) ftello(fp));
|
/haiku/src/system/libroot/os/ |
H A D | fs_index.c | 46 indexInfo->size = stat.st_size;
|
/haiku/src/apps/haikudepot/server/ |
H A D | PopulatePkgSizesProcess.cpp | 100 return s.st_size;
|
/haiku/src/kits/storage/ |
H A D | FileDescriptorIO.cpp | 92 *size = st.st_size;
|
H A D | FdIO.cpp | 120 *_size = st.st_size;
|
/haiku/src/add-ons/kernel/file_systems/shared/ |
H A D | DeviceOpener.cpp | 121 *_size = stat.st_size;
|
/haiku/src/tools/anyboot/ |
H A D | anyboot.cpp | 240 off_t isoSize = stat.st_size; 256 efiSize = stat.st_size; 264 off_t imageSize = stat.st_size;
|