| /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ | 
| RetrCommandHandler.java | 28  * customize the returned file contents by setting the <code>fileContents</code> property, 43     private byte[] fileContents = new byte[0];
 52      * Create new instance using the specified fileContents
 54      * @param fileContents - the file contents
 56      *          - if the fileContents is null
 58     public RetrCommandHandler(String fileContents) {
 59         setFileContents(fileContents);
 63      * Create new instance using the specified fileContents
 65      * @param fileContents - the file contents
 67      *          - if the fileContents is null
 [all...]
 | 
| AbstractStorCommandHandler.java | 28  * <li>{@link #FILE_CONTENTS_KEY} ("fileContents") - the file contents (<code>byte[]</code>) sent on the data connection 37     public static final String FILE_CONTENTS_KEY = "filecontents";
 
 | 
| AppeCommandHandler.java | 29  * <li>{@link #FILE_CONTENTS_KEY} ("fileContents") - the file contents (<code>byte[]</code>) sent on the data connection 
 | 
| /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ | 
| RetrCommandHandler.java | 29  * customize the returned file contents by setting the <code>fileContents</code> property, 46     private byte[] fileContents = new byte[0];
 55      * Create new instance using the specified fileContents
 56      * @param fileContents - the file contents
 57      * @throws AssertFailedException - if the fileContents is null
 59     public RetrCommandHandler(String fileContents) {
 60         setFileContents(fileContents);
 64      * Create new instance using the specified fileContents
 65      * @param fileContents - the file contents
 66      * @throws AssertFailedException - if the fileContents is null
 [all...]
 | 
| AppeCommandHandler.java | 31  *    <li>{@link #FILE_CONTENTS_KEY} ("fileContents") - the file contents (<code>byte[]</code>) sent on the data connection 41     public static final String FILE_CONTENTS_KEY = "filecontents";
 
 | 
| StorCommandHandler.java | 31  *    <li>{@link #FILE_CONTENTS_KEY} ("fileContents") - the file contents (<code>byte[]</code>) sent on the data connection 41     public static final String FILE_CONTENTS_KEY = "filecontents";
 
 | 
| StouCommandHandler.java | 33  *    <li>{@link #FILE_CONTENTS_KEY} ("fileContents") - the file contents (<code>byte[]</code>) sent on the data connection 42     public static final String FILE_CONTENTS_KEY = "filecontents";
 
 | 
| /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ | 
| AssetManagerTest.java | 74         String fileContents; 79         fileContents = Strings.fromStream(inputStream);
 80         assertEquals("assetsHome!", fileContents);
 84         fileContents = Strings.fromStream(inputStream);
 85         assertEquals("hello!", fileContents);
 
 | 
| ContextTest.java | 157         String fileContents = "blah"; 161         fileWriter.write(fileContents);
 168             byte[] bytes = new byte[fileContents.length()];
 170             assertThat(bytes, equalTo(fileContents.getBytes()));
 191         String fileContents = "blah";
 195             fileOutputStream.write(fileContents.getBytes());
 203             byte[] readBuffer = new byte[fileContents.length()];
 205             assertThat(new String(readBuffer), equalTo(fileContents));
 
 | 
| /external/compiler-rt/test/asan/TestCases/Linux/ | 
| nohugepage_test.cc | 28 char FileContents[1 << 16]; 31   FileContents[0] = 0;
 34   char *p = FileContents;
 35   ssize_t size = sizeof(FileContents) - 1;
 49   } while (size > 0 && res < sizeof(FileContents));
 51     FileContents[res] = 0;
 57   char *s = strstr(FileContents, "2008fff7000-10007fff8000");
 
 | 
| /external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ | 
| BreakIteratorPerformanceTest.java | 16     String fileContents; 44             fileContents = new String(readToEOS(reader));
 47             // // fileContents = fileContents.replaceAll("[\t\f\r\n\\-/ ]+", " ");
 49             // StringTokenizer tokenizer = new StringTokenizer(fileContents, "\t\f\r\n-/ ");
 52             // fileContents = res.trim();
 97         iter.setText(fileContents);
 103             tokenList.add(fileContents.substring(start, end));
 111         iter.setText(fileContents);
 117             tokenList.add(fileContents.substring(start, end))
 [all...]
 | 
| /libcore/luni/src/test/java/libcore/java/net/ | 
| FtpURLConnectionTest.java | 89         byte[] fileContents = "abcdef 1234567890".getBytes(UTF_8); 90         addFileEntry(FILE_PATH, fileContents);
 93         assertContents(fileContents, connection.getInputStream());
 124         byte[] fileContents = "abcdef 1234567890".getBytes(UTF_8);
 125         addFileEntry("test/output-url/existing file.txt", fileContents);
 140         byte[] fileContents = "abcdef 1234567890".getBytes(UTF_8);
 141         URL fileUrl = addFileEntry(FILE_PATH, fileContents);
 143         assertContents(fileContents, connection.getInputStream());
 176         byte[] fileContents = "abcdef 1234567890".getBytes(UTF_8);
 177         URL fileUrl = addFileEntry(FILE_PATH, fileContents);
 [all...]
 | 
| /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ | 
| GTestParserTestBase.java | 57         Vector<String> fileContents = new Vector<String>(); 64                 fileContents.add(line);
 73         return fileContents.toArray(new String[fileContents.size()]);
 
 | 
| /device/linaro/bootloader/edk2/OvmfPkg/Library/NvVarsFileLib/ | 
| FsAccess.c | 198   VOID                        *FileContents; 201   FileContents = AllocatePool (ReadSize);
 202   if (FileContents != NULL) {
 206                FileContents
 209       FreePool (FileContents);
 214   return FileContents;
 235   VOID                        *FileContents;
 250   FileContents = FileHandleReadToNewBuffer (File, FileSize);
 251   if (FileContents == NULL) {
 264              FileContents,
 [all...]
 | 
| /bootable/recovery/applypatch/include/applypatch/ | 
| applypatch.h | 32 struct FileContents { 58 int LoadFileContents(const char* filename, FileContents* file);
 59 int SaveFileContents(const char* filename, const FileContents* file);
 
 | 
| /test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/ | 
| VtsFuzzTestResultParserTest.java | 52         Vector<String> fileContents = new Vector<String>(); 59                 fileContents.add(line);
 68         return fileContents.toArray(new String[fileContents.size()]);
 
 | 
| /cts/tests/tests/content/src/android/content/cts/ | 
| ImageCaptureUriExtraToClipDataTest.java | 115         String fileContents = new String(buffer); 116         assertEquals(TEST_INPUT, fileContents);
 
 | 
| ReadableFileReceiverActivity.java | 117         String fileContents = new String(buffer); 118         return ReadableUriExtraToClipDataTest.TEST_INPUT.equals(fileContents);
 
 | 
| /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ | 
| ShadowContextTest.java | 152     String fileContents = "blah"; 156       fileWriter.write(fileContents);
 160       byte[] bytes = new byte[fileContents.length()];
 162       assertThat(bytes).isEqualTo(fileContents.getBytes(UTF_8));
 174     String fileContents = "blah";
 176       fileOutputStream.write(fileContents.getBytes(UTF_8));
 179       byte[] readBuffer = new byte[fileContents.length()];
 181       assertThat(new String(readBuffer, UTF_8)).isEqualTo(fileContents);
 
 | 
| /external/doclava/res/assets/templates/ | 
| sample.cs | 23 <pre><?cs var:fileContents ?></pre> 
 | 
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ | 
| NewXmlFileWizard.java | 254         String fileContents; 256             fileContents = sb.toString();
 259             fileContents = EclipseXmlPrettyPrinter.prettyPrint(sb.toString(), formatPrefs,
 264         fileContents = fileContents.replace(indentToken, formatPrefs.getOneIndentUnit());
 265         int caretOffset = fileContents.indexOf(caretToken);
 267             fileContents = fileContents.replace(caretToken, ""); //$NON-NLS-1$
 272             byte[] buf = fileContents.getBytes("UTF8");    //$NON-NLS-1$
 
 | 
| /tools/tradefederation/core/tests/src/com/android/tradefed/build/ | 
| FileDownloadCacheFuncTest.java | 260             final String filecontents = "these are the file contents";  local 262             FileUtil.writeToFile(filecontents, file1);
 269             FileUtil.writeToFile(filecontents, nestedFile);
 287             final String filecontents = "these are the file contents";  local
 289             FileUtil.writeToFile(filecontents, file1);
 294             FileUtil.writeToFile(filecontents, file2);
 
 | 
| /external/clang/unittests/AST/ | 
| ExternalASTSourceTest.cpp | 47                            StringRef FileContents) { 53       "test.cc", MemoryBuffer::getMemBuffer(FileContents).release());
 
 | 
| /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/ | 
| ParallelUniverseCreateApplicationTest.java | 111     String fileContents = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + 118     Files.write(fileContents, f, Charsets.UTF_8);
 
 | 
| /bootable/recovery/applypatch/ | 
| applypatch_modes.cpp | 50                            std::vector<FileContents>* files) { 68         FileContents fc;
 83     FileContents bonusFc;
 117     std::vector<FileContents> files;
 
 |