Home
last modified time | relevance | path

Searched refs:module_cache (Results 1 – 25 of 44) sorted by relevance

12

/aosp_15_r20/external/cronet/base/profiler/
H A Dstack_sampler_unittest.cc37 TestProfileBuilder(ModuleCache* module_cache) : module_cache_(module_cache) {} in TestProfileBuilder() argument
174 ModuleCache* module_cache) { in InjectModuleForContextInstructionPointer() argument
175 module_cache->AddCustomNativeModule( in InjectModuleForContextInstructionPointer()
233 module_cache()->GetModuleForAddress(instruction_pointer)); in TryUnwind()
267 ModuleCache module_cache; in TEST() local
269 InjectModuleForContextInstructionPointer(stack, &module_cache); in TEST()
274 &module_cache); in TEST()
280 TestProfileBuilder profile_builder(&module_cache); in TEST()
290 ModuleCache module_cache; in TEST() local
303 InjectModuleForContextInstructionPointer(stack, &module_cache); in TEST()
[all …]
H A Dnative_unwinder_android_unittest.cc99 ModuleCache* module_cache, in CaptureScenario() argument
126 module_cache->GetModuleForAddress( in CaptureScenario()
152 ModuleCache module_cache; in TEST() local
156 unwinder->Initialize(&module_cache); in TEST()
158 CaptureScenario(&scenario, &module_cache, in TEST()
197 ModuleCache module_cache; in TEST() local
201 unwinder->Initialize(&module_cache); in TEST()
203 CaptureScenario(&scenario, &module_cache, in TEST()
243 ModuleCache module_cache; in TEST() local
247 unwinder->Initialize(&module_cache); in TEST()
[all …]
H A Dlibunwindstack_unwinder_android_unittest.cc39 ModuleCache* module_cache, in CaptureScenario() argument
66 module_cache->GetModuleForAddress( in CaptureScenario()
80 ModuleCache module_cache; in TEST() local
83 unwinder->Initialize(&module_cache); in TEST()
85 CaptureScenario(&scenario, &module_cache, in TEST()
110 ModuleCache module_cache; in TEST() local
113 unwinder->Initialize(&module_cache); in TEST()
115 CaptureScenario(&scenario, &module_cache, in TEST()
142 ModuleCache module_cache; in TEST() local
145 unwinder->Initialize(&module_cache); in TEST()
[all …]
H A Dstack_sampling_profiler_unittest.cc114 TestProfileBuilder(ModuleCache* module_cache,
155 TestProfileBuilder::TestProfileBuilder(ModuleCache* module_cache, in TestProfileBuilder() argument
157 : module_cache_(module_cache), callback_(std::move(callback)) {} in TestProfileBuilder()
228 ModuleCache* module_cache, in TestProfilerInfo()
235 module_cache, in TestProfilerInfo()
240 CreateCoreUnwindersFactoryForTesting(module_cache),
258 ModuleCache* module_cache) { in CaptureSamples() argument
262 TestProfilerInfo info(target_thread_token, params, module_cache); in CaptureSamples()
297 void TestLibraryUnload(bool wait_until_unloaded, ModuleCache* module_cache) { in TestLibraryUnload() argument
351 module_cache, in TestLibraryUnload()
[all …]
H A Dchrome_unwinder_android_unittest.cc979 ModuleCache module_cache; in TEST() local
984 unwinder.Initialize(&module_cache); in TEST()
1080 ModuleCache module_cache; in TEST() local
1082 &module_cache, std::make_unique<TestModule>( in TEST()
1089 unwinder.Initialize(&module_cache); in TEST()
1154 ModuleCache module_cache; in TEST() local
1156 &module_cache, std::make_unique<TestModule>( in TEST()
1163 unwinder.Initialize(&module_cache); in TEST()
1245 ModuleCache module_cache; in TEST() local
1247 &module_cache, std::make_unique<TestModule>( in TEST()
[all …]
H A Dstack_sampler.cc181 ModuleCache* module_cache, in WalkStackForTesting() argument
185 return WalkStack(module_cache, thread_context, stack_top, unwinders); in WalkStackForTesting()
192 ModuleCache* module_cache, in CreateForTesting() argument
196 std::move(stack_copier), std::move(core_unwinders_factory), module_cache, in CreateForTesting()
202 ModuleCache* module_cache, in StackSampler() argument
207 module_cache_(module_cache), in StackSampler()
215 ModuleCache* module_cache, in WalkStack() argument
227 module_cache->GetModuleForAddress( in WalkStack()
H A Dstack_sampler.h48 ModuleCache* module_cache,
83 ModuleCache* module_cache,
92 ModuleCache* module_cache,
112 ModuleCache* module_cache,
117 ModuleCache* module_cache,
H A Dnative_unwinder_android.cc155 if (module_cache()) in ~NativeUnwinderAndroid()
156 module_cache()->UnregisterAuxiliaryModuleProvider(this); in ~NativeUnwinderAndroid()
162 module_cache()->RegisterAuxiliaryModuleProvider(this); in InitializeModules()
246 module_cache()->GetModuleForAddress(regs->pc()); in TryUnwind()
280 module_cache()->GetExistingModuleForAddress(dex_pc); in EmitDexFrame()
292 module_cache()->AddCustomNativeModule(std::move(new_module)); in EmitDexFrame()
H A Dstack_sampling_profiler_test_util.cc61 TestProfileBuilder(ModuleCache* module_cache, CompletedCallback callback) in TestProfileBuilder() argument
62 : module_cache_(module_cache), callback_(std::move(callback)) {} in TestProfileBuilder()
317 ModuleCache* module_cache, in SampleScenario() argument
334 module_cache, in SampleScenario()
340 CreateCoreUnwindersFactoryForTesting(module_cache)); in SampleScenario()
467 ModuleCache* module_cache) { in CreateCoreUnwindersFactoryForTesting() argument
H A Dlibunwindstack_unwinder_android.cc195 module_cache()->GetModuleForAddress(frame.pc); in TryUnwind()
198 module = module_cache()->GetModuleForAddress(frame.map_info->start()); in TryUnwind()
203 module_cache()->AddCustomNativeModule(std::move(module_for_caching)); in TryUnwind()
H A Dunwinder.cc9 void Unwinder::Initialize(ModuleCache* module_cache) { in Initialize() argument
10 module_cache_ = module_cache; in Initialize()
H A Dstack_sampler_win.cc20 ModuleCache* module_cache, in Create() argument
34 BindOnce(create_unwinders), module_cache, in Create()
H A Dunwinder.h45 void Initialize(ModuleCache* module_cache);
91 ModuleCache* module_cache() const { return module_cache_; } in module_cache() function
H A Dstack_sampler_android.cc20 ModuleCache* module_cache, in Create() argument
29 std::move(core_unwinders_factory), module_cache, in Create()
H A Dstack_sampler_mac.cc32 ModuleCache* module_cache, in Create() argument
40 BindOnce(&CreateUnwinders), module_cache, in Create()
H A Dstack_sampler_ios.cc38 ModuleCache* module_cache, in Create() argument
47 BindOnce(&CreateUnwinders), module_cache, in Create()
H A Dstack_sampler_posix.cc42 ModuleCache* module_cache, in Create() argument
52 BindOnce(&CreateUnwinders), module_cache, in Create()
H A Dstack_sampling_profiler_test_util.h159 ModuleCache* module_cache,
193 ModuleCache* module_cache);
H A Dframe_pointer_unwinder_unittest.cc82 module_cache()->UpdateNonNativeModules({}, std::move(wrapper)); in FramePointerUnwinderTest()
88 ModuleCache* module_cache() { return &module_cache_; } in FramePointerUnwinderTest() function in base::FramePointerUnwinderTest
H A Dnative_unwinder_win.cc87 module_cache()->GetModuleForAddress( in TryUnwind()
H A Dframe_pointer_unwinder.cc97 module_cache()->GetModuleForAddress(retaddr); in TryUnwind()
H A DREADME.md30 from [ModuleCache](module_cache.h). This should be enough for a program
/aosp_15_r20/external/cronet/base/trace_event/
H A Dinterned_args_helper.cc120 ModuleCacheForTracing* module_cache = static_cast<ModuleCacheForTracing*>( in Get() local
122 if (!module_cache) { in Get()
124 module_cache = new_module_cache.get(); in Get()
128 module_cache->GetModuleCache().GetModuleForAddress(address); in Get()
/aosp_15_r20/external/cronet/base/process/
H A Dset_process_title_linux_unittest.cc68 base::ModuleCache module_cache; in TEST() local
71 const base::ModuleCache::Module* module = module_cache.GetModuleForAddress( in TEST()
/aosp_15_r20/external/libcxx/utils/libcxx/test/
H A Dconfig.py1010 module_cache = os.path.join(self.config.test_exec_root,
1012 module_cache = os.path.realpath(module_cache)
1013 if os.path.isdir(module_cache):
1014 shutil.rmtree(module_cache)
1015 os.makedirs(module_cache)
1017 ['-fmodules-cache-path=' + module_cache]

12