Home
last modified time | relevance | path

Searched refs:module_handle (Results 1 – 12 of 12) sorted by relevance

/external/libchrome/base/profiler/
Dwin32_stack_frame_unwinder.cc95 HMODULE module_handle = nullptr; in GetModuleForProgramCounter() local
100 &module_handle)) { in GetModuleForProgramCounter()
104 return ScopedModuleHandle(module_handle); in GetModuleForProgramCounter()
Dstack_sampling_profiler_unittest.cc399 HMODULE module_handle; in SynchronousUnloadNativeLibrary() local
404 &module_handle) || in SynchronousUnloadNativeLibrary()
/external/tensorflow/tensorflow/stream_executor/
Dstream_executor_pimpl.h116 ModuleHandle *module_handle);
119 bool UnloadModule(ModuleHandle module_handle);
179 ModuleHandle module_handle = {});
183 const std::string &symbol_name, ModuleHandle module_handle = {});
567 bool GetSymbol(const std::string &symbol_name, ModuleHandle module_handle,
757 ModuleHandle module_handle) in ScopedModuleHandle() argument
758 : executor_(executor), module_handle_(module_handle) {} in ScopedModuleHandle()
818 const std::string &symbol_name, ModuleHandle module_handle) { in GetSymbol() argument
820 GetUntypedSymbol(symbol_name, module_handle); in GetSymbol()
Dstream_executor_pimpl.cc202 ModuleHandle *module_handle) { in LoadModule() argument
203 return implementation_->LoadModule(spec, module_handle); in LoadModule()
206 bool StreamExecutor::UnloadModule(ModuleHandle module_handle) { in UnloadModule() argument
207 return implementation_->UnloadModule(module_handle); in UnloadModule()
506 const std::string &symbol_name, ModuleHandle module_handle) { in GetUntypedSymbol() argument
511 if (GetSymbol(symbol_name, module_handle, &opaque, &bytes)) { in GetUntypedSymbol()
515 if (static_cast<bool>(module_handle)) { in GetUntypedSymbol()
520 reinterpret_cast<uintptr_t>(module_handle.id()), ")")); in GetUntypedSymbol()
530 ModuleHandle module_handle, void **mem, in GetSymbol() argument
532 return implementation_->GetSymbol(symbol_name, module_handle, mem, bytes); in GetSymbol()
Dstream_executor_internal.h185 virtual bool UnloadModule(ModuleHandle module_handle) { return false; } in UnloadModule() argument
187 ModuleHandle *module_handle) { in LoadModule() argument
286 ModuleHandle module_handle, void **mem, in GetSymbol() argument
/external/tensorflow/tensorflow/stream_executor/gpu/
Dgpu_executor.h69 ModuleHandle* module_handle) override;
70 bool UnloadModule(ModuleHandle module_handle) override;
195 bool GetSymbol(const std::string& symbol_name, ModuleHandle module_handle,
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_gpu_executor.cc349 ModuleHandle* module_handle) { in LoadModule() argument
358 *module_handle = ModuleHandle(const_cast<void*>( in LoadModule()
373 *module_handle = ModuleHandle( in LoadModule()
380 bool GpuExecutor::UnloadModule(ModuleHandle module_handle) { in UnloadModule() argument
381 const char* gpu_binary = reinterpret_cast<const char*>(module_handle.id()); in UnloadModule()
820 ModuleHandle module_handle, void** mem, in GetSymbol() argument
831 if (static_cast<bool>(module_handle)) { in GetSymbol()
832 auto it = gpu_binary_to_module_.find(module_handle.id()); in GetSymbol()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_gpu_executor.cc116 bool GpuExecutor::UnloadModule(ModuleHandle module_handle) { in UnloadModule() argument
117 const char* gpu_binary = reinterpret_cast<const char*>(module_handle.id()); in UnloadModule()
368 ModuleHandle* module_handle) { in LoadModule() argument
378 *module_handle = ModuleHandle(const_cast<void*>( in LoadModule()
728 ModuleHandle module_handle, void** mem, in GetSymbol() argument
731 if (static_cast<bool>(module_handle)) { in GetSymbol()
732 auto it = gpu_binary_to_module_.find(module_handle.id()); in GetSymbol()
/external/e2fsprogs/intl/
Drelocatable.c288 DllMain (HINSTANCE module_handle, DWORD event, LPVOID reserved) in DllMain() argument
297 if (!GetModuleFileName (module_handle, location, sizeof (location))) in DllMain()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_executable.cc279 se::ModuleHandle module_handle; in ResolveConstantGlobals() local
280 TF_RETURN_IF_ERROR(executor->LoadModule(module_spec, &module_handle)); in ResolveConstantGlobals()
284 info.symbol_name, module_handle)); in ResolveConstantGlobals()
298 se::ScopedModuleHandle(executor, module_handle)); in ResolveConstantGlobals()
/external/python/cpython3/Modules/clinic/
D_winapi.c.h564 _winapi_GetModuleFileName_impl(PyObject *module, HMODULE module_handle);
570 HMODULE module_handle; in _winapi_GetModuleFileName() local
572 if (!PyArg_Parse(arg, "" F_HANDLE ":GetModuleFileName", &module_handle)) { in _winapi_GetModuleFileName()
575 return_value = _winapi_GetModuleFileName_impl(module, module_handle); in _winapi_GetModuleFileName()
/external/python/cpython3/Modules/
D_winapi.c1300 _winapi_GetModuleFileName_impl(PyObject *module, HMODULE module_handle) in _winapi_GetModuleFileName_impl() argument
1307 result = GetModuleFileNameW(module_handle, filename, MAX_PATH); in _winapi_GetModuleFileName_impl()