/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/ |
D | CheckGcpEnvironmentTest.java | 23 import java.io.StringReader; 34 reader = new BufferedReader(new StringReader("HP Z440 Workstation")); in checkGcpLinuxPlatformData() 36 reader = new BufferedReader(new StringReader("Google")); in checkGcpLinuxPlatformData() 38 reader = new BufferedReader(new StringReader("Google Compute Engine")); in checkGcpLinuxPlatformData() 40 reader = new BufferedReader(new StringReader("Google Compute Engine ")); in checkGcpLinuxPlatformData() 47 reader = new BufferedReader(new StringReader("Product : Google")); in checkGcpWindowsPlatformData() 49 reader = new BufferedReader(new StringReader("Manufacturer : LENOVO")); in checkGcpWindowsPlatformData() 51 reader = new BufferedReader(new StringReader("Manufacturer : Google Compute Engine")); in checkGcpWindowsPlatformData() 53 reader = new BufferedReader(new StringReader("Manufacturer : Google")); in checkGcpWindowsPlatformData() 55 reader = new BufferedReader(new StringReader("Manufacturer:Google")); in checkGcpWindowsPlatformData() [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CharStreamsTest.java | 25 import java.io.StringReader; 41 assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT))); in testToString() 45 List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc")); in testReadLines() 53 Reader r = new StringReader(text); in testReadLines_withLineProcessor() 75 r = new StringReader(text); in testReadLines_withLineProcessor() 97 r = new StringReader(text); in testReadLines_withLineProcessor() 120 Reader reader = new StringReader("abcde"); in testSkipFully_EOF() 130 Reader reader = new StringReader(testString); in testSkipFully() 160 wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder)); in testCopy() 167 wrapAsGenericReadable(new StringReader(I18N)), wrapAsGenericAppendable(builder2)); in testCopy() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | CharStreamsTest.java | 25 import java.io.StringReader; 41 assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT))); in testToString() 45 List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc")); in testReadLines() 53 Reader r = new StringReader(text); in testReadLines_withLineProcessor() 75 r = new StringReader(text); in testReadLines_withLineProcessor() 97 r = new StringReader(text); in testReadLines_withLineProcessor() 120 Reader reader = new StringReader("abcde"); in testSkipFully_EOF() 130 Reader reader = new StringReader(testString); in testSkipFully() 160 wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder)); in testCopy() 167 wrapAsGenericReadable(new StringReader(I18N)), wrapAsGenericAppendable(builder2)); in testCopy() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | DataReadWriteTest.java | 14 import java.io.StringReader; 56 StringReader sr = new StringReader(str); in testOpenClose() 72 StringReader sr = new StringReader(str); in testBool() 106 StringReader sr = new StringReader(str); in testBoolArray() 128 StringReader sr = new StringReader(str); in testCharacter() 162 StringReader sr = new StringReader(str); in testCharacterArray() 186 StringReader sr = new StringReader(str); in testNamedIndex() 221 StringReader sr = new StringReader(str); in testNamedIndexArray() 247 StringReader sr = new StringReader(str); in testString() 293 StringReader sr = new StringReader(str); in testStringArray() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
D | DataReadWriteTest.java | 15 import java.io.StringReader; 59 StringReader sr = new StringReader(str); in testOpenClose() 75 StringReader sr = new StringReader(str); in testBool() 109 StringReader sr = new StringReader(str); in testBoolArray() 131 StringReader sr = new StringReader(str); in testCharacter() 165 StringReader sr = new StringReader(str); in testCharacterArray() 189 StringReader sr = new StringReader(str); in testNamedIndex() 224 StringReader sr = new StringReader(str); in testNamedIndexArray() 250 StringReader sr = new StringReader(str); in testString() 296 StringReader sr = new StringReader(str); in testStringArray() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/ |
D | com_github_javaparser_JavaParser.txt | 38 Line 209) StringReader sr = new StringReader(blockStatement) ==> java.io.StringReader 39 Line 209) new StringReader(blockStatement) ==> java.io.StringReader 44 Line 226) StringReader sr = new StringReader(statement) ==> java.io.StringReader 45 Line 226) new StringReader(statement) ==> java.io.StringReader 50 Line 243) StringReader sr = new StringReader(importDeclaration) ==> java.io.StringReader 51 Line 243) new StringReader(importDeclaration) ==> java.io.StringReader 56 Line 260) StringReader sr = new StringReader(expression) ==> java.io.StringReader 57 Line 260) new StringReader(expression) ==> java.io.StringReader 62 Line 277) StringReader sr = new StringReader(annotation) ==> java.io.StringReader 63 Line 277) new StringReader(annotation) ==> java.io.StringReader [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ |
D | JavaParser.java | 47 import java.io.StringReader; 209 StringReader sr = new StringReader(blockStatement); in parseBlock() 226 StringReader sr = new StringReader(statement); in parseStatement() 243 StringReader sr = new StringReader(importDeclaration); in parseImport() 260 StringReader sr = new StringReader(expression); in parseExpression() 277 StringReader sr = new StringReader(annotation); in parseAnnotation() 294 StringReader sr = new StringReader(body); in parseBodyDeclaration()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/ |
D | SourceTest.java | 18 import java.io.StringReader; 35 final Source s = new Source(new StringReader(src), in should_parse_lines() 49 final Source s = new Source(new StringReader(src), in should_parse_empty_lines() 64 final Source s = new Source(new StringReader(src), in should_parse_crnl_separator() 77 final Source s = new Source(new StringReader(src), in should_calculate_line_numbers() 91 final Source s = new Source(new StringReader(src), in line_should_implement_toString() 109 final Source s = new Source(new StringReader(src), sc); in line_should_provide_corresponding_coverage() 125 final Source s = new Source(new StringReader(src), in line_should_return_comment()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/ |
D | EmptyContentAsTreeTest.java | 4 import java.io.StringReader; 34 try (JsonParser p = MAPPER.createParser(new StringReader(EMPTY0))) { in testNullFromEOFWithParserAndMapper() 37 try (JsonParser p = MAPPER.createParser(new StringReader(EMPTY1))) { in testNullFromEOFWithParserAndMapper() 67 try (JsonParser p = MAPPER.createParser(new StringReader(EMPTY0))) { in testNullFromEOFWithParserAndReader() 70 try (JsonParser p = MAPPER.createParser(new StringReader(EMPTY1))) { in testNullFromEOFWithParserAndReader() 98 _assertMissing(MAPPER.readTree(new StringReader(EMPTY0))); in testMissingNodeForEOFOtherMapper() 99 _assertMissing(MAPPER.readTree(new StringReader(EMPTY1))); in testMissingNodeForEOFOtherMapper() 116 _assertMissing(MAPPER.reader().readTree(new StringReader(EMPTY0))); in testMissingNodeViaObjectReader() 117 _assertMissing(MAPPER.reader().readTree(new StringReader(EMPTY1))); in testMissingNodeViaObjectReader()
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
D | StringReader.java | 21 abstract class StringReader extends ClassVisitor class 26 public StringReader() { in StringReader() method in StringReader 48 return StringReader.this.visitAnnotation(desc, visible); in visitField() 81 StringReader.this.line = line; 90 return StringReader.this.visitAnnotation(desc, visible); 95 return StringReader.this.visitAnnotation(desc, visible);
|
/external/javaparser/javaparser-core-serialization/src/test/java/com/github/javaparser/serialization/ |
D | JavaParserJsonDeserializerTest.java | 39 import java.io.StringReader; 56 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in simpleTest() 67 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in testRawType() 78 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in testDiamondType() 89 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in testGenerics() 100 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in testOperator() 111 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in testPrimitiveType() 122 … (CompilationUnit) deserializer.deserializeObject(Json.createReader(new StringReader(serialized))); in testComment() 148 … (CompilationUnit) deserializer.deserializeObject(Json.createReader(new StringReader(serialized))); in testJavaDocComment() 168 … (CompilationUnit) deserializer.deserializeObject(Json.createReader(new StringReader(serialized))); in testNonMetaProperties() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | YamlComposeTest.java | 18 import java.io.StringReader; 32 yaml.compose(new StringReader("abc: 56\n---\n123\n---\n456")); in testComposeManyDocuments() 42 MappingNode node = (MappingNode) yaml.compose(new StringReader("abc: 56")); in testComposeFromReader() 52 for (Node node : yaml.composeAll(new StringReader("abc: 56\n---\n123\n---\n456"))) { in testComposeAllFromReader() 64 for (Node node : yaml.composeAll(new StringReader("6"))) { in testComposeAllOneDocument()
|
D | YamlParseTest.java | 18 import java.io.StringReader; 34 for (Event event : yaml.parse(new StringReader("abc: 56"))) { in testParse() 47 Iterator<Event> events = yaml.parse(new StringReader("%YAML 1.1\n---\na")).iterator(); in testParseEvents() 70 for (Event event : yaml.parse(new StringReader("abc: 56\n---\n4\n---\nqwe\n"))) { in testParseManyDocuments()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/ |
D | StringGenerationFromReaderTest.java | 139 StringReader reader = new StringReader(text); in _testMediumStrings() 164 StringReader reader = new StringReader(VALUE); in doTestBasicEscaping() 186 StringReader reader = new StringReader(text); in _testLongerRandom() 218 StringReader reader = new StringReader(text); in _testLongerRandomMulti() 242 reader = new StringReader(text.substring(offset, offset+len)); in _testLongerRandomMulti() 297 g.writeString(new StringReader(value), -1); in _write556()
|
D | GeneratorFailFromReaderTest.java | 10 import java.io.StringReader; 58 StringReader reader = new StringReader("a"); in _testFailOnWritingStringNotFieldName() 81 StringReader reader = new StringReader(testStr); in _testFailOnWritingStringFromReaderWithTooFewCharacters()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/composer/ |
D | ComposerImplTest.java | 18 import java.io.StringReader; 32 Node node = yaml.compose(new StringReader(data)); in testGetNode() 36 Node node2 = yaml.compose(new StringReader(data2)); in testGetNode() 44 Node node = yaml.compose(new StringReader(data)); in testComposeBean()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | MapperViaParserTest.java | 4 import java.io.StringReader; 81 JsonParser jp = jf.createParser(new StringReader(JSON)); in testPojoReading() 90 jp = jf.createParser(new StringReader(JSON)); in testPojoReading() 103 JsonParser p = jf.createParser(new StringReader(JSON)); in testIncrementalPojoReading() 138 JsonParser p = f.createParser(new StringReader(JSON)); in testPojoReadingFailing()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/ |
D | GeneratorCopyTest.java | 22 JsonParser jp = jf.createParser(new StringReader(DOC)); in testCopyRootTokens() 44 JsonParser jp = jf.createParser(new StringReader(DOC)); in testCopyArrayTokens() 70 JsonParser jp = jf.createParser(new StringReader(DOC)); in testCopyObjectTokens() 83 jp = jf.createParser(new StringReader("{\"a\":1,\"b\":null}")); in testCopyObjectTokens()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonTokenizerTest.cs | 88 var tokenizer = JsonTokenizer.FromTextReader(new StringReader(json)); in ObjectDepth() 121 var tokenizer = JsonTokenizer.FromTextReader(new StringReader(json)); in ObjectDepth_WithPushBack() 276 var reader = new StringReader(json.Replace('\'', '"')); in InvalidStructure() 336 var tokenizer = JsonTokenizer.FromTextReader(new StringReader("null")); in NextAfterEndDocumentThrows() 345 var tokenizer = JsonTokenizer.FromTextReader(new StringReader("null")); in CanPushBackEndDocument() 362 var tokenizer = JsonTokenizer.FromTextReader(new StringReader(json.Replace('\'', '"'))); in SkipValue() 390 var reader = new StringReader(json); in AssertTokensNoReplacement() 410 var reader = new StringReader(json); in AssertThrowsAfter()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/ |
D | SourceHighlighterTest.java | 17 import java.io.StringReader; 61 sourceHighlighter.render(parent, source, new StringReader(src)); in testDefaultTabWidth() 70 sourceHighlighter.render(parent, source, new StringReader("")); in testDefaultLanguage() 79 sourceHighlighter.render(parent, source, new StringReader("")); in testSetLanguage() 92 sourceHighlighter.render(parent, source, new StringReader(src)); in testHighlighting()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothHidInputCounterTask.java | 29 import java.io.StringReader; 56 StringReader sr = new StringReader(BLANKLAYOUT); in onCreate()
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | JsonTokenizerTest.cs | 88 var tokenizer = JsonTokenizer.FromTextReader(new StringReader(json)); in ObjectDepth() 121 var tokenizer = JsonTokenizer.FromTextReader(new StringReader(json)); in ObjectDepth_WithPushBack() 276 var reader = new StringReader(json.Replace('\'', '"')); in InvalidStructure() 336 var tokenizer = JsonTokenizer.FromTextReader(new StringReader("null")); in NextAfterEndDocumentThrows() 345 var tokenizer = JsonTokenizer.FromTextReader(new StringReader("null")); in CanPushBackEndDocument() 374 var reader = new StringReader(json); in AssertTokensNoReplacement() 394 var reader = new StringReader(json); in AssertThrowsAfter()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/lowlevel/ |
D | LowLevelApiTest.java | 18 import java.io.StringReader; 49 yaml.compose(new StringReader(etalon)).toString(), node.toString()); in testLowLevel() 53 for (Event etalonEvent : yaml.parse(new StringReader(etalon))) { in testLowLevel()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue102/ |
D | BigDataLoadTest.java | 18 import java.io.StringReader; 39 StringReader buffer = new StringReader(getLongYamlDocument(SIZE)); in testBigStreamData()
|
/external/guava/guava-tests/benchmark/com/google/common/io/ |
D | BaseEncodingBenchmark.java | 23 import java.io.StringReader; 100 StringReader source = new StringReader(decodingInputs[i & INPUTS_MASK]); in decodingStream()
|