Searched refs:modules_buffer_size (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_win.cc | 467 uptr modules_buffer_size = sizeof(HMODULE) * 256; in init() local 470 hmodules = (HMODULE *)MmapOrDie(modules_buffer_size, __FUNCTION__); in init() 471 CHECK(EnumProcessModules(cur_process, hmodules, modules_buffer_size, in init() 473 if (bytes_required > modules_buffer_size) { in init() 476 UnmapOrDie(hmodules, modules_buffer_size); in init() 478 modules_buffer_size = bytes_required; in init() 518 UnmapOrDie(hmodules, modules_buffer_size); in init()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_win.cpp | 621 uptr modules_buffer_size = sizeof(HMODULE) * 256; in init() local 624 hmodules = (HMODULE *)MmapOrDie(modules_buffer_size, __FUNCTION__); in init() 625 CHECK(EnumProcessModules(cur_process, hmodules, modules_buffer_size, in init() 627 if (bytes_required > modules_buffer_size) { in init() 630 UnmapOrDie(hmodules, modules_buffer_size); in init() 632 modules_buffer_size = bytes_required; in init() 673 UnmapOrDie(hmodules, modules_buffer_size); in init()
|