Home
last modified time | relevance | path

Searched refs:isNull (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/external/icu/icu4c/source/i18n/
Dbrktrans.cpp83 if (bi.isNull()) { in handleTransliterate()
86 if (boundaries.isNull()) { in handleTransliterate()
90 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { in handleTransliterate()
145 if (nonConstThis->cachedBI.isNull()) { in handleTransliterate()
148 if (nonConstThis->cachedBoundaries.isNull()) { in handleTransliterate()
/external/clang/include/clang/AST/
DDeclContextInternals.h67 bool isNull() const { return Data.isNull(); } in isNull() function
106 assert(!isNull() && "removing from empty list"); in remove()
126 if (isNull()) { in removeExternalDecls()
144 if (isNull()) in getLookupResult()
149 assert(!isNull() && "Empty list isn't allowed"); in getLookupResult()
191 assert(!isNull() && "don't AddSubsequentDecl when we have no decls"); in AddSubsequentDecl()
DCanonicalType.h83 explicit operator bool() const { return !isNull(); }
85 bool isNull() const { in isNull() function
86 return Stored.isNull(); in isNull()
619 assert((Other.isNull() || Other.isCanonical()) && "Type is not canonical!");
620 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
633 if (Stored.isNull())
648 assert(!Stored.isNull() && isa<U>(Stored.getTypePtr()));
/external/llvm/include/llvm/ADT/
DTinyPtrVector.h112 if (Val.isNull())
121 if (Val.isNull())
131 if (Val.isNull()) return true; in empty()
156 return begin() + (Val.isNull() ? 0 : 1); in end()
170 assert(!Val.isNull() && "can't index into an empty vector");
199 if (Val.isNull()) { in push_back()
270 assert(!Val.isNull() && "Null value with non-end insert iterator."); in insert()
290 if (Val.isNull()) { in insert()
DPointerUnion.h109 bool isNull() const {
114 explicit operator bool() const { return !isNull(); }
279 bool isNull() const { return Val.isNull(); }
280 explicit operator bool() const { return !isNull(); }
393 bool isNull() const { return Val.isNull(); }
394 explicit operator bool() const { return !isNull(); }
/external/icu/icu4c/source/test/intltest/
Ditutil.cpp295 if(s.isNull() || !s.isValid() || s==NULL || !(s!=NULL)) { in TestLocalPointer()
321 if(cs.isNull() && U_SUCCESS(errorCode)) { in TestLocalPointer()
327 if(cs.isNull() && U_SUCCESS(errorCode)) { in TestLocalPointer()
417 if(ua.isNull() && U_SUCCESS(errorCode)) { in TestLocalArray()
424 if(ua.isNull() && U_SUCCESS(errorCode)) { in TestLocalArray()
514 if(sel.isNull()) { in TestLocalXyzPointer()
524 if(cal.isNull()) { in TestLocalXyzPointer()
533 if(patgen.isNull()) { in TestLocalXyzPointer()
542 if(ldn.isNull()) { in TestLocalXyzPointer()
553 if(msg.isNull()) { in TestLocalXyzPointer()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DEquivalenceTest.java119 Predicate<Object> isNull = Equivalence.equals().equivalentTo(null); in testEquivalentTo() local
120 assertFalse(isNull.apply("1")); in testEquivalentTo()
121 assertFalse(isNull.apply("2")); in testEquivalentTo()
122 assertTrue(isNull.apply(null)); in testEquivalentTo()
126 .addEqualityGroup(isNull) in testEquivalentTo()
DPredicatesTest.java147 .addEqualityGroup(Predicates.isNull(), Predicates.isNull()) in testNot_equalityForNotOfKnownValues()
149 .addEqualityGroup(Predicates.not(Predicates.isNull())) in testNot_equalityForNotOfKnownValues()
154 .addEqualityGroup(Predicates.isNull()) in testNot_equalityForNotOfKnownValues()
443 Predicate<Integer> isNull = Predicates.equalTo(null); in testIsEqualToNull_apply() local
444 assertTrue(isNull.apply(null)); in testIsEqualToNull_apply()
445 assertFalse(isNull.apply(1)); in testIsEqualToNull_apply()
461 Predicate<Integer> isNull = Predicates.isNull(); in testIsNull_apply() local
462 assertTrue(isNull.apply(null)); in testIsNull_apply()
463 assertFalse(isNull.apply(1)); in testIsNull_apply()
468 .addEqualityGroup(Predicates.isNull(), Predicates.isNull()) in testIsNull_equality()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DEquivalenceTest.java129 Predicate<Object> isNull = Equivalence.equals().equivalentTo(null); in testEquivalentTo() local
130 assertFalse(isNull.apply("1")); in testEquivalentTo()
131 assertFalse(isNull.apply("2")); in testEquivalentTo()
132 assertTrue(isNull.apply(null)); in testEquivalentTo()
136 .addEqualityGroup(isNull) in testEquivalentTo()
DPredicatesTest.java162 .addEqualityGroup(Predicates.isNull(), Predicates.isNull()) in testNot_equalityForNotOfKnownValues()
164 .addEqualityGroup(Predicates.not(Predicates.isNull())) in testNot_equalityForNotOfKnownValues()
169 .addEqualityGroup(Predicates.isNull()) in testNot_equalityForNotOfKnownValues()
528 Predicate<Integer> isNull = Predicates.equalTo(null); in testIsEqualToNull_apply() local
529 assertTrue(isNull.apply(null)); in testIsEqualToNull_apply()
530 assertFalse(isNull.apply(1)); in testIsEqualToNull_apply()
657 Predicate<Integer> isNull = Predicates.isNull(); in testIsNull_apply() local
658 assertTrue(isNull.apply(null)); in testIsNull_apply()
659 assertFalse(isNull.apply(1)); in testIsNull_apply()
664 .addEqualityGroup(Predicates.isNull(), Predicates.isNull()) in testIsNull_equality()
[all …]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/
DAssert.java87 public static void isNull(Object object) { in isNull() method in Assert
88 isNull(object, ""); //$NON-NLS-1$ in isNull()
101 public static void isNull(Object object, String message) { in isNull() method in Assert
121 public static void isNull(Object object, String errorFormat, Object... args) { in isNull() method in Assert
/external/vulkan-validation-layers/libs/glm/gtx/
Dmatrix_query.hpp59 GLM_FUNC_DECL bool isNull(detail::tmat2x2<T, P> const & m, T const & epsilon);
64 GLM_FUNC_DECL bool isNull(detail::tmat3x3<T, P> const & m, T const & epsilon);
69 GLM_FUNC_DECL bool isNull(detail::tmat4x4<T, P> const & m, T const & epsilon);
Dmatrix_query.inl16 GLM_FUNC_QUALIFIER bool isNull(detail::tmat2x2<T, P> const & m, T const & epsilon) function
20 result = isNull(m[i], epsilon);
25 GLM_FUNC_QUALIFIER bool isNull(detail::tmat3x3<T, P> const & m, T const & epsilon) function
29 result = isNull(m[i], epsilon);
34 GLM_FUNC_QUALIFIER bool isNull(detail::tmat4x4<T, P> const & m, T const & epsilon) function
38 result = isNull(m[i], epsilon);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DCacheTest.java23 assertTrue("null CacheValue isNull()", nv.isNull()); in testNullCacheValue()
41 assertFalse("strong CacheValue not isNull()", sv.isNull()); in testStrongCacheValue()
59 assertFalse("soft CacheValue not isNull()", sv.isNull()); in testSoftCacheValue()
/external/llvm/unittests/ADT/
DPointerUnionTest.cpp39 EXPECT_FALSE(a.isNull()); in TEST_F()
40 EXPECT_FALSE(b.isNull()); in TEST_F()
41 EXPECT_TRUE(n.isNull()); in TEST_F()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DSQLiteCursorTest.java302 assertThat(cursor.isNull(cursor.getColumnIndex("id")), equalTo(false)); in testIsNullWhenNull()
303 assertThat(cursor.isNull(cursor.getColumnIndex("name")), equalTo(false)); in testIsNullWhenNull()
305 assertThat(cursor.isNull(cursor.getColumnIndex("long_value")), equalTo(true)); in testIsNullWhenNull()
306 assertThat(cursor.isNull(cursor.getColumnIndex("float_value")), equalTo(true)); in testIsNullWhenNull()
307 assertThat(cursor.isNull(cursor.getColumnIndex("double_value")), equalTo(true)); in testIsNullWhenNull()
315 assertThat(cursor.isNull(i), equalTo(false)); in testIsNullWhenNotNull()
324 assertThat(cursor.isNull(5), equalTo(true)); in testIsNullWhenIndexOutOfBounds()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
DCacheTest.java27 assertTrue("null CacheValue isNull()", nv.isNull()); in testNullCacheValue()
45 assertFalse("strong CacheValue not isNull()", sv.isNull()); in testStrongCacheValue()
63 assertFalse("soft CacheValue not isNull()", sv.isNull()); in testSoftCacheValue()
/external/skia/tests/
DCachedDecodingPixelRefTest.cpp58 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull()); in compare_bitmaps()
61 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull()); in compare_bitmaps()
62 if (b1.isNull() || b1.empty()) { in compare_bitmaps()
99 REPORTER_ASSERT(reporter, !original.isNull()); in test_three_encodings()
100 if (original.empty() || original.isNull()) { in test_three_encodings()
/external/clang/lib/StaticAnalyzer/Checkers/
DReturnUndefChecker.cpp58 if (!RT.isNull() && RT->isVoidType()) in checkPreStmt()
64 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) && in checkPreStmt()
72 if (RT.isNull()) in checkPreStmt()
DSelectorExtras.h50 if (!Sel.isNull()) in lazyInitKeywordSelector()
60 if (!Sel.isNull()) in lazyInitNullarySelector()
/external/clang/lib/AST/
DType.cpp686 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS()
697 if (pointeeType.isNull()) in VisitPointerType()
708 if (pointeeType.isNull()) in VisitBlockPointerType()
719 if (pointeeType.isNull()) in VisitLValueReferenceType()
731 if (pointeeType.isNull()) in VisitRValueReferenceType()
743 if (pointeeType.isNull()) in VisitMemberPointerType()
754 if (elementType.isNull()) in VisitConstantArrayType()
767 if (elementType.isNull()) in VisitVariableArrayType()
781 if (elementType.isNull()) in VisitIncompleteArrayType()
793 if (elementType.isNull()) in VisitVectorType()
[all …]
DASTImporter.cpp413 if (T1.isNull() || T2.isNull()) in IsStructurallyEquivalent()
414 return T1.isNull() && T2.isNull(); in IsStructurallyEquivalent()
1516 if (ToElementType.isNull()) in VisitComplexType()
1524 if (ToPointeeType.isNull()) in VisitPointerType()
1533 if (ToPointeeType.isNull()) in VisitBlockPointerType()
1543 if (ToPointeeType.isNull()) in VisitLValueReferenceType()
1553 if (ToPointeeType.isNull()) in VisitRValueReferenceType()
1562 if (ToPointeeType.isNull()) in VisitMemberPointerType()
1572 if (ToElementType.isNull()) in VisitConstantArrayType()
1584 if (ToElementType.isNull()) in VisitIncompleteArrayType()
[all …]
DNSAPI.cpp44 if (NSStringSelectors[MK].isNull()) { in getNSStringSelector()
91 if (NSArraySelectors[MK].isNull()) { in getNSArraySelector()
169 if (NSDictionarySelectors[MK].isNull()) { in getNSDictionarySelector()
270 if (NSSetSelectors[MK].isNull()) { in getNSSetSelector()
373 if (Sels[MK].isNull()) in getNSNumberLiteralSelector()
495 if (!Ctx.getLangOpts().ObjC1 || T.isNull()) in GetNSIntegralKind()
549 if (T.isNull()) in isObjCTypedef()
584 if (Sel.isNull()) { in getOrInitSelector()
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp395 EXPECT_TRUE(constructMatcher("hasInitializer", Error.get()).isNull()); in TEST_F()
399 EXPECT_TRUE(constructMatcher("isArrow", StringRef(), Error.get()).isNull()); in TEST_F()
403 EXPECT_TRUE(constructMatcher("anyOf", Error.get()).isNull()); in TEST_F()
408 Error.get()).isNull()); in TEST_F()
414 EXPECT_TRUE(constructMatcher("ofClass", StringRef(), Error.get()).isNull()); in TEST_F()
422 .isNull()); in TEST_F()
430 Error.get()).isNull()); in TEST_F()
440 Error.get()).isNull()); in TEST_F()
/external/llvm/test/Transforms/GlobalOpt/
Dstorepointer-compare.ll21 br i1 %CC, label %isNull, label %DoCall
27 isNull: ; preds = %0

12345678910>>...14