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

/art/runtime/
H A Dzip_archive.h48 ZipEntry(ZipArchiveHandle handle, argument
49 ::ZipEntry* zip_entry) : handle_(handle), zip_entry_(zip_entry) {}
71 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {} argument
H A Dhandle.h31 // Handles are memory locations that contain GC roots. As the mirror::Object*s within a handle are
41 ALWAYS_INLINE ConstHandle(const ConstHandle<T>& handle) : reference_(handle.reference_) { argument
44 ALWAYS_INLINE ConstHandle<T>& operator=(const ConstHandle<T>& handle) { argument
45 reference_ = handle.reference_;
78 explicit ConstHandle(const ConstHandle<S>& handle) argument
79 : reference_(handle.reference_) {
107 ALWAYS_INLINE Handle(const Handle<T>& handle) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_)
108 : ConstHandle<T>(handle.reference_) {
111 ALWAYS_INLINE Handle<T>& operator=(const Handle<T>& handle)
[all...]
H A Dzip_archive.cc93 ZipArchiveHandle handle; local
94 const int32_t error = OpenArchive(filename, &handle);
97 CloseArchive(handle);
101 SetCloseOnExec(GetFileDescriptor(handle));
102 return new ZipArchive(handle);
109 ZipArchiveHandle handle; local
110 const int32_t error = OpenArchiveFd(fd, filename, &handle);
113 CloseArchive(handle);
117 SetCloseOnExec(GetFileDescriptor(handle));
118 return new ZipArchive(handle);
[all...]
H A Dhandle_scope.h22 #include "handle.h"
40 // Number of references contained within this handle scope.
112 // Offset of length within handle scope, used by generated code
117 // Offset of link within handle scope, used by generated code
150 HandleWrapper(T** obj, const Handle<T>& handle) argument
151 : Handle<T>(handle), obj_(obj) {
162 // Scoped handle storage of a fixed size that is usually stack allocated.
203 // The thread that the stack handle scope is a linked list upon. The stack handle scope will
H A Djni_internal.cc352 SharedLibrary(const std::string& path, void* handle, mirror::Object* class_loader) argument
354 handle_(handle),
798 // Check for null after decoding the object to handle cleared weak globals.
839 // Check for null after decoding the object to handle cleared weak globals.
3277 void* handle = dlopen(path_str, RTLD_LAZY); local
3279 if (handle == nullptr) {
3281 handle = android::NativeBridgeLoadLibrary(path_str, RTLD_LAZY);
3287 VLOG(jni) << "[Call to dlopen(\"" << path << "\", RTLD_LAZY) returned " << handle << "]"; local
3289 if (handle == nullptr) {
3302 library = new SharedLibrary(path, handle, class_loade
[all...]
/art/test/115-native-bridge/
H A Dnativebridge.cc235 void* handle = dlopen(tmp, flag); local
238 if (handle == nullptr) {
247 return handle;
250 extern "C" void* native_bridge_getTrampoline(void* handle, const char* name, const char* shorty, argument
255 void* sym = dlsym(handle, name);
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc1005 uintptr_t handle = PushHandle(ptr); local
1008 PushGpr(handle);
1011 PushStack(handle);
1196 // To handle native pointers, use "L" in the shorty for an object reference, which simulates
1324 // Under the callee saves put handle scope and new method stack reference.
1353 // Re-layout the callee-save frame (insert a handle-scope). Then add space for the cookie.
1504 // A class to fill a JNI call. Adds reference/handle-scope management to FillNativeCall.
1632 * We need to fix this, as the handle scope needs to go into the callee-save frame.
1709 * Is called after the native JNI code. Responsible for cleanup (handle scope, saved state) and

Completed in 886 milliseconds