/haiku-fatelf/src/tests/add-ons/translators/pngtranslator/ |
H A D | PNGTranslatorTest.cpp | 310 off_t filesize = -1; local 327 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 328 CPPUNIT_ASSERT(filesize == 0); 335 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 336 CPPUNIT_ASSERT(filesize == 0); 343 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 344 CPPUNIT_ASSERT(filesize == 0); 353 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 354 CPPUNIT_ASSERT(filesize == 0); 363 CPPUNIT_ASSERT(output.GetSize(&filesize) [all...] |
/haiku-fatelf/src/tests/add-ons/translators/tifftranslator/ |
H A D | TIFFTranslatorTest.cpp | 317 off_t filesize = -1; local 334 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 335 CPPUNIT_ASSERT(filesize == 0); 342 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 343 CPPUNIT_ASSERT(filesize == 0); 350 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 351 CPPUNIT_ASSERT(filesize == 0);
|
/haiku-fatelf/src/bin/network/ftp/ |
H A D | progressbar.h | 59 GLOBAL off_t filesize; /* size of file being transferred */ variable
|
H A D | progressbar.c | 102 * - Before the transfer, set filesize to size of file (or -1 if unknown), 206 if (filesize > 0) { 207 ratio = (int)((double)cursize * 100.0 / (double)filesize); 251 if (filesize > 0) { 252 if (bytes <= 0 || elapsed <= 0.0 || cursize > filesize) { 258 ((filesize - restart_point) / (bytes / elapsed) - 288 * direction to be defined by xfer routines, and filesize and bytes 341 if (siginfo && bytes > 0 && elapsed > 0.0 && filesize >= 0 342 && bytes + restart_point <= filesize) { 343 remaining = (int)((filesize [all...] |
H A D | ftp.c | 617 filesize = -1; 669 filesize = st.st_size; 748 (!progress || filesize < 0) ) { 776 if (hash && (!progress || filesize < 0) ) { 786 if (hash && (!progress || filesize < 0) && bytes > 0) { 803 while (hash && (!progress || filesize < 0) && 823 if (hash && (!progress || filesize < 0)) { 921 filesize = -1; 990 filesize = remotesize(remote, 0); 1075 (!progress || filesize < [all...] |
H A D | fetch.c | 562 filesize = -1; 579 filesize = sb.st_size; 868 filesize = STRTOLL(cp, &ep, 10); 869 if (filesize < 0 || *ep != '\0') 874 (LLT)filesize); 1097 (rangestart == -1 && filesize != -1 && filesize <= restart_point)) { 1106 filesize = entitylen;
|
/haiku-fatelf/src/preferences/network_old/ |
H A D | ConfigData.cpp | 154 off_t filesize; 155 file.GetSize(&filesize); 157 if(filesize < 1) 160 char *filestr = new char[filesize + 1]; 162 filestr[filesize + 1] = 0; 163 file.Read(filestr, filesize);
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | getcwd.c | 294 size_t filesize = dotlen + MAX (sizeof "..", name_alloc); 296 if (filesize < dotlen) 299 if (dotsize < filesize) 302 size_t newsize = MAX (filesize, dotsize * 2); 293 size_t filesize = dotlen + MAX (sizeof "..", name_alloc); local
|
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | getcwd.c | 298 size_t filesize = dotlen + MAX (sizeof "..", name_alloc); 300 if (filesize < dotlen) 303 if (dotsize < filesize) 306 size_t newsize = MAX (filesize, dotsize * 2); 297 size_t filesize = dotlen + MAX (sizeof "..", name_alloc); local
|
/haiku-fatelf/src/tests/add-ons/translators/tgatranslator/ |
H A D | TGATranslatorTest.cpp | 371 off_t filesize = -1; local 388 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 389 CPPUNIT_ASSERT(filesize == 0); 396 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 397 CPPUNIT_ASSERT(filesize == 0); 404 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 405 CPPUNIT_ASSERT(filesize == 0);
|
/haiku-fatelf/src/add-ons/media/plugins/aiff_reader/ |
H A D | aiff_reader.cpp | 79 int64 filesize = Source()->Seek(0, SEEK_END); local 80 if (filesize < 42) { 109 while (pos + sizeof(chunk_struct) <= filesize) { 152 if (pos + fDataSize + sizeof(ssnd) > filesize) 153 fDataSize = filesize - pos - sizeof(ssnd);
|
/haiku-fatelf/src/add-ons/media/plugins/au_reader/ |
H A D | au_reader.cpp | 77 int64 filesize = Source()->Seek(0, SEEK_END); local 78 if (filesize < sizeof(struct snd_header)) { 109 if (fDataStart > filesize) { 113 if (fDataStart + fDataSize > filesize) 114 fDataSize = filesize - fDataStart;
|
/haiku-fatelf/src/libs/pdflib/libs/pdflib/ |
H A D | p_pdi.c | 51 size_t filesize, 62 (void *)p, opaque, filesize, readproc, seekproc, optlist)) 48 PDF_open_pdi_callback( PDF *p, void *opaque, size_t filesize, size_t (*readproc)(void *opaque, void *buffer, size_t size), int (*seekproc)(void *opaque, long offset), const char *optlist) argument
|
/haiku-fatelf/src/tools/translation/tgainfo/ |
H A D | tgainfo.cpp | 199 off_t filesize = 0; local 200 if (file.GetSize(&filesize) == B_OK) { 203 if (file.ReadAt(filesize - TGA_FTR_LEN, tgafooter, TGA_FTR_LEN) == TGA_FTR_LEN) {
|
/haiku-fatelf/src/system/libroot/posix/glibc/locale/ |
H A D | localeinfo.h | 51 off_t filesize; /* Size of the file (and the region). */ member in struct:locale_data
|
/haiku-fatelf/src/tests/add-ons/translators/stxttranslator/ |
H A D | STXTTranslatorTest.cpp | 298 off_t filesize = -1; local 315 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 316 CPPUNIT_ASSERT(filesize == 0);
|
/haiku-fatelf/headers/private/libroot/locale/ |
H A D | LocaleBackend.h | 59 off_t filesize; member in struct:BPrivate::Libroot::LocaleNumericDataBridge::GlibcNumericLocale
|
/haiku-fatelf/src/tests/add-ons/translators/bmptranslator/ |
H A D | BMPTranslatorTest.cpp | 954 off_t filesize = -1; local 971 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 972 CPPUNIT_ASSERT(filesize == 0); 979 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 980 CPPUNIT_ASSERT(filesize == 0); 987 CPPUNIT_ASSERT(output.GetSize(&filesize) == B_OK); 988 CPPUNIT_ASSERT(filesize == 0);
|
/haiku-fatelf/src/bin/less/ |
H A D | ch.c | 490 ch_fsize = filesize(ch_file); 655 ch_fsize = filesize(ch_file);
|
H A D | funcs.h | 125 public POSITION filesize ();
|
H A D | decode.c | 671 len = filesize(f);
|
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | mach-o.h | 212 unsigned long filesize; member in struct:bfd_mach_o_segment_command
|
H A D | mach-o.c | 392 bfd_vma nbytes = seg->filesize; 1379 seg->filesize = bfd_h_get_32 (abfd, buf + 28); 1397 bfdsec->size = seg->filesize; 1440 bfd_h_put_32 (abfd, seg->filesize, buf + 28); 1452 bfd_vma nbytes = seg->filesize; 2112 unsigned long end = seg->fileoff + seg->filesize; 2148 bottom = seg->fileoff + seg->filesize - offset; 2149 top = seg->fileoff + seg->filesize - 4;
|
/haiku-fatelf/src/libs/pdflib/libs/tiff/ |
H A D | tif_dirread.c | 587 toff_t filesize = TIFFGetFileSize(tif); local 596 space = filesize - space; 610 > filesize) 612 filesize - td->td_stripoffset[i];
|
/haiku-fatelf/src/libs/tiff/ |
H A D | tif_dirread.c | 966 toff_t filesize = TIFFGetFileSize(tif); local 983 space = filesize - space; 997 td->td_stripbytecount[strip])) > filesize) 999 filesize - td->td_stripoffset[strip];
|