Searched refs:MAYBE_MAP_FLAG (Results 1 – 2 of 2) sorted by relevance
/ndk/sources/android/crazy_linker/src/ |
D | linker_phdr.cpp | 125 #define MAYBE_MAP_FLAG(x, from, to) (((x) & (from)) ? (to) : 0) macro 127 (MAYBE_MAP_FLAG((x), PF_X, PROT_EXEC) | \ 128 MAYBE_MAP_FLAG((x), PF_R, PROT_READ) | \ 129 MAYBE_MAP_FLAG((x), PF_W, PROT_WRITE))
|
D | crazy_linker_elf_loader.cpp | 18 #define MAYBE_MAP_FLAG(x, from, to) (((x) & (from)) ? (to) : 0) macro 20 (MAYBE_MAP_FLAG((x), PF_X, PROT_EXEC) | \ 21 MAYBE_MAP_FLAG((x), PF_R, PROT_READ) | \ 22 MAYBE_MAP_FLAG((x), PF_W, PROT_WRITE))
|