/haiku-fatelf/src/system/kernel/vm/ |
H A D | VMAnonymousCache.cpp | 1295 if (st.st_size < B_PAGE_SIZE) { 1321 uint32 pageCount = st.st_size >> PAGE_SHIFT; 1582 existingSwapSize = existingSwapStat.st_size; 1600 stat.st_size = swapSize;
|
/haiku-fatelf/src/apps/debugger/elf/ |
H A D | ElfFile.cpp | 144 fFileSize = st.st_size;
|
/haiku-fatelf/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 915 char* buff = (char*)malloc((size_t)st.st_size + 1); 918 buff[(size_t)st.st_size] = '\0'; 920 if (fortunes.Read(buff, (size_t)st.st_size) == (ssize_t)st.st_size) {
|
/haiku-fatelf/src/add-ons/kernel/file_systems/exfat/ |
H A D | Volume.cpp | 181 *_size = stat.st_size;
|
/haiku-fatelf/src/add-ons/kernel/file_systems/layers/log_overlay/ |
H A D | log_overlay.cpp | 342 stat->st_size); 629 stat->st_gid, stat->st_size, stat->st_type); 957 stat->st_mode, stat->st_uid, stat->st_gid, stat->st_size,
|
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/ |
H A D | kernel_interface.cpp | 335 st->st_size = node->FileSize(); 342 st->st_blocks = (st->st_size + 511) / 512; 975 stat->st_size = index->CountEntries();
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | dd.c | 1299 if (S_ISREG (st.st_mode) && st.st_size < (input_offset + offset)) 1304 records = ( offset - st.st_size ) / blocksize; 1305 offset = st.st_size - input_offset;
|
H A D | od.c | 986 /* The st_size field is valid only for regular files 991 when st_size is 0, because some kernels report that 992 nonempty files in /proc have st_size == 0. */ 993 if (S_ISREG (file_stats.st_mode) && 0 < file_stats.st_size) 995 if ((uintmax_t) file_stats.st_size < n_skip) 996 n_skip -= file_stats.st_size;
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | remote-fileio.c | 406 remote_fileio_to_fio_ulong ((LONGEST) st->st_size, fst->fst_size); 414 remote_fileio_to_fio_ulong (((LONGEST) st->st_size + st->st_blksize - 1) 1135 st.st_size = 0;
|
/haiku-fatelf/src/bin/gzip/ |
H A D | gzip.c | 747 ifile_size = istat.st_size; 1424 && stat1->st_size == stat2->st_size
|
/haiku-fatelf/src/bin/network/atftpd/ |
H A D | tftpd_file.c | 504 opt_set_tsize(file_stat.st_size, data->tftp_options); 505 logger(LOG_INFO, "tsize option -> %d", file_stat.st_size); 563 if ((file_stat.st_size / (data->data_buffer_size - 4)) > 65535)
|
/haiku-fatelf/src/bin/rcs/ |
H A D | rcslex.c | 977 size_t s = status->st_size; 979 if (s != status->st_size) 1048 status->st_size = s -= bufsiz;
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/udf/r5/ |
H A D | udf.cpp | 305 PRINT((" st_size: %Ld\n", stat.st_size)); 307 deviceSize = stat.st_size / 2048; 565 st->st_size = icb->Length();
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/ |
H A D | fs_func.c | 804 stbuf->st_size = ni->data_size; 810 stbuf->st_size = ni->data_size; 820 stbuf->st_size = na->data_size; 891 TRACE("fs_wstat: setting file size to %Lx\n", st->st_size); 902 ntfs_attr_truncate(na, st->st_size);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/ |
H A D | kernel_interface.cpp | 689 st->st_size = node->GetSize(); 717 error = node->SetSize(st->st_size); 1756 st->st_size = attribute->GetSize(); 1991 st->st_size = index->GetKeyLength(); 1993 st->st_size = kMaxIndexKeyLength;
|
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | elfcode.h | 184 dst->st_size = H_GET_WORD (abfd, src->st_size); 209 H_PUT_WORD (abfd, src->st_size, dst->st_size); 1126 sym->symbol.value = isym->st_size;
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/bt_fs/ |
H A D | btClient.c | 668 st->st_size = btRPCGetInt64(packet);
685 btRPCPutInt64(packet, (int64) st->st_size);
951 if (filePos >= st.st_size)
954 while (filePos < st.st_size && bytesRead < len && error == B_OK)
1278 btRPCPutArg(outPacket, B_INT32_TYPE, &st->st_size, sizeof(int32));
|
H A D | nfs_add_on.c | 784 (*cookie)->original_size = st.st_size; 897 (*cookie)->original_size = st.st_size; 921 (*cookie)->original_size = st.st_size;
|
/haiku-fatelf/src/tests/system/kernel/file_corruption/fs/ |
H A D | checksumfs.cpp | 1414 st->st_size = node->Size(); 1421 st->st_blocks = 1 + (st->st_size + B_PAGE_SIZE - 1) / B_PAGE_SIZE; 1452 if ((statMask & B_STAT_SIZE) != 0 && (uint64)st->st_size != node->Size()) { 1456 error = node->Resize(st->st_size, true, transaction); 2111 st->st_size = cookie->attribute->Size();
|
/haiku-fatelf/src/tools/docbook/libxml2/ |
H A D | xmllint.c | 1808 base = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd, 0) ; 1812 reader = xmlReaderForMemory(base, info.st_size, filename, 1951 munmap((char *) base, info.st_size); 2194 base = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd, 0) ; 2199 doc = xmlReadMemory((char *) base, info.st_size, 2202 doc = xmlCtxtReadMemory(rectxt, (char *) base, info.st_size, 2205 munmap((char *) base, info.st_size);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/nfs/ |
H A D | nfs_add_on.c | 658 st->st_size=XDRInPacketGetInt32(reply); 1457 (*cookie)->original_size = st.st_size; 1557 if (pos >= st.st_size) 1662 XDROutPacketAddInt32(&call, (mask & WSTAT_SIZE) ? st->st_size : -1); 1757 (*cookie)->original_size=st.st_size; 1838 (*cookie)->original_size = st.st_size;
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | fts.c | 284 /* Overload the fts_statp->st_size member (otherwise unused, when 291 p->fts_statp->st_size = (required 965 if (p->fts_statp->st_size == FTS_STAT_REQUIRED) 988 fts_assert (p->fts_statp->st_size == FTS_NO_STAT_REQUIRED);
|
/haiku-fatelf/src/build/libroot/ |
H A D | fs.cpp | 929 if (ftruncate(realFD, st->st_size) < 0) 959 if (truncate(realPath.c_str(), st->st_size) < 0) 1462 st.st_size = newSize;
|
/haiku-fatelf/src/add-ons/kernel/debugger/hangman/ |
H A D | hangman.c | 133 sz = (size_t)st.st_size;
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 601 stat->st_size = inode->Size(); 631 if ((mask & B_STAT_SIZE) != 0 && inode->Size() != stat->st_size) { 640 (long)inode->Size(), (long)stat->st_size); 644 status_t status = inode->Resize(transaction, stat->st_size);
|