Home
last modified time | relevance | path

Searched refs:canWrite (Results 1 – 25 of 57) sorted by relevance

123

/external/deqp/framework/delibs/decpp/
DdeRingBuffer.cpp55 bool canWrite = writePos < dataSize && buffer.getNumFree() > 0; in RingBuffer_selfTest() local
56 bool doRead = canRead && (!canWrite || rnd.getBool()); in RingBuffer_selfTest()
75 DE_TEST_ASSERT(canWrite); in RingBuffer_selfTest()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DMessageFramer.java410 int canWrite = Math.min(len, current.writableBytes()); in write() local
411 if (canWrite == 0) { in write()
418 current.write(b, off, canWrite); in write()
419 off += canWrite; in write()
420 len -= canWrite; in write()
/external/testng/src/main/java/org/testng/
DFileAssert.java184 condition=tstvalue.canWrite(); in assertWriteable()
209 condition=tstvalue.canRead() && tstvalue.canWrite(); in assertReadWrite()
310 } else if (path.canWrite() && path.canRead()) { in fileAccess()
314 } else if (path.canWrite()) { in fileAccess()
/external/lzma/C/
DMtDec.c109 WRes wres = ArEvent_OptCreate_And_Reset(&t->canWrite); in MtDecThread_CreateEvents()
157 …Event_Set(&t->canWrite); /* we can disable it. There are no threads waiting canWrite in normal cas… in MtDecThread_CloseThread()
164 Event_Close(&t->canWrite); in MtDecThread_CloseThread()
692 RINOK_THREAD(Event_Wait(&t->canWrite)); in ThreadFunc2()
803 RINOK_THREAD(Event_Set(&nextThread->canWrite)); in ThreadFunc2()
810 RINOK_THREAD(Event_Set(&p->threads[0].canWrite)); in ThreadFunc2()
858 Event_Set(&p->threads[0].canWrite); in ThreadFunc1()
997 Event_Construct(&t->canWrite); in MtDec_Construct()
1099 if (wres == 0) { wres = Event_Set(&nextThread->canWrite); in MtDec_Code()
DMtDec.h52 CAutoResetEvent canWrite; member
/external/apache-commons-io/src/main/java/org/apache/commons/io/filefilter/
DCanWriteFileFilter.java80 return file.canWrite(); in accept()
/external/libtextclassifier/java/src/com/android/textclassifier/common/
DModelFile.java146 public boolean canWrite() { in canWrite() method in ModelFile
150 return new File(absolutePath).canWrite(); in canWrite()
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/
DAndroidTempFileLocator.java95 return file.isDirectory() && file.canWrite(); in isWriteableDirectory()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/io/
DFileMatchers.java74 @Override public boolean check(File actual) { return actual.canWrite(); }
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/
DUserAccount.java225 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 public boolean canWrite(FileSystemEntry entry) { in canWrite() method in UserAccount
/external/apache-commons-io/src/main/java/org/apache/commons/io/output/
DLockableFileWriter.java294 if (!lockDir.canWrite()) { in testLockDir()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DAppDataDirGuesser.java201 return file.isDirectory() && file.canWrite(); in isWriteableDirectory()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextImplTest.java89 assertThat(dirs[0].canWrite()).isTrue(); in getExternalFilesDirs()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java291 verifyFileSystemCondition(userAccount.canWrite(entry), path, "filesystem.cannotWrite"); in verifyWritePermission()

123