/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/test/706-checker-scheduler/src/ |
D | Main.java | 58 int res = 0; in arrayAccess() local 61 res += array[i]; in arrayAccess() 62 res += array[i + 1]; in arrayAccess() 64 return res; in arrayAccess() 356 int res = 0; in intDiv() local 360 res = res / i; // div-zero check barrier. in intDiv() 363 res += tmp; in intDiv() 364 return res; in intDiv()
|
/art/compiler/jni/quick/x86_64/ |
D | calling_convention_x86_64.cc | 132 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamRegister() local 135 case 0: res = X86_64ManagedRegister::FromCpuRegister(RSI); break; in CurrentParamRegister() 136 case 1: res = X86_64ManagedRegister::FromCpuRegister(RDX); break; in CurrentParamRegister() 137 case 2: res = X86_64ManagedRegister::FromCpuRegister(RCX); break; in CurrentParamRegister() 138 case 3: res = X86_64ManagedRegister::FromCpuRegister(R8); break; in CurrentParamRegister() 139 case 4: res = X86_64ManagedRegister::FromCpuRegister(R9); break; in CurrentParamRegister() 143 res = X86_64ManagedRegister::FromXmmRegister( in CurrentParamRegister() 146 return res; in CurrentParamRegister() 239 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamRegister() local 242 case 0: res = X86_64ManagedRegister::FromCpuRegister(RDI); break; in CurrentParamRegister() [all …]
|
/art/runtime/openjdkjvmti/ |
D | transform.cc | 113 jvmtiError res = OK; in RetransformClasses() local 116 res = env->IsModifiableClass(classes[i], &is_modifiable); in RetransformClasses() 117 if (res != OK) { in RetransformClasses() 118 return res; in RetransformClasses() 123 res = def.Init(env, classes[i]); in RetransformClasses() 124 if (res != OK) { in RetransformClasses() 125 return res; in RetransformClasses() 129 res = RetransformClassesDirect(env, event_handler, self, &definitions); in RetransformClasses() 130 if (res != OK) { in RetransformClasses() 131 return res; in RetransformClasses()
|
D | ti_class_definition.cc | 134 jvmtiError res = InitCommon(env, klass); in Init() local 135 if (res != OK) { in Init() 136 return res; in Init() 143 res = GetDexDataForRetransformation(env, m_klass, &dex_len_, &new_data); in Init() 144 if (res != OK) { in Init() 145 return res; in Init() 153 res = CopyDataIntoJvmtiBuffer(env, dex_data_.get(), dex_len_, &original_data_memory); in Init() 162 return res; in Init() 166 jvmtiError res = InitCommon(env, def.klass); in Init() local 167 if (res != OK) { in Init() [all …]
|
/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/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/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/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/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/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 …]
|
D | common_helper.cc | 51 jobject res = env->ToReflectedMethod(method_klass, m, is_static); in GetJavaMethod() local 53 return res; in GetJavaMethod() 99 jobject res = env->CallStaticObjectMethodA(target, valueOfMethod, &value); in GetJavaValueByType() local 101 return res; in GetJavaValueByType()
|
/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 | 109 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamRegister() local 113 res = X86ManagedRegister::FromCpuRegister(ECX); in CurrentParamRegister() 116 res = X86ManagedRegister::FromCpuRegister(EDX); in CurrentParamRegister() 123 res = X86ManagedRegister::FromCpuRegister(EBX); in CurrentParamRegister() 128 res = X86ManagedRegister::FromXmmRegister( in CurrentParamRegister() 131 return res; in CurrentParamRegister() 135 ManagedRegister res = ManagedRegister::NoRegister(); in CurrentParamHighLongRegister() local 138 case 0: res = X86ManagedRegister::FromCpuRegister(EDX); break; in CurrentParamHighLongRegister() 139 case 1: res = X86ManagedRegister::FromCpuRegister(EBX); break; in CurrentParamHighLongRegister() 141 return res; in CurrentParamHighLongRegister()
|
/art/runtime/ |
D | plugin.cc | 41 void* res = dlopen(library_.c_str(), RTLD_LAZY); in Load() local 42 if (res == nullptr) { in Load() 48 dlsym(res, PLUGIN_INITIALIZATION_FUNCTION_NAME)); in Load() 51 dlclose(res); in Load() 58 dlopen_handle_ = res; in Load()
|
D | jvalue-inl.h | 32 JValue res; \ 33 res.Set ## chr(v); \ 34 return res; \
|
/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/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/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()
|
/art/test/003-omnibus-opcodes/src/ |
D | GenSelect.java | 21 String res = b ? str1 : str2; in test() local 22 return res; in test()
|
/art/test/044-proxy/ |
D | expected.txt | 8 Success: method circle res=null 13 Success: method rectangle res=4 17 Success: method blob res=mix 22 Success: method rectangle res=4 28 Success: method trapezoid res=8 32 Success: method red res=0 36 Success: method blue res=2.54 40 Success: method mauve res=3 44 Success: method blob res=mix
|