/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 59 setFileContents(fileContents); in RetrCommandHandler() 69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 70 setFileContents(fileContents); in RetrCommandHandler() 85 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 86 session.sendData(fileContents, fileContents.length); in processData() 96 public void setFileContents(String fileContents) { in setFileContents() argument 97 Assert.notNull(fileContents, "fileContents"); in setFileContents() 98 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 60 setFileContents(fileContents); in RetrCommandHandler() 68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 69 setFileContents(fileContents); in RetrCommandHandler() 84 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 85 session.sendData(fileContents, fileContents.length); in processData() 93 public void setFileContents(String fileContents) { in setFileContents() argument 94 Assert.notNull(fileContents, "fileContents"); in setFileContents() 95 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 60 setFileContents(fileContents); in RetrCommandHandler() 68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 69 setFileContents(fileContents); in RetrCommandHandler() 84 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 85 session.sendData(fileContents, fileContents.length); in processData() 93 public void setFileContents(String fileContents) { in setFileContents() argument 94 Assert.notNull(fileContents, "fileContents"); in setFileContents() 95 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 60 setFileContents(fileContents); in RetrCommandHandler() 68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 69 setFileContents(fileContents); in RetrCommandHandler() 84 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 85 session.sendData(fileContents, fileContents.length); in processData() 93 public void setFileContents(String fileContents) { in setFileContents() argument 94 Assert.notNull(fileContents, "fileContents"); in setFileContents() 95 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 60 setFileContents(fileContents); in RetrCommandHandler() 68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 69 setFileContents(fileContents); in RetrCommandHandler() 84 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 85 session.sendData(fileContents, fileContents.length); in processData() 93 public void setFileContents(String fileContents) { in setFileContents() argument 94 Assert.notNull(fileContents, "fileContents"); in setFileContents() 95 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 60 setFileContents(fileContents); in RetrCommandHandler() 68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 69 setFileContents(fileContents); in RetrCommandHandler() 84 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 85 session.sendData(fileContents, fileContents.length); in processData() 93 public void setFileContents(String fileContents) { in setFileContents() argument 94 Assert.notNull(fileContents, "fileContents"); in setFileContents() 95 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 60 setFileContents(fileContents); in RetrCommandHandler() 68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 69 setFileContents(fileContents); in RetrCommandHandler() 84 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 85 session.sendData(fileContents, fileContents.length); in processData() 93 public void setFileContents(String fileContents) { in setFileContents() argument 94 Assert.notNull(fileContents, "fileContents"); in setFileContents() 95 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 45 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 60 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 61 setFileContents(fileContents); in RetrCommandHandler() 71 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 72 setFileContents(fileContents); in RetrCommandHandler() 87 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 88 session.sendData(fileContents, fileContents.length); in processData() 98 public void setFileContents(String fileContents) { in setFileContents() argument 99 Assert.notNull(fileContents, "fileContents"); in setFileContents() 100 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 60 setFileContents(fileContents); in RetrCommandHandler() 68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 69 setFileContents(fileContents); in RetrCommandHandler() 84 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 85 session.sendData(fileContents, fileContents.length); in processData() 93 public void setFileContents(String fileContents) { in setFileContents() argument 94 Assert.notNull(fileContents, "fileContents"); in setFileContents() 95 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 60 setFileContents(fileContents); in RetrCommandHandler() 68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 69 setFileContents(fileContents); in RetrCommandHandler() 84 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 85 session.sendData(fileContents, fileContents.length); in processData() 93 public void setFileContents(String fileContents) { in setFileContents() argument 94 Assert.notNull(fileContents, "fileContents"); in setFileContents() 95 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/stub/command/ |
D | RetrCommandHandler.java | 46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler 59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument 60 setFileContents(fileContents); in RetrCommandHandler() 68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument 69 setFileContents(fileContents); in RetrCommandHandler() 84 LOG.info("Sending " + fileContents.length + " bytes"); in processData() 85 session.sendData(fileContents, fileContents.length); in processData() 93 public void setFileContents(String fileContents) { in setFileContents() argument 94 Assert.notNull(fileContents, "fileContents"); in setFileContents() 95 setFileContents(fileContents.getBytes()); in setFileContents() [all …]
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | BreakIteratorPerformanceTest.java | 16 String fileContents; field in BreakIteratorPerformanceTest 44 fileContents = new String(readToEOS(reader)); in setup() 97 iter.setText(fileContents); in init() 103 tokenList.add(fileContents.substring(start, end)); in init() 111 iter.setText(fileContents); in init() 117 tokenList.add(fileContents.substring(start, end)); in init() 131 if (!correct[k++].equals(fileContents.substring(start, end))) in createTestICU() 140 return fileContents.length(); in createTestICU() 151 if (!correct[k++].equals(fileContents.substring(start, end))) 160 return fileContents.length();
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AssetManagerTest.java | 74 String fileContents; in assetsInputStreams() local 79 fileContents = Strings.fromStream(inputStream); in assetsInputStreams() 80 assertEquals("assetsHome!", fileContents); in assetsInputStreams() 84 fileContents = Strings.fromStream(inputStream); in assetsInputStreams() 85 assertEquals("hello!", fileContents); in assetsInputStreams()
|
D | ContextTest.java | 157 String fileContents = "blah"; in openFileInput_shouldReturnAFileInputStream() local 161 fileWriter.write(fileContents); in openFileInput_shouldReturnAFileInputStream() 168 byte[] bytes = new byte[fileContents.length()]; in openFileInput_shouldReturnAFileInputStream() 170 assertThat(bytes, equalTo(fileContents.getBytes())); in openFileInput_shouldReturnAFileInputStream() 191 String fileContents = "blah"; in openFileOutput_shouldReturnAFileOutputStream() local 195 fileOutputStream.write(fileContents.getBytes()); in openFileOutput_shouldReturnAFileOutputStream() 203 byte[] readBuffer = new byte[fileContents.length()]; in openFileOutput_shouldReturnAFileOutputStream() 205 assertThat(new String(readBuffer), equalTo(fileContents)); in openFileOutput_shouldReturnAFileOutputStream()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextTest.java | 152 String fileContents = "blah"; in openFileInput_shouldReturnAFileInputStream() local 156 fileWriter.write(fileContents); in openFileInput_shouldReturnAFileInputStream() 160 byte[] bytes = new byte[fileContents.length()]; in openFileInput_shouldReturnAFileInputStream() 162 assertThat(bytes).isEqualTo(fileContents.getBytes(UTF_8)); in openFileInput_shouldReturnAFileInputStream() 174 String fileContents = "blah"; in openFileOutput_shouldReturnAFileOutputStream() local 176 fileOutputStream.write(fileContents.getBytes(UTF_8)); in openFileOutput_shouldReturnAFileOutputStream() 179 byte[] readBuffer = new byte[fileContents.length()]; in openFileOutput_shouldReturnAFileOutputStream() 181 assertThat(new String(readBuffer, UTF_8)).isEqualTo(fileContents); in openFileOutput_shouldReturnAFileOutputStream()
|