/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 | 133 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamRegister() local 136 case 0: res = X86_64ManagedRegister::FromCpuRegister(RSI); break; in CurrentParamRegister() 137 case 1: res = X86_64ManagedRegister::FromCpuRegister(RDX); break; in CurrentParamRegister() 138 case 2: res = X86_64ManagedRegister::FromCpuRegister(RCX); break; in CurrentParamRegister() 139 case 3: res = X86_64ManagedRegister::FromCpuRegister(R8); break; in CurrentParamRegister() 140 case 4: res = X86_64ManagedRegister::FromCpuRegister(R9); break; in CurrentParamRegister() 144 res = X86_64ManagedRegister::FromXmmRegister( in CurrentParamRegister() 147 return res; in CurrentParamRegister() 240 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamRegister() local 243 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/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/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() 515 int res = 0; in intDiv() local 519 res = res / i; // div-zero check barrier. in intDiv() 522 res += tmp; in intDiv() 523 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/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/tools/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() 145 jvmtiError res = env->Allocate(val.size() + 1, reinterpret_cast<unsigned char**>(out)); in WrapGetSystemProperty() local 146 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperty() 147 return res; in WrapGetSystemProperty() 161 jvmtiError res = funcs->original_interface->GetSystemProperties(env, &init_cnt, &init_prop_ptr); in WrapGetSystemProperties() local [all …]
|
/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/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/openjdkjvmti/ |
D | transform.cc | 99 ArtClassDefinition* res = nullptr; in Action() local 111 res = *it; in Action() 115 initializing_class_definitions_.push_back(res); in Action() 136 VLOG(signals) << "Lazy initialization of dex file for transformation of " << res->GetName() in Action() 138 res->InitializeMemory(); in Action() 145 res)); in Action() 146 initialized_class_definitions_.push_back(res); in Action() 314 jvmtiError res = OK; in RetransformClasses() local 316 res = Redefiner::GetClassRedefinitionError(classes[i], error_msg); in RetransformClasses() 317 if (res != OK) { in RetransformClasses() [all …]
|
/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 | 149 int res = TEMP_FAILURE_RETRY(read(read_fd_, bdata + nbytes, ndata - nbytes)); in ReadFullyWithoutChecks() local 150 if (res < 0) { in ReadFullyWithoutChecks() 153 } else if (res == 0) { in ReadFullyWithoutChecks() 156 nbytes += res; in ReadFullyWithoutChecks() 165 int res = TEMP_FAILURE_RETRY(ioctl(read_fd_, FIONREAD, &avail)); in ReadUpToMax() local 166 if (res < 0) { in ReadUpToMax() 175 res = TEMP_FAILURE_RETRY(poll(&pollfd, /*nfds*/1, /*timeout*/0)); in ReadUpToMax() 176 if (res < 0 || (pollfd.revents & POLLERR) == POLLERR) { in ReadUpToMax() 201 IOResult res = ReadUpToMax(reinterpret_cast<uint8_t*>(data) + nbytes, in ReadFully() local 204 if (res != IOResult::kOk) { in ReadFully() [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()
|
D | jvalue-inl.h | 32 JValue res; \ 33 res.Set ## chr(v); \ 34 return res; \
|
/art/test/602-deoptimizeable/src/ |
D | Main.java | 76 int res = $noinline$run1(arr); in main() 78 if (res != 79) { in main() 95 double res = (double)method.invoke(Main.class, arr); in main() 97 if (res != 79.3d) { in main() 111 float res = $noinline$run3B(); in main() 113 if (res != 0.034f) { in main() 215 float res = $noinline$run3A(); in $noinline$run3B() local 217 return res; in $noinline$run3B()
|
/art/compiler/jni/quick/x86/ |
D | calling_convention_x86.cc | 110 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamRegister() local 114 res = X86ManagedRegister::FromCpuRegister(ECX); in CurrentParamRegister() 117 res = X86ManagedRegister::FromCpuRegister(EDX); in CurrentParamRegister() 124 res = X86ManagedRegister::FromCpuRegister(EBX); in CurrentParamRegister() 129 res = X86ManagedRegister::FromXmmRegister( in CurrentParamRegister() 132 return res; in CurrentParamRegister() 136 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamHighLongRegister() local 139 case 0: res = X86ManagedRegister::FromCpuRegister(EDX); break; in CurrentParamHighLongRegister() 140 case 1: res = X86ManagedRegister::FromCpuRegister(EBX); break; in CurrentParamHighLongRegister() 142 return res; in CurrentParamHighLongRegister()
|
/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() 584 int res = TEMP_FAILURE_RETRY(poll(pollfds, 4, -1)); in RunPollLoop() local 585 if (res < 0) { in RunPollLoop() 597 res = TEMP_FAILURE_RETRY(recv(local_agent_control_sock_, buf, sizeof(buf) - 1, 0)); in RunPollLoop() 598 if (res < 0) { in RunPollLoop() 602 buf[res + 1] = '\0'; in RunPollLoop() [all …]
|
/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/988-method-trace/src/art/ |
D | Test988.java | 88 String[] res = new String[src.length]; in charArrayToString() local 91 res[i] = Character.getName(src[i]); in charArrayToString() 93 res[i] = Character.toString(src[i]); in charArrayToString() 96 return Arrays.toString(res); in charArrayToString() 193 private Throwable res; 194 public FibThrow(String format, int arg, Throwable res) { 197 this.res = res; 202 System.out.printf(format, arg, genericToString(res)); 209 private int res; 210 public FibResult(String format, int arg, int res) { [all …]
|
/art/test/092-locale/src/ |
D | Main.java | 124 String res; in testNormalizer() local 126 res = Normalizer.normalize(composed, Normalizer.Form.NFD); in testNormalizer() 127 if (!decomposed.equals(res)) { in testNormalizer() 129 + res + "'"); in testNormalizer() 132 res = Normalizer.normalize(decomposed, Normalizer.Form.NFC); in testNormalizer() 133 if (!composed.equals(res)) { in testNormalizer() 135 + res + "'"); in testNormalizer()
|