/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/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/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_printf.cpp | 257 for (int use_mmap = 0; use_mmap < 2; use_mmap++) { in SharedPrintfCodeNoBuffer() local 258 if (use_mmap) { in SharedPrintfCodeNoBuffer() 268 if (!use_mmap) continue; \ in SharedPrintfCodeNoBuffer()
|
/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/freetype/ |
D | meson.build | 192 use_mmap = has_unistd_h and has_fcntl_h and has_sys_mman_h variable 194 use_mmap = mmap_option.enabled() variable 196 if use_mmap
|
/external/elfutils/libelf/ |
D | elf_begin.c | 643 int use_mmap = (cmd == ELF_C_READ_MMAP || cmd == ELF_C_RDWR_MMAP in read_file() local 667 if (use_mmap) in read_file()
|
D | ChangeLog | 957 * 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 | 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()
|