HomeSort by relevance Sort by last modified time
    Searched refs:fileContents (Results 1 - 18 of 18) sorted by null

  /external/robolectric/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));
  /cts/hostsidetests/aadb/src/com/android/cts/aadb/
TestDeviceStressTest.java 57 final String fileContents = "this is the test file contents";
60 FileUtil.writeToFile(fileContents, tmpFile);
TestDeviceFuncTest.java 188 final String fileContents = "this is the test file contents";
190 FileUtil.writeToFile(fileContents, tmpFile);
  /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$
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
AaptParserTest.java 183 String fileContents = AdtPlugin.readFile(file);
196 + getCaretContext(fileContents, start), rangeBegin, start);
198 + getCaretContext(fileContents, end), rangeEnd, end);
  /external/webkit/Source/WebCore/WebCore.gyp/scripts/
action_derivedsourcesallinone.py 196 fileContents = generateContent(filesMetaData, partition, len(outputFileNames))
197 writeContent(fileContents, fileName)
  /external/doclava/res/assets/templates/
sample.cs 23 <pre><?cs var:fileContents ?></pre>
  /external/webkit/Source/WebCore/plugins/
PluginDatabase.cpp 546 Vector<char> fileContents;
547 fillBufferWithContentsOfFile(file, fileContents);
550 if (fileContents.size() < 2 || fileContents.first() != schemaVersion || fileContents.last() != '\0') {
556 char* bufferPos = fileContents.data() + 1;
557 char* end = fileContents.data() + fileContents.size();
  /libcore/dalvik/src/main/java/dalvik/system/
DexFile.java 279 native private static int openDexFile(byte[] fileContents);
  /external/webkit/Source/WebKit/qt/tests/qdeclarativewebview/
tst_qdeclarativewebview.cpp 69 static QString fileContents(const QString& filename)
108 QCOMPARE(strippedHtml(fileContents(":/resources/basic.html")), strippedHtml(wv->property("html").toString()));
184 QCOMPARE(strippedHtml(fileContents(":/resources/basic.html")), strippedHtml(wv->property("html").toString()));
202 QCOMPARE(strippedHtml(fileContents(":/resources/forward.html")), strippedHtml(wv->property("html").toString()));
216 QCOMPARE(strippedHtml(fileContents(":/resources/basic.html")), strippedHtml(wv->property("html").toString()));
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/
TestResultsGenerator.java 256 String fileContents = readFile(log);
258 int errorCount = countCompileErrors(fileContents);
259 int warningCount = countCompileWarnings(fileContents);
260 int forbiddenWarningCount = countForbiddenWarnings(fileContents);
261 int discouragedWarningCount = countDiscouragedWarnings(fileContents);
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
NetscapeBrowserFuncs.cpp 221 RefPtr<SharedBuffer> fileContents;
226 fileContents = SharedBuffer::createWithContentsOfFile(String::fromUTF8(buffer));
227 if (!fileContents)
230 postBuffer = fileContents->data();
231 postBufferSize = fileContents->size();
  /external/webkit/Source/WebCore/platform/win/
ClipboardWin.cpp 177 char* fileContents = (PSTR)GlobalLock(memObj);
179 CopyMemory(fileContents, data->data(), data->size());
750 char* fileContents = static_cast<char*>(GlobalLock(urlFileContent));
751 CopyMemory(fileContents, content.data(), content.length());
  /prebuilts/devtools/tools/lib/
lint.jar 
lint-checks.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/
buildTools.jar 
  /prebuilts/sdk/tools/lib/
lint.jar 

Completed in 556 milliseconds