/external/elfutils/tests/ |
D | newdata.c | 73 create_elf (int fd, int class, int use_mmap) in create_elf() argument 75 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in create_elf() 157 read_elf (int fd, int use_mmap) in read_elf() argument 160 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in read_elf() 237 check_elf (int class, int use_mmap) in check_elf() argument 241 fname = use_mmap ? "newdata.elf32.mmap" : "newdata.elf32"; in check_elf() 243 fname = use_mmap ? "newdata.elf64.mmap" : "newdata.elf64"; in check_elf() 254 Elf *elf = create_elf (fd, class, use_mmap); in check_elf() 279 elf = read_elf (fd, use_mmap); in check_elf() 309 elf = read_elf (fd, use_mmap); in check_elf() [all …]
|
D | elfcopy.c | 72 copy_elf (const char *in, const char *out, bool use_mmap, bool reverse_offs) in copy_elf() argument 75 use_mmap ? "mmap" : "read", in copy_elf() 87 Elf *elfa = elf_begin (fda, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in copy_elf() 104 Elf *elfb = elf_begin (fdb, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in copy_elf() 350 bool use_mmap = false; in main() local 353 use_mmap = true; in main() 366 copy_elf (in, out, use_mmap, reverse_offs); in main()
|
D | addsections.c | 73 add_sections (const char *name, size_t nr, int use_mmap, size_t sec_size) in add_sections() argument 85 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in add_sections() 314 bool use_mmap = false; in main() local 317 use_mmap = true; in main() 328 add_sections (file, nr, use_mmap, sec_size); in main()
|
D | emptyfile.c | 66 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 78 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 136 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf() 219 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
D | vendorelf.c | 36 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 47 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 135 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
D | elfstrtab.c | 133 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 145 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 291 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf() 360 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
D | fillfile.c | 200 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 212 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 277 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf() 358 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
/external/perfetto/src/trace_processor/ |
D | read_trace_internal.cc | 91 bool use_mmap = !no_mmap || *no_mmap != '1'; in ReadTraceUnfinalized() local 93 use_mmap = false; // Cannot use mmap on 32-bit systems for files > 2GB. in ReadTraceUnfinalized() 95 if (use_mmap) { in ReadTraceUnfinalized()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_printf.cc | 245 for (int use_mmap = 0; use_mmap < 2; use_mmap++) { in SharedPrintfCode() local 246 if (use_mmap) { in SharedPrintfCode() 256 if (!use_mmap) continue; \ in SharedPrintfCode()
|
/external/python/pyfakefs/pyfakefs/ |
D | patched_packages.py | 74 use_mmap=False, argument
|
/external/elfutils/libelf/ |
D | elf_begin.c | 649 int use_mmap = (cmd == ELF_C_READ_MMAP || cmd == ELF_C_RDWR_MMAP in read_file() local 673 if (use_mmap) in read_file()
|
D | ChangeLog | 1091 * elf_begin.c (read_file): Don't clear use_mmap when _MUDFLAP is
|
/external/dlmalloc/ |
D | dlmalloc.c | 2652 #define use_mmap(M) ((M)->mflags & USE_MMAP_BIT) macro 3257 assert(use_mmap(m)); in do_check_mmapped_chunk() 4062 if (use_mmap(m) && nb >= mparams.mmap_threshold && m->topsize != 0) { in sys_alloc() 5053 was_enabled = use_mmap(m); in ialloc() 5497 if (!use_mmap(ms)) { in mspace_track_large_chunks()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | dlmalloc.c | 2130 #define use_mmap(M) ((M)->mflags & USE_MMAP_BIT) macro 2645 assert(use_mmap(m)); in do_check_mmapped_chunk() 3434 if (use_mmap(m) && nb >= mparams.mmap_threshold) { in sys_alloc() 4057 was_enabled = use_mmap(m); in ialloc()
|
/external/libffi/src/ |
D | dlmalloc.c | 2130 #define use_mmap(M) ((M)->mflags & USE_MMAP_BIT) macro 2645 assert(use_mmap(m)); in do_check_mmapped_chunk() 3434 if (use_mmap(m) && nb >= mparams.mmap_threshold) { in sys_alloc() 4057 was_enabled = use_mmap(m); in ialloc()
|