Searched refs:st_size (Results 276 - 300 of 493) sorted by relevance

<<11121314151617181920

/freebsd-11-stable/libexec/rtld-elf/aarch64/
H A Dreloc.c96 size = dstsym->st_size;
/freebsd-11-stable/release/picobsd/tinyware/simple_httpd/
H A Dsimple_httpd.c335 sprintf(buff, "Content-length: %jd\r\n", (intmax_t)file_status.st_size);
/freebsd-11-stable/sbin/recoverdisk/
H A Drecoverdisk.c217 t = sb.st_size;
/freebsd-11-stable/usr.bin/diff/
H A Ddiffreg.c414 prepare(0, f1, stb1.st_size, flags);
415 prepare(1, f2, stb2.st_size, flags);
492 if ((flags & (D_EMPTY1|D_EMPTY2)) || stb1.st_size != stb2.st_size ||
/freebsd-11-stable/sys/amd64/linux/
H A Dlinux.h149 l_off_t st_size; member in struct:l_newstat
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp313 idx, st_value, st_size, st_name, st_info,
329 // Read st_value and st_size.
349 // Read st_value and st_size.
/freebsd-11-stable/contrib/gdb/gdb/
H A Dremote-fileio.c406 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;
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dls.c263 if (asprintf(&file->size, "%lu", (unsigned long)st->st_size) == -1)
387 return b->st.st_size - a->st.st_size;
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c1497 utmp = (struct utmp *)malloc((unsigned)statbf.st_size);
1500 if (statbf.st_size && utmp) {
1501 nutmp = read(f, utmp, (int)statbf.st_size);
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
H A Drcslex.c973 size_t s = status->st_size;
975 if (s != status->st_size)
1040 status->st_size = s -= bufsiz;
/freebsd-11-stable/contrib/nvi/ex/
H A Dex_tag.c1048 (map = mmap(NULL, sb.st_size, PROT_READ | PROT_WRITE,
1057 back = front + sb.st_size;
1156 done: if (munmap(map, sb.st_size))
/freebsd-11-stable/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c509 if (ftruncate(fd, sb.st_size + 1) == 0) {
540 if (ftruncate(fd, sb.st_size + 1) == 0) {
567 if (ftruncate(fd, sb.st_size) == 0) {
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c510 vp->v_size = st.st_size;
596 vap->va_size = st.st_size;
826 *size = st.st_size;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_vdev.c732 * According to stat(2), the value of 'st_size'
754 statbuf.st_size == 0 ||
755 statbuf.st_size == MAXOFFSET_T)
758 size = statbuf.st_size;
/freebsd-11-stable/contrib/xz/src/xz/
H A Dlist.c152 if (pair->src_st.st_size <= 0) {
157 if (pair->src_st.st_size < 2 * LZMA_STREAM_HEADER_SIZE) {
179 off_t pos = pair->src_st.st_size;
/freebsd-11-stable/stand/common/
H A Dmodule.c1001 st.st_size < (ssize_t)(sizeof(version) + sizeof(int)) ||
1002 st.st_size > LINKER_HINTS_MAX || (fd = open(path, O_RDONLY)) < 0) {
1011 size = st.st_size - size;
/freebsd-11-stable/sbin/fdisk/
H A Dfdisk.c516 if (sb.st_size == 0)
518 if ((mboot.bootinst_size = sb.st_size) % secsize != 0)
522 if ((mboot.bootinst = malloc(mboot.bootinst_size = sb.st_size)) == NULL)
/freebsd-11-stable/contrib/tcsh/
H A Dsh.exp.c826 i = st->st_size == 0;
836 i = stb.st_size != 0;
920 i = (tcsh_number_t) st->st_size;
H A Dtc.os.c1232 rsize = d.st_size;
1239 if (d.st_ino == rino && d.st_dev == rdev && d.st_size == rsize)
1266 dd.st_size != d.st_size);
/freebsd-11-stable/stand/libsa/zfs/
H A Dzfs.c157 if (fp->f_seekp + n > sb.st_size)
158 n = sb.st_size - fp->f_seekp;
198 fp->f_seekp = sb.st_size - offset;
/freebsd-11-stable/sys/fs/udf/
H A Dudf_vfsops.c794 udfmp->s_table = malloc(le32toh(pms->st_size),
808 le32toh(pms->st_size), &bp)) != 0) {
816 bcopy(bp->b_data, udfmp->s_table, le32toh(pms->st_size));
/freebsd-11-stable/contrib/libarchive/test_utils/
H A Dtest_main.c980 if (st.st_size == 0)
984 logprintf(" File size: %d\n", (int)st.st_size);
990 s = ((off_t)sizeof(buff) < st.st_size) ?
991 (ssize_t)sizeof(buff) : (ssize_t)st.st_size;
1013 if (st.st_size == 0) {
1646 filesize = st.st_size;
3107 p = malloc((size_t)st.st_size + 1);
3110 (long int)st.st_size, filename);
3114 bytes_read = fread(p, 1, (size_t)st.st_size, f);
3115 if (bytes_read < st.st_size) {
[all...]
/freebsd-11-stable/contrib/binutils/bfd/
H A Delfcode.h186 dst->st_size = H_GET_WORD (abfd, src->st_size);
212 H_PUT_WORD (abfd, src->st_size, dst->st_size);
1244 sym->symbol.value = isym->st_size;
/freebsd-11-stable/crypto/openssh/
H A Dsftp-client.c1236 if (st.st_size < 0) {
1240 if ((u_int64_t)st.st_size > size) {
1251 offset = highwater = st.st_size;
1616 if ((off_t)c->size >= sb.st_size) {
1660 start_progress_meter(local_path, sb.st_size,
/freebsd-11-stable/contrib/tcpdump/
H A Dtcpdump.c911 cp = malloc((u_int)buf.st_size + 1);
913 error("malloc(%d) for %s: %s", (u_int)buf.st_size + 1,
915 cc = read(fd, cp, (u_int)buf.st_size);
918 if (cc != buf.st_size)
919 error("short read %s (%d != %d)", fname, cc, (int)buf.st_size);

Completed in 204 milliseconds

<<11121314151617181920