Searched defs:handle (Results 1 - 25 of 33) sorted by relevance

12

/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 DBitmapHandler.java37 public void handle(HttpExchange exchange) throws IOException { method in class:BitmapHandler
H A DObjectsHandler.java38 public void handle(Doc doc, Query query) throws IOException { method in class:ObjectsHandler
H A DRootedHandler.java33 public void handle(Doc doc, Query query) throws IOException { method in class:RootedHandler
H A DStaticHandler.java37 public void handle(HttpExchange exchange) throws IOException { method in class:StaticHandler
H A DOverviewHandler.java38 public void handle(Doc doc, Query query) throws IOException { method in class:OverviewHandler
H A DSiteHandler.java41 public void handle(Doc doc, Query query) throws IOException { method in class:SiteHandler
H A DObjectHandler.java57 public void handle(Doc doc, Query query) throws IOException { method in class:ObjectHandler
/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/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/runtime/
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 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 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 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 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 Djava_vm_ext.cc69 SharedLibrary(JNIEnv* env, Thread* self, const std::string& path, void* handle, argument
72 handle_(handle),
513 // Add a hook to handle getting environments from the GetEnv call.
627 // Check for null after decoding the object to handle cleared weak globals.
959 void* handle = android::OpenNativeLibrary(env, local
967 VLOG(jni) << "[Call to dlopen(\"" << path << "\", RTLD_NOW) returned " << handle << "]"; local
969 if (handle == nullptr) {
988 handle,
/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/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/runtime/jit/
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/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());
H A Dcode_generator_mips64.cc1630 Handle<mirror::String> handle) {
1631 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); local
1639 Handle<mirror::Class> handle) {
1640 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle);
1628 DeduplicateJitStringLiteral(const DexFile& dex_file, dex::StringIndex string_index, Handle<mirror::String> handle) argument
/art/openjdkjvm/
H A DOpenjdkJvm.cc204 JNIEXPORT void* JVM_FindLibraryEntry(void* handle, const char* name) { argument
205 return dlsym(handle, name);
/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) {

Completed in 5007 milliseconds

12