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

12

/art/tools/ahat/src/
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.java38 public void handle(HttpExchange exchange) throws IOException { method in class:StaticHandler
H A DSiteHandler.java40 public void handle(Doc doc, Query query) throws IOException { method in class:SiteHandler
H A DOverviewHandler.java42 public void handle(Doc doc, Query query) throws IOException { method in class:OverviewHandler
H A DObjectHandler.java55 public void handle(Doc doc, Query query) throws IOException { method in class:ObjectHandler
/art/runtime/native/
H A Djava_lang_invoke_MethodHandleImpl.cc33 Handle<mirror::MethodHandleImpl> handle = hs.NewHandle( local
36 // Check the handle kind, we need to materialize a Field for field accessors,
38 const mirror::MethodHandle::Kind handle_kind = handle->GetHandleKind();
46 ArtField* const field = handle->GetTargetField();
50 ArtMethod* const method = handle->GetTargetMethod();
/art/runtime/
H A Dzip_archive.h61 ZipEntry(ZipArchiveHandle handle, argument
64 : handle_(handle), zip_entry_(zip_entry), entry_name_(entry_name) {}
85 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {} argument
H A Dhandle.h35 // Handles are memory locations that contain GC roots. As the mirror::Object*s within a handle are
45 ALWAYS_INLINE Handle(const Handle<T>& handle) = default; member in class:art::Handle
47 ALWAYS_INLINE Handle<T>& operator=(const Handle<T>& handle) = default; member in class:art::Handle
98 explicit Handle(const Handle<S>& handle) argument
99 : reference_(handle.reference_) {
119 ALWAYS_INLINE MutableHandle(const MutableHandle<T>& handle)
122 ALWAYS_INLINE MutableHandle<T>& operator=(const MutableHandle<T>& handle)
146 explicit MutableHandle(const MutableHandle<S>& handle) REQUIRES_SHARED(Locks::mutator_lock_)
147 : Handle<T>(handle) {
H A Dplugin.cc65 void* handle = dlopen_handle_; local
67 dlsym(handle, PLUGIN_DEINITIALIZATION_FUNCTION_NAME));
77 if (dlclose(handle) != 0) {
89 return os << "Plugin { library=\"" << m.library_ << "\", handle=" << m.dlopen_handle_ << " }";
H A Dzip_archive.cc205 ZipArchiveHandle handle; local
206 const int32_t error = OpenArchive(filename, &handle);
209 CloseArchive(handle);
213 SetCloseOnExec(GetFileDescriptor(handle));
214 return new ZipArchive(handle);
221 ZipArchiveHandle handle; local
222 const int32_t error = OpenArchiveFd(fd, filename, &handle);
225 CloseArchive(handle);
229 SetCloseOnExec(GetFileDescriptor(handle));
230 return new ZipArchive(handle);
[all...]
H A Dhandle_scope.h26 #include "handle.h"
41 // Basic handle scope, tracked by a list. May be variable sized.
48 // Number of references contained within this handle scope.
78 // Link-list of handle scopes. The root is held by a Thread.
81 // Number of handlerized references. -1 for variable sized handle scopes.
123 // Offset of length within handle scope, used by generated code.
128 // Offset of link within handle scope, used by generated code.
139 // Number of references contained within this handle scope.
148 // GetReference returns a pointer to the stack reference within the handle scope. If this
179 HandleWrapper(T** obj, const MutableHandle<T>& handle) argument
199 HandleWrapperObjPtr(ObjPtr<T>* obj, const MutableHandle<T>& handle) argument
[all...]
H A Djava_vm_ext.cc63 SharedLibrary(JNIEnv* env, Thread* self, const std::string& path, void* handle, argument
66 handle_(handle),
475 // Add a hook to handle getting environments from the GetEnv call.
556 // Check for null after decoding the object to handle cleared weak globals.
836 void* handle = android::OpenNativeLibrary(env, local
844 VLOG(jni) << "[Call to dlopen(\"" << path << "\", RTLD_NOW) returned " << handle << "]"; local
846 if (handle == nullptr) {
865 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/compiler/jit/
H A Djit_compiler.cc56 extern "C" void jit_unload(void* handle) { argument
57 DCHECK(handle != nullptr);
58 delete reinterpret_cast<JitCompiler*>(handle);
62 void* handle, ArtMethod* method, Thread* self, bool osr)
64 auto* jit_compiler = reinterpret_cast<JitCompiler*>(handle);
69 extern "C" void jit_types_loaded(void* handle, mirror::Class** types, size_t count)
71 auto* jit_compiler = reinterpret_cast<JitCompiler*>(handle);
/art/compiler/optimizing/
H A Dreference_type_propagation.cc542 ReferenceTypeInfo::TypeHandle handle = handle_cache_->NewHandle(klass); local
543 is_exact = is_exact || handle->CannotBeAssignedFromOtherTypes();
544 instr->SetReferenceTypeInfo(ReferenceTypeInfo::Create(handle, is_exact));
808 Handle<mirror::Class> handle = parent_rti.GetTypeHandle(); local
809 if (handle->IsObjectArrayClass() && IsAdmissible(handle->GetComponentType())) {
811 handle_cache->NewHandle(handle->GetComponentType());
H A Dinliner.cc919 Handle<mirror::Class> handle = handles_->NewHandle(classes->Get(i)); local
921 handle, resolved_method, invoke_instruction, pointer_size);
934 dex::TypeIndex class_index = FindClassIndexIn(handle.Get(), caller_compilation_unit_);
940 ReferenceTypeInfo::Create(handle, /* is_exact */ true),
960 handle,
1834 // Entrypoint for unresolved fields does not handle inlined frames.
H A Dcode_generator_arm64.cc86 // Reference load (except object array loads) is using LDR Wt, [Xn, #offset] which can handle
1938 // TODO(vixl): Let the MacroAssembler handle MemOperand.
2053 // TODO(vixl): Let the MacroAssembler handle this.
2149 // TODO(vixl): Let the MacroAssembler handle MemOperand.
3146 // HCompare instruction, we must handle the -0.0 case with
4655 const DexFile& dex_file, dex::StringIndex string_index, Handle<mirror::String> handle) {
4657 reinterpret_cast64<uint64_t>(handle.GetReference()));
4664 const DexFile& dex_file, dex::TypeIndex type_index, Handle<mirror::Class> handle) {
4666 reinterpret_cast64<uint64_t>(handle.GetReference()));
4654 DeduplicateJitStringLiteral( const DexFile& dex_file, dex::StringIndex string_index, Handle<mirror::String> handle) argument
H A Dcode_generator_arm.cc1590 // HCompare instruction, we must handle the -0.0 case with
8408 Handle<mirror::String> handle) {
8410 reinterpret_cast64<uint64_t>(handle.GetReference()));
8418 Handle<mirror::Class> handle) {
8420 reinterpret_cast64<uint64_t>(handle.GetReference()));
8406 DeduplicateJitStringLiteral(const DexFile& dex_file, dex::StringIndex string_index, Handle<mirror::String> handle) argument
/art/runtime/openjdkjvm/
H A DOpenjdkJvm.cc203 JNIEXPORT void* JVM_FindLibraryEntry(void* handle, const char* name) { argument
204 return dlsym(handle, name);
/art/test/115-native-bridge/
H A Dnativebridge.cc436 void* handle = dlopen(tmp, flag); local
439 if (handle == nullptr) {
448 return handle;
451 extern "C" void* native_bridge_getTrampoline(void* handle, const char* name, const char* shorty, argument
456 void* sym = dlsym(handle, name);
587 extern "C" int native_bridge_unloadLibrary(void* handle ATTRIBUTE_UNUSED) {
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc1390 uintptr_t handle = PushHandle(ptr); local
1393 PushGpr(handle);
1396 PushStack(handle);
1591 // To handle native pointers, use "L" in the shorty for an object reference, which simulates
1726 // Under the callee saves put handle scope and new method stack reference.
1751 // Re-layout the callee-save frame (insert a handle-scope). Then add space for the cookie.
1913 // A class to fill a JNI call. Adds reference/handle-scope management to FillNativeCall.
2068 * We need to fix this, as the handle scope needs to go into the callee-save frame.
2122 // FinalizeHandleScope pushes the handle scope on the thread.
2236 * Is called after the native JNI code. Responsible for cleanup (handle scop
[all...]

Completed in 1461 milliseconds

12