Searched refs:st_size (Results 76 - 100 of 493) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.bin/tail/
H A Dforward.c107 if (sbp->st_size < off)
108 off = sbp->st_size;
139 if (sbp->st_size >= off &&
197 if (!(size = sbp->st_size))
228 if (fseeko(fp, sbp->st_size, SEEK_SET) == -1) {
/freebsd-11-stable/bin/pax/
H A Dtar.c401 arcn->sb.st_size = (off_t)asc_ul(hd->size, sizeof(hd->size), OCT);
404 arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT);
478 arcn->pad = TAR_PAD(arcn->sb.st_size);
479 arcn->skip = arcn->sb.st_size;
611 if (ul_oct((u_long)arcn->sb.st_size, hd->size,
614 if (uqd_oct((u_quad_t)arcn->sb.st_size, hd->size,
620 arcn->pad = TAR_PAD(arcn->sb.st_size);
778 arcn->sb.st_size = (off_t)asc_ul(hd->size, sizeof(hd->size), OCT);
781 arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT);
874 arcn->pad = TAR_PAD(arcn->sb.st_size);
[all...]
H A Dbuf_subs.c607 off_t size = arcn->sb.st_size;
667 off_t size = arcn->sb.st_size;
726 if (isem && (arcn->sb.st_size > 0L))
768 if (((off_t)(arcn->sb.st_blocks * BLKMULT)) >= arcn->sb.st_size)
803 else if (cpcnt != arcn->sb.st_size)
818 if (!no_hole && isem && (arcn->sb.st_size > 0L))
H A Dar_io.c262 if ((act == APPND) && wrblksz && ((arsb.st_size%wrblksz)==0)){
270 if ((arsb.st_size % rdblksz) == 0)
330 (arsb.st_size == 0)) {
839 if ((mpos = cpos + sksz) > arsb.st_size) {
840 *skipped = arsb.st_size - cpos;
841 mpos = arsb.st_size;
/freebsd-11-stable/crypto/openssh/
H A Dauthfile.c108 st.st_size > MAX_KEY_FILE_SIZE)
115 if ((st.st_mode & S_IFREG) == 0 || st.st_size <= 0) {
116 st.st_size = 64*1024; /* 64k should be enough for anyone :) */
119 if ((r = sshbuf_allocate(blob, st.st_size)) != 0 ||
120 (dontmax && (r = sshbuf_set_max_size(blob, st.st_size)) != 0))
137 st.st_size != (off_t)sshbuf_len(blob)) {
/freebsd-11-stable/tools/regression/tmpfs/
H A Dt_create52 test ${st_size} -eq 0 || die
H A Dt_sizes87 [ ${st_size} -eq 10240 ] || die
/freebsd-11-stable/usr.sbin/uathload/
H A Duathload.c154 txdata = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fw, 0);
157 len = sb.st_size;
/freebsd-11-stable/contrib/libreadline/
H A Dhistfile.c186 file_size = (size_t)finfo.st_size;
189 if (file_size != finfo.st_size || file_size + 1 < file_size)
339 file_size = (size_t)finfo.st_size;
342 if (file_size != finfo.st_size || file_size + 1 < file_size)
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dmakeshell.c774 scan = text = AGALOC(stbf.st_size + 1, "f data");
780 size_t inct = fread(VOIDP(scan), 1, (size_t)stbf.st_size, fp);
784 stbf.st_size -= (ssize_t)inct;
786 if (stbf.st_size == 0)
/freebsd-11-stable/usr.sbin/fifolog/lib/
H A Dfifolog_create.c94 size = st.st_size;
/freebsd-11-stable/usr.sbin/fmtree/
H A Dcompare.c173 if (s->flags & F_SIZE && s->st_size != p->fts_statp->st_size &&
177 (intmax_t)s->st_size, (intmax_t)p->fts_statp->st_size);
/freebsd-11-stable/usr.bin/find/
H A Dls.c76 (void)printf("%8"PRId64" ", sb->st_size);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_stat.c305 if (sa.st_size + 1 != sb.st_size)
308 if (sb.st_size != sc.st_size)
/freebsd-11-stable/stand/i386/loader/
H A Dchain.c85 size = st.st_size;
/freebsd-11-stable/lib/libc/db/recno/
H A Drec_open.c156 if (sb.st_size == 0)
167 t->bt_msize = sb.st_size;
173 t->bt_emap = t->bt_smap + sb.st_size;
/freebsd-11-stable/sys/sys/
H A Dstat.h111 __int32_t st_size; /* file size, in bytes */ member in struct:ostat
133 off_t st_size; /* file size, in bytes */ member in struct:stat
164 off_t st_size; /* file size, in bytes */ member in struct:nstat
/freebsd-11-stable/usr.bin/split/
H A Dsplit.c324 if (chunks > sb.st_size) {
326 (int)sb.st_size);
330 bytecnt = sb.st_size / chunks;
/freebsd-11-stable/sbin/nvmecontrol/
H A Dfirmware.c94 if (sb.st_size > INT32_MAX)
96 path, (intmax_t)sb.st_size);
97 filesize = (int32_t)sb.st_size;
/freebsd-11-stable/usr.bin/gzip/
H A Dunxz.c264 if (st.st_size <= 0) {
268 if (st.st_size < 2 * LZMA_STREAM_HEADER_SIZE) {
288 off_t pos = st.st_size;
/freebsd-11-stable/contrib/elftoolchain/strings/
H A Dstrings.c256 return (handle_binary(name, pfile, buf.st_size));
262 return (handle_binary(name, pfile, buf.st_size));
273 return (handle_binary(name, pfile, buf.st_size));
/freebsd-11-stable/lib/libc/nls/
H A Dmsgcat.c420 if (st.st_size > SIZE_T_MAX) {
426 if ((data = mmap(0, (size_t)st.st_size, PROT_READ,
437 munmap(data, (size_t)st.st_size);
456 munmap(data, (size_t)st.st_size);
462 catd->__size = (int)st.st_size;
/freebsd-11-stable/contrib/gdb/gdb/
H A Dpa64solib.c154 LONGEST st_size = (LONGEST) 0; local
191 st_size += (LONGEST)bfd_section_size (abfd, sect);
212 return st_size * (LONGEST) 10;
1114 LONGEST st_size; local
1169 st_size = pa64_solib_sizeof_symbol_table (dll_path);
1173 && ( (st_size + pa64_solib_total_st_size)
1182 pa64_solib_total_st_size += st_size;
H A Dsomsolib.c212 LONGEST st_size = (LONGEST) 0; local
247 st_size += (LONGEST) bfd_section_size (abfd, sect);
252 st_size += (LONGEST) bfd_section_size (abfd, sect);
273 return st_size * (LONGEST) 10;
560 LONGEST st_size; local
626 st_size = som_solib_sizeof_symbol_table (name);
627 som_solib_total_st_size += st_size;
790 st_size = som_solib_sizeof_symbol_table (name);
795 ((st_size + som_solib_total_st_size) > (auto_solib_limit * (LONGEST) (1024 * 1024)));
813 som_solib_total_st_size += st_size;
[all...]
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dfiles.c570 if (file->st.st_size > SSIZE_MAX)
576 size = file->st.st_size;
625 buf, size, total, &file->st.st_size);
726 && f->st.st_size == file->st.st_size)
744 && ref_file->st.st_size == file->st.st_size
747 file->st.st_size);
793 buffer = cpp_push_buffer (pfile, file->buffer, file->st.st_size,
1569 f->st.st_size, resul
[all...]

Completed in 321 milliseconds

1234567891011>>