Lines Matching refs:CHECK
95 CHECK(c->IsErroneous()) << PrettyClass(c) << " " << c->GetStatus();
113 CHECK(cause.get() != NULL);
205 CHECK(Runtime::Current()->IsCompiler());
207 CHECK(!init_done_);
216 CHECK(java_lang_Class.get() != NULL);
228 CHECK(java_lang_Object.get() != NULL);
253 CHECK(class_roots_ != NULL);
292 CHECK(java_lang_reflect_ArtField.get() != NULL);
300 CHECK(java_lang_reflect_ArtMethod.get() != NULL);
329 CHECK(dex_file != NULL);
387 CHECK(java_lang_Cloneable != NULL);
389 CHECK(java_io_Serializable != NULL);
395 // Sanity check Class[] and Object[]'s interfaces.
517 CHECK(klass != NULL);
523 CHECK(array_iftable_ != NULL);
812 // Check if we already have an up-to-date output file
927 CHECK(oat_dex_file != NULL) << odex_filename << " " << dex_location;
1014 CHECK(!init_done_);
1019 CHECK(space != NULL);
1023 CHECK(oat_file.GetOatHeader().GetImageFileLocation().empty());
1045 CHECK(oat_dex_file != NULL) << oat_file.GetLocation() << " " << dex_file_location;
1234 CHECK(self->IsExceptionPending()); // OOME.
1270 // Check for circular dependencies between classes.
1286 CHECK(klass->IsResolved()) << PrettyClass(klass);
1326 // First try the boot class path, we check the descriptor first to avoid an unnecessary
1330 CHECK(system_class != NULL);
1359 CHECK(class_loader_object.get() != NULL);
1410 CHECK(self->IsExceptionPending()); // Expect an OOME.
1415 // Check for a pending exception during load
1432 CHECK(!klass->IsLoaded());
1438 CHECK(klass->IsLoaded());
1440 CHECK(!klass->IsResolved());
1446 CHECK(klass->IsResolved());
1508 CHECK(oat_file != NULL) << dex_file.GetLocation();
1512 CHECK(oat_dex_file != NULL) << dex_file.GetLocation();
1514 CHECK(oat_class != NULL) << dex_file.GetLocation() << " " << class_def_idx;
1522 CHECK(class_data != NULL);
1573 CHECK(found) << "Didn't find oat method index for virtual method: " << PrettyMethod(method);
1578 CHECK(oat_class.get() != NULL);
1589 CHECK(!method->IsAbstract()) << PrettyMethod(method);
1608 CHECK(oat_class.get() != nullptr);
1635 CHECK(dex_class_def != NULL);
1647 CHECK(oat_class.get() != NULL);
1722 CHECK(klass.get() != NULL);
1723 CHECK(klass->GetDexCache() != NULL);
1726 CHECK(descriptor != NULL);
1750 CHECK(self->IsExceptionPending()); // OOME.
1759 CHECK(self->IsExceptionPending()); // OOME.
1767 CHECK(self->IsExceptionPending()); // OOME.
1776 CHECK(self->IsExceptionPending()); // OOME.
1794 CHECK(self->IsExceptionPending()); // OOME.
1804 CHECK(self->IsExceptionPending()); // OOME.
1813 CHECK(self->IsExceptionPending()); // OOME.
1826 CHECK(self->IsExceptionPending()); // OOME.
1856 CHECK(self->IsExceptionPending()); // OOME.
1904 CHECK(dst->IsArtMethod());
1913 CHECK(dex_cache.get() != NULL) << "Failed to allocate dex cache for " << dex_file.GetLocation();
1918 CHECK(dex_cache.get() != NULL) << dex_file.GetLocation();
1940 CHECK(dex_cache.get() != NULL) << dex_file.GetLocation();
1941 CHECK(dex_cache->GetLocation()->Equals(dex_file.GetLocation()))
1960 CHECK(dex_cache.get() != NULL) << "Failed to allocate dex cache for " << dex_file.GetLocation();
2017 CHECK(primitive_class != NULL);
2026 CHECK(existing == NULL) << "InitPrimitiveClass(" << type << ") failed";
2138 CHECK(array_iftable_ != NULL);
2211 // Check a class loaded with the system class loader matches one in the image if the class
2215 CHECK(klass == existing);
2280 // Check for duplicates in the table.
2284 CHECK(!(strcmp(descriptor, kh.GetDescriptor()) == 0 && klass2->GetClassLoader() == class_loader))
2298 CHECK(image != NULL);
2325 CHECK(existing == klass) << PrettyClassAndClassLoader(existing) << " != "
2421 CHECK(!Runtime::Current()->IsCompiler());
2512 // Class is verified so we don't need to do any access check on its methods.
2526 // the app. In other words, we will only check for preverification of bootclasspath
2548 CHECK(oat_file != NULL) << dex_file.GetLocation() << " " << PrettyClass(klass);
2552 CHECK(oat_dex_file != NULL) << dex_file.GetLocation() << " " << PrettyClass(klass);
2556 CHECK(oat_class.get() != NULL)
2653 CHECK(self->IsExceptionPending()); // OOME.
2670 CHECK(self->IsExceptionPending()); // OOME.
2679 CHECK(self->IsExceptionPending()); // OOME.
2689 CHECK(self->IsExceptionPending()); // OOME.
2702 CHECK(self->IsExceptionPending()); // OOME.
2708 CHECK(self->IsExceptionPending()); // OOME.
2720 CHECK(self->IsExceptionPending()); // OOME.
2729 CHECK(self->IsExceptionPending()); // OOME.
2754 CHECK(klass->GetIFields() == NULL);
2776 CHECK(existing == nullptr);
2803 CHECK(dex_cache != NULL);
2806 CHECK(resolved_method != NULL);
2824 CHECK(self->IsExceptionPending()); // OOME.
2835 CHECK(constructor->IsConstructor());
2852 CHECK(self->IsExceptionPending()); // OOME.
2878 CHECK(!prototype->IsFinal());
2879 CHECK(method->IsFinal());
2880 CHECK(!method->IsAbstract());
2906 // Check if there's a class initializer.
2911 // Check if there are encoded static values needing initialization.
2955 // Re-check under the lock in case another thread initialized ahead of us.
2966 CHECK(klass->IsResolved()) << PrettyClass(klass) << ": state=" << klass->GetStatus();
2974 CHECK(self->IsExceptionPending());
2976 CHECK(Runtime::Current()->IsCompiler());
3017 CHECK(!super_class->IsInterface());
3018 CHECK(can_init_parents);
3023 CHECK(super_class->IsErroneous() && self->IsExceptionPending())
3039 CHECK(dex_class_def != NULL);
3044 CHECK(can_init_statics);
3056 CHECK(can_init_statics);
3100 CHECK(!klass->IsInitialized());
3196 // Check the return type
3210 CHECK(descriptor != NULL);
3211 CHECK(klass1 != NULL);
3212 CHECK(klass2 != NULL);
3236 CHECK(self->IsExceptionPending() || !can_init_fields || !can_init_parents) << PrettyClass(c);
3317 CHECK(!klass->IsPrimitive());
3367 CHECK(super->IsResolved());
3406 CHECK(self->IsExceptionPending()); // OOME.
3453 CHECK(self->IsExceptionPending()); // OOME.
3459 CHECK(klass.get() == GetClassRoot(kJavaLangObject));
3468 CHECK(self->IsExceptionPending()); // OOME.
3522 CHECK(self->IsExceptionPending()); // OOME.
3544 // Check if interface is already in iftable
3577 CHECK(self->IsExceptionPending()); // OOME.
3600 CHECK(self->IsExceptionPending()); // OOME.
3646 CHECK(self->IsExceptionPending()); // OOME.
3670 CHECK(self->IsExceptionPending()); // OOME.
3677 CHECK(vtable.get() != NULL);
3682 CHECK(self->IsExceptionPending()); // OOME.
3699 CHECK(vtable->Get(i) != NULL);
3708 CHECK(klass.get() != NULL);
3713 CHECK(klass.get() != NULL);
3769 CHECK(super_class->IsResolved());
3814 CHECK(type != Primitive::kPrimNot); // should only be working on primitive types
3836 CHECK(type != Primitive::kPrimNot); // should only be working on primitive types
3988 CHECK(self->IsExceptionPending())
4011 // Check for hit in the dex cache.
4061 // We found a method, check for incompatible class changes.
4087 // If we found something, check that it can be accessed by the referrer.
4102 // Otherwise, throw an IncompatibleClassChangeError if we found something, and check interface