Home
last modified time | relevance | path

Searched refs:res (Results 76 – 100 of 169) sorted by relevance

1234567

/art/tools/jvmti-agents/chain-agents/
Dchainagents.cc85 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/
DMain.java39 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/
DMain.java22 int a, b, res; in math_013() local
/art/test/2012-structural-redefinition-failures-jni-id/src-art/art/
DTest1983.java38 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/
DTest1983.java38 boolean res = Redefinition.isStructurallyModifiable(k); in Check()
39 System.out.println("Is Structurally modifiable " + k + " " + res); in Check()
/art/tools/bisection_search/
Dbisection_search.py117 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/
Dbreakpoint_logger.cc357 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/
Dcheck-null-fields.py106 res = check_single_process(p, device, cmd32, cmd64);
107 if res is not None:
108 final[p] = res
/art/test/1900-track-alloc/
Dalloc.cc58 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/
DTest1976.java117 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/
DTest990.java98 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/
Dddm_ext.cc105 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/
Djni_id_manager.cc230 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/
DTest1975.java163 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/
Dti_class_definition.cc307 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()
Dti_class_loader.cc174 art::ObjPtr<art::mirror::Object> res = nullptr; in FindSourceDexFileObject() local
178 res = dex_file; in FindSourceDexFileObject()
187 return res; in FindSourceDexFileObject()
/art/oatdump/
Doatdump_test.cc104 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/
Dassembler_test.h758 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/
DTest1970.java553 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/
Dsignal_dumper.cc455 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/
DMain.java46 int res = new Main().loop1(); in main() local
/art/libdexfile/external/include/art_api/
Ddex_file_support.h210 MethodInfoVector res; in GetAllMethodInfos() local
214 static_cast<void*>(&res)); in GetAllMethodInfos()
215 return res; in GetAllMethodInfos()
/art/test/2024-InvariantNegativeLoop/src/
DMain.java49 int res = new Main().loop(); in main() local
/art/tools/jvmti-agents/field-counts/
Dcount-fields.py106 res = check_single_process(p, device, mkcmd, lib32, lib64);
107 if res is not None:
108 final[p] = res
/art/runtime/verifier/
Dclass_verifier.cc115 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()

1234567