Home
last modified time | relevance | path

Searched refs:isValid (Results 1 – 25 of 46) sorted by relevance

12

/libcore/luni/src/main/native/
DScopedIcuULoc.h57 isValid = false; in ScopedIcuULoc()
71 isValid = U_SUCCESS(status); in ScopedIcuULoc()
78 return isValid; in valid()
90 bool isValid;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileLockTest.java40 boolean isValid = true; field in FileLockTest.MockFileLock
47 public boolean isValid() { in isValid() method in FileLockTest.MockFileLock
48 return isValid; in isValid()
52 isValid = false; in release()
164 assertTrue(fileLock.isValid()); in test_isValid()
166 assertFalse(fileLock.isValid()); in test_isValid()
DSelectionKeyTest.java81 public boolean isValid() { in isValid() method in SelectionKeyTest.MockSelectionKey
173 assertTrue(selectionKey.isValid()); in test_isValid()
181 assertFalse(selectionKey.isValid()); in test_isValid_KeyCancelled()
189 assertFalse(selectionKey.isValid()); in test_isValid_ChannelColsed()
197 assertFalse(selectionKey.isValid()); in test_isValid_SelectorClosed()
DFileChannelLockingTest.java185 assertTrue(tmpLock.isValid()); in test_tryLockLLZ()
190 assertTrue(lock.isValid()); in test_tryLockLLZ()
202 assertTrue(adjacentLock.isValid()); in test_tryLockLLZ()
DFileChannelTest.java638 assertTrue(fileLock.isValid()); in test_lock()
650 assertTrue(fileLock.isValid()); in test_lock_OverlappingException()
673 assertTrue(fileLock.isValid()); in test_lock_After_Release()
677 assertTrue(writeOnlyFileChannel2.lock().isValid()); in test_lock_After_Release()
797 assertTrue(fileLock.isValid()); in test_lockJJZ_Shared()
813 assertTrue(fileLock.isValid()); in test_lockJJZ_NotShared()
827 assertTrue(fileLock.isValid()); in test_lockJJZ_Long_MAX_VALUE()
841 assertTrue(fileLock.isValid()); in test_lockJJZ_Overlapping()
863 assertTrue(fileLock1.isValid()); in test_lockJJZ_NotOverlapping()
866 assertTrue(fileLock2.isValid()); in test_lockJJZ_NotOverlapping()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
DAbstractSelectionKeyTest.java33 assertTrue(testKey.isValid()); in test_isValid()
47 assertFalse(testKey.isValid()); in test_cancel()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DMemoryCache.java104 public boolean isValid(long currentTime); in isValid() method
130 public boolean isValid(long currentTime) { in isValid() method in MemoryCache.HardCacheEntry
163 public boolean isValid(long currentTime) { in isValid() method in MemoryCache.SoftCacheEntry
/libcore/ojluni/src/main/java/java/nio/channels/
DFileLock.java288 public abstract boolean isValid(); in isValid() method in FileLock
327 + " " + (isValid() ? "valid" : "invalid") in toString()
DMembershipKey.java74 public abstract boolean isValid(); in isValid() method in MembershipKey
DSelectionKey.java144 public abstract boolean isValid(); in isValid() method in SelectionKey
/libcore/luni/src/test/java/libcore/java/nio/channels/
DMembershipKeyTest.java73 assertTrue(key.isValid()); in check_isValid()
75 assertFalse(key.isValid()); in check_isValid()
89 assertTrue(key.isValid()); in check_isValid_OnDrop()
91 assertFalse(key.isValid()); in check_isValid_OnDrop()
DDatagramChannelMulticastTest.java502 assertTrue(key.isValid()); in checkMembershipKeyAccessors()
524 assertTrue(membershipKey.isValid()); in check_dropAnySource_twice()
526 assertFalse(membershipKey.isValid()); in check_dropAnySource_twice()
541 assertTrue(membershipKey.isValid()); in test_close_invalidatesMembershipKey()
545 assertFalse(membershipKey.isValid()); in test_close_invalidatesMembershipKey()
650 assertTrue(membershipKey.isValid()); in test_unblock_multipleUnblocksFail()
1144 assertTrue(membershipKey.isValid()); in check_dropSourceSpecific_twice()
1146 assertFalse(membershipKey.isValid()); in check_dropSourceSpecific_twice()
1180 assertTrue(membershipKey1.isValid()); in check_dropSourceSpecific_sourceKeysAreIndependent()
1181 assertTrue(membershipKey2.isValid()); in check_dropSourceSpecific_sourceKeysAreIndependent()
[all …]
/libcore/ojluni/src/main/java/sun/security/util/
DCache.java328 if (entry.isValid(time) == false) { in expungeExpiredEntries()
392 if (entry.isValid(time) == false) { in get()
470 boolean isValid(long currentTime); in isValid() method
500 public boolean isValid(long currentTime) { in isValid() method in MemoryCache.HardCacheEntry
537 public boolean isValid(long currentTime) { in isValid() method in MemoryCache.SoftCacheEntry
/libcore/ojluni/src/main/java/java/nio/file/
DWatchKey.java94 boolean isValid(); in isValid() method
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DAbstractSelectionKey.java52 public final boolean isValid() { in isValid() method in AbstractSelectionKey
/libcore/ojluni/src/main/java/java/util/jar/
DAttributes.java463 if (!isValid(name)) { in Name()
469 private static boolean isValid(String name) { in isValid() method in Attributes.Name
475 if (!isValid(name.charAt(i))) { in isValid()
482 private static boolean isValid(char c) { in isValid() method in Attributes.Name
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractWatchKey.java175 if (state == State.SIGNALLED && isValid()) { in reset()
183 return isValid(); in reset()
DLinuxWatchService.java133 public boolean isValid() { in isValid() method in LinuxWatchService.LinuxWatchKey
139 if (isValid()) { in cancel()
291 if (key.isValid()) { in implCancelKey()
DAbstractWatchService.java46 public boolean isValid() {
/libcore/luni/src/test/java/libcore/xml/
DNormalizeTest.java455 if (isValid((char) c)) { in testInvalidCharactersCdata()
476 if (isValid((char) c)) { in testInvalidCharactersText()
495 if (isValid((char) c)) { in testInvalidCharactersAttribute()
516 if (isValid((char) c)) { in testInvalidCharactersComment()
537 if (isValid((char) c)) { in testInvalidCharactersProcessingInstructionData()
548 private boolean isValid(char c) { in isValid() method in NormalizeTest
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileLockImpl.java46 public boolean isValid() { in isValid() method in FileLockImpl
DSelectionKeyImpl.java72 if (!isValid()) in ensureValid()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLSession.java146 public boolean isValid(); in isValid() method
/libcore/support/src/test/java/libcore/javax/net/ssl/
DFakeSSLSession.java103 public boolean isValid() { in isValid() method in FakeSSLSession
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionBindingEventTest.java218 public boolean isValid() { in isValid() method in MySSLSession

12