/art/test/107-int-math2/src/ |
D | Main.java | 517 int res = 1234; in switchTest() local 520 case -1: res = 1; return res; in switchTest() 521 case 0: res = 2; return res; in switchTest() 523 case 2: res = 3; return res; in switchTest() 524 case 3: res = 4; return res; in switchTest() 525 case 4: res = 5; return res; in switchTest() 526 default: res = 6; return res; in switchTest() 529 case 3: res = 7; return res; in switchTest() 530 case 4: res = 8; return res; in switchTest() 538 case 0x12345679: res = 9; return res; in switchTest() [all …]
|
/art/test/012-math/ |
D | expected.txt | 1 res:10 2 res:-4 3 res:2 4 res:-2 5 res:21 6 res:0 7 res:3 8 res:4 9 res:384 10 res:0 [all …]
|
/art/test/106-exceptions2/src/ |
D | Main.java | 161 int res; in checkAIOBE() local 164 res = 123; in checkAIOBE() 166 res = 768; in checkAIOBE() 168 res = 456; in checkAIOBE() 172 res += 123; in checkAIOBE() 174 res += 768; in checkAIOBE() 176 res += 456; in checkAIOBE() 178 return res; in checkAIOBE() 200 int res; in main() local 202 res = nullCheckTestNoThrow(1976); in main() [all …]
|
/art/test/012-math/src/ |
D | Main.java | 24 int a, b, res; in math_012() local 30 res = a + b; in math_012() 31 System.out.println("res:" +res); in math_012() 32 res = a - b; in math_012() 33 System.out.println("res:" +res); in math_012() 34 res = 5 - a; in math_012() 35 System.out.println("res:" +res); in math_012() 36 res = a - 5; in math_012() 37 System.out.println("res:" +res); in math_012() 38 res = a * b; in math_012() [all …]
|
/art/compiler/jni/quick/x86_64/ |
D | calling_convention_x86_64.cc | 134 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamRegister() local 137 case 0: res = X86_64ManagedRegister::FromCpuRegister(RSI); break; in CurrentParamRegister() 138 case 1: res = X86_64ManagedRegister::FromCpuRegister(RDX); break; in CurrentParamRegister() 139 case 2: res = X86_64ManagedRegister::FromCpuRegister(RCX); break; in CurrentParamRegister() 140 case 3: res = X86_64ManagedRegister::FromCpuRegister(R8); break; in CurrentParamRegister() 141 case 4: res = X86_64ManagedRegister::FromCpuRegister(R9); break; in CurrentParamRegister() 145 res = X86_64ManagedRegister::FromXmmRegister( in CurrentParamRegister() 148 return res; in CurrentParamRegister() 241 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamRegister() local 244 case 0: res = X86_64ManagedRegister::FromCpuRegister(RDI); break; in CurrentParamRegister() [all …]
|
/art/test/068-classloader/src/ |
D | FancyLoader.java | 186 Class<?> res; in loadClass() local 194 res = findLoadedClass(name); in loadClass() 195 if (res != null) { in loadClass() 199 resolveClass(res); in loadClass() 200 return res; in loadClass() 207 res = findClass(name); in loadClass() 209 resolveClass(res); in loadClass() 224 res = super.loadClass(name, resolve); // returns class or throws in loadClass() 225 return res; in loadClass()
|
/art/test/071-dexfile-get-static-size/ |
D | build | 25 cp res/test1.dex test-jar/classes.dex 26 cp res/test2.dex test-jar/classes2.dex 27 zip -j res/test-jar.jar test-jar/classes.dex 28 zip -j res/multi-jar.jar test-jar/classes.dex test-jar/classes2.dex
|
/art/compiler/utils/ |
D | assembler_test_base.h | 117 NativeAssemblerResult res; in Driver() local 118 Compile(assembly_text, &res, test_name); in Driver() 120 EXPECT_TRUE(res.ok) << res.error_msg; in Driver() 121 if (!res.ok) { in Driver() 126 if (data == *res.code) { in Driver() 127 Clean(&res); in Driver() 129 if (DisassembleBinaries(data, *res.code, test_name)) { in Driver() 130 if (data.size() > res.code->size()) { in Driver() 134 ", gcc size=" << res.code->size(); in Driver() 139 Clean(&res); in Driver() [all …]
|
/art/test/647-jni-get-field-id/src/ |
D | DefiningLoader.java | 199 Class<?> res; in loadClass() local 207 res = findLoadedClass(name); in loadClass() 208 if (res != null) { in loadClass() 211 resolveClass(res); in loadClass() 212 return res; in loadClass() 219 res = findClass(name); in loadClass() 221 resolveClass(res); in loadClass() 236 res = super.loadClass(name, resolve); // returns class or throws in loadClass() 237 return res; in loadClass()
|
/art/test/706-checker-scheduler/src/ |
D | Main.java | 59 int res = 0; in arrayAccess() local 62 res += array[i]; in arrayAccess() 63 res += array[i + 1]; in arrayAccess() 65 return res; in arrayAccess() 514 int res = 0; in intDiv() local 518 res = res / i; // div-zero check barrier. in intDiv() 521 res += tmp; in intDiv() 522 return res; in intDiv()
|
/art/test/626-const-class-linking/src/ |
D | DefiningLoader.java | 199 Class<?> res; in loadClass() local 207 res = findLoadedClass(name); in loadClass() 208 if (res != null) { in loadClass() 211 resolveClass(res); in loadClass() 212 return res; in loadClass() 219 res = findClass(name); in loadClass() 221 resolveClass(res); in loadClass() 236 res = super.loadClass(name, resolve); // returns class or throws in loadClass() 237 return res; in loadClass()
|
/art/tools/jvmti-agents/wrapagentproperties/ |
D | wrapagentproperties.cc | 83 static jint WrapAttachCurrentThread(ProxyJavaVM* vm, JNIEnv** env, void* res) { in WrapAttachCurrentThread() 84 return vm->real_vm->AttachCurrentThread(env, res); in WrapAttachCurrentThread() 89 static jint WrapAttachCurrentThreadAsDaemon(ProxyJavaVM* vm, JNIEnv** env, void* res) { in WrapAttachCurrentThreadAsDaemon() 90 return vm->real_vm->AttachCurrentThreadAsDaemon(env, res); in WrapAttachCurrentThreadAsDaemon() 135 jvmtiError res = (*out_iface)->DisposeEnvironment(env); in WrapDisposeEnvironment() local 136 return res; in WrapDisposeEnvironment() 146 jvmtiError res = env->Allocate(val.size() + 1, reinterpret_cast<unsigned char**>(out)); in WrapGetSystemProperty() local 147 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperty() 148 return res; in WrapGetSystemProperty() 162 jvmtiError res = funcs->original_interface->GetSystemProperties(env, &init_cnt, &init_prop_ptr); in WrapGetSystemProperties() local [all …]
|
/art/test/529-long-split/src/ |
D | Main.java | 67 boolean res = a == b; in testOddLow1() 70 return res; in testOddLow1() 107 boolean res = a == b; in testNonFollowingHigh() 110 return res; in testNonFollowingHigh() 163 boolean res = a == b; in testOddLow2() 166 return res; in testOddLow2()
|
/art/test/602-deoptimizeable/src/ |
D | Main.java | 61 int res = $noinline$run1(arr); in main() 62 if (res != 79) { in main() 78 double res = (double)method.invoke(Main.class, arr); in main() 79 if (res != 79.3d) { in main() 92 float res = $noinline$run3B(); in main() 93 if (res != 0.034f) { in main() 186 float res = $noinline$run3A(); in $noinline$run3B() local 187 return res; in $noinline$run3B()
|
/art/openjdkjvmti/ |
D | transform.cc | 101 ArtClassDefinition* res = nullptr; in Action() local 113 res = *it; in Action() 117 initializing_class_definitions_.push_back(res); in Action() 138 VLOG(signals) << "Lazy initialization of dex file for transformation of " << res->GetName() in Action() 140 res->InitializeMemory(); in Action() 147 res)); in Action() 148 initialized_class_definitions_.push_back(res); in Action() 316 jvmtiError res = OK; in RetransformClasses() local 318 res = Redefiner::GetClassRedefinitionError(classes[i], error_msg); in RetransformClasses() 319 if (res != OK) { in RetransformClasses() [all …]
|
/art/runtime/ |
D | plugin.cc | 36 void* res = dlopen(library_.c_str(), RTLD_LAZY); in Load() local 37 if (res == nullptr) { in Load() 43 dlsym(res, PLUGIN_INITIALIZATION_FUNCTION_NAME)); in Load() 46 dlclose(res); in Load() 53 dlopen_handle_ = res; in Load()
|
/art/test/ti-agent/ |
D | redefinition_helper.cc | 42 jvmtiError res) { in throwCommonRedefinitionError() argument 45 jvmti->GetErrorName(res, &error); in throwCommonRedefinitionError() 100 jvmtiError res) { in throwRedefinitionError() argument 101 return throwCommonRedefinitionError<true>(jvmti, env, num_targets, target, res); in throwRedefinitionError() 118 jvmtiError res = jvmti_env->RedefineClasses(num_redefines, defs.data()); in DoMultiClassRedefine() local 119 if (res != JVMTI_ERROR_NONE) { in DoMultiClassRedefine() 120 throwRedefinitionError(jvmti_env, env, num_redefines, targets, res); in DoMultiClassRedefine() 247 CommonTransformationResult& res = gTransformations[name_str][0]; in CommonClassFileLoadHookRetransformable() local 248 const std::vector<unsigned char>& desired_array = IsJVM() ? res.class_bytes : res.dex_bytes; in CommonClassFileLoadHookRetransformable() 286 jvmtiError res = jvmti_env->SetEventNotificationMode(enable ? JVMTI_ENABLE : JVMTI_DISABLE, in Java_art_Redefinition_enableCommonRetransformation() local [all …]
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 160 int res = TEMP_FAILURE_RETRY(read(read_fd_, bdata + nbytes, ndata - nbytes)); in ReadFullyWithoutChecks() local 161 if (res < 0) { in ReadFullyWithoutChecks() 164 } else if (res == 0) { in ReadFullyWithoutChecks() 167 nbytes += res; in ReadFullyWithoutChecks() 176 int res = TEMP_FAILURE_RETRY(ioctl(read_fd_, FIONREAD, &avail)); in ReadUpToMax() local 177 if (res < 0) { in ReadUpToMax() 186 res = TEMP_FAILURE_RETRY(poll(&pollfd, /*nfds*/1, /*timeout*/0)); in ReadUpToMax() 187 if (res < 0 || (pollfd.revents & POLLERR) == POLLERR) { in ReadUpToMax() 212 IOResult res = ReadUpToMax(reinterpret_cast<uint8_t*>(data) + nbytes, in ReadFully() local 215 if (res != IOResult::kOk) { in ReadFully() [all …]
|
/art/compiler/jni/quick/x86/ |
D | calling_convention_x86.cc | 111 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamRegister() local 115 res = X86ManagedRegister::FromCpuRegister(ECX); in CurrentParamRegister() 118 res = X86ManagedRegister::FromCpuRegister(EDX); in CurrentParamRegister() 125 res = X86ManagedRegister::FromCpuRegister(EBX); in CurrentParamRegister() 130 res = X86ManagedRegister::FromXmmRegister( in CurrentParamRegister() 133 return res; in CurrentParamRegister() 137 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamHighLongRegister() local 140 case 0: res = X86ManagedRegister::FromCpuRegister(EDX); break; in CurrentParamHighLongRegister() 141 case 1: res = X86ManagedRegister::FromCpuRegister(EBX); break; in CurrentParamHighLongRegister() 143 return res; in CurrentParamHighLongRegister()
|
/art/tools/jvmti-agents/dump-jvmti-state/ |
D | dump-jvmti.cc | 48 jint res = 0; in SetupJvmtiEnv() local 49 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv() 51 if (res != JNI_OK || *jvmti == nullptr) { in SetupJvmtiEnv() 52 LOG(ERROR) << "Unable to access JVMTI, error code " << res; in SetupJvmtiEnv() 53 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv() 54 if (res != JNI_OK) { in SetupJvmtiEnv() 55 return res; in SetupJvmtiEnv()
|
/art/tools/bisection_search/ |
D | bisection_test.py | 66 res = BugSearch(self.testable_mock) 67 self.assertEqual(res, (None, None)) 76 res = BugSearch(self.testable_mock) 77 self.assertEqual(res, (self._FAILING_METHOD, None)) 81 res = BugSearch(self.testable_mock) 82 self.assertEqual(res, (self._FAILING_METHOD, self._FAILING_PASS))
|
/art/test/409-materialized-condition/src/ |
D | Main.java | 98 int res = foo1(); in main() local 99 if (res != 42) { in main() 100 throw new Error("Unexpected return value for foo1: " + res + ", expected 42."); in main() 104 res = foo2(); in main() 105 if (res != 42) { in main() 106 throw new Error("Unexpected return value for foo2: " + res + ", expected 42."); in main()
|
/art/test/687-deopt/src/ |
D | Main.java | 31 Integer res = map.get(key); in main() local 32 if (!value.equals(res)) { in main() 33 throw new Error("Expected 10, got " + res); in main()
|
/art/test/685-deoptimizeable/src/ |
D | Main.java | 91 int res = $noinline$run1(arr); in main() 93 if (res != 79) { in main() 115 double res = (double)method.invoke(Main.class, arr); in main() 117 if (res != 79.3d) { in main() 136 float res = $noinline$run3B(); in main() 138 if (res != 0.034f) { in main() 248 float res = $noinline$run3A(); in $noinline$run3B() local 250 return res; in $noinline$run3B()
|
/art/adbconnection/ |
D | adbconnection.cc | 385 ssize_t res = TEMP_FAILURE_RETRY(writev(adb_connection_socket_, iovs, kIovSize)); in SendDdmPacket() local 386 if (static_cast<size_t>(res) != (kDdmPacketHeaderSize + data.size())) { in SendDdmPacket() 392 res, data.size() + kDdmPacketHeaderSize); in SendDdmPacket() 440 int res = TEMP_FAILURE_RETRY(sendmsg(local_agent_control_sock_, &msg, MSG_EOR)); in SendAgentFds() local 441 if (res < 0) { in SendAgentFds() 579 int res = TEMP_FAILURE_RETRY(poll(pollfds, 4, -1)); in RunPollLoop() local 580 if (res < 0) { in RunPollLoop() 592 res = TEMP_FAILURE_RETRY(recv(local_agent_control_sock_, buf, sizeof(buf) - 1, 0)); in RunPollLoop() 593 if (res < 0) { in RunPollLoop() 597 buf[res + 1] = '\0'; in RunPollLoop() [all …]
|