Home
last modified time | relevance | path

Searched refs:fileContents (Results 1 – 25 of 53) sorted by relevance

123

/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 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/
DRetrCommandHandler.java43 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/
DRetrCommandHandler.java43 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/
DRetrCommandHandler.java43 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/
DRetrCommandHandler.java43 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/
DRetrCommandHandler.java43 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.3/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 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/
DRetrCommandHandler.java43 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/
DRetrCommandHandler.java43 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/
DRetrCommandHandler.java43 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/
DRetrCommandHandler.java43 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/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 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/
DRetrCommandHandler.java46 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/
DRetrCommandHandler.java46 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.3/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 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/
DRetrCommandHandler.java46 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/
DRetrCommandHandler.java45 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/2.x_Before_IDEA/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 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/
DRetrCommandHandler.java46 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.1/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 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/
DRetrCommandHandler.java46 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/
DBreakIteratorPerformanceTest.java16 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-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java155 String fileContents = "blah"; in openFileInput_shouldReturnAFileInputStream() local
159 fileWriter.write(fileContents); in openFileInput_shouldReturnAFileInputStream()
163 byte[] bytes = new byte[fileContents.length()]; in openFileInput_shouldReturnAFileInputStream()
165 assertThat(bytes).isEqualTo(fileContents.getBytes(UTF_8)); in openFileInput_shouldReturnAFileInputStream()
177 String fileContents = "blah"; in openFileOutput_shouldReturnAFileOutputStream() local
179 fileOutputStream.write(fileContents.getBytes(UTF_8)); in openFileOutput_shouldReturnAFileOutputStream()
182 byte[] readBuffer = new byte[fileContents.length()]; in openFileOutput_shouldReturnAFileOutputStream()
184 assertThat(new String(readBuffer, UTF_8)).isEqualTo(fileContents); in openFileOutput_shouldReturnAFileOutputStream()
/external/skia/experimental/wasm-skp-debugger/tests/
Dstartup.spec.js36 let fileContents = new Uint8Array(buffer);
38 const size = fileContents.byteLength;
46 fileMem.set(fileContents);
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java69 String fileContents = null; in doPost() local
93 fileContents = IOUtils.toString(in); in doPost()
106 if (fileContents == null || fileContents.length() == 0) { in doPost()
112 resp.getWriter().println(getOutputForFile(defaultCountry, fileContents)); in doPost()
141 private StringBuilder getOutputForFile(String defaultCountry, String fileContents) { in getOutputForFile() argument
152 StringTokenizer tokenizer = new StringTokenizer(fileContents, ","); in getOutputForFile()

123