/freebsd-11-stable/gnu/usr.bin/rcs/lib/ |
H A D | rcsfcmp.c | 176 if (!(result = xstatp->st_size!=ustat.st_size)) { 178 result = !!memcmp(xfp->base,ufp->base,(size_t)xstatp->st_size);
|
/freebsd-11-stable/tools/tools/zfsboottest/ |
H A D | zfsboottest.c | 187 n = sb.st_size - off; 198 } while (off < sb.st_size); 199 if (off < sb.st_size)
|
/freebsd-11-stable/tests/sys/posixshm/ |
H A D | posixshm_test.c | 326 ATF_REQUIRE_MSG(sb.st_size == 1024, "size %d != 1024", (int)sb.st_size); 334 ATF_REQUIRE_MSG(sb.st_size == 0, 335 "size was not 0 after truncation: %d", (int)sb.st_size); 381 if (sb.st_size != pagesize) 383 (int)sb.st_size, pagesize); 402 if (sb.st_size != pagesize * 2) 404 (int)sb.st_size, pagesize * 2); 424 if (sb.st_size != pagesize) 426 (int)sb.st_size, pagesiz [all...] |
/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | gelf_sym.c | 85 dst->st_size = (Elf64_Xword) sym32->st_size; 151 LIBELF_COPY_U32(sym32, gs, st_size);
|
/freebsd-11-stable/contrib/file/src/ |
H A D | is_json.c | 458 if ((p = malloc(st.st_size)) == NULL) 460 (intmax_t)st.st_size); 461 if (read(fd, p, st.st_size) != st.st_size) 463 (intmax_t)st.st_size); 466 p + st.st_size, stats, 0));
|
/freebsd-11-stable/contrib/binutils/gas/config/ |
H A D | obj-elf.h | 106 (elf_symbol (symbol_get_bfdsym (S))->internal_elf_sym.st_size) 110 (elf_symbol (symbol_get_bfdsym (S))->internal_elf_sym.st_size = (V))
|
/freebsd-11-stable/contrib/opie/libopie/ |
H A D | logwtmp.c | 161 ftruncate(fd, buf.st_size); 193 ftruncate(fdx, buf.st_size);
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | mkostemp_test.c | 99 st1.st_nlink != 1 || st1.st_size != 0) { 106 st2.st_nlink != 1 || st2.st_size != 0) {
|
/freebsd-11-stable/libexec/rtld-elf/ |
H A D | debug.c | 40 " symbol name r_info r_offset st_value st_size address value\n" 118 (u_long)sym->st_value, (int)sym->st_size, 140 (u_long)sym->st_value, (int)sym->st_size,
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | getusershell.c | 157 if ((strings = malloc((u_int)statb.st_size)) == NULL) { 161 shells = calloc((unsigned)statb.st_size / 3, sizeof (char *));
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_truncate.c | 71 if (sizes[i] != (size_t)st.st_size) 131 if (sizes[i] != (size_t)st.st_size)
|
H A D | t_mincore.c | 178 addr = mmap(NULL, (size_t)st.st_size, PROT_READ, 185 npgs = st.st_size / page; 187 if (st.st_size % page != 0) 195 ATF_REQUIRE(munmap(addr, st.st_size) == 0);
|
/freebsd-11-stable/contrib/expat/tests/benchmark/ |
H A D | benchmark.c | 99 XMLBuf = malloc(fileAttr.st_size); 100 fileSize = fread(XMLBuf, sizeof(char), fileAttr.st_size, fd);
|
/freebsd-11-stable/usr.bin/look/ |
H A D | look.c | 150 if ((uintmax_t)sb.st_size > (uintmax_t)SIZE_T_MAX) 152 if (sb.st_size == 0) { 156 if ((front = mmap(NULL, (size_t)sb.st_size, PROT_READ, MAP_SHARED, fd, (off_t)0)) == MAP_FAILED) 158 back = front + sb.st_size;
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_stat.h | 47 ibcs2_off_t st_size; member in struct:ibcs2_stat
|
H A D | ibcs2_stat.c | 73 if (st->st_size < (quad_t)1 << 32) 74 st4->st_size = (ibcs2_off_t)st->st_size; 76 st4->st_size = -2;
|
/freebsd-11-stable/usr.sbin/fmtree/ |
H A D | mtree.h | 44 off_t st_size; /* size */ member in struct:_node
|
/freebsd-11-stable/contrib/dtc/ |
H A D | fstree.c | 63 st.st_size));
|
/freebsd-11-stable/crypto/openssh/ |
H A D | sftp-common.c | 73 a->size = st->st_size; 91 st->st_size = a->size; 250 fmt_scaled((long long)st->st_size, sbuf); 257 (unsigned long long)st->st_size, tbuf, name);
|
/freebsd-11-stable/stand/efi/boot1/ |
H A D | zfs_module.c | 188 if ((status = BS->AllocatePool(EfiLoaderData, (UINTN)st.st_size, &buf)) 191 "(%lu)\n", (intmax_t)st.st_size, spa->spa_name, filepath, EFI_ERROR_CODE(status)); 195 if ((err = dnode_read(spa, &dn, 0, buf, st.st_size)) != 0) { 202 *bufsize = st.st_size;
|
/freebsd-11-stable/usr.bin/fetch/ |
H A D | fetch.c | 553 sb.st_size = -1; 557 url->offset = sb.st_size; 560 * Whatever value sb.st_size has now is either 564 sb.st_size = -1; 618 if (sb.st_size != -1) 620 (intmax_t)sb.st_size, (long)sb.st_mtime); 630 } else if (r_flag && sb.st_size != -1) { 641 } else if (url->offset > sb.st_size) { 648 if (us.size == sb.st_size) 651 if (sb.st_size > u [all...] |
/freebsd-11-stable/usr.bin/grep/ |
H A D | file.c | 288 if ((fstat(f->fd, &st) == -1) || (st.st_size > OFF_MAX) || 296 fsiz = st.st_size; 302 bufrem = st.st_size; 304 madvise(buffer, st.st_size, MADV_SEQUENTIAL);
|
/freebsd-11-stable/bin/cp/ |
H A D | utils.c | 164 if (S_ISREG(fs->st_mode) && fs->st_size > 0 && 165 fs->st_size <= 8 * 1024 * 1024 && 166 (p = mmap(NULL, (size_t)fs->st_size, PROT_READ, 169 for (bufp = p, wresid = fs->st_size; ; 180 cp_pct(wtotal, fs->st_size)); 190 if (munmap(p, fs->st_size) < 0) { 225 cp_pct(wtotal, fs->st_size));
|
/freebsd-11-stable/usr.sbin/acpi/acpidb/ |
H A D | acpidb.c | 402 code = mmap(NULL, (size_t)sb.st_size, PROT_READ, MAP_PRIVATE, fd, (off_t)0); 409 munmap(code, (size_t)sb.st_size); 422 dummy_dsdt_table.Length = sizeof(ACPI_TABLE_HEADER) + sb.st_size; 426 munmap(code, (size_t)sb.st_size); 432 munmap(code, (size_t)sb.st_size); 437 write(fd, code, sb.st_size); 440 munmap(code, (size_t)sb.st_size);
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | nlist.c | 119 if ((_fstat(fd, &st) < 0) || (st.st_size < sizeof(struct exec))) 123 if (st.st_size > SIZE_T_MAX) { 139 a_out_mmap = mmap(NULL, (size_t)st.st_size, PROT_READ, MAP_PRIVATE, fd, (off_t)0); 145 munmap(a_out_mmap, (size_t)st.st_size); 195 munmap(a_out_mmap, (size_t)st.st_size);
|