/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | readertest.cpp | 44 Reader reader; in TEST() local 45 reader.Parse(s, h); in TEST() 52 Reader reader; in TEST() local 53 reader.Parse(s, h); in TEST() 107 Reader reader; \ in TEST() 108 reader.Parse(s, h); \ in TEST() 182 Reader reader; \ in TestParseDouble() 183 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code())… in TestParseDouble() 308 Reader reader; // Reusing reader to prevent heap allocation in TestParseDouble() local 324 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code()); in TestParseDouble() [all …]
|
D | prettywritertest.cpp | 45 Reader reader; in TEST() local 47 reader.Parse(s, writer); in TEST() 55 Reader reader; in TEST() local 57 reader.Parse(s, writer); in TEST() 131 Reader reader; in TEST() local 132 reader.Parse(s, writer); in TEST() 145 Reader reader; in TEST() local 147 reader.Parse(s, writer); in TEST()
|
D | writertest.cpp | 29 Reader reader; in TEST() local 30 reader.Parse<0>(s, writer); in TEST() 42 Reader reader; \ 43 reader.Parse<kParseFullPrecisionFlag>(s, writer); \ 118 GenericReader<UTF8<>, UTF16<> > reader; in TEST() local 119 reader.Parse(s, writer); in TEST() 128 Reader reader; in TEST() local 129 reader.Parse(s, writer); in TEST() 173 Reader reader; in TEST() local 174 reader.Parse<0>(s, writer); in TEST()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | JsonUtils.java | 41 final JsonReader reader = new JsonReader(new StringReader(s)); in jsonStrToList() local 43 reader.beginArray(); in jsonStrToList() 44 while (reader.hasNext()) { in jsonStrToList() 45 reader.beginObject(); in jsonStrToList() 46 while (reader.hasNext()) { in jsonStrToList() 47 final String name = reader.nextName(); in jsonStrToList() 49 list.add(reader.nextInt()); in jsonStrToList() 51 list.add(reader.nextString()); in jsonStrToList() 54 reader.skipValue(); in jsonStrToList() 57 reader.endObject(); in jsonStrToList() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataParser.java | 53 private static WordListMetadata parseOneWordList(final JsonReader reader) in parseOneWordList() argument 56 reader.beginObject(); in parseOneWordList() 57 while (reader.hasNext()) { in parseOneWordList() 58 final String name = reader.nextName(); in parseOneWordList() 60 arguments.put(name, reader.nextString()); in parseOneWordList() 63 reader.endObject(); in parseOneWordList() 103 JsonReader reader = new JsonReader(input); in parseMetadata() local 105 reader.beginArray(); in parseMetadata() 106 while (reader.hasNext()) { in parseMetadata() 107 final WordListMetadata thisMetadata = parseOneWordList(reader); in parseMetadata()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | rapidjsontest.cpp | 70 Reader reader; in TEST_F() local 71 EXPECT_TRUE(reader.Parse<kParseInsituFlag>(s, h)); in TEST_F() 80 Reader reader; in TEST_F() local 81 EXPECT_TRUE(reader.Parse<kParseInsituFlag | kParseValidateEncodingFlag>(s, h)); in TEST_F() 89 Reader reader; in TEST_F() local 90 EXPECT_TRUE(reader.Parse(s, h)); in TEST_F() 98 Reader reader; in TEST_F() local 99 EXPECT_TRUE(reader.Parse<kParseFullPrecisionFlag>(s, h)); in TEST_F() 107 Reader reader; in TEST_F() local 108 EXPECT_TRUE(reader.Parse<kParseIterativeFlag>(s, h)); in TEST_F() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterCropRepresentation.java | 163 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation() argument 164 reader.beginObject(); in deSerializeRepresentation() 165 while (reader.hasNext()) { in deSerializeRepresentation() 166 String name = reader.nextName(); in deSerializeRepresentation() 168 mCrop.left = (float) reader.nextDouble(); in deSerializeRepresentation() 170 mCrop.top = (float) reader.nextDouble(); in deSerializeRepresentation() 172 mCrop.right = (float) reader.nextDouble(); in deSerializeRepresentation() 174 mCrop.bottom = (float) reader.nextDouble(); in deSerializeRepresentation() 176 reader.skipValue(); in deSerializeRepresentation() 179 reader.endObject(); in deSerializeRepresentation()
|
D | FilterColorBorderRepresentation.java | 186 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation() argument 187 reader.beginObject(); in deSerializeRepresentation() 188 while (reader.hasNext()) { in deSerializeRepresentation() 189 String name = reader.nextName(); in deSerializeRepresentation() 191 mParamSize.setValue(reader.nextInt()); in deSerializeRepresentation() 193 mParamRadius.setValue(reader.nextInt()); in deSerializeRepresentation() 195 mParamColor.setValue(reader.nextInt()); in deSerializeRepresentation() 197 reader.skipValue(); in deSerializeRepresentation() 200 reader.endObject(); in deSerializeRepresentation()
|
D | FilterStraightenRepresentation.java | 129 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation() argument 131 reader.beginObject(); in deSerializeRepresentation() 132 while (reader.hasNext()) { in deSerializeRepresentation() 133 String name = reader.nextName(); in deSerializeRepresentation() 135 float s = (float) reader.nextDouble(); in deSerializeRepresentation() 141 reader.skipValue(); in deSerializeRepresentation() 147 reader.endObject(); in deSerializeRepresentation()
|
D | FilterRotateRepresentation.java | 173 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation() argument 175 reader.beginObject(); in deSerializeRepresentation() 176 while (reader.hasNext()) { in deSerializeRepresentation() 177 String name = reader.nextName(); in deSerializeRepresentation() 179 Rotation r = Rotation.fromValue(reader.nextInt()); in deSerializeRepresentation() 185 reader.skipValue(); in deSerializeRepresentation() 191 reader.endObject(); in deSerializeRepresentation()
|
D | FilterMirrorRepresentation.java | 193 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation() argument 195 reader.beginObject(); in deSerializeRepresentation() 196 while (reader.hasNext()) { in deSerializeRepresentation() 197 String name = reader.nextName(); in deSerializeRepresentation() 199 Mirror r = Mirror.fromValue((char) reader.nextInt()); in deSerializeRepresentation() 205 reader.skipValue(); in deSerializeRepresentation() 211 reader.endObject(); in deSerializeRepresentation()
|
D | FilterRepresentation.java | 244 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation() argument 246 reader.beginObject(); in deSerializeRepresentation() 247 while (reader.hasNext()) { in deSerializeRepresentation() 248 String[] kv = {reader.nextName(), reader.nextString()}; in deSerializeRepresentation() 252 reader.endObject(); in deSerializeRepresentation()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessage.java | 245 public static vCard parseVcard(BMsgReader reader, int envLevel) { in parseVcard() argument 253 String line = reader.getLineEnforce(); in parseVcard() 315 line = reader.getLineEnforce(); in parseVcard() 478 BMsgReader reader; in parse() local 552 reader = new BMsgReader(bMsgStream); in parse() 553 reader.expect("BEGIN:BMSG"); in parse() 554 reader.expect("VERSION"); in parse() 556 line = reader.getLineEnforce(); in parse() 620 line = reader.getLineEnforce(); in parse() 635 newBMsg.addOriginator(vCard.parseVcard(reader,0)); in parse() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | IOUtils.java | 459 InputStreamReader reader = new InputStreamReader(input); in readLines() local 460 return readLines(reader); in readLines() 484 InputStreamReader reader = new InputStreamReader(input, encoding); in readLines() local 485 return readLines(reader); in readLines() 503 BufferedReader reader = new BufferedReader(input); in readLines() local 505 String line = reader.readLine(); in readLines() 508 line = reader.readLine(); in readLines() 542 public static LineIterator lineIterator(Reader reader) { in lineIterator() argument 543 return new LineIterator(reader); in lineIterator() 578 Reader reader = null; in lineIterator() local [all …]
|
D | LineIterator.java | 68 public LineIterator(final Reader reader) throws IllegalArgumentException { in LineIterator() argument 69 if (reader == null) { in LineIterator() 72 if (reader instanceof BufferedReader) { in LineIterator() 73 bufferedReader = (BufferedReader) reader; in LineIterator() 75 bufferedReader = new BufferedReader(reader); in LineIterator()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/condense/ |
D | condense.cpp | 16 Reader reader; in main() local 26 if (!reader.Parse(is, writer)) { in main() 27 …fprintf(stderr, "\nError(%u): %s\n", (unsigned)reader.GetErrorOffset(), GetParseError_En(reader.Ge… in main()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/pretty/ |
D | pretty.cpp | 14 Reader reader; in main() local 24 if (!reader.Parse<kParseValidateEncodingFlag>(is, writer)) { in main() 25 …fprintf(stderr, "\nError(%u): %s\n", (unsigned)reader.GetErrorOffset(), GetParseError_En(reader.Ge… in main()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/prettyauto/ |
D | prettyauto.cpp | 27 GenericReader<AutoUTF<unsigned>, UTF8<> > reader; // CHANGED in main() local 50 if (!reader.Parse<kParseValidateEncodingFlag>(eis, writer)) { // CHANGED in main() 51 …fprintf(stderr, "\nError(%u): %s\n", (unsigned)reader.GetErrorOffset(), GetParseError_En(reader.Ge… in main()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 56 try (final BufferedReader reader = new BufferedReader(new FileReader(filename))) { in isCombinedDictionary() argument 57 String firstLine = reader.readLine(); in isCombinedDictionary() 59 firstLine = reader.readLine(); in isCombinedDictionary() 77 public static FusionDictionary readDictionaryCombined(final BufferedReader reader) in readDictionaryCombined() argument 79 String headerLine = reader.readLine(); in readDictionaryCombined() 81 headerLine = reader.readLine(); in readDictionaryCombined() 104 while (null != (line = reader.readLine())) { in readDictionaryCombined()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/messagereader/ |
D | messagereader.cpp | 67 Reader reader; in ParseMessages() local 70 if (reader.Parse(ss, handler)) in ParseMessages() 73 ParseErrorCode e = reader.GetParseErrorCode(); in ParseMessages() 74 size_t o = reader.GetErrorOffset(); in ParseMessages()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/ |
D | capitalize.cpp | 49 Reader reader; in main() local 60 if (!reader.Parse(is, filter)) { in main() 61 …fprintf(stderr, "\nError(%u): %s\n", (unsigned)reader.GetErrorOffset(), GetParseError_En(reader.Ge… in main()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | MemoryUtils.java | 35 MemInfoReader reader = new MemInfoReader(); in getTotalMemorySize() local 36 reader.readMemInfo(); in getTotalMemorySize() 39 sTotalMemorySize = reader.getTotalSize(); in getTotalMemorySize()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | sax.md | 56 #include "rapidjson/reader.h" 88 Reader reader; 90 reader.Parse(ss, handler); 151 … For example, to parse a UTF-8 stream and outputs UTF-16 string events, you can define a reader by: 154 GenericReader<UTF8<>, UTF16<> > reader; 157 Note that, the default character type of `UTF16` is `wchar_t`. So this `reader`needs to call `Strin… 284 … `Reader`. Actually `Document` is a handler which receives events from a reader to build a DOM dur… 291 #include "rapidjson/reader.h" 346 Reader reader; 349 if (reader.Parse(ss, handler)) [all …]
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfceeAccessControl.java | 183 FileReader reader = null; in parseNfceeAccess() local 186 reader = new FileReader(file); in parseNfceeAccess() 189 parser.setInput(reader); in parseNfceeAccess() 261 if (reader != null) { in parseNfceeAccess() 263 reader.close(); in parseNfceeAccess()
|
/packages/services/Telephony/src/org/apache/commons/io/ |
D | IOUtils.java | 458 InputStreamReader reader = new InputStreamReader(input); in readLines() local 459 return readLines(reader); in readLines() 483 InputStreamReader reader = new InputStreamReader(input, encoding); in readLines() local 484 return readLines(reader); in readLines() 502 BufferedReader reader = new BufferedReader(input); in readLines() local 504 String line = reader.readLine(); in readLines() 507 line = reader.readLine(); in readLines()
|