/art/compiler/jit/ |
D | jit_compiler.cc | 126 extern "C" void jit_unload(void* handle) { in jit_unload() argument 127 DCHECK(handle != nullptr); in jit_unload() 128 delete reinterpret_cast<JitCompiler*>(handle); in jit_unload() 132 void* handle, ArtMethod* method, Thread* self, bool baseline, bool osr) in jit_compile_method() argument 134 auto* jit_compiler = reinterpret_cast<JitCompiler*>(handle); in jit_compile_method() 139 extern "C" void jit_types_loaded(void* handle, mirror::Class** types, size_t count) in jit_types_loaded() argument 141 auto* jit_compiler = reinterpret_cast<JitCompiler*>(handle); in jit_types_loaded() 159 extern "C" void jit_update_options(void* handle) { in jit_update_options() argument 160 JitCompiler* jit_compiler = reinterpret_cast<JitCompiler*>(handle); in jit_update_options() 165 extern "C" bool jit_generate_debug_info(void* handle) { in jit_generate_debug_info() argument [all …]
|
/art/runtime/ |
D | handle_wrapper.h | 30 HandleWrapper(T** obj, const MutableHandle<T>& handle) in HandleWrapper() argument 31 : MutableHandle<T>(handle), obj_(obj) { in HandleWrapper() 50 HandleWrapperObjPtr(ObjPtr<T>* obj, const MutableHandle<T>& handle) in HandleWrapperObjPtr() argument 51 : MutableHandle<T>(handle), obj_(obj) {} in HandleWrapperObjPtr()
|
D | handle.h | 46 ALWAYS_INLINE Handle(const Handle<T>& handle) = default; 48 ALWAYS_INLINE Handle<T>& operator=(const Handle<T>& handle) = default; 100 explicit Handle(const Handle<S>& handle) in Handle() argument 101 : reference_(handle.reference_) { in Handle() 121 ALWAYS_INLINE MutableHandle(const MutableHandle<T>& handle) 124 ALWAYS_INLINE MutableHandle<T>& operator=(const MutableHandle<T>& handle) 148 explicit MutableHandle(const MutableHandle<S>& handle) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle() argument 149 : Handle<T>(handle) { in MutableHandle()
|
D | plugin.cc | 60 void* handle = dlopen_handle_; in Unload() local 62 dlsym(handle, PLUGIN_DEINITIALIZATION_FUNCTION_NAME)); in Unload()
|
/art/libartbase/base/ |
D | zip_archive.cc | 228 ZipArchiveHandle handle; in Open() local 229 const int32_t error = OpenArchive(filename, &handle); in Open() 232 CloseArchive(handle); in Open() 236 SetCloseOnExec(GetFileDescriptor(handle)); in Open() 237 return new ZipArchive(handle); in Open() 244 ZipArchiveHandle handle; in OpenFromFd() local 245 const int32_t error = OpenArchiveFd(fd, filename, &handle); in OpenFromFd() 248 CloseArchive(handle); in OpenFromFd() 252 SetCloseOnExec(GetFileDescriptor(handle)); in OpenFromFd() 253 return new ZipArchive(handle); in OpenFromFd()
|
D | zip_archive.h | 72 ZipEntry(ZipArchiveHandle handle, in ZipEntry() argument 75 : handle_(handle), zip_entry_(zip_entry), entry_name_(entry_name) {} in ZipEntry() 96 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {} in ZipArchive() argument
|
D | mem_map_windows.cc | 101 HANDLE handle = ::CreateFileMapping(reinterpret_cast<HANDLE>(_get_osfhandle(fd)), in TargetMMap() local 107 if (handle == nullptr) { in TargetMMap() 121 void* view_address = MapViewOfFile(handle, view_access, offset_high, offset_low, map_length); in TargetMMap() 125 ::CloseHandle(handle); in TargetMMap()
|
/art/runtime/native/ |
D | java_lang_invoke_MethodHandleImpl.cc | 36 Handle<mirror::MethodHandleImpl> handle = hs.NewHandle( in MethodHandleImpl_getMemberInternal() local 41 const mirror::MethodHandle::Kind handle_kind = handle->GetHandleKind(); in MethodHandleImpl_getMemberInternal() 49 ArtField* const field = handle->GetTargetField(); in MethodHandleImpl_getMemberInternal() 53 ArtMethod* const method = handle->GetTargetMethod(); in MethodHandleImpl_getMemberInternal()
|
/art/test/807-method-handle-and-mr/src/ |
D | Main.java | 32 this.handle = MethodHandles.lookup().findVirtual(A.class, "binaryFunction", in Test() 68 long result = (long) handle.invoke(a, x, y); in run() 77 private MethodHandle handle; field in Test
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 61 HANDLE handle() { return handle_; } in handle() function in unix_file::ScopedEvent 72 if (event.handle() == INVALID_HANDLE_VALUE) { in pread() 78 auto handle = reinterpret_cast<HANDLE>(_get_osfhandle(fd)); in pread() local 83 overlapped.hEvent = event.handle(); in pread() 84 if (!ReadFile(handle, data, static_cast<DWORD>(byte_count), &bytes_read, &overlapped)) { in pread() 90 !::GetOverlappedResult(handle, &overlapped, &bytes_read, TRUE)) { in pread() 101 if (event.handle() == INVALID_HANDLE_VALUE) { in pwrite() 107 auto handle = reinterpret_cast<HANDLE>(_get_osfhandle(fd)); in pwrite() local 112 overlapped.hEvent = event.handle(); in pwrite() 113 if (!::WriteFile(handle, buf, count, &bytes_written, &overlapped)) { in pwrite() [all …]
|
/art/libdexfile/external/ |
D | dex_file_supp.cc | 57 void* handle = in LoadLibdexfileExternal() 59 LOG_ALWAYS_FATAL_IF(handle == nullptr, "Failed to load %s: %s", in LoadLibdexfileExternal() 64 CLASS::g_##DLFUNC = reinterpret_cast<decltype(DLFUNC)*>(dlsym(handle, #DLFUNC)); \ in LoadLibdexfileExternal()
|
/art/test/136-daemon-jni-shutdown/ |
D | daemon_jni_shutdown.cc | 65 void* handle = dlopen(kIsDebugBuild ? "libarttestd.so" : "libarttest.so", RTLD_NOW); in Java_Main_destroyJavaVMAndExit() local 66 CHECK(handle != nullptr); in Java_Main_destroyJavaVMAndExit()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | AhatHttpHandler.java | 38 public void handle(HttpExchange exchange) throws IOException { in handle() method in AhatHttpHandler 45 mAhatHandler.handle(doc, new Query(exchange.getRequestURI())); in handle()
|
D | AhatHandler.java | 31 void handle(Doc doc, Query query) throws IOException; in handle() method
|
/art/libartpalette/apex/ |
D | palette.cc | 79 void* handle = dlopen(kPaletteSystemLibrary, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE); in OpenLibrary() local 80 if (handle == nullptr) { in OpenLibrary() 84 return handle; in OpenLibrary()
|
/art/libdexfile/dex/ |
D | dex_file_loader.cc | 94 DexZipEntry(ZipArchiveHandle handle, in DexZipEntry() argument 97 : handle_(handle), zip_entry_(zip_entry), entry_name_(entry_name) {} in DexZipEntry() 111 ZipArchiveHandle handle; in Open() local 113 const int32_t error = OpenArchiveFromMemory(nonconst_base, size, "ZipArchiveMemory", &handle); in Open() 116 CloseArchive(handle); in Open() 119 return new DexZipArchive(handle); in Open() 140 explicit DexZipArchive(ZipArchiveHandle handle) : handle_(handle) {} in DexZipArchive() argument
|
/art/test/979-const-method-handle/ |
D | info.txt | 1 This test checks const-method-handle and const-method-type bytecodes.
|
/art/test/643-checker-bogus-ic/ |
D | info.txt | 1 Verify the compiler can handle a bogus inline cache in a profile.
|
/art/test/648-many-direct-methods/ |
D | info.txt | 1 Regression test checking that the runtime can handle a huge number of
|
/art/test/946-obsolete-throw/ |
D | info.txt | 3 Tests that we correctly handle exceptions thrown through obsolete methods.
|
/art/test/707-checker-invalid-profile/ |
D | info.txt | 1 Verify the compiler can handle an invalid profile with methods
|
/art/test/956-methodhandles/ |
D | info.txt | 1 Tests for method handle invocations.
|
/art/test/957-methodhandle-transforms/ |
D | info.txt | 1 Tests for method handle transformations.
|
/art/test/575-checker-string-init-alias/ |
D | info.txt | 2 sure the compiler knows how to handle dex aliases.
|
/art/test/953-invoke-polymorphic-compiler/ |
D | info.txt | 1 Tests for method handle invocations.
|