/glibc-2.36/sysdeps/mach/hurd/ |
D | statconv.c | 27 && sizeof buf->st_size == sizeof buf64->st_size in stat64_conv() 43 buf->st_size = buf64->st_size; in stat64_conv() 54 || (sizeof buf->st_size != sizeof buf64->st_size in stat64_conv() 55 && buf->st_size != buf64->st_size) in stat64_conv()
|
/glibc-2.36/sysdeps/unix/sysv/linux/mips/ |
D | xstatconv.c | 57 buf->st_size = kbuf->st_size; in __xstat_conv() 59 if (buf->st_size != kbuf->st_size) in __xstat_conv() 113 buf->st_size = kbuf->st_size; in __xstat64_conv() 166 buf->st_size = kbuf->st_size; in __xstat32_conv() 168 if (buf->st_size != kbuf->st_size) in __xstat32_conv()
|
/glibc-2.36/elf/ |
D | readlib.c | 108 if ((size_t) statbuf.st_size < sizeof (struct exec) in process_file() 109 || (size_t) statbuf.st_size < sizeof (ElfW(Ehdr))) in process_file() 111 if (statbuf.st_size == 0) in process_file() 116 size_t n = MIN (statbuf.st_size, SELFMAG); in process_file() 124 file_contents = mmap (0, statbuf.st_size, PROT_READ, MAP_SHARED, in process_file() 163 size_t len = MIN (statbuf.st_size, 512); in process_file() 175 file_contents, statbuf.st_size)) in process_file() 180 munmap (file_contents, statbuf.st_size); in process_file()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | xstatconv.c | 60 buf->st_size = kbuf->st_size; in __xstat_conv() 130 buf->st_size = kbuf->st_size; in __xstat64_conv() 199 buf->st_size = kbuf->st_size; in __xstat32_conv() 201 if (sizeof (buf->st_size) != sizeof (kbuf->st_size) in __xstat32_conv() 202 && buf->st_size != kbuf->st_size) in __xstat32_conv()
|
/glibc-2.36/io/ |
D | tst-posix_fallocate-common.c | 53 if (st.st_size != (offset + 768)) in do_test_with_offset() 56 (unsigned long int) st.st_size, 512lu + 768lu); in do_test_with_offset() 64 if (st.st_size != (offset) + 768) in do_test_with_offset() 74 if (st.st_size != (offset + 64)) in do_test_with_offset() 77 (unsigned long long int) st.st_size, 2048u + 64u); in do_test_with_offset()
|
/glibc-2.36/sysdeps/i386/ |
D | dl-machine.h | 306 *reloc_addr += sym->st_size; in elf_machine_rel() 412 if (__glibc_unlikely (sym->st_size > refsym->st_size) in elf_machine_rel() 413 || (__glibc_unlikely(sym->st_size < refsym->st_size) in elf_machine_rel() 424 MIN (sym->st_size, refsym->st_size)); in elf_machine_rel() 470 value = sym->st_size; in elf_machine_rela() 558 if (__glibc_unlikely (sym->st_size > refsym->st_size) in elf_machine_rela() 559 || (__glibc_unlikely (sym->st_size < refsym->st_size) in elf_machine_rela() 570 MIN (sym->st_size, refsym->st_size)); in elf_machine_rela()
|
/glibc-2.36/sysdeps/arm/ |
D | dl-machine.h | 323 if (sym->st_size > refsym->st_size in elf_machine_rel() 324 || (GLRO(dl_verbose) && sym->st_size < refsym->st_size)) in elf_machine_rel() 334 MIN (sym->st_size, refsym->st_size)); in elf_machine_rel() 485 if (sym->st_size > refsym->st_size in elf_machine_rela() 486 || (GLRO(dl_verbose) && sym->st_size < refsym->st_size)) in elf_machine_rela() 496 MIN (sym->st_size, refsym->st_size)); in elf_machine_rela()
|
/glibc-2.36/posix/ |
D | tst-truncate-common.c | 58 if (fstat (temp_fd, &st) < 0 || st.st_size != (offset + sizeof (buf))) in do_test_with_offset() 63 if (fstat (temp_fd, &st) < 0 || st.st_size != (offset + 800)) in do_test_with_offset() 71 if (fstat (temp_fd, &st) < 0 || st.st_size != (offset + 1200)) in do_test_with_offset() 76 if (fstat (temp_fd, &st) < 0 || st.st_size != (offset + 800)) in do_test_with_offset() 84 if (fstat (temp_fd, &st) < 0 || st.st_size != (offset + 1200)) in do_test_with_offset()
|
/glibc-2.36/catgets/ |
D | open_catalog.c | 200 || (size_t) st.st_size < sizeof (struct catalog_obj)) in __open_catalog() 208 catalog->file_size = st.st_size; in __open_catalog() 219 (struct catalog_obj *) __mmap (NULL, st.st_size, PROT_READ, in __open_catalog() 231 catalog->file_ptr = malloc (st.st_size); in __open_catalog() 235 todo = st.st_size; in __open_catalog() 240 + (st.st_size - todo)), todo); in __open_catalog() 310 if ((size_t) st.st_size in __open_catalog() 316 max_offset = (st.st_size in __open_catalog()
|
/glibc-2.36/sysdeps/unix/sysv/linux/mips/bits/ |
D | struct_stat.h | 49 __off_t st_size; /* Size of file, in bytes. */ 54 __off64_t st_size; /* Size of file, in bytes. */ 103 __off64_t st_size; /* Size of file, in bytes. */ 151 __off_t st_size; 155 __off64_t st_size; 204 __off64_t st_size;
|
/glibc-2.36/sysdeps/arc/ |
D | dl-machine.h | 247 size_t size = sym->st_size; in elf_machine_rela() 248 if (__glibc_unlikely (size != refsym->st_size)) in elf_machine_rela() 251 if (sym->st_size > refsym->st_size) in elf_machine_rela() 252 size = refsym->st_size; in elf_machine_rela() 253 if (sym->st_size > refsym->st_size || GLRO(dl_verbose)) in elf_machine_rela()
|
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/bits/ |
D | struct_stat.h | 48 __off_t st_size; /* Size of file, in bytes. */ 50 __off64_t st_size; /* Size of file, in bytes. */ 99 __off64_t st_size; /* Size of file, in bytes. */ 146 __off_t st_size; /* Size of file, in bytes. */ member 148 __off64_t st_size; /* Size of file, in bytes. */ member 194 __off64_t st_size; /* Size of file, in bytes. */ member
|
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/ |
D | xstatconv.c | 46 buf->st_size = kbuf->st_size; in __xstat_conv() 68 buf->st_size = kbuf->st_size; in __xstat_conv() 91 buf->st_size = kbuf->st_size; in __xstat_conv()
|
D | kernel_stat.h | 11 long int st_size; member 27 long st_size; member 56 __off_t st_size; member 76 __off_t st_size; member
|
/glibc-2.36/stdio-common/ |
D | tst-fmemopen.c | 107 if ((mmap_data = (char *) mmap (NULL, fs.st_size, PROT_READ, in do_test() 111 (size_t) fs.st_size, fd); in do_test() 115 if ((fp = fmemopen (mmap_data, fs.st_size, "r")) == NULL) in do_test() 117 printf ("fmemopen (%p, %zu) failed\n", mmap_data, (size_t) fs.st_size); in do_test() 155 munmap (mmap_data, fs.st_size); in do_test()
|
/glibc-2.36/sysdeps/riscv/ |
D | dl-machine.h | 238 size_t size = sym->st_size; in elf_machine_rela() 239 if (__glibc_unlikely (sym->st_size != refsym->st_size)) in elf_machine_rela() 242 if (sym->st_size > refsym->st_size) in elf_machine_rela() 243 size = refsym->st_size; in elf_machine_rela() 244 if (sym->st_size > refsym->st_size || GLRO(dl_verbose)) in elf_machine_rela()
|
/glibc-2.36/sysdeps/nios2/ |
D | dl-machine.h | 232 if (sym->st_size > refsym->st_size in elf_machine_rela() 233 || (sym->st_size < refsym->st_size && GLRO(dl_verbose))) in elf_machine_rela() 244 MIN (sym->st_size, refsym->st_size)); in elf_machine_rela()
|
/glibc-2.36/sysdeps/unix/sysv/linux/mips/mips64/ |
D | kstat_cp.h | 26 || ! in_off_t_range (kst->st_size) in __cp_kstat_stat() 39 st->st_size = kst->st_size; in __cp_kstat_stat() 64 st->st_size = kst->st_size; in __cp_kstat_stat64_t64()
|
/glibc-2.36/sysdeps/microblaze/ |
D | dl-machine.h | 233 if (sym != NULL && (sym->st_size > refsym->st_size in elf_machine_rela() 234 || (sym->st_size < refsym->st_size && GLRO (dl_verbose))) ) in elf_machine_rela() 244 MIN (sym->st_size, refsym->st_size)); in elf_machine_rela()
|
/glibc-2.36/sysdeps/aarch64/ |
D | dl-machine.h | 212 if (sym->st_size > refsym->st_size in elf_machine_rela() 213 || (GLRO(dl_verbose) && sym->st_size < refsym->st_size)) in elf_machine_rela() 223 sym->st_size < refsym->st_size in elf_machine_rela() 224 ? sym->st_size : refsym->st_size); in elf_machine_rela()
|
/glibc-2.36/sysdeps/m68k/ |
D | dl-machine.h | 238 if (sym->st_size > refsym->st_size in elf_machine_rela() 239 || (sym->st_size < refsym->st_size && GLRO(dl_verbose))) in elf_machine_rela() 249 MIN (sym->st_size, refsym->st_size)); in elf_machine_rela()
|
/glibc-2.36/sysdeps/x86_64/ |
D | dl-machine.h | 315 = (Elf64_Addr) sym->st_size + reloc->r_addend; in elf_machine_rela() 323 value = sym->st_size; in elf_machine_rela() 412 value = sym->st_size; in elf_machine_rela() 449 MIN (sym->st_size, refsym->st_size)); in elf_machine_rela() 450 if (__glibc_unlikely (sym->st_size > refsym->st_size) in elf_machine_rela() 451 || (__glibc_unlikely (sym->st_size < refsym->st_size) in elf_machine_rela()
|
/glibc-2.36/sysdeps/unix/sysv/linux/s390/bits/ |
D | struct_stat.h | 39 __off_t st_size; /* Size of file, in bytes. */ member 85 __off_t st_size; /* Size of file, in bytes. */ 87 __off64_t st_size; /* Size of file, in bytes. */ 140 __off_t st_size; /* Size of file, in bytes. */ member 182 __off64_t st_size; /* Size of file, in bytes. */
|
/glibc-2.36/sysdeps/or1k/ |
D | dl-machine.h | 210 if (__glibc_unlikely (sym->st_size > refsym->st_size) in elf_machine_rela() 211 || (__glibc_unlikely (sym->st_size < refsym->st_size) in elf_machine_rela() 223 MIN (sym->st_size, refsym->st_size)); in elf_machine_rela()
|
/glibc-2.36/sysdeps/loongarch/ |
D | dl-machine.h | 200 if (__glibc_unlikely (sym->st_size > refsym->st_size) in elf_machine_rela() 201 || (__glibc_unlikely (sym->st_size < refsym->st_size) in elf_machine_rela() 213 MIN (sym->st_size, refsym->st_size)); in elf_machine_rela()
|