Home
last modified time | relevance | path

Searched refs:use_mmap (Results 1 – 17 of 17) sorted by relevance

/external/elfutils/tests/
Dnewdata.c73 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 …]
Delfcopy.c72 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()
Daddsections.c73 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()
Demptyfile.c66 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()
Dvendorelf.c36 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()
Delfstrtab.c133 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()
Dfillfile.c200 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/
Dsanitizer_printf.cc245 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/
Dsanitizer_printf.cpp257 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/
Dloadmsgcat.c920 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()
DgettextP.h86 int use_mmap; member
/external/freetype/
Dmeson.build192 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/
Delf_begin.c643 int use_mmap = (cmd == ELF_C_READ_MMAP || cmd == ELF_C_RDWR_MMAP in read_file() local
667 if (use_mmap) in read_file()
DChangeLog957 * elf_begin.c (read_file): Don't clear use_mmap when _MUDFLAP is
/external/dlmalloc/
Dmalloc.c2652 #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/
Ddlmalloc.c2130 #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/
Ddlmalloc.c2130 #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()