Home
last modified time | relevance | path

Searched refs:res (Results 126 – 150 of 169) sorted by relevance

1234567

/art/runtime/mirror/
Dclass.cc1749 size_t res = (fld - start) / sizeof(ArtField); in GetStaticFieldIdOffset() local
1750 DCHECK_EQ(&GetSFieldsPtr()->At(res), field) in GetStaticFieldIdOffset()
1752 << " got: " << GetSFieldsPtr()->At(res).PrettyField(); in GetStaticFieldIdOffset()
1753 return res; in GetStaticFieldIdOffset()
1767 size_t res = (fld - start) / sizeof(ArtField); in GetInstanceFieldIdOffset() local
1768 DCHECK_EQ(&GetIFieldsPtr()->At(res), field) in GetInstanceFieldIdOffset()
1770 << " got: " << GetIFieldsPtr()->At(res).PrettyField(); in GetInstanceFieldIdOffset()
1771 return res; in GetInstanceFieldIdOffset()
1790 size_t res = (fld - start) / art_method_size; in GetMethodIdOffset() local
1791 DCHECK_EQ(&GetMethodsPtr()->At(res, art_method_size, art_method_align), method) in GetMethodIdOffset()
[all …]
Dobject_array.h184 Iter res(this);
187 return res;
/art/runtime/
Dreference_table_test.cc263 std::vector<size_t> res; in FindAll() local
270 res.push_back(pos); in FindAll()
273 return res; in FindAll()
Dcommon_runtime_test.cc500 ForkAndExecResult res = ForkAndExec(args, post_fork_fn, error_msg); in RunDex2Oat() local
501 if (res.stage != ForkAndExecResult::kFinished) { in RunDex2Oat()
505 return res.StandardSuccess(); in RunDex2Oat()
Dinstrumentation.cc1177 const void* res = jit->GetCodeCache()->FindCompiledCodeForInstrumentation(method); in GetCodeForInvoke() local
1178 if (res != nullptr) { in GetCodeForInvoke()
1179 result = res; in GetCodeForInvoke()
1553 MutableHandle<mirror::Object> res(hs.NewHandle<mirror::Object>(nullptr)); in PopInstrumentationStackFrame() local
1564 res.Assign(return_value.GetL()); in PopInstrumentationStackFrame()
1593 *reinterpret_cast<mirror::Object**>(gpr_result) = res.Get(); in PopInstrumentationStackFrame()
Dart_method.cc820 std::string res(m->GetDexFile()->PrettyMethod(m->GetDexMethodIndex(), with_signature)); in PrettyMethod() local
822 return "<OBSOLETE> " + res; in PrettyMethod()
824 return res; in PrettyMethod()
/art/test/458-checker-instruct-simplification/src/
DMain.java751 long res = 0; in $noinline$AddNegs3() local
755 res += n_arg1 + n_arg2 + i; in $noinline$AddNegs3()
757 return res; in $noinline$AddNegs3()
1056 long res = 0; in $noinline$SubNeg3() local
1059 res += temp - arg2 - i; in $noinline$SubNeg3()
1061 return res; in $noinline$SubNeg3()
/art/test/1912-get-set-local-primitive/src/art/
DTest1912.java131 Object res = get.GetVar(t, depth, desc.slot);
132 System.out.println(this + " on " + method + " got value: " + res);
/art/perfetto_hprof/
Dperfetto_hprof.cc739 int res; in ArtPlugin_Initialize() local
741 res = read(g_signal_pipe_fds[0], buf, sizeof(buf)); in ArtPlugin_Initialize()
742 } while (res == -1 && errno == EINTR); in ArtPlugin_Initialize()
744 if (res <= 0) { in ArtPlugin_Initialize()
745 if (res == -1) { in ArtPlugin_Initialize()
/art/test/530-checker-lse/src/
DMain.java1191 int res; in testExitMerge2() local
1194 res = obj.i + 1; in testExitMerge2()
1197 res = obj.j + 2; in testExitMerge2()
1199 return res; in testExitMerge2()
/art/openjdkjvmti/
Dti_method.cc825 jvmtiError res = GetTypeErrorInner(method, slot_type, descriptor); in GetTypeError() local
826 if (res == ERR(TYPE_MISMATCH)) { in GetTypeError()
830 } else if (res != OK) { in GetTypeError()
833 return res; in GetTypeError()
978 jvmtiError res = GetTypeErrorInner(method, slot_type, descriptor); in GetTypeError() local
979 if (res != OK) { in GetTypeError()
980 if (res == ERR(TYPE_MISMATCH)) { in GetTypeError()
997 return res; in GetTypeError()
Dti_class.cc880 jvmtiError res = OK; in CopyClassDescriptors() local
885 if (res == OK && unique_descriptors.find(desc) == unique_descriptors.end()) { in CopyClassDescriptors()
888 descriptors.push_back(CopyString(env, desc, &res).release()); in CopyClassDescriptors()
898 if (res == OK) { in CopyClassDescriptors()
899 res = env->Allocate(sizeof(char*) * descriptors.size(), in CopyClassDescriptors()
902 if (res != OK) { in CopyClassDescriptors()
909 return res; in CopyClassDescriptors()
Dti_thread.cc1052 jvmtiError res = env->SuspendThread(threads[first_current_thread_index]); in SuspendThreadList() local
1053 results[first_current_thread_index] = res; in SuspendThreadList()
1055 jvmtiError other_results = (res != OK) ? res : ERR(THREAD_SUSPENDED); in SuspendThreadList()
/art/test/etc/
Drun-test-jar1135 if [ -d res ]; then
1136 adb push res $CHROOT_DEX_LOCATION
1147 if [ -d res ]; then
1148 adb push res $CHROOT_DEX_LOCATION >/dev/null 2>&1
/art/test/407-arrays/src/
DMain.java156 boolean res = array[index]; in $opt$doArrayLoad()
/art/test/989-method-trace-throw/src/art/
DTest989.java168 public static void baseNotifyMethodExit(Object o, boolean exception, Object res) { in baseNotifyMethodExit() argument
169 currentTracer.methodExited(o, exception, res); in baseNotifyMethodExit()
/art/libdexfile/external/
Ddex_file_ext.cc129 auto res = method_cache_.emplace(offset + len, art::MethodCacheEntry{offset, len, index}); in GetMethodCacheEntryForOffset() local
130 return &res.first->second; in GetMethodCacheEntryForOffset()
/art/runtime/jni/
Djava_vm_ext.cc540 jint res = hook(this, env, version); in HandleGetEnv() local
541 if (res == JNI_OK) { in HandleGetEnv()
543 } else if (res != JNI_EVERSION) { in HandleGetEnv()
544 LOG(ERROR) << "Error returned from a plugin GetEnv handler! " << res; in HandleGetEnv()
545 return res; in HandleGetEnv()
/art/runtime/interpreter/
Dinterpreter.cc282 bool res = PerformNonStandardReturn<MonitorState::kNoMonitorsLocked>( in Execute() local
289 DCHECK(res) << "Expected to perform non-standard return!"; in Execute()
300 bool res = PerformNonStandardReturn<MonitorState::kNoMonitorsLocked>( in Execute() local
307 DCHECK(res) << "Expected to perform non-standard return!"; in Execute()
/art/test/912-classes/
Dclasses.cc41 jboolean res = JNI_FALSE; in Java_art_Test912_isModifiableClass() local
42 jvmtiError result = jvmti_env->IsModifiableClass(klass, &res); in Java_art_Test912_isModifiableClass()
44 return res; in Java_art_Test912_isModifiableClass()
/art/dex2oat/
Ddex2oat_test.cc250 ForkAndExecResult res = ForkAndExec(argv, post_fork_fn, &output_); in Dex2Oat() local
251 if (res.stage != ForkAndExecResult::kFinished) { in Dex2Oat()
255 success_ = res.StandardSuccess(); in Dex2Oat()
256 return res.status_code; in Dex2Oat()
1310 const int res = GenerateOdexForTestWithStatus( in TEST_F() local
1316 ASSERT_EQ(res, 0); in TEST_F()
1412 const int res = GenerateOdexForTestWithStatus( in TEST_F() local
1418 EXPECT_EQ(res, 0); in TEST_F()
1521 const int res = GenerateOdexForTestWithStatus( in TEST_F() local
1527 EXPECT_EQ(res, 0); in TEST_F()
Ddex2oat.cc2974 std::string res(image_filename); in StripIsaFrom() local
2975 size_t last_slash = res.rfind('/'); in StripIsaFrom()
2977 return res; in StripIsaFrom()
2979 size_t penultimate_slash = res.rfind('/', last_slash - 1); in StripIsaFrom()
2981 return res; in StripIsaFrom()
2984 if (res.substr(penultimate_slash + 1, last_slash - penultimate_slash - 1) != in StripIsaFrom()
2986 LOG(WARNING) << "Unexpected string when trying to strip isa: " << res; in StripIsaFrom()
2987 return res; in StripIsaFrom()
2989 return res.substr(0, penultimate_slash) + res.substr(last_slash); in StripIsaFrom()
/art/runtime/gc/allocator/
Drosalloc.cc133 FreePageRun* res = nullptr; in AllocPages() local
168 res = fpr; in AllocPages()
176 if (UNLIKELY(res == nullptr && capacity_ > footprint_)) { in AllocPages()
265 res = fpr; in AllocPages()
268 if (LIKELY(res != nullptr)) { in AllocPages()
270 size_t page_map_idx = ToPageMapIndex(res); in AllocPages()
293 memset(res, 0, kPageSize); in AllocPages()
296 LOG(INFO) << "RosAlloc::AllocPages() : 0x" << std::hex << reinterpret_cast<intptr_t>(res) in AllocPages()
297 << "-0x" << (reinterpret_cast<intptr_t>(res) + num_pages * kPageSize) in AllocPages()
300 return res; in AllocPages()
/art/test/ti-stress/
Dstress.cc111 unsigned char* res = writer.CreateImage(&alloc, &res_len); in DoExtractClassFromData() local
112 if (res != nullptr) { in DoExtractClassFromData()
113 *out_data = res; in DoExtractClassFromData()
/art/test/1932-monitor-events-misc/src/art/
DTest1932.java110 public static void printLockState(Monitors.NamedLock lk, Object exception, int res) { in printLockState() argument
112 "MonitorEnter returned: " + res + "\n" + in printLockState()

1234567