HomeSort by relevance Sort by last modified time
    Searched refs:StringReader (Results 1 - 25 of 74) sorted by null

1 2 3

  /development/tools/apkcheck/src/com/android/apkcheck/
Builtin.java 19 import java.io.StringReader;
107 public static StringReader getReader() {
108 return new StringReader(BUILTIN);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/
AdtPluginTest.java 19 import java.io.StringReader;
26 assertFalse(AdtPlugin.streamContains(new StringReader(input), "hello"));
27 assertTrue(AdtPlugin.streamContains(new StringReader(input), "this"));
28 assertFalse(AdtPlugin.streamContains(new StringReader(input), "thiss"));
29 assertTrue(AdtPlugin.streamContains(new StringReader(input), "is a"));
30 assertTrue(AdtPlugin.streamContains(new StringReader("ABC ABCDAB ABCDABCDABDE"),
32 assertFalse(AdtPlugin.streamContains(new StringReader("ABC ABCDAB ABCDABCDABDE"),
38 String contents = AdtPlugin.readFile(new StringReader(input));
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
StringReaderTest.java 21 import java.io.StringReader;
27 StringReader sr;
30 * @tests java.io.StringReader#StringReader(java.lang.String)
33 // Test for method java.io.StringReader(java.lang.String)
38 * @tests java.io.StringReader#close()
41 // Test for method void java.io.StringReader.close()
43 sr = new StringReader(testString);
54 * @tests java.io.StringReader#mark(int)
57 // Test for method void java.io.StringReader.mark(int
    [all...]
LineNumberReaderTest.java 25 import java.io.StringReader;
39 lnr = new LineNumberReader(new StringReader(text), 4092);
47 lnr = new LineNumberReader(new StringReader(text));
55 lnr = new LineNumberReader(new StringReader(text));
70 lnr = new LineNumberReader(new StringReader(text));
85 lnr = new LineNumberReader(new StringReader(text));
98 lnr = new LineNumberReader(new StringReader(text));
110 lnr = new LineNumberReader(new StringReader(text));
136 lnr = new LineNumberReader(new StringReader(text));
149 private StringReader delegate = new StringReader("hello\nworld")
    [all...]
PushbackReaderTest.java 25 import java.io.StringReader;
40 pbr = new PushbackReader(new StringReader(pbString));
128 pbr = new PushbackReader(new StringReader(pbString), 10);
226 reader = new StringReader(new String(chars));
227 reader2 = new StringReader(new String(chars));
230 reader = new FilterReader(new StringReader(new String(chars))) {
232 reader2 = new FilterReader(new StringReader(new String(chars))) {
305 pbr = new PushbackReader(new StringReader(pbString));
320 pbr = new PushbackReader(new StringReader(pbString));
336 pbr = new PushbackReader(new StringReader(pbString))
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidStringReaderTest.java 21 import java.io.StringReader;
30 StringReader a = new StringReader(str);
31 StringReader b = new StringReader(str);
32 StringReader c = new StringReader(str);
33 StringReader d = new StringReader(str);
OldStringReaderTest.java 21 import java.io.StringReader;
27 StringReader sr;
30 sr = new StringReader(testString);
40 sr = new StringReader(testString);
OldAndroidLineNumberReaderTest.java 22 import java.io.StringReader;
34 StringReader aa = new StringReader(str);
35 StringReader ba = new StringReader(str);
36 StringReader ca = new StringReader(str);
37 StringReader da = new StringReader(str);
38 StringReader ea = new StringReader(str)
    [all...]
OldAndroidPushbackReaderTest.java 22 import java.io.StringReader;
30 StringReader aa = new StringReader(str);
31 StringReader ba = new StringReader(str);
32 StringReader ca = new StringReader(str);
OldAndroidBufferedReaderTest.java 22 import java.io.StringReader;
32 StringReader aa = new StringReader(str);
33 StringReader ba = new StringReader(str);
34 StringReader ca = new StringReader(str);
35 StringReader da = new StringReader(str);
OldLineNumberReaderTest.java 22 import java.io.StringReader;
32 lnr = new LineNumberReader(new StringReader(text));
56 lnr = new LineNumberReader(new StringReader(text));
78 lnr = new LineNumberReader(new StringReader(text));
96 lnr = new LineNumberReader(new StringReader(text));
122 lnr = new LineNumberReader(new StringReader(text));
141 lnr = new LineNumberReader(new StringReader(text));
162 lnr = new LineNumberReader(new StringReader(text));
StreamTokenizerTest.java 20 import java.io.StringReader;
27 StreamTokenizer st = new StreamTokenizer(new StringReader("aIb aIb"));
OldAndroidStreamTokenizerTest.java 21 import java.io.StringReader;
32 StringReader aa = new StringReader(str);
33 StringReader ba = new StringReader(strb);
OldStreamTokenizerTest.java 23 import java.io.StringReader;
53 StringReader aa = new StringReader(str);
54 StringReader ba = new StringReader(strb);
  /frameworks/base/core/tests/coretests/src/android/util/
JsonReaderTest.java 20 import java.io.StringReader;
29 JsonReader reader = new JsonReader(new StringReader("[true, true]"));
38 JsonReader reader = new JsonReader(new StringReader("[]"));
46 JsonReader reader = new JsonReader(new StringReader(
58 JsonReader reader = new JsonReader(new StringReader("{}"));
66 JsonReader reader = new JsonReader(new StringReader(
82 JsonReader reader = new JsonReader(new StringReader(json));
104 new JsonReader(new StringReader("")).beginArray();
108 new JsonReader(new StringReader("")).beginObject();
115 new JsonReader(new StringReader("true")).nextBoolean()
    [all...]
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
TestResultsTest.java 20 import java.io.StringReader;
56 parser.parse(new StringReader("<Empty/>"));
65 parser.parse(new StringReader(TEST_PACKAGE_FULL));
80 parser.parse(new StringReader(RESULT_START + TEST_PACKAGE_START + RESULT_END));
92 parser.parse(new StringReader(TEST_FULL));
TestSummaryXmlTest.java 22 import java.io.StringReader;
73 return new StringReader(input);
  /sdk/ddms/libs/ddmuilib/tests/src/com/android/ddmuilib/heap/
NativeHeapDataImporterTest.java 26 import java.io.StringReader;
71 StringReader r = new StringReader(contentsToParse);
  /libcore/luni/src/test/java/libcore/xml/
PullParserTest.java 20 import java.io.StringReader;
30 parser.setInput(new StringReader("<input checked></input>"));
40 parser.setInput(new StringReader("<input checked=true></input>"));
50 parser.setInput(new StringReader("<foo bar='A&W'>mac&cheese</foo>"));
62 parser.setInput(new StringReader(
71 parser.setInput(new StringReader(
93 parser.setInput(new StringReader("<foo>&#65;</foo>"));
118 parser.setInput(new StringReader(xml));
128 parser.setInput(new StringReader("<foo>&#x10FFFF;</foo>"));
159 parser.setInput(new StringReader(xml))
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
LoadingTemplateFactory.java 27 import java.io.StringReader;
51 return syntaxTreeBuilder.parse(new StringReader(content), "", escapeMode);
  /external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
InMemoryResourceLoader.java 23 import java.io.StringReader;
42 return content == null ? null : new StringReader(content);
  /libcore/luni/src/main/java/java/io/
StringReader.java 28 public class StringReader extends Reader {
38 * Construct a new {@code StringReader} with {@code str} as source. The size
45 public StringReader(String str) {
75 * ignored for {@code StringReader} instances.
97 throw new IOException("StringReader is closed");
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/repository/
ValidateRepositoryXmlTest.java 25 import java.io.StringReader;
175 Source source = new StreamSource(new StringReader(document));
198 Source source = new StreamSource(new StringReader(document));
213 Source source = new StreamSource(new StringReader(document));
235 Source source = new StreamSource(new StringReader(document));
257 Source source = new StreamSource(new StringReader(document));
285 Source source = new StreamSource(new StringReader(document));
311 Source source = new StreamSource(new StringReader(document));
  /libcore/luni/src/test/java/tests/api/org/xml/sax/
InputSourceTest.java 22 import java.io.StringReader;
73 StringReader sr = new StringReader("Hello, world.");
145 StringReader sr = new StringReader("Hello, world.");
  /packages/apps/Email/emailcommon/src/org/apache/commons/io/
CopyUtils.java 26 import java.io.StringReader;
309 StringReader in = new StringReader(input);

Completed in 1668 milliseconds

1 2 3