Home
last modified time | relevance | path

Searched refs:n_modules (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_mac.cc164 uptr n_modules = 0; in DumpListOfModules() local
165 for (uptr i = 0; n_modules < max_modules && in DumpListOfModules()
175 if (n_modules > 0 && in DumpListOfModules()
176 0 == internal_strcmp(cur_name, modules[n_modules - 1].full_name())) { in DumpListOfModules()
177 cur_module = &modules[n_modules - 1]; in DumpListOfModules()
179 cur_module = &modules[n_modules]; in DumpListOfModules()
181 n_modules++; in DumpListOfModules()
185 return n_modules; in DumpListOfModules()
Dsanitizer_procmaps_common.cc125 uptr n_modules = 0; in DumpListOfModules() local
126 for (uptr i = 0; n_modules < max_modules && in DumpListOfModules()
147 LoadedModule *cur_module = &modules[n_modules]; in DumpListOfModules()
150 n_modules++; in DumpListOfModules()
152 return n_modules; in DumpListOfModules()
Dsanitizer_coverage_mapping_libcdep.cc77 int n_modules = GetListOfModules(modules.data(), kMaxNumberOfModules, in CovUpdateMapping() local
81 for (int i = 0; i < n_modules; ++i) { in CovUpdateMapping()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_procmaps_test.cc41 uptr n_modules = memory_mapping.DumpListOfModules(modules, kMaxModules, 0); in TEST() local
42 EXPECT_GT(n_modules, 0U); in TEST()
44 for (uptr i = 0; i < n_modules; ++i) { in TEST()