Home
last modified time | relevance | path

Searched refs:expected (Results 376 – 400 of 402) sorted by relevance

1...<<11121314151617

/art/test/068-classloader/src/
DMain.java513 } catch (ClassNotFoundException expected) { in testClassForName()
/art/test/161-final-abstract-class/smali/
DMain.smali14 # } catch (VerifyError expected) {
/art/test/MyClassNatives/
DMyClassNatives.java61 native boolean compareAndSwapInt(Object obj, long offset, int expected, int newval); in compareAndSwapInt() argument
193 native boolean compareAndSwapInt_Fast(Object obj, long offset, int expected, int newval); in compareAndSwapInt_Fast() argument
/art/runtime/
Dclass_loader_context.cc1262 ClassLoaderInfo* expected = expected_context.class_loader_chain_.get(); in VerifyClassLoaderContextMatch() local
1264 CHECK(expected != nullptr); in VerifyClassLoaderContextMatch()
1265 if (!ClassLoaderInfoMatch(*info, *expected, context_spec, verify_names, verify_checksums)) { in VerifyClassLoaderContextMatch()
Dinstrumentation.cc558 static bool HasEvent(Instrumentation::InstrumentationEvent expected, uint32_t events) { in HasEvent() argument
559 return (events & expected) != 0; in HasEvent()
DAndroid.bp26 // These are defaults for native shared libaries that are expected to be
Dclass_linker_test.cc911 const std::string expected("BCDFIJSZV"); in TEST_F() local
915 if (expected.find(ch) == std::string::npos) { in TEST_F()
Druntime.cc2999 bool expected = false; in NotifyStartupCompleted() local
3000 if (!startup_completed_.compare_exchange_strong(expected, true, std::memory_order_seq_cst)) { in NotifyStartupCompleted()
/art/compiler/optimizing/
Dintrinsics_x86_64.cc2055 CpuRegister expected = locations->InAt(3).AsRegister<CpuRegister>(); in GenCAS() local
2057 DCHECK_EQ(expected.AsRegister(), RAX); in GenCAS()
2110 DCHECK_NE(value_reg, expected.AsRegister()); in GenCAS()
2111 DCHECK_NE(base.AsRegister(), expected.AsRegister()); in GenCAS()
2113 __ PoisonHeapReference(expected); in GenCAS()
2140 DCHECK_NE(expected.AsRegister(), out.AsRegister()); in GenCAS()
2141 __ UnpoisonHeapReference(expected); in GenCAS()
Dintrinsics_arm_vixl.cc932 vixl32::Register expected = InputRegisterAt(instruction_, 3); // Expected. in EmitNativeCode() local
941 arm_codegen->GenerateUnsafeCasOldValueAddWithBakerReadBarrier(tmp_ptr, tmp, expected); in EmitNativeCode()
942 __ Cmp(tmp_ptr, expected); in EmitNativeCode()
967 __ Subs(tmp, tmp, expected); // Use SUBS to get non-zero value if both compares fail. in EmitNativeCode()
994 vixl32::Register expected = InputRegisterAt(invoke, 3); // Expected. in GenCas() local
1044 __ Subs(tmp, tmp, expected); in GenCas()
Dintrinsics_x86.cc1984 Register expected = locations->InAt(3).AsRegister<Register>(); in GenCAS() local
1986 DCHECK_EQ(expected, EAX); in GenCAS()
2024 DCHECK_NE(value, expected); in GenCAS()
2025 DCHECK_NE(base, expected); in GenCAS()
2027 __ PoisonHeapReference(expected); in GenCAS()
Dintrinsics_arm64.cc955 Register expected = WRegisterFrom(locations->InAt(3)); // Expected. in EmitNativeCode() local
964 __ Cmp(marked, expected); in EmitNativeCode()
989 __ Cmp(tmp, expected); in EmitNativeCode()
1010 Register expected = RegisterFrom(locations->InAt(3), type); // Expected. in GenCas() local
1058 __ Cmp(old_value, expected); in GenCas()
Dcode_generator_arm_vixl.h663 vixl::aarch32::Register expected);
Dcode_generator_x86_64.cc655 CpuRegister expected = CpuRegister(RAX); in EmitNativeCode() local
677 DCHECK_NE(value_reg, expected.AsRegister()); in EmitNativeCode()
678 DCHECK_NE(base.AsRegister(), expected.AsRegister()); in EmitNativeCode()
680 __ PoisonHeapReference(expected); in EmitNativeCode()
/art/dex2oat/
Ddex2oat_test.cc206 virtual void CheckFilter(CompilerFilter::Filter expected, CompilerFilter::Filter actual) { in CheckFilter() argument
207 EXPECT_EQ(expected, actual); in CheckFilter()
424 size_t ParseSwap(bool expected) { in ParseSwap() argument
428 if (found != expected) { in ParseSwap()
429 EXPECT_EQ(expected, found); in ParseSwap()
/art/build/
DAndroid.gtest.mk353 $$(error found $(1) expected host or target)
/art/test/083-compiler-regressions/src/
DMain.java359 int expected = (1234 << 15) + 404 * (15 * 14 / 2); in setterTestWithReturnArgIgnoreReturn() local
360 if (sum == expected) { in setterTestWithReturnArgIgnoreReturn()
365 " (expecting " + expected + ")"); in setterTestWithReturnArgIgnoreReturn()
473 int expected = (1234 << 10) * 3 * 3 * 3 * 3 * 3 + 404 * (15 * 14 / 2); in setterTestWithReturnArgUseReturn() local
475 if (sum == expected && sumTally == expectedTally) { in setterTestWithReturnArgUseReturn()
480 " (expecting " + expected + "), sumTally = " + sumTally + in setterTestWithReturnArgUseReturn()
644 long expected = (1234L << 23) + 404 * (23 * 22 / 2); in wideSetterTestWithReturnArgIgnoreReturn() local
645 if (sum == expected) { in wideSetterTestWithReturnArgIgnoreReturn()
650 " (expecting " + expected + ")"); in wideSetterTestWithReturnArgIgnoreReturn()
814 long expected = (1234L << 14) * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 3 * 3 + 404 * (23 * 22 / 2); in wideSetterTestWithReturnArgUseReturn() local
[all …]
/art/test/470-huge-method/src/
DMain.java19 public static void assertEquals(long expected, long result) { in assertEquals() argument
20 if (expected != result) { in assertEquals()
21 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
/art/test/
DREADME.md43 the contents of the `expected.txt` file contained in the test's directory; any
/art/libartbase/base/
Dmem_map.cc195 uintptr_t expected = reinterpret_cast<uintptr_t>(expected_ptr); in CheckMapRequest() local
224 actual, expected); in CheckMapRequest()
/art/test/160-read-barrier-stress/src/
DMain.java296 public static void assertEqual(boolean expected, boolean actual) { in assertEqual() argument
297 if (expected != actual) { in assertEqual()
298 throw new Error("Expected " + expected +", got " + actual); in assertEqual()
/art/runtime/dex/
Ddex_file_annotations.cc142 bool IsVisibilityCompatible(uint32_t actual, uint32_t expected) { in IsVisibilityCompatible() argument
143 if (expected == DexFile::kDexVisibilityRuntime) { in IsVisibilityCompatible()
148 return actual == expected; in IsVisibilityCompatible()
/art/test/dexdump/
Dinvoke-custom.txt2124 0x0012 - 0x0022 reg=0 expected Ljava/lang/NoSuchMethodError;
2125 0x002a - 0x003a reg=0 expected Ljava/lang/NoSuchMethodError;
2126 0x0042 - 0x0073 reg=0 expected Ljava/lang/BootstrapMethodError;
2127 0x007b - 0x00ac reg=0 expected Ljava/lang/BootstrapMethodError;
2128 0x00b4 - 0x00e5 reg=0 expected Ljava/lang/BootstrapMethodError;
2129 0x00ed - 0x011e reg=0 expected Ljava/lang/BootstrapMethodError;
2130 0x0126 - 0x0157 reg=0 expected Ljava/lang/BootstrapMethodError;
2131 0x0165 - 0x0189 reg=0 expected Ljava/lang/BootstrapMethodError;
2132 0x0191 - 0x01b5 reg=0 expected Ljava/lang/BootstrapMethodError;
2133 0x01bd - 0x01e1 reg=0 expected Ljava/lang/BootstrapMethodError;
[all …]
/art/openjdkjvmti/
Dti_redefine.cc3096 art::ArtMethod* expected = nullptr; in RestoreObsoleteMethodMapsIfUnneeded() local
3098 expected = old_methods->GetElementPtrSize<art::ArtMethod*>(i, art::kRuntimePointerSize); in RestoreObsoleteMethodMapsIfUnneeded()
3100 if (methods->GetElementPtrSize<art::ArtMethod*>(i, art::kRuntimePointerSize) != expected) { in RestoreObsoleteMethodMapsIfUnneeded()
/art/compiler/jni/
Djni_compiler_test.cc1286 jboolean my_casi(JNIEnv* env, jobject unsafe, jobject obj, jlong offset, jint expected, jint newval… in JNI_TEST()
1290 EXPECT_EQ(static_cast<jint>(0xCAFEF00D), expected); in JNI_TEST()

1...<<11121314151617