Searched refs:handle (Results 1 - 25 of 51) sorted by relevance

123

/art/tools/ahat/src/main/com/android/ahat/
H A DAhatHandler.java31 void handle(Doc doc, Query query) throws IOException; method in interface:AhatHandler
H A DAhatHttpHandler.java38 public void handle(HttpExchange exchange) throws IOException { method in class:AhatHttpHandler
45 mAhatHandler.handle(doc, new Query(exchange.getRequestURI()));
H A DRootedHandler.java33 public void handle(Doc doc, Query query) throws IOException { method in class:RootedHandler
H A DBitmapHandler.java37 public void handle(HttpExchange exchange) throws IOException { method in class:BitmapHandler
H A DStaticHandler.java37 public void handle(HttpExchange exchange) throws IOException { method in class:StaticHandler
H A DObjectsHandler.java38 public void handle(Doc doc, Query query) throws IOException { method in class:ObjectsHandler
H A DOverviewHandler.java38 public void handle(Doc doc, Query query) throws IOException { method in class:OverviewHandler
/art/runtime/jit/
H A Ddebugger_interface.h38 // The handle is the object that is being described (needed to be able to remove the entry).
40 void AddNativeDebugInfoForJit(const void* handle, const std::vector<uint8_t>& symfile)
44 void RemoveNativeDebugInfoForJit(const void* handle)
H A Ddebugger_interface.cc53 // it is being copied, therefore the reader should either handle
257 // Mapping from handle to entry. Used to manage life-time of the entries.
261 void AddNativeDebugInfoForJit(const void* handle, const std::vector<uint8_t>& symfile) { argument
275 // We don't provide handle for type debug info, which means we cannot free it later.
278 bool ok = handle == nullptr || __jit_debug_entries.emplace(handle, entry).second;
279 DCHECK(ok) << "Native debug entry already exists for " << std::hex << handle; local
282 void RemoveNativeDebugInfoForJit(const void* handle) { argument
283 auto it = __jit_debug_entries.find(handle);
/art/runtime/native/
H A Djava_lang_invoke_MethodHandleImpl.cc36 Handle<mirror::MethodHandleImpl> handle = hs.NewHandle( local
39 // Check the handle kind, we need to materialize a Field for field accessors,
41 const mirror::MethodHandle::Kind handle_kind = handle->GetHandleKind();
49 ArtField* const field = handle->GetTargetField();
53 ArtMethod* const method = handle->GetTargetMethod();
/art/runtime/
H A Dzip_archive.h70 ZipEntry(ZipArchiveHandle handle, argument
73 : handle_(handle), zip_entry_(zip_entry), entry_name_(entry_name) {}
94 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {} argument
H A Dhandle.h36 // Handles are memory locations that contain GC roots. As the mirror::Object*s within a handle are
46 ALWAYS_INLINE Handle(const Handle<T>& handle) = default; member in class:art::Handle
48 ALWAYS_INLINE Handle<T>& operator=(const Handle<T>& handle) = default; member in class:art::Handle
99 explicit Handle(const Handle<S>& handle) argument
100 : reference_(handle.reference_) {
120 ALWAYS_INLINE MutableHandle(const MutableHandle<T>& handle)
123 ALWAYS_INLINE MutableHandle<T>& operator=(const MutableHandle<T>& handle)
147 explicit MutableHandle(const MutableHandle<S>& handle) REQUIRES_SHARED(Locks::mutator_lock_)
148 : Handle<T>(handle) {
H A Dzip_archive.cc226 ZipArchiveHandle handle; local
227 const int32_t error = OpenArchive(filename, &handle);
230 CloseArchive(handle);
234 SetCloseOnExec(GetFileDescriptor(handle));
235 return new ZipArchive(handle);
242 ZipArchiveHandle handle; local
243 const int32_t error = OpenArchiveFd(fd, filename, &handle);
246 CloseArchive(handle);
250 SetCloseOnExec(GetFileDescriptor(handle));
251 return new ZipArchive(handle);
[all...]
H A Dplugin.cc60 void* handle = dlopen_handle_; local
62 dlsym(handle, PLUGIN_DEINITIALIZATION_FUNCTION_NAME));
82 return os << "Plugin { library=\"" << m.library_ << "\", handle=" << m.dlopen_handle_ << " }";
H A Dhandle_scope.h27 #include "handle.h"
42 // Basic handle scope, tracked by a list. May be variable sized.
49 // Number of references contained within this handle scope.
79 // Link-list of handle scopes. The root is held by a Thread.
82 // Number of handlerized references. -1 for variable sized handle scopes.
124 // Offset of length within handle scope, used by generated code.
129 // Offset of link within handle scope, used by generated code.
140 // Number of references contained within this handle scope.
149 // GetReference returns a pointer to the stack reference within the handle scope. If this
180 HandleWrapper(T** obj, const MutableHandle<T>& handle) argument
200 HandleWrapperObjPtr(ObjPtr<T>* obj, const MutableHandle<T>& handle) argument
[all...]
H A Ddebug_print.cc102 Handle<mirror::ClassLoader> handle(hs.NewHandle(loader));
107 handle,
/art/test/136-daemon-jni-shutdown/
H A Ddaemon_jni_shutdown.cc65 void* handle = dlopen(kIsDebugBuild ? "libarttestd.so" : "libarttest.so", RTLD_NOW); local
66 CHECK(handle != nullptr);
/art/test/807-method-handle-and-mr/src/
H A DMain.java32 this.handle = MethodHandles.lookup().findVirtual(A.class, "binaryFunction",
68 long result = (long) handle.invoke(a, x, y);
77 private MethodHandle handle; field in class:Test
/art/compiler/jit/
H A Djit_compiler.cc58 extern "C" void jit_unload(void* handle) { argument
59 DCHECK(handle != nullptr);
60 delete reinterpret_cast<JitCompiler*>(handle);
64 void* handle, ArtMethod* method, Thread* self, bool osr)
66 auto* jit_compiler = reinterpret_cast<JitCompiler*>(handle);
71 extern "C" void jit_types_loaded(void* handle, mirror::Class** types, size_t count)
73 auto* jit_compiler = reinterpret_cast<JitCompiler*>(handle);
80 // We never free debug info for types, so we don't need to provide a handle
82 AddNativeDebugInfoForJit(nullptr /* handle */, elf_file);
/art/tools/ahat/src/test/com/android/ahat/
H A DTestHandler.java39 handler.handle(doc, query);
H A DPerformanceTest.java53 handler.handle(doc, query);
/art/libdexfile/dex/
H A Ddex_file_loader.cc98 DexZipEntry(ZipArchiveHandle handle, argument
101 : handle_(handle), zip_entry_(zip_entry), entry_name_(entry_name) {}
115 ZipArchiveHandle handle; local
117 const int32_t error = OpenArchiveFromMemory(nonconst_base, size, "ZipArchiveMemory", &handle);
120 CloseArchive(handle);
123 return new DexZipArchive(handle);
144 explicit DexZipArchive(ZipArchiveHandle handle) : handle_(handle) {} argument
/art/test/115-native-bridge/
H A Dnativebridge.cc453 void* handle = dlopen(tmp, flag); local
456 if (handle == nullptr) {
465 return handle;
468 extern "C" void* native_bridge_getTrampoline(void* handle, const char* name, const char* shorty, argument
473 void* sym = dlsym(handle, name);
604 extern "C" int native_bridge_unloadLibrary(void* handle ATTRIBUTE_UNUSED) {
/art/test/956-methodhandles/src/
H A DMain.java126 // This should not work. The receiver type in the handle will be suitably
195 MethodHandle handle = MethodHandles.lookup().findVirtual(String.class, "concat",
199 handle.invokeExact("a", new Object());
593 // The type of this handle is (String, String)String.
1574 MethodHandle handle = MethodHandles.lookup().findVirtual(
1578 MethodHandleInfo info = MethodHandles.lookup().revealDirect(handle);
1597 handle = MethodHandles.lookup().findStatic(UnreflectTester.class,
1601 info = MethodHandles.lookup().revealDirect(handle);
1612 handle = MethodHandles.lookup().findVirtual(UnreflectTester.class,
1615 info = MethodHandles.lookup().revealDirect(handle);
[all...]
/art/compiler/optimizing/
H A Dreference_type_propagation.cc558 ReferenceTypeInfo::TypeHandle handle = handle_cache_->NewHandle(klass); local
559 is_exact = is_exact || handle->CannotBeAssignedFromOtherTypes();
560 instr->SetReferenceTypeInfo(ReferenceTypeInfo::Create(handle, is_exact));
839 Handle<mirror::Class> handle = parent_rti.GetTypeHandle(); local
840 if (handle->IsObjectArrayClass() && IsAdmissible(handle->GetComponentType())) {
842 handle_cache_->NewHandle(handle->GetComponentType());

Completed in 461 milliseconds

123