Home
last modified time | relevance | path

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

12

/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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DAtraceScriptsWriter.java52 if (!file.isDirectory() || !file.canWrite()) { in writeScriptsToFile()
55 + (!file.canWrite() ? "is not writable" : "")); in writeScriptsToFile()
/external/lzma/C/
DMtDec.c108 WRes wres = ArEvent_OptCreate_And_Reset(&t->canWrite); in MtDecThread_CreateEvents()
156 …Event_Set(&t->canWrite); /* we can disable it. There are no threads waiting canWrite in normal cas… in MtDecThread_CloseThread()
163 Event_Close(&t->canWrite); in MtDecThread_CloseThread()
691 RINOK_THREAD(Event_Wait(&t->canWrite)); in ThreadFunc2()
802 RINOK_THREAD(Event_Set(&nextThread->canWrite)); in ThreadFunc2()
809 RINOK_THREAD(Event_Set(&p->threads[0].canWrite)); in ThreadFunc2()
857 Event_Set(&p->threads[0].canWrite); in ThreadFunc1()
996 Event_Construct(&t->canWrite); in MtDec_Construct()
1098 if (wres == 0) { wres = Event_Set(&nextThread->canWrite); in MtDec_Code()
DMtDec.h52 CAutoResetEvent canWrite; member
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/
DAndroidTempFileLocator.java95 return file.isDirectory() && file.canWrite(); in isWriteableDirectory()
/external/libtextclassifier/java/src/com/android/textclassifier/common/
DModelFileManager.java367 if (modelFile.canWrite()) { in deleteUnusedModelFiles()
543 public boolean canWrite() { in canWrite() method in ModelFileManager.ModelFile
547 return new File(absolutePath).canWrite(); in canWrite()
/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.0.2/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/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/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/MockFtpServer/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.1/src/main/java/org/mockftpserver/fake/
DUserAccount.java234 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/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/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java291 verifyFileSystemCondition(userAccount.canWrite(entry), path, "filesystem.cannotWrite"); in verifyWritePermission()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java300 verifyFileSystemCondition(userAccount.canWrite(entry), path, "filesystem.cannotWrite"); in verifyWritePermission()

12