/haiku-fatelf/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-fatelf/src/bin/sharutils/intl/ |
H A D | loadmsgcat.c | 92 && st.st_size < (off_t) sizeof (struct mo_file_header)) 103 data = (struct mo_file_header *) mmap (NULL, st.st_size, PROT_READ, 121 data = (struct mo_file_header *) malloc (st.st_size); 125 to_read = st.st_size; 152 munmap ((caddr_t) data, st.st_size); 180 munmap ((caddr_t) data, st.st_size);
|
/haiku-fatelf/src/system/libroot/posix/unistd/ |
H A D | truncate.c | 31 stat.st_size = newSize; 45 stat.st_size = newSize;
|
/haiku-fatelf/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;
|
/haiku-fatelf/src/bin/ |
H A D | fortune.c | 123 buffer = malloc(stat.st_size + 1); 129 if (read(fd, buffer, stat.st_size) < 0) { 135 buffer[stat.st_size] = '\0'; 141 for (i = 0; i < stat.st_size - 2; i++) { 157 for (i = 0; i < stat.st_size - 2; i++) {
|
/haiku-fatelf/src/bin/gawk/posix/ |
H A D | gawkmisc.c | 135 && 0 < stb->st_size /* non-zero size */ 136 && (stb->st_size < DEFBLKSIZE /* small file */ 138 return stb->st_size; /* use file size */
|
/haiku-fatelf/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-fatelf/src/bin/coreutils/lib/ |
H A D | file-type.c | 38 return st->st_size == 0 ? _("regular empty file") : _("regular file");
|
H A D | ftruncate.c | 37 if (filebuf.st_size < length)
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/shm_open/ |
H A D | 21-1.c | 52 if(stat_buf.st_size == 0) {
|
H A D | 25-1.c | 66 if(stat_buf.st_size == 0) {
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/shm_unlink/ |
H A D | 8-1.c | 100 stat_after.st_size != stat_before.st_size ||
|
/haiku-fatelf/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) 50 buffer[stat.st_size] = '\0'; 55 file->size = stat.st_size;
|
/haiku-fatelf/src/bin/bash/lib/sh/ |
H A D | mailstat.c | 45 * st_size total number of bytes in all files 85 st_ret.st_size = 0; 138 st_ret.st_size += st_tmp.st_size;
|
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | NodeInfo.cpp | 16 visitor->Visit(this, st.st_size);
|
/haiku-fatelf/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-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/shared/ |
H A D | NodeInfo.cpp | 16 visitor->Visit(this, st.st_size);
|
/haiku-fatelf/src/tests/system/libroot/posix/ |
H A D | truncate.cpp | 36 printf("size %10Ld\n", st.st_size);
|
/haiku-fatelf/src/apps/debugger/files/ |
H A D | SourceFile.cpp | 66 if (st.st_size > kMaxSourceFileSize) { 70 size_t fileSize = st.st_size;
|
/haiku-fatelf/src/bin/gdb/include/elf/ |
H A D | external.h | 131 unsigned char st_size[4]; /* Associated symbol size */ member in struct:__anon4081 143 unsigned char st_size[8]; /* Associated symbol size */ member in struct:__anon4082
|
/haiku-fatelf/src/tests/system/boot/loader/ |
H A D | Handle.cpp | 116 if (stat.st_size == 0) { 121 return stat.st_size;
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/ |
H A D | file.c | 85 buffer[0x1c] = node->st_size & 0xff; // file size 86 buffer[0x1d] = (node->st_size >> 8) & 0xff; 87 buffer[0x1e] = (node->st_size >> 16) & 0xff; 88 buffer[0x1f] = (node->st_size >> 24) & 0xff; 162 st->st_size = node->st_size; 210 DPRINTF(0, ("setting file size to %Lx\n", st->st_size)); 214 } else if (st->st_size > MAX_FILE_SIZE) { 218 uint32 clusters = (st->st_size + vol->bytes_per_sector*vol->sectors_per_cluster - 1) / vol->bytes_per_sector / vol->sectors_per_cluster; 221 node->st_size [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/fat/ |
H A D | file.c | 111 buffer[0x1c] = node->st_size & 0xff; // file size 112 buffer[0x1d] = (node->st_size >> 8) & 0xff; 113 buffer[0x1e] = (node->st_size >> 16) & 0xff; 114 buffer[0x1f] = (node->st_size >> 24) & 0xff; 180 st->st_size = node->st_size; 181 st->st_blocks = (node->st_size + 511) / 512; 226 DPRINTF(0, ("setting file size to %Lx\n", st->st_size)); 230 } else if (st->st_size > MAX_FILE_SIZE) { 234 uint32 clusters = (st->st_size [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/FileSharing-Windows/ |
H A D | ManageQueue.cpp | 203 if (st.st_size > 1024 * 1024)
204 sprintf(buffer, "%.2f MB", (float) st.st_size / (1024.0 * 1024.0));
205 else if (st.st_size > 1024)
206 sprintf(buffer, "%d KB", st.st_size / 1024);
208 sprintf(buffer, "%d", st.st_size);
|
/haiku-fatelf/src/bin/rcs/ |
H A D | rcsfcmp.c | 180 if (!(result = xstatp->st_size!=ustat.st_size)) { 182 result = !!memcmp(xfp->base,ufp->base,(size_t)xstatp->st_size);
|