/cts/tests/tests/database/src/android/database/cts/ |
MatrixCursor_RowBuilderTest.java | 40 assertTrue(cursor.isNull(COLUMN0_INDEX)); 41 assertTrue(cursor.isNull(COLUMN1_INDEX)); 42 assertTrue(cursor.isNull(COLUMN2_INDEX)); 45 assertFalse(cursor.isNull(COLUMN0_INDEX)); 47 assertTrue(cursor.isNull(COLUMN1_INDEX)); 48 assertTrue(cursor.isNull(COLUMN2_INDEX)); 51 assertFalse(cursor.isNull(COLUMN0_INDEX)); 53 assertFalse(cursor.isNull(COLUMN1_INDEX)); 55 assertTrue(cursor.isNull(COLUMN2_INDEX)); 58 assertFalse(cursor.isNull(COLUMN0_INDEX)) [all...] |
MatrixCursorTest.java | 61 assertTrue(mMatrixCursor.isNull(COLUMN0_INDEX)); 62 assertTrue(mMatrixCursor.isNull(COLUMN1_INDEX)); 63 assertTrue(mMatrixCursor.isNull(COLUMN2_INDEX)); 66 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); 68 assertTrue(mMatrixCursor.isNull(COLUMN1_INDEX)); 69 assertTrue(mMatrixCursor.isNull(COLUMN2_INDEX)); 72 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); 74 assertFalse(mMatrixCursor.isNull(COLUMN1_INDEX)); 76 assertTrue(mMatrixCursor.isNull(COLUMN2_INDEX)); 79 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
ArrayUtilsTest.java | 29 java.util.function.Predicate<Object> isNull = new java.util.function.Predicate<Object>() { 41 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); 44 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); 47 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); 52 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); 56 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); 62 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); 67 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); 72 assertEquals(2, ArrayUtils.unstableRemoveIf(collection, isNull)); 76 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
RawContact.java | 208 final String userName = !contact.isNull("u") ? contact.getString("u") : null; 209 final int serverContactId = !contact.isNull("i") ? contact.getInt("i") : -1; 216 final int rawContactId = !contact.isNull("c") ? contact.getInt("c") : -1; 217 final String firstName = !contact.isNull("f") ? contact.getString("f") : null; 218 final String lastName = !contact.isNull("l") ? contact.getString("l") : null; 219 final String cellPhone = !contact.isNull("m") ? contact.getString("m") : null; 220 final String officePhone = !contact.isNull("o") ? contact.getString("o") : null; 221 final String homePhone = !contact.isNull("h") ? contact.getString("h") : null; 222 final String email = !contact.isNull("e") ? contact.getString("e") : null; 223 final String status = !contact.isNull("s") ? contact.getString("s") : null [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
CacheTest.java | 23 assertTrue("null CacheValue isNull()", nv.isNull()); 41 assertFalse("strong CacheValue not isNull()", sv.isNull()); 59 assertFalse("soft CacheValue not isNull()", sv.isNull());
|
/external/llvm/unittests/ADT/ |
PointerUnionTest.cpp | 39 EXPECT_FALSE(a.isNull()); 40 EXPECT_FALSE(b.isNull()); 41 EXPECT_TRUE(n.isNull());
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
matrix_query.hpp | 59 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);
|
/external/clang/include/clang/AST/ |
DeclContextInternals.h | 67 bool isNull() const { return Data.isNull(); } 106 assert(!isNull() && "removing from empty list"); 126 if (isNull()) { 144 if (isNull()) 149 assert(!isNull() && "Empty list isn't allowed"); 191 assert(!isNull() && "don't AddSubsequentDecl when we have no decls");
|
/external/icu/icu4c/source/i18n/ |
brktrans.cpp | 83 if (bi.isNull()) { 86 if (boundaries.isNull()) { 90 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { 145 if (nonConstThis->cachedBI.isNull()) { 148 if (nonConstThis->cachedBoundaries.isNull()) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
DataStatus.java | 56 final boolean hasStatus = !isNull(cursor, Data.STATUS); 57 final boolean hasTimestamp = !isNull(cursor, Data.STATUS_TIMESTAMP); 154 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); 159 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); 162 private static boolean isNull(Cursor cursor, String columnName) { 163 return cursor.isNull(cursor.getColumnIndex(columnName));
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
DataStatus.java | 54 final boolean hasStatus = !isNull(cursor, Data.STATUS); 55 final boolean hasTimestamp = !isNull(cursor, Data.STATUS_TIMESTAMP); 148 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); 153 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); 156 private static boolean isNull(Cursor cursor, String columnName) { 157 return cursor.isNull(cursor.getColumnIndex(columnName));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/ |
CacheTest.java | 27 assertTrue("null CacheValue isNull()", nv.isNull()); 45 assertFalse("strong CacheValue not isNull()", sv.isNull()); 63 assertFalse("soft CacheValue not isNull()", sv.isNull());
|
/cts/hostsidetests/services/windowmanager/dndsourceapp/src/android/wm/cts/dndsourceapp/ |
DragSourceCursor.java | 77 public boolean isNull(int column) {
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
DynamicTypeInfo.h | 31 bool isValid() const { return !T.isNull(); }
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/ |
Assert.java | 87 public static void isNull(Object object) { 88 isNull(object, ""); //$NON-NLS-1$ 101 public static void isNull(Object object, String message) { 121 public static void isNull(Object object, String errorFormat, Object... args) {
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
FieldReader.java | 23 public boolean isNull() {
|
InstanceField.java | 59 public boolean isNull() { 60 return reader().isNull();
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/ |
DetachableBinding.java | 43 Assert.isNull(mDetachedData);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
SelectorExtras.h | 50 if (!Sel.isNull()) 60 if (!Sel.isNull())
|
ReturnUndefChecker.cpp | 58 if (!RT.isNull() && RT->isVoidType()) 64 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) && 72 if (RT.isNull())
|
/external/llvm/include/llvm/ADT/ |
TinyPtrVector.h | 112 if (Val.isNull()) 121 if (Val.isNull()) 131 if (Val.isNull()) return true; 156 return begin() + (Val.isNull() ? 0 : 1); 170 assert(!Val.isNull() && "can't index into an empty vector"); 199 if (Val.isNull()) { 270 assert(!Val.isNull() && "Null value with non-end insert iterator."); 290 if (Val.isNull()) {
|
/frameworks/compile/mclinker/lib/LD/ |
LDSymbol.cpp | 85 bool LDSymbol::isNull() const { 90 return !m_pFragRef->isNull();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ReorderingCursorWrapper.java | 102 public boolean isNull(int column) { 103 return mCursor.isNull(column);
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
EquivalenceTest.java | 119 Predicate<Object> isNull = Equivalence.equals().equivalentTo(null); 120 assertFalse(isNull.apply("1")); 121 assertFalse(isNull.apply("2")); 122 assertTrue(isNull.apply(null)); 126 .addEqualityGroup(isNull)
|
/external/guava/guava-tests/test/com/google/common/base/ |
EquivalenceTest.java | 129 Predicate<Object> isNull = Equivalence.equals().equivalentTo(null); 130 assertFalse(isNull.apply("1")); 131 assertFalse(isNull.apply("2")); 132 assertTrue(isNull.apply(null)); 136 .addEqualityGroup(isNull)
|