/macosx-10.10/libarchive-30/libarchive/contrib/shar/ |
H A D | shar.c | 132 if (S_ISREG(st->st_mode) && st->st_size > 0) { 153 if (!S_ISREG(st->st_mode) || st->st_size == 0)
|
/macosx-10.10/libarchive-30/libarchive/libarchive/test/ |
H A D | test_write_disk_sparse.c | 80 assertEqualInt(st.st_size, 8 * buff_size); 176 assertEqualInt(st.st_size, 8 * buff_size);
|
H A D | main.c | 604 if (st.st_size == 0) 608 logprintf(" File size: %d\n", (int)st.st_size); 614 s = ((off_t)sizeof(buff) < st.st_size) ? 615 (ssize_t)sizeof(buff) : (ssize_t)st.st_size; 642 if (st.st_size == 0) { 1098 filesize = st.st_size; 1511 p = malloc((size_t)st.st_size + 1); 1514 (long int)st.st_size, filename); 1518 bytes_read = fread(p, 1, (size_t)st.st_size, f); 1519 if (bytes_read < st.st_size) { [all...] |
/macosx-10.10/libstdcxx-104.1/src/ |
H A D | basic_file.cc | 366 const streamoff __off = __buffer.st_size - lseek64(this->fd(), 0, 374 return __buffer.st_size - lseek(this->fd(), 0, ios_base::cur);
|
/macosx-10.10/libutil-38/ |
H A D | wipefs.cpp | 157 numBlocks = sbuf.st_size / sbuf.st_blksize; 158 totalSizeInBytes = sbuf.st_size;
|
/macosx-10.10/man-16/man/src/ |
H A D | util.c | 67 if (fa_stat != 0 || fa_sb.st_size == 0) 71 if (fb_stat != 0 || fb_sb.st_size == 0)
|
/macosx-10.10/text_cmds-88/wc/ |
H A D | wc.c | 221 (void)printf(" %7lld", (long long)sb.st_size); 222 tcharct += sb.st_size;
|
/macosx-10.10/xnu-2782.1.97/SETUP/setsegname/ |
H A D | setsegname.c | 77 if (0 == stat_buf.st_size) { 82 *objSize = stat_buf.st_size;
|
/macosx-10.10/IOKitUser-1050.1.21/ |
H A D | IOCFURLAccess.c | 318 UInt64 length = statBuf.st_size; 327 SInt64 length = statBuf.st_size; 509 if (statBuf.st_size == 0) { 514 if ((maxLength >= statBuf.st_size) || (maxLength == 0)) { 515 desiredLength = statBuf.st_size;
|
/macosx-10.10/bind9-45.101/bind9/bin/tests/dst/ |
H A D | t_dst.c | 564 buf = (char *) malloc((sb.st_size + 1) * sizeof(unsigned char)); 577 len = sb.st_size; 595 len = sb.st_size; 656 data = (unsigned char *) malloc(sb.st_size * sizeof(char)); 672 len = sb.st_size; 706 isc_buffer_init(&databuf, data, sb.st_size); 707 isc_buffer_add(&databuf, sb.st_size);
|
/macosx-10.10/dtrace-147/libdtrace/ |
H A D | dt_pid.c | 128 (symp->st_size - 1) * sizeof (ftp->ftps_offs[0])); 183 if (off >= symp->st_size) { 231 * Due to 4524008, _init and _fini may have a bloated st_size. 260 if (symp->st_size == 0) { 261 dt_dprintf("st_size of %s is zero\n", func); 267 symp->st_size != pp->dpp_last.st_size) { 336 sym.st_size = Pstatus(pp->dpp_pr)->pr_dmodel == 357 sym.st_shndx == SHN_UNDEF || sym.st_size == 0)
|
/macosx-10.10/gnutar-453/gnutar/src/ |
H A D | list.c | 366 info->stat.st_size = 0; /* links 0 size on tape */ 368 info->stat.st_size = OFF_FROM_HEADER (header->header.size); 381 size_t name_size = info->stat.st_size; 387 if (name_size != info->stat.st_size || size < name_size) 657 stat_info->archive_file_size = stat_info->stat.st_size; 1236 /* st->stat.st_size keeps stored file size */ 1237 strcpy (size, STRINGIFY_BIGINT (st->stat.st_size, uintbuf)); 1381 skip_file (current_stat_info.stat.st_size);
|
/macosx-10.10/libarchive-30/libarchive/libarchive/ |
H A D | archive_windows.c | 95 uint64_t st_size; member in struct:ustat 826 st->st_size = 0; 832 st->st_size = avail; 834 st->st_size = 0; 881 st->st_size = 915 st->st_size = us->st_size;
|
/macosx-10.10/file_cmds-242/pax/ |
H A D | pax_format.c | 929 arcn->sb.st_size = (off_t)asc_ul(hd->size, sizeof(hd->size), OCT); 931 arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT); 1015 arcn->pad = TAR_PAD(arcn->sb.st_size); 1016 arcn->skip = arcn->sb.st_size; 1027 arcn->pad = TAR_PAD(arcn->sb.st_size); 1028 arcn->skip = arcn->sb.st_size; 1421 arcn->pad = TAR_PAD(arcn->sb.st_size); 1423 if (ul_oct((u_long)arcn->sb.st_size, hd->size, 1426 if (uqd_oct((u_quad_t)arcn->sb.st_size, hd->size,
|
/macosx-10.10/objc4-646/ |
H A D | markgc.c | 411 if ((sizeof(size_t) == 4) && ((size_t)statb.st_size > SIZE_T_MAX)) { 412 printf("couldn't malloc %llu bytes\n", statb.st_size); 416 FileSize = (size_t)statb.st_size;
|
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | auth2.c | 120 if (st.st_size <= 0 || st.st_size > 1*1024*1024) { 125 len = (size_t)st.st_size; /* truncate */
|
/macosx-10.10/cups-408/cups/scheduler/ |
H A D | cups-driverd.cxx | 629 next = cupsFileTell(fp) + ((curinfo.st_size + TAR_BLOCK - 1) & 644 for (total = 0; total < curinfo.st_size; total += bytes) 646 if ((size_t)(bytes = (curinfo.st_size - total)) > sizeof(buffer)) 2273 ppd = add_ppd(name, name, lang_version, manufacturer, make_model, device_id, (char *)cupsArrayFirst(products), (char *)cupsArrayFirst(psversions), fileinfo->st_mtime, (size_t)fileinfo->st_size, model_number, type, scheme); 2290 ppd->record.size = fileinfo->st_size; 2487 ppd->record.size == dent->fileinfo.st_size && 2541 dent->fileinfo.st_size); 2544 dent->fileinfo.st_size); 2599 (((size_t)fileinfo.st_size - sizeof(ppdsync)) % sizeof(ppd_rec_t)) == 0 && 2600 (num_ppds = ((size_t)fileinfo.st_size [all...] |
/macosx-10.10/curl-83.1.2/curl/lib/ |
H A D | file.c | 351 data->state.resume_from = (curl_off_t)file_stat.st_size; 450 expected_size = statbuf.st_size; 517 data->state.resume_from += (curl_off_t)statbuf.st_size;
|
/macosx-10.10/gnudiff-19/diffutils/src/ |
H A D | cmp.c | 337 off_t s0 = stat_buf[0].st_size - file_position (0); 338 off_t s1 = stat_buf[1].st_size - file_position (1); 400 off_t file_bytes = stat_buf[f].st_size - file_position (f);
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/sfio/ |
H A D | sfsetbuf.c | 53 int st_size; member in struct:stat 244 if(S_ISDIR(st.st_mode) || (Sfoff_t)st.st_size < (Sfoff_t)SF_GRAIN) 263 { f->extent = (Sfoff_t)st.st_size;
|
/macosx-10.10/libarchive-30/libarchive/cpio/test/ |
H A D | main.c | 608 if (st.st_size == 0) 612 logprintf(" File size: %d\n", (int)st.st_size); 618 s = ((off_t)sizeof(buff) < st.st_size) ? 619 (ssize_t)sizeof(buff) : (ssize_t)st.st_size; 646 if (st.st_size == 0) { 1108 filesize = st.st_size; 1521 p = malloc((size_t)st.st_size + 1); 1524 (long int)st.st_size, filename); 1528 bytes_read = fread(p, 1, (size_t)st.st_size, f); 1529 if (bytes_read < st.st_size) { [all...] |
/macosx-10.10/libarchive-30/libarchive/tar/test/ |
H A D | main.c | 609 if (st.st_size == 0) 613 logprintf(" File size: %d\n", (int)st.st_size); 619 s = ((off_t)sizeof(buff) < st.st_size) ? 620 (ssize_t)sizeof(buff) : (ssize_t)st.st_size; 647 if (st.st_size == 0) { 1204 filesize = st.st_size; 1617 p = malloc((size_t)st.st_size + 1); 1620 (long int)st.st_size, filename); 1624 bytes_read = fread(p, 1, (size_t)st.st_size, f); 1625 if (bytes_read < st.st_size) { [all...] |
/macosx-10.10/mail_cmds-30/mail/ |
H A D | quit.c | 115 if (fstat(fileno(fbuf), &minfo) >= 0 && minfo.st_size > mailsize) { 127 p = minfo.st_size - mailsize; 430 if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
|
/macosx-10.10/system_cmds-643.1.1/iosim.tproj/ |
H A D | iosim.c | 266 if (filestat.st_size < io_size) { 267 printf("%s: File size (%lld) smaller than I/O size (%d)!\n", test_filename, filestat.st_size, io_size); 288 if (lseek(fd, (rand() % (filestat.st_size - io_size)) & PG_MASK, SEEK_SET) < 0) {
|
/macosx-10.10/text_cmds-88/sort/ |
H A D | system.h | 254 ((statbuf).st_size / ST_NBLOCKSIZE + ((statbuf).st_size % ST_NBLOCKSIZE != 0)) 259 ? st_blocks ((statbuf).st_size) : 0)
|