/art/tools/jvmti-agents/chain-agents/ |
D | chainagents.cc | 85 jint res = alf(vm, lib_and_args.second.c_str(), reserved); in Load() local 86 if (res != JNI_OK) { in Load() 88 return res; in Load()
|
/art/test/2000-virtual-list-structural/src/ |
D | Main.java | 39 byte[] res = new byte[(int)entry.getSize()]; in GetDexBytes() 40 is.read(res); in GetDexBytes() 41 return res; in GetDexBytes()
|
/art/test/013-math2/src/ |
D | Main.java | 22 int a, b, res; in math_013() local
|
/art/test/2012-structural-redefinition-failures-jni-id/src-art/art/ |
D | Test1983.java | 38 boolean res = Redefinition.isStructurallyModifiable(k); in Check() 39 System.out.println("Is Structurally modifiable " + k + " " + res); in Check()
|
/art/test/1983-structural-redefinition-failures/src/art/ |
D | Test1983.java | 38 boolean res = Redefinition.isStructurallyModifiable(k); in Check() 39 System.out.println("Is Structurally modifiable " + k + " " + res); in Check()
|
/art/tools/bisection_search/ |
D | bisection_search.py | 117 res = True 119 res = self._expected_retcode == ret_code 121 res = res and self._output_checker.Check(output) 123 print('Test passed: {0}.'.format(res)) 124 return res
|
/art/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 357 jint res = 0; in AgentStart() local 358 res = vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_1); in AgentStart() 360 if (res != JNI_OK || jvmti == nullptr) { in AgentStart() 361 LOG(ERROR) << "Unable to access JVMTI, error code " << res; in AgentStart() 417 jint res = 0; in AgentStart() local 418 res = vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_2); in AgentStart() 419 if (res != JNI_OK || env == nullptr) { in AgentStart()
|
/art/tools/jvmti-agents/field-null-percent/ |
D | check-null-fields.py | 106 res = check_single_process(p, device, cmd32, cmd64); 107 if res is not None: 108 final[p] = res
|
/art/test/1900-track-alloc/ |
D | alloc.cc | 58 unsigned char* res = nullptr; in Java_art_Test1900_doAllocate() local 61 reinterpret_cast<jvmtiEnv*>(jvmti_env_ptr)->Allocate(size, &res)); in Java_art_Test1900_doAllocate() 62 return static_cast<jlong>(reinterpret_cast<intptr_t>(res)); in Java_art_Test1900_doAllocate()
|
/art/test/1976-hello-structural-static-methods/src/art/ |
D | Test1976.java | 117 ArrayList<MethodHandleWrapper> res = new ArrayList<>(); in getMethodHandles() local 122 res.add(new MethodHandleWrapper(l.unreflect(m), m)); in getMethodHandles() 124 return res.toArray(new MethodHandleWrapper[0]); in getMethodHandles()
|
/art/test/990-field-trace/src/art/ |
D | Test990.java | 98 String[] res = new String[src.length]; in charArrayToString() local 101 res[i] = Character.getName(src[i]); in charArrayToString() 103 res[i] = Character.toString(src[i]); in charArrayToString() 106 return Arrays.toString(res); in charArrayToString()
|
/art/test/1940-ddms-ext/ |
D | ddm_ext.cc | 105 ScopedLocalRef<jobject> res(env, env->NewObject(chunk_class.get(), in Java_art_Test1940_processChunk() local 113 return res.release(); in Java_art_Test1940_processChunk() 151 ScopedLocalRef<jbyteArray> res(env, env->NewByteArray(cb.data_.size())); in Java_art_Test1940_publishListen() local 152 env->SetByteArrayRegion(res.get(), 0, cb.data_.size(), cb.data_.data()); in Java_art_Test1940_publishListen() 153 env->CallStaticVoidMethod(test_klass, publish_method, cb.type_, res.get()); in Java_art_Test1940_publishListen()
|
/art/runtime/jni/ |
D | jni_id_manager.cc | 230 uintptr_t res = next_field_id_; in GetNextId() local 232 CHECK_GT(next_field_id_, res) << "jfieldID Overflow"; in GetNextId() 233 return res; in GetNextId() 239 uintptr_t res = next_method_id_; in GetNextId() local 241 CHECK_GT(next_method_id_, res) << "jmethodID Overflow"; in GetNextId() 242 return res; in GetNextId() 374 auto* res = reinterpret_cast<jfieldID>(EncodeGenericId(field)); in EncodeFieldId() local 376 LOG(INFO) << "Returning " << res << " for field " << field->PrettyField(); in EncodeFieldId() 378 return res; in EncodeFieldId() 387 auto* res = reinterpret_cast<jmethodID>(EncodeGenericId(method)); in EncodeMethodId() local [all …]
|
/art/test/1975-hello-structural-transformation/src/art/ |
D | Test1975.java | 163 MethodHandleWrapper[] res = new MethodHandleWrapper[fields.length]; in getMethodHandles() local 164 for (int i = 0; i < res.length; i++) { in getMethodHandles() 165 res[i] = new MethodHandleWrapper(l.unreflectGetter(fields[i]), fields[i]);; in getMethodHandles() 167 return res; in getMethodHandles()
|
/art/openjdkjvmti/ |
D | ti_class_definition.cc | 307 jvmtiError res = InitCommon(self, klass); in Init() local 308 if (res != OK) { in Init() 309 return res; in Init() 342 jvmtiError res = InitCommon(self, def.klass); in Init() local 343 if (res != OK) { in Init() 344 return res; in Init()
|
D | ti_class_loader.cc | 174 art::ObjPtr<art::mirror::Object> res = nullptr; in FindSourceDexFileObject() local 178 res = dex_file; in FindSourceDexFileObject() 187 return res; in FindSourceDexFileObject()
|
/art/oatdump/ |
D | oatdump_test.cc | 104 ForkAndExecResult res = ForkAndExec({dexdump, "-d", dex_location}, post_fork_fn, &output); in TEST_F() local 105 ASSERT_TRUE(res.StandardSuccess()); in TEST_F()
|
/art/compiler/utils/ |
D | assembler_test.h | 758 std::vector<int64_t> res; variable 759 res.push_back(0); 761 res.push_back(-1); 763 res.push_back(0xFF); 765 res.push_back(0x12); 767 res.push_back(0x1234); 769 res.push_back(-0x1234); 771 res.push_back(0xFFFF); 774 res.push_back(0x12345678); 776 res.push_back(-0x12345678); [all …]
|
/art/test/1970-force-early-return-long/src/art/ |
D | Test1970.java | 553 long res = cnt; 555 return res; 571 long res = incr.get().longValue(); // line +0 575 return res; // line +4 636 Long res = Long.valueOf(cnt); // line +2 638 return res; 656 int res = cnt; // line +2 658 return res;
|
/art/tools/signal_dumper/ |
D | signal_dumper.cc | 455 auto handler = [&](bool* res) { in WaitForMainSigStop() argument 457 *res = true; in WaitForMainSigStop() 467 auto handler = [&](bool* res) { in WaitForSigStopped() argument 472 *res = false; in WaitForSigStopped() 478 *res = false; in WaitForSigStopped() 480 *res = true; in WaitForSigStopped() 612 pid_t res = TEMP_FAILURE_RETRY(waitpid(forked_pid, &status, 0)); in WaitMainLoop() local 613 if (res == -1) { in WaitMainLoop()
|
/art/test/2022-Invariantloops/src/ |
D | Main.java | 46 int res = new Main().loop1(); in main() local
|
/art/libdexfile/external/include/art_api/ |
D | dex_file_support.h | 210 MethodInfoVector res; in GetAllMethodInfos() local 214 static_cast<void*>(&res)); in GetAllMethodInfos() 215 return res; in GetAllMethodInfos()
|
/art/test/2024-InvariantNegativeLoop/src/ |
D | Main.java | 49 int res = new Main().loop(); in main() local
|
/art/tools/jvmti-agents/field-counts/ |
D | count-fields.py | 106 res = check_single_process(p, device, mkcmd, lib32, lib64); 107 if res is not None: 108 final[p] = res
|
/art/runtime/verifier/ |
D | class_verifier.cc | 115 FailureKind res = CommonVerifyClass(self, in ReverifyClass() local 123 DCHECK_NE(res, FailureKind::kHardFailure); in ReverifyClass() 126 dvc.UpdateFlags(res == FailureKind::kNoFailure); in ReverifyClass() 127 return res; in ReverifyClass()
|