/external/elfutils/tests/ |
D | newdata.c | 72 create_elf (int fd, int class, int use_mmap) in create_elf() argument 74 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in create_elf() 156 read_elf (int fd, int use_mmap) in read_elf() argument 159 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in read_elf() 236 check_elf (int class, int use_mmap) in check_elf() argument 240 fname = use_mmap ? "newdata.elf32.mmap" : "newdata.elf32"; in check_elf() 242 fname = use_mmap ? "newdata.elf64.mmap" : "newdata.elf64"; in check_elf() 253 Elf *elf = create_elf (fd, class, use_mmap); in check_elf() 278 elf = read_elf (fd, use_mmap); in check_elf() 308 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) in copy_elf() argument 74 printf ("\ncopy_elf: %s -> %s (%s)\n", in, out, use_mmap ? "mmap" : "read"); in copy_elf() 85 Elf *elfa = elf_begin (fda, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in copy_elf() 102 Elf *elfb = elf_begin (fdb, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in copy_elf() 274 bool use_mmap = false; in main() local 277 use_mmap = true; in main() 283 copy_elf (in, out, use_mmap); in main()
|
D | addsections.c | 73 add_sections (const char *name, size_t nr, int use_mmap) in add_sections() argument 85 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in add_sections() 293 bool use_mmap = false; in main() local 296 use_mmap = true; in main() 302 add_sections (file, nr, use_mmap); in main()
|
D | emptyfile.c | 65 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 77 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_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf() 218 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
D | vendorelf.c | 35 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 46 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 134 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
D | elfstrtab.c | 132 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 144 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 290 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf() 359 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
D | fillfile.c | 199 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 211 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 276 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf() 357 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
/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/e2fsprogs/intl/ |
D | loadmsgcat.c | 920 int use_mmap = 0; in _nl_load_domain() local 969 use_mmap = 1; in _nl_load_domain() 1013 if (use_mmap) in _nl_load_domain() 1027 domain->use_mmap = use_mmap; in _nl_load_domain() 1377 if (use_mmap) in _nl_load_domain() 1410 if (domain->use_mmap) in _nl_unload_domain()
|
D | gettextP.h | 86 int use_mmap; member
|
/external/elfutils/libelf/ |
D | elf_begin.c | 633 int use_mmap = (cmd == ELF_C_READ_MMAP || cmd == ELF_C_RDWR_MMAP in read_file() local 657 if (use_mmap) in read_file()
|
D | ChangeLog | 796 * elf_begin.c (read_file): Don't clear use_mmap when _MUDFLAP is
|
/external/dlmalloc/ |
D | malloc.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 | 2125 #define use_mmap(M) ((M)->mflags & USE_MMAP_BIT) macro 2640 assert(use_mmap(m)); in do_check_mmapped_chunk() 3429 if (use_mmap(m) && nb >= mparams.mmap_threshold) { in sys_alloc() 4052 was_enabled = use_mmap(m); in ialloc()
|