Home
last modified time | relevance | path

Searched refs:MAYBE_MAP_FLAG (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/android/crazy_linker/src/
Dlinker_phdr.cpp125 #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))
Dcrazy_linker_elf_loader.cpp18 #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))