Searched refs:st_size (Results 176 - 200 of 493) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.sbin/trim/
H A Dtrim.c187 return (sb.st_size);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h226 elf_xword st_size; ///< Size of the symbol or zero. member in struct:elf::ELFSymbol
/freebsd-11-stable/usr.bin/gzip/
H A Dgzip.c1342 infile_set(file, isb.st_size);
1412 if (osb.st_size != size) {
1414 outfile, (uintmax_t)osb.st_size, (uintmax_t)size);
1470 in_size = isb.st_size;
1735 if (osb.st_size != size) {
1737 (uintmax_t)size, (uintmax_t)osb.st_size);
1843 in_size = isb.st_size;
1954 infile_set("(stdout)", sb.st_size);
2038 infile_set(file, sbp->st_size);
2047 gsize = sbp->st_size;
[all...]
/freebsd-11-stable/contrib/binutils/binutils/
H A Dbucomm.c387 (long) buf.st_size, timebuf);
528 return statbuf.st_size;
/freebsd-11-stable/usr.bin/finger/
H A Dlprint.c305 sb.st_size == 0)
309 if (sb.st_size <= (off_t)(LINE_LEN - strlen(header) - 5)) {
/freebsd-11-stable/sys/contrib/cloudabi/
H A Dcloudabi_types_common.h403 _Alignas(8) cloudabi_filesize_t st_size; member in struct:__anon5550
412 _Static_assert(offsetof(cloudabi_filestat_t, st_size) == 24, "Incorrect layout");
/freebsd-11-stable/usr.bin/patch/
H A Dinp.c176 if ((uint64_t)filestat.st_size > SIZE_MAX) {
180 i_size = (size_t)filestat.st_size;
/freebsd-11-stable/usr.sbin/fmtree/
H A Dspecspec.c69 printf(" size=%jd", (intmax_t)n->st_size);
149 if (FF(n1, n2, F_SIZE, st_size))
/freebsd-11-stable/contrib/mtree/
H A Dspecspec.c78 printf(" size=%jd", (intmax_t)n->st_size);
162 if (FF(n1, n2, F_SIZE, st_size))
H A Dspec.c373 (uintmax_t)cur->st_size);
510 REPLACE(st_size);
626 ip->st_size = (off_t)strtoll(val, &ep, 10);
/freebsd-11-stable/usr.bin/xinstall/
H A Dxinstall.c647 dres, to_sb.st_size);
818 files_match = to_sb.st_size == 0;
821 (size_t)from_sb.st_size, to_fd,
822 to_name, (size_t)to_sb.st_size, &digestresult));
849 tempcopy ? tempfile : to_name, from_sb.st_size);
885 if (compare(temp_fd, tempfile, (size_t)temp_sb.st_size, to_fd,
886 to_name, (size_t)to_sb.st_size, &digestresult)
1032 metadata_log(to_name, "file", tsb, NULL, digestresult, to_sb.st_size);
/freebsd-11-stable/crypto/openssh/
H A Dscp.c785 if (stb.st_size < 0) {
815 (long long)stb.st_size, last);
829 start_progress_meter(curfile, stb.st_size, &statbytes);
831 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) {
833 if (i + (off_t)amt > stb.st_size)
834 amt = stb.st_size - i;
/freebsd-11-stable/usr.bin/ar/
H A Dacpyacc.y340 if ((p = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, ifd,
345 for (buf = p, bytes = sb.st_size; bytes > 0; bytes -= w) {
352 if (munmap(p, sb.st_size) < 0)
/freebsd-11-stable/contrib/ntp/scripts/monitoring/
H A Dntploopwatch632 local($st_dev,$st_ino,$st_mtime,$st_size,$name,$key,$modified);
636 ($st_dev,$st_ino,$st_size,$st_mtime) =
655 if (!defined($F_size{$key}) || $F_size{$key} != $st_size)
657 $F_size{$key} = $st_size;
668 print " size: $st_size; mtime: $st_mtime;\n"
692 ($st_size > 4*$RecordSize) ? $st_size - 4*$RecordSize : 0,
/freebsd-11-stable/contrib/diff/src/
H A Ddiff.c1126 cmp.file[f].stat.st_size =
1127 MAX (0, cmp.file[f].stat.st_size - pos);
1150 && cmp.file[f].stat.st_size == 0)
1278 && cmp.file[0].stat.st_size != cmp.file[1].stat.st_size)
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_disk_entry_from_file.c256 size_t linkbuffer_len = st->st_size;
392 buff = malloc(copyfile_stat.st_size);
399 if (copyfile_stat.st_size != read(tempfd, buff, copyfile_stat.st_size)) {
405 archive_entry_copy_mac_metadata(entry, buff, copyfile_stat.st_size);
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dmain.c839 if (st.st_size == 0)
843 logprintf(" File size: %d\n", (int)st.st_size);
849 s = ((off_t)sizeof(buff) < st.st_size) ?
850 (ssize_t)sizeof(buff) : (ssize_t)st.st_size;
872 if (st.st_size == 0) {
1503 filesize = st.st_size;
2270 p = malloc((size_t)st.st_size + 1);
2273 (long int)st.st_size, filename);
2277 bytes_read = fread(p, 1, (size_t)st.st_size, f);
2278 if (bytes_read < st.st_size) {
[all...]
/freebsd-11-stable/sys/compat/cloudabi/
H A Dcloudabi_file.c546 .st_size = sb->st_size,
629 return (kern_ftruncate(td, uap->fd, fs.st_size));
/freebsd-11-stable/usr.sbin/config/
H A Dmain.c613 if (!changed && from_sb.st_size != to_sb.st_size)
616 tsize = (size_t)from_sb.st_size;
/freebsd-11-stable/contrib/telnet/telnetd/
H A Dtelnetd.c924 if (fstat(if_fd, &statbuf) != -1 && statbuf.st_size > 0) {
925 if_buf = (char *) mmap (0, statbuf.st_size,
929 munmap(if_buf, statbuf.st_size);
/freebsd-11-stable/sys/amd64/linux32/
H A Dlinux.h191 l_ulong st_size; member in struct:l_newstat
209 l_long st_size; member in struct:l_stat
229 l_longlong st_size; member in struct:l_stat64
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Dsymbols.c194 0, /* st_size */
578 add_to_symtab(ecp, name, sym.st_value, sym.st_size,
626 sym.st_size = 0;
633 add_to_symtab(ecp, NULL, sym.st_value, sym.st_size,
874 uint64_t st_size, uint16_t st_shndx, unsigned char st_info,
907 sy_buf->B##SZ[sy_buf->n##B##s].st_size = st_size; \
873 add_to_symtab(struct elfcopy *ecp, const char *name, uint64_t st_value, uint64_t st_size, uint16_t st_shndx, unsigned char st_info, unsigned char st_other, int ndx_known) argument
/freebsd-11-stable/contrib/binutils/bfd/
H A Dppcboot.c173 if ((size_t) statbuf.st_size < sizeof (ppcboot_hdr_t))
216 sec->size = statbuf.st_size - sizeof (ppcboot_hdr_t);
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c962 st.st_size = 0;
1010 st.st_size = -1;
1020 st.st_size = -1;
1058 dout = dataconn(name, st.st_size, "w");
1380 && st.st_size > 0) {
1384 chunk = mmap(0, st.st_size, PROT_READ,
1387 cnt = st.st_size - restart_point;
1389 if (munmap(chunk, st.st_size) < 0)
/freebsd-11-stable/tools/regression/sockets/sendfile/
H A Dsendfile.c286 length = st.st_size - test.offset;
326 length = sb.st_size - test.offset;

Completed in 177 milliseconds

1234567891011>>