/external/elfutils/src/libdwfl/ |
D | dwfl_module_addrsym.c | 117 if (value + sym->st_size > min_label) in __libdwfl_addrsym() 118 min_label = value + sym->st_size; in __libdwfl_addrsym() 120 if (sym->st_size == 0 || addr - value < sym->st_size) in __libdwfl_addrsym() 144 if (sym->st_size != 0) in __libdwfl_addrsym() 172 else if (sym->st_size != 0 in __libdwfl_addrsym() 174 && ((closest_sym->st_size > sym->st_size in __libdwfl_addrsym() 177 || (closest_sym->st_size >= sym->st_size in __libdwfl_addrsym()
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | stat.h | 17 unsigned long st_size; member 56 long long st_size; member 92 __kernel_long_t st_size; member 125 unsigned long st_size; member 130 unsigned int st_size; member
|
/external/elfutils/src/lib/ |
D | crc32_file.c | 51 size_t mapsize = st.st_size; in crc32_file() 66 if (st.st_size <= (off_t) mapsize) in crc32_file() 68 *resp = crc32 (crc, mapped, st.st_size); in crc32_file() 74 st.st_size -= mapsize; in crc32_file()
|
/external/sepolicy/tools/sepolicy-analyze/ |
D | utils.c | 42 map = mmap(NULL, sb.st_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in load_policy() 52 pf->len = sb.st_size; in load_policy() 56 munmap(map, sb.st_size); in load_policy() 63 munmap(map, sb.st_size); in load_policy()
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
D | stat.h | 12 unsigned long st_size; member 38 unsigned long st_size; member 71 long long st_size; member
|
/external/libpcap/tests/ |
D | filtertest.c | 85 cp = malloc((u_int)buf.st_size + 1); in read_infile() 87 error("malloc(%d) for %s: %s", (u_int)buf.st_size + 1, in read_infile() 89 cc = read(fd, cp, (u_int)buf.st_size); in read_infile() 92 if (cc != buf.st_size) in read_infile() 93 error("short read %s (%d != %d)", fname, cc, (int)buf.st_size); in read_infile()
|
D | valgrindtest.c | 118 cp = malloc((u_int)buf.st_size + 1); in read_infile() 120 error("malloc(%d) for %s: %s", (u_int)buf.st_size + 1, in read_infile() 122 cc = read(fd, cp, (u_int)buf.st_size); in read_infile() 125 if (cc != buf.st_size) in read_infile() 126 error("short read %s (%d != %d)", fname, cc, (int)buf.st_size); in read_infile()
|
/external/chromium-trace/trace-viewer/perf_insights/third_party/cloudstorage/ |
D | common.py | 103 st_size, argument 127 self.st_size = None 134 self.st_size = long(st_size) 150 st_size=self.st_size,
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | stat.h | 28 off_t st_size; member 66 long long st_size; member 107 off_t st_size; member
|
/external/strace/tests/ |
D | stat.c | 111 if (sizeof(stb.st_size) > 4) in main() 145 (unsigned int) major(stb.st_size), in main() 146 (unsigned int) minor(stb.st_size)); in main() 150 printf(", st_size=%llu", (unsigned long long) stb.st_size); in main()
|
/external/google-breakpad/src/common/linux/ |
D | memory_mapped_file.cc | 67 if (sys_fstat(fd, &st) == -1 || st.st_size < 0) { in Map() 70 if (sys_fstat64(fd, &st) == -1 || st.st_size < 0) { in Map() 77 size_t file_len = static_cast<size_t>(st.st_size); in Map()
|
/external/toybox/toys/posix/ |
D | cpio.c | 223 && st.st_size && (fd = open(name, O_RDONLY))<0)) in cpio_main() 229 if (!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) st.st_size = 0; in cpio_main() 230 if (st.st_size >> 32) perror_msg("skipping >2G file '%s'", name); in cpio_main() 235 (int)st.st_mtime, (int)st.st_size, major(st.st_dev), in cpio_main() 245 llen = st.st_size; in cpio_main() 258 llen = st.st_size & 3; in cpio_main()
|
/external/vboot_reference/futility/ |
D | misc.c | 248 ioctl(fd, BLKGETSIZE64, &sb.st_size); in futil_map_file() 252 if (sb.st_size < 0 || sb.st_size > UINT32_MAX) { in futil_map_file() 256 reasonable_len = (uint32_t)sb.st_size; in futil_map_file() 259 mmap_ptr = mmap(0, sb.st_size, in futil_map_file() 262 mmap_ptr = mmap(0, sb.st_size, in futil_map_file()
|
/external/toybox/toys/pending/ |
D | more.c | 102 st.st_size = show_prompt = col = row = 0; in more_main() 114 if (st.st_size) in more_main() 116 (int) (100 * ( (double) ftell(fp) / (double) st.st_size)), in more_main() 117 (long long)st.st_size); in more_main()
|
D | mke2fs.c | 172 that->st.st_blocks = check_treesize(that->child, &that->st.st_size); in check_treesize() 174 that->st.st_blocks = file_blocks_used(that->st.st_size, 0); in check_treesize() 393 file_blocks_used(that->st.st_size, fbu); in fill_inode() 396 if (that->st.st_size) { in fill_inode() 413 in->size = SWAP_LE32(that->st.st_size & 0xFFFFFFFF); in fill_inode() 417 if (sizeof(that->st.st_size) > 4) temp = 32; in fill_inode() 419 if (temp) in->dir_acl = SWAP_LE32(that->st.st_size >> temp); in fill_inode() 484 length = check_treesize(dtb, &(dtb->st.st_size)); in mke2fs_main()
|
/external/strace/ |
D | file.c | 101 unsigned int st_size; member 127 unsigned int st_size; member 149 unsigned int st_size; member 204 unsigned int st_size; member 320 long long st_size; member 458 newbuf->st_size = oldbuf->st_size; in convertoldstat()
|
D | printstat.h | 49 (unsigned int) STAT_MAJOR(statbuf->st_size), in DO_PRINTSTAT() 50 (unsigned int) STAT_MINOR(statbuf->st_size)); in DO_PRINTSTAT() 55 (unsigned long long) statbuf->st_size); in DO_PRINTSTAT()
|
/external/elfutils/src/libelf/ |
D | elf_readall.c | 99 if (sizeof (size_t) >= sizeof (st.st_size) 100 || st.st_size <= ~((size_t) 0)) 101 elf->maximum_size = (size_t) st.st_size;
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | util.c | 95 if (st.st_size == 0) /* /proc? do it slowly... */ in copyfile() 106 addr = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fromfd, 0); in copyfile() 110 if (write(tofd, addr, st.st_size) == st.st_size) in copyfile() 113 munmap(addr, st.st_size); in copyfile()
|
/external/e2fsprogs/util/ |
D | copy_sparse.c | 126 numblocks = (fileinfo.st_size + (bs-1)) / bs; in copy_sparse_file() 129 (long long) fileinfo.st_size, numblocks); in copy_sparse_file() 189 offset = fileinfo.st_size; in copy_sparse_file() 194 if (fileinfo.st_size != offset) { in copy_sparse_file()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | stat.h | 32 long st_size; /* Size of file, in bytes. */ member 57 long long st_size; /* Size of file, in bytes. */ member
|
/external/libxml2/ |
D | testSchemas.c | 92 base = mmap(NULL, info.st_size, PROT_READ, in main() 97 ctxt = xmlSchemaNewMemParserCtxt((char *)base,info.st_size); in main() 105 munmap((char *) base, info.st_size); in main()
|
D | testRelax.c | 96 base = mmap(NULL, info.st_size, PROT_READ, in main() 101 ctxt = xmlRelaxNGNewMemParserCtxt((char *)base,info.st_size); in main() 109 munmap((char *) base, info.st_size); in main()
|
/external/google-breakpad/src/common/solaris/ |
D | file_id.cc | 150 if (fstat(fd, &st) != 0 || st.st_size <= 0) in ElfFileIdentifier() 153 void *base = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in ElfFileIdentifier() 169 munmap((char *)base, st.st_size); in ElfFileIdentifier()
|
/external/openssh/ |
D | sftp-common.c | 72 a->size = st->st_size; in stat_to_attrib() 90 st->st_size = a->size; in attrib_to_stat() 249 fmt_scaled((long long)st->st_size, sbuf); in ls_file() 256 (unsigned long long)st->st_size, tbuf, name); in ls_file()
|