Home
last modified time | relevance | path

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

/xnu-12377.81.4/tests/
H A Dcorrect_kernel_booted.c55 bool should_swap = false; in get_macho_uuid() local
60 should_swap = true; in get_macho_uuid()
66 should_swap = true; in get_macho_uuid()
84 ncmds = should_swap ? OSSwapInt32(ncmds) : ncmds; in get_macho_uuid()
88 if ((should_swap ? OSSwapInt32(lcmd->cmd) : lcmd->cmd) == LC_UUID) { in get_macho_uuid()
95 uint32_t cmdsize = should_swap ? OSSwapInt32(lcmd->cmdsize) : in get_macho_uuid()
/xnu-12377.81.4/osfmk/vm/
H A Dvm_compressor.c2753 bool should_swap = false; in compressor_swapout_conditions_met() local
2755 should_swap = true; in compressor_swapout_conditions_met()
2759 should_swap = true; in compressor_swapout_conditions_met()
2763 should_swap = true; in compressor_swapout_conditions_met()
2766 return should_swap; in compressor_swapout_conditions_met()
2772 bool should_swap = false; in compressor_needs_to_swap() local
2774 should_swap = true; in compressor_needs_to_swap()
2779 should_swap = compressor_swapout_conditions_met(); in compressor_needs_to_swap()
2780 if (should_swap) { in compressor_needs_to_swap()
2792 should_swap = true; in compressor_needs_to_swap()
[all …]