/external/clang/include/clang/AST/ |
D | DeclContextInternals.h | 67 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()
|
D | CanonicalType.h | 83 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/ |
D | TinyPtrVector.h | 112 if (Val.isNull()) 121 if (Val.isNull()) 131 if (Val.isNull()) return true; in empty() 157 return begin() + (Val.isNull() ? 0 : 1); in end() 171 assert(!Val.isNull() && "can't index into an empty vector"); 200 if (Val.isNull()) { in push_back() 271 assert(!Val.isNull() && "Null value with non-end insert iterator."); in insert() 291 if (Val.isNull()) { in insert()
|
D | PointerUnion.h | 109 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(); }
|
D | Twine.h | 189 bool isNull() const { in isNull() function 200 return isNull() || isEmpty(); in isNullary() 489 if (isNull() || Suffix.isNull()) in concat()
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | EquivalenceTest.java | 119 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()
|
D | PredicatesTest.java | 147 .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/icu/icu4c/source/test/intltest/ |
D | itutil.cpp | 279 if(s.isNull() || !s.isValid() || s==NULL || !(s!=NULL)) { in TestLocalPointer() 306 if(cs.isNull() && U_SUCCESS(errorCode)) { in TestLocalPointer() 312 if(cs.isNull() && U_SUCCESS(errorCode)) { in TestLocalPointer() 380 if(sel.isNull()) { in TestLocalXyzPointer() 390 if(cal.isNull()) { in TestLocalXyzPointer() 399 if(patgen.isNull()) { in TestLocalXyzPointer() 408 if(ldn.isNull()) { in TestLocalXyzPointer() 419 if(msg.isNull()) { in TestLocalXyzPointer() 432 if(fn2.isNull()) { in TestLocalXyzPointer() 443 if(idna.isNull()) { in TestLocalXyzPointer() [all …]
|
D | ucharstrietest.cpp | 296 if(trie.isNull()) { in TestNextForCodePoint() 385 if(trie.isNull()) { in TestLargeTrie() 464 if(trie.isNull()) { in TestHasUniqueValue() 500 if(trie.isNull()) { in TestGetNextUChars() 550 if(trie.isNull()) { in TestIteratorFromBranch() 599 if(trie.isNull()) { in TestIteratorFromLinearMatch() 627 if(trie.isNull()) { in TestTruncatingIteratorFromRoot() 678 if(trie.isNull()) { in TestTruncatingIteratorFromLinearMatchShort() 706 if(trie.isNull()) { in TestTruncatingIteratorFromLinearMatchLong() 756 if(trie.isNull()) { in checkData()
|
D | bytestrietest.cpp | 307 if(trie.isNull()) { in TestHasUniqueValue() 343 if(trie.isNull()) { in TestGetNextBytes() 392 if(trie.isNull()) { in TestIteratorFromBranch() 441 if(trie.isNull()) { in TestIteratorFromLinearMatch() 469 if(trie.isNull()) { in TestTruncatingIteratorFromRoot() 520 if(trie.isNull()) { in TestTruncatingIteratorFromLinearMatchShort() 548 if(trie.isNull()) { in TestTruncatingIteratorFromLinearMatchLong() 597 if(trie.isNull()) { in checkData()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | EquivalenceTest.java | 129 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()
|
D | PredicatesTest.java | 162 .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/ |
D | Assert.java | 87 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/llvm/unittests/ADT/ |
D | PointerUnionTest.cpp | 39 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/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | SQLiteCursorTest.java | 302 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/clang/lib/AST/ |
D | ASTImporter.cpp | 370 if (T1.isNull() || T2.isNull()) in IsStructurallyEquivalent() 371 return T1.isNull() && T2.isNull(); in IsStructurallyEquivalent() 1473 if (ToElementType.isNull()) in VisitComplexType() 1481 if (ToPointeeType.isNull()) in VisitPointerType() 1490 if (ToPointeeType.isNull()) in VisitBlockPointerType() 1500 if (ToPointeeType.isNull()) in VisitLValueReferenceType() 1510 if (ToPointeeType.isNull()) in VisitRValueReferenceType() 1519 if (ToPointeeType.isNull()) in VisitMemberPointerType() 1529 if (ToElementType.isNull()) in VisitConstantArrayType() 1541 if (ToElementType.isNull()) in VisitIncompleteArrayType() [all …]
|
D | NSAPI.cpp | 43 if (NSStringSelectors[MK].isNull()) { in getNSStringSelector() 90 if (NSArraySelectors[MK].isNull()) { in getNSArraySelector() 168 if (NSDictionarySelectors[MK].isNull()) { in getNSDictionarySelector() 269 if (NSSetSelectors[MK].isNull()) { in getNSSetSelector() 372 if (Sels[MK].isNull()) in getNSNumberLiteralSelector() 483 if (!Ctx.getLangOpts().ObjC1 || T.isNull()) in GetNSIntegralKind() 512 if (T.isNull()) in isObjCTypedef() 547 if (Sel.isNull()) { in getOrInitSelector()
|
/external/skia/tests/ |
D | CachedDecodingPixelRefTest.cpp | 58 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/ |
D | ReturnUndefChecker.cpp | 58 if (!RT.isNull() && RT->isVoidType()) in checkPreStmt() 64 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) && in checkPreStmt() 72 if (RT.isNull()) in checkPreStmt()
|
D | SelectorExtras.h | 50 if (!Sel.isNull()) in lazyInitKeywordSelector() 60 if (!Sel.isNull()) in lazyInitNullarySelector()
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | RegistryTest.cpp | 395 EXPECT_TRUE(constructMatcher("hasInitializer", Error.get()).isNull()); in TEST_F() 399 EXPECT_TRUE(constructMatcher("isArrow", std::string(), 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", std::string(), Error.get()).isNull()); in TEST_F() 421 Error.get()).isNull()); in TEST_F() 429 Error.get()).isNull()); in TEST_F() 439 Error.get()).isNull()); in TEST_F()
|
/external/llvm/test/Transforms/GlobalOpt/ |
D | storepointer-compare.ll | 21 br i1 %CC, label %isNull, label %DoCall 27 isNull: ; preds = %0
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 103 if (TU && !T.isNull()) { in MakeCXType() 223 if (T.isNull()) in clang_getTypeSpelling() 326 if (T.isNull()) in clang_getCanonicalType() 498 if (T.isNull()) in clang_isFunctionTypeVariadic() 512 if (T.isNull()) in clang_getFunctionTypeCallingConv() 541 if (T.isNull()) in clang_getNumArgTypes() 557 if (T.isNull()) in clang_getArgType() 573 if (T.isNull()) in clang_getResultType() 596 if (T.isNull()) in clang_isPODType() 856 if (QT.isNull()) in clang_Type_getCXXRefQualifier() [all …]
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
D | InstanceField.java | 59 public boolean isNull() { in isNull() method in InstanceField 60 return reader().isNull(); in isNull()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 155 if (X.isNull()) in checkDeducedTemplateArguments() 157 if (Y.isNull()) in checkDeducedTemplateArguments() 277 .isNull()) in checkDeducedTemplateArguments() 304 if (Result.isNull()) { in DeduceNonTypeTemplateArgument() 335 if (Result.isNull()) { in DeduceNonTypeTemplateArgument() 365 if (Result.isNull()) { in DeduceNonTypeTemplateArgument() 396 if (Result.isNull()) { in DeduceTemplateArguments() 645 if (!DeducedArg.isNull()) { in nextPackElement() 665 if (Pack.DeferredDeduction.isNull()) { in finish() 689 if (Pack.Outer->DeferredDeduction.isNull()) { in finish() [all …]
|