Home
last modified time | relevance | path

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

123

/external/llvm-project/clang-tools-extra/clangd/unittests/support/
DFileCacheTests.cpp29 void setContents(const char *C) { in setContents() function in clang::clangd::config::__anon26dbb7c00111::TestCache
63 C.setContents("a"); in TEST()
67 C.setContents("bb"); in TEST()
71 C.setContents(nullptr); in TEST()
75 C.setContents("bb"); // Match the previous stat values! in TEST()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMinimalSet.java48 List<E> setContents = new ArrayList<E>(); in ofClassAndContents() local
50 if (!setContents.contains(e)) { in ofClassAndContents()
51 setContents.add(e); in ofClassAndContents()
54 return new MinimalSet<E>(type, setContents.toArray(emptyArrayForContents)); in ofClassAndContents()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DMinimalSet.java48 List<E> setContents = new ArrayList<E>(); in ofClassAndContents() local
50 if (!setContents.contains(e)) { in ofClassAndContents()
51 setContents.add(e); in ofClassAndContents()
54 return new MinimalSet<E>(type, setContents.toArray(emptyArrayForContents)); in ofClassAndContents()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() method in FileEntry
96 public void setContents(byte[] contents) { in setContents() method in FileEntry
152 clone.setContents(getCurrentBytes()); in cloneWithNewPath()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() method in FileEntry
96 public void setContents(byte[] contents) { in setContents() method in FileEntry
152 clone.setContents(getCurrentBytes()); in cloneWithNewPath()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() method in FileEntry
96 public void setContents(byte[] contents) { in setContents() method in FileEntry
152 clone.setContents(getCurrentBytes()); in cloneWithNewPath()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() method in FileEntry
96 public void setContents(byte[] contents) { in setContents() method in FileEntry
152 clone.setContents(getCurrentBytes()); in cloneWithNewPath()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() method in FileEntry
96 public void setContents(byte[] contents) { in setContents() method in FileEntry
152 clone.setContents(getCurrentBytes()); in cloneWithNewPath()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() method in FileEntry
96 public void setContents(byte[] contents) { in setContents() method in FileEntry
152 clone.setContents(getCurrentBytes()); in cloneWithNewPath()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() method in FileEntry
96 public void setContents(byte[] contents) { in setContents() method in FileEntry
152 clone.setContents(getCurrentBytes()); in cloneWithNewPath()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() method in FileEntry
96 public void setContents(byte[] contents) { in setContents() method in FileEntry
152 clone.setContents(getCurrentBytes()); in cloneWithNewPath()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() method in FileEntry
96 public void setContents(byte[] contents) { in setContents() method in FileEntry
148 clone.setContents(getCurrentBytes()); in cloneWithNewPath()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java61 setContents(contents); in FileEntry()
87 public void setContents(String contents) { in setContents() method in FileEntry
97 public void setContents(byte[] contents) { in setContents() method in FileEntry
149 clone.setContents(bytes); in cloneWithNewPath()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() method in FileEntry
96 public void setContents(byte[] contents) { in setContents() method in FileEntry
148 clone.setContents(bytes); in cloneWithNewPath()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy49 entry.setContents(CONTENTS)
58 entry.setContents(contents)
65 * Test the setContents(String) method, passing in null
68 shouldFailWithMessageContaining("contents") { entry.setContents((String)null) }
72 * Test the setContents(byte[]) method, passing in null
75 shouldFailWithMessageContaining("contents") { entry.setContents((byte[])null) }
99 entry.setContents(NEW_CONTENTS)
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy41 entry.setContents(CONTENTS)
47 entry.setContents(contents)
55 entry.setContents(contents)
60 entry.setContents((String) null)
65 entry.setContents((byte[]) null)
87 entry.setContents(NEW_CONTENTS)
115 entry.setContents('abc')
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy42 entry.setContents(CONTENTS)
48 entry.setContents(contents)
56 entry.setContents(contents)
61 entry.setContents((String) null)
66 entry.setContents((byte[]) null)
88 entry.setContents(NEW_CONTENTS)
116 entry.setContents('abc')
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy41 entry.setContents(CONTENTS)
47 entry.setContents(contents)
55 entry.setContents(contents)
60 entry.setContents((String) null)
65 entry.setContents((byte[]) null)
87 entry.setContents(NEW_CONTENTS)
115 entry.setContents('abc')
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy41 entry.setContents(CONTENTS)
47 entry.setContents(contents)
55 entry.setContents(contents)
60 entry.setContents((String) null)
65 entry.setContents((byte[]) null)
87 entry.setContents(NEW_CONTENTS)
115 entry.setContents('abc')
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy42 entry.setContents(CONTENTS)
48 entry.setContents(contents)
56 entry.setContents(contents)
61 entry.setContents((String) null)
66 entry.setContents((byte[]) null)
88 entry.setContents(NEW_CONTENTS)
116 entry.setContents('abc')
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy42 entry.setContents(CONTENTS)
48 entry.setContents(contents)
56 entry.setContents(contents)
61 entry.setContents((String) null)
66 entry.setContents((byte[]) null)
88 entry.setContents(NEW_CONTENTS)
116 entry.setContents('abc')
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy41 entry.setContents(CONTENTS)
47 entry.setContents(contents)
55 entry.setContents(contents)
60 entry.setContents((String) null)
65 entry.setContents((byte[]) null)
87 entry.setContents(NEW_CONTENTS)
115 entry.setContents('abc')
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy41 entry.setContents(CONTENTS)
47 entry.setContents(contents)
55 entry.setContents(contents)
60 entry.setContents((String) null)
65 entry.setContents((byte[]) null)
87 entry.setContents(NEW_CONTENTS)
115 entry.setContents('abc')
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy41 entry.setContents(CONTENTS)
47 entry.setContents(contents)
54 entry.setContents((String) null)
59 entry.setContents((byte[]) null)
81 entry.setContents(NEW_CONTENTS)
109 entry.setContents('abc')
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy42 entry.setContents(CONTENTS)
48 entry.setContents(contents)
55 entry.setContents((String) null)
60 entry.setContents((byte[]) null)
82 entry.setContents(NEW_CONTENTS)
110 entry.setContents('abc')

123