Home
last modified time | relevance | path

Searched refs:res (Results 101 – 125 of 169) sorted by relevance

1234567

/art/runtime/jit/
Djit_memory_region_test.cc76 bool res = JitMemoryRegion::ProtectZygoteMemory(fd.get(), &error_msg); in BasicTest() local
77 CHECK(res); in BasicTest()
137 bool res = JitMemoryRegion::ProtectZygoteMemory(fd.get(), &error_msg); in TestUnmapWritableAfterFork() local
138 CHECK(res); in TestUnmapWritableAfterFork()
235 bool res = JitMemoryRegion::ProtectZygoteMemory(fd.get(), &error_msg); in TestMadviseDontFork() local
236 CHECK(res); in TestMadviseDontFork()
/art/test/912-classes/
Dclasses_art.cc105 jvmtiError res = jvmti_env->GetLoadedClasses(&class_count, &classes); in Java_art_Test912Art_isLoadedClass() local
106 if (JvmtiErrorToException(env, jvmti_env, res)) { in Java_art_Test912Art_isLoadedClass()
/art/compiler/optimizing/
Dloop_optimization.h192 bool res = TrySetVectorLengthImpl(length); in TrySetVectorLength() local
194 DCHECK(!res || (DataType::Size(type) * length == GetVectorSizeInBytes())); in TrySetVectorLength()
195 return res; in TrySetVectorLength()
/art/libelffile/elf/
Dxz_utils.cc87 SRes res = Xz_Encode(&callbacks, &callbacks, &props, &callbacks); in XzCompress() local
88 CHECK_EQ(res, SZ_OK); in XzCompress()
/art/test/903-hello-tagging/src/art/
DTest903.java43 long[] res = testTagsInDifferentEnvs(o, 100, 10); in testTags() local
44 System.out.println(Arrays.toString(res)); in testTags()
/art/test/2023-InvariantLoops_typecast/src/
DMain.java76 byte res = new Main().loop1(); in main()
/art/tools/jvmti-agents/ti-alloc-sample/
Dti_alloc_sample.cc358 jint res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv() local
359 if (res != JNI_OK || *jvmti == nullptr) { in SetupJvmtiEnv()
360 LOG(ERROR) << "Unable to access JVMTI, error code " << res; in SetupJvmtiEnv()
363 return res; in SetupJvmtiEnv()
/art/libdexfile/dex/
Ddex_file_loader_test.cc35 std::vector<uint8_t> res; in DecodeBase64Vec() local
38 res.resize(size); in DecodeBase64Vec()
39 memcpy(res.data(), data.get(), size); in DecodeBase64Vec()
40 return res; in DecodeBase64Vec()
/art/test/1968-force-early-return/src/art/
DTest1968.java589 Object res = new IntContainer(cnt);
591 return res;
607 Object res = incr.get(); // line +0
611 return res; // line +4
672 int res = cnt; // line +2
674 return res;
/art/cmdline/
Dcmdline_types.h295 CmdlineParseResult<unsigned int> res = uint_parser.Parse(str);
297 if (res.IsSuccess()) {
298 return Result::Success(MillisecondsToNanoseconds::FromMilliseconds(res.GetValue()));
300 return Result::CastError(res);
602 BackgroundGcOption res = *this;
603 return Result::Success(res);
/art/test/1939-proxy-frames/src/art/
DTest1939.java61 Object res = get.GetVar(t, depth); in NamedGet()
62 System.out.println(this + " on " + method + " got value: " + SafeToString(res)); in NamedGet()
/art/test/1914-get-local-instance/src/art/
DTest1914.java78 Object res = get.GetVar(t, depth); in NamedGet()
79 System.out.println(this + " on " + method + " got value: " + res); in NamedGet()
/art/test/137-cfi/
Dcfi.cc139 int res = kill(pid, SIGQUIT); in MoreErrorInfo() local
140 if (res != 0) { in MoreErrorInfo()
/art/test/904-object-allocation/
Dtracking.cc140 std::string res(android::base::StringPrintf("ObjectAllocated type %s/%s size %zu", in Java_art_Test904_getTrackingEventMessages() local
144 real_events.push_back(res); in Java_art_Test904_getTrackingEventMessages()
/art/tools/art_verifier/
Dart_verifier.cc248 verifier::FailureKind res = in ExecuteWithRuntime() local
257 LOG(INFO) << descriptor << ": " << res << " " << error_msg; in ExecuteWithRuntime()
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc644 std::vector<jvmtiEvent> res; in GetRequestedEventList() local
653 res.push_back(NameToEvent(item)); in GetRequestedEventList()
655 return res; in GetRequestedEventList()
659 jint res = 0; in SetupJvmtiEnv() local
660 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv()
662 if (res != JNI_OK || *jvmti == nullptr) { in SetupJvmtiEnv()
663 LOG(ERROR) << "Unable to access JVMTI, error code " << res; in SetupJvmtiEnv()
666 return res; in SetupJvmtiEnv()
/art/test/1966-get-set-local-objects-no-table/src/art/
DTest1966.java123 Object res = get.GetVar(t, depth, slot);
124 System.out.println(this + " on " + method + " got value: " + res);
/art/test/1967-get-set-local-bad-slot/src/art/
DTest1967.java99 Object res = get.GetVar(t, depth, real_slot);
100 System.out.println(this + " on " + method + " got value: " + res);
/art/test/1965-get-set-local-primitive-no-tables/src/art/
DTest1965.java78 Object res = get.GetVar(t, depth, slot);
79 System.out.println(this + " on " + method + " got value: " + res);
/art/test/083-compiler-regressions/src/
DMain.java142 long res = const0x1234(); in returnConstantTest() local
143 res += const0x123443211234(); in returnConstantTest()
145 res += foo.iConst0x1234(); in returnConstantTest()
146 res += foo.iConst0x123443211234(); in returnConstantTest()
147 if (res == 40031347689680L) { in returnConstantTest()
151 System.out.println("returnConstantTest fails: " + res + in returnConstantTest()
827 long res; in mulBy1Test() local
829 res = 1 * j + j; in mulBy1Test()
830 if (res == 2L) { in mulBy1Test()
834 System.out.println("mulBy1Test fails: " + res + in mulBy1Test()
[all …]
/art/test/991-field-trace-2/src/art/
DTest991.java128 int res = target.xyz; in readFieldUntraced() local
130 return res; in readFieldUntraced()
/art/libartbase/base/
Dmem_map_test.cc34 bool res = msync(addr, 1, MS_SYNC) == 0; in IsAddressMapped() local
35 if (!res && errno != ENOMEM) { in IsAddressMapped()
38 return res; in IsAddressMapped()
44 std::vector<uint8_t> res; in RandomData() local
45 res.resize(size); in RandomData()
47 res[i] = dist(rd); in RandomData()
49 return res; in RandomData()
Dbit_utils.h338 T res; in HighestOneBitValue() local
340 res = 0; in HighestOneBitValue()
343 res = static_cast<T>(UINT64_C(1) << bit_position); in HighestOneBitValue()
345 return res; in HighestOneBitValue()
/art/openjdkjvmti/
Dti_redefine.cc153 art::ArtMethod* res = obsolete_methods_->GetElementPtrSize<art::ArtMethod*>( in FindObsoleteVersion() local
155 DCHECK(res != nullptr); in FindObsoleteVersion()
156 return res; in FindObsoleteVersion()
484 jvmtiError res = OK; in GetClassRedefinitionError() local
495 res = ERR(UNMODIFIABLE_CLASS); in GetClassRedefinitionError()
501 return res; in GetClassRedefinitionError()
574 jvmtiError res = Redefiner::GetClassRedefinitionError<RedefinitionType::kNormal>( in RedefineClassesGeneric() local
576 if (res != OK) { in RedefineClassesGeneric()
578 return res; in RedefineClassesGeneric()
581 res = def.Init(self, definitions[i]); in RedefineClassesGeneric()
[all …]
/art/test/1913-get-set-local-objects/src/art/
DTest1913.java161 Object res = get.GetVar(t, depth, desc.slot);
162 System.out.println(this + " on " + method + " got value: " + res);

1234567