/external/smack/src/org/jivesoftware/smackx/entitycaps/cache/ |
SimpleDirectoryPersistentCache.java | 25 import java.io.Reader; 157 Reader reader = new StringReader(fileContent); 162 parser.setInput(reader);
|
/libcore/luni/src/main/java/libcore/io/ |
Streams.java | 24 import java.io.Reader; 115 * Returns the remainder of 'reader' as a string, closing it when done. 117 public static String readFully(Reader reader) throws IOException { 122 while ((count = reader.read(buffer)) != -1) { 127 reader.close();
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/ |
InputSourceTest.java | 21 import java.io.Reader; 84 // No reader 85 i = new InputSource((Reader)null); 158 // No reader
|
/libcore/support/src/test/java/tests/support/ |
Support_Exec.java | 27 import java.io.Reader; 143 Reader reader = new InputStreamReader(in); 145 while ((c = reader.read()) != -1) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
BasePullParser.java | 24 import java.io.Reader; 80 public void setInput(Reader in) throws XmlPullParserException {
|
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
JDBCResultSet.java | 719 public java.io.Reader getCharacterStream(int columnIndex) 729 public java.io.Reader getCharacterStream(String columnName) 1128 public void updateCharacterStream(int colIndex, java.io.Reader in, int s) 1230 public void updateCharacterStream(String colName, java.io.Reader in, [all...] |
/external/chromium_org/base/android/java/src/org/chromium/base/ |
CommandLine.java | 15 import java.io.Reader; 213 Reader reader = null; local 229 reader = new InputStreamReader(new FileInputStream(f), "UTF-8"); 230 int charsRead = reader.read(buffer); 233 assert !reader.ready(); 241 if (reader != null) reader.close(); 243 Log.e(TAG, "Unable to close file reader.", e);
|
/external/marisa-trie/lib/marisa/ |
bitvector.h | 32 void read(Reader &reader);
|
bitvector.cc | 282 Reader reader; local 283 reader.open(filename, offset, whence); 284 read(reader); 288 Reader reader(file); 289 read(reader); 293 Reader reader(fd); 294 read(reader); [all...] |
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
bitvector.h | 32 void read(Reader &reader);
|
bitvector.cc | 282 Reader reader; local 283 reader.open(filename, offset, whence); 284 read(reader); 288 Reader reader(file); 289 read(reader); 293 Reader reader(fd); 294 read(reader); [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
expanded-fst.h | 53 const typename FstRegister<A>::Reader reader = local 55 if (!reader) { 61 Fst<A> *fst = reader(strm, ropts);
|
/frameworks/base/core/java/com/android/internal/util/ |
TypedProperties.java | 20 import java.io.Reader; 28 * zero or more {@code Reader}s containing textual definitions and assignments. 35 * @param r The {@code Reader} that the {@code StreamTokenizer} will read from 38 static StreamTokenizer initTokenizer(Reader r) { 134 * Parses the data in the reader. 136 * @param r The {@code Reader} containing input data to parse 139 * @throws IOException if there is a problem reading from the {@code Reader} 141 static void parse(Reader r, Map<String, Object> map) throws ParseException, IOException { 347 * Loads zero or more properties from the specified Reader. 349 * the new Reader overrides or unsets earlier values for th [all...] |
/libcore/luni/src/main/java/java/io/ |
CharArrayReader.java | 23 * A specialized {@link Reader} for reading the contents of a char array. 27 public class CharArrayReader extends Reader { 50 * the reader is set to the length of the buffer and the object to to read 63 * the reader is set to {@code length} and the start position from which to 110 * Indicates whether this reader is open. 112 * @return {@code true} if the reader is open, {@code false} otherwise. 119 * Indicates whether this reader is closed. 121 * @return {@code true} if the reader is closed, {@code false} otherwise. 128 * Sets a mark position in this reader. The parameter {@code readLimit} is 130 * reader back to the marked position provided the mark has not bee [all...] |
/cts/libs/json/src/com/android/json/stream/ |
JsonReader.java | 20 import java.io.Reader; 87 * JsonReader reader = new JsonReader(new InputStreamReader(in, "UTF-8")); 88 * return readMessagesArray(reader); 91 * public List<Message> readMessagesArray(JsonReader reader) throws IOException { 94 * reader.beginArray(); 95 * while (reader.hasNext()) { 96 * messages.add(readMessage(reader)); 98 * reader.endArray(); 102 * public Message readMessage(JsonReader reader) throws IOException { 108 * reader.beginObject() [all...] |
/cts/tools/dasm/src/dasm/ |
Main.java | 27 import java.io.Reader; 66 private static Reader createReader(String fname) throws IOException { 86 Reader inp = null;
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestSuiteFactory.java | 57 Reader rd = new InputStreamReader(in); 95 final Reader reader = new BufferedReader(new FileReader(grammarFile)); local 96 final ANTLRv3Lexer lexer = new ANTLRv3Lexer(new ANTLRReaderStream(reader)); 101 reader.close(); 161 final Reader reader = new BufferedReader(new FileReader(file)); local 162 final StGUnitLexer lexer = new StGUnitLexer(new ANTLRReaderStream(reader)); 169 reader.close();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
PushbackReaderTest.java | 24 import java.io.Reader; 34 * @tests java.io.PushbackReader#PushbackReader(java.io.Reader) 37 // Test for method java.io.PushbackReader(java.io.Reader) 48 fail("Created reader with buffer larger than 1"); 52 * @tests java.io.PushbackReader#PushbackReader(java.io.Reader, int) 55 // Test for method java.io.PushbackReader(java.io.Reader, int) 70 fail("Failed to throw exception reading from closed reader"); 104 Reader reader = new PushbackReader(new CharArrayReader( local 106 assertTrue("Wrong double byte character", reader.read() == '\u8765') 223 Reader reader, reader2; local [all...] |
/external/doclava/src/com/google/doclava/ |
SampleTagInfo.java | 21 import java.io.Reader; 117 Reader input = null; 207 Reader input = null;
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatReader.java | 21 import java.io.Reader; 264 Reader reader = input.getCharacterStream(); local 265 if (reader != null) { 267 parse(reader, input.getPublicId(), input.getSystemId()); 269 IoUtils.closeQuietly(reader); 300 private void parse(Reader in, String publicId, String systemId)
|
/external/valgrind/unittest/ |
windows_tests.cc | 288 void Reader() { 320 MyThreadArray t(Reader, Writer, Reader, Writer); 338 MyThreadArray t(Reader, Writer, Reader, Writer);
|
/external/chromium_org/third_party/usb_ids/ |
usb.ids | 37 0112 Card Reader 45 0300 MM300 eBook Reader 81 2049 Stripe Snoop Magnetic Stripe Reader 381 3102 PhotoSmart P1100 Printer w/ Card Reader 660 5635 M5635 Flash Card Reader 992 6510 Weltrend Bar Code Reader 995 6543 Manhattan Magnetic Card Strip Reader 999 6205 USB 2.0 Card Reader 1101 0961 AVL Flash Card Reader 1115 7721 Memory Stick Reader/Write [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
ExpatSaxParserTest.java | 24 import java.io.Reader; 110 // Parse Reader. 360 Reader in = new StringReader(s); 361 ExpatReader reader = new ExpatReader(); local 363 reader.setContentHandler(handler); 364 reader.setDTDHandler(handler); 365 reader.setLexicalHandler(handler); 366 reader.parse(new InputSource(in)); 459 Reader in = new StringReader( 462 ExpatReader reader = new ExpatReader() local 499 ExpatReader reader = new ExpatReader(); local 574 ExpatReader reader = new ExpatReader(); local 617 ExpatReader reader = new ExpatReader(); local 633 XMLReader reader = new ExpatReader(); local 647 XMLReader reader = new ExpatReader(); local 659 XMLReader reader = new ExpatReader(); local [all...] |
/external/smack/src/org/jivesoftware/smack/ |
Connection.java.orig | 23 import java.io.Reader; 181 * The Reader which is used for the {@see debugger}. 183 protected Reader reader; 755 * @throws IllegalStateException if the reader or writer isn't yet initialized. 759 if (reader == null || writer == null) { 760 throw new NullPointerException("Reader or writer isn't initialized."); 803 .getConstructor(Connection.class, Writer.class, Reader.class); 804 debugger = (SmackDebugger) constructor.newInstance(this, writer, reader); 805 reader = debugger.getReader() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
ChannelsTest.java | 25 import java.io.Reader; 398 Reader testReader; 435 Reader testReader; 470 Reader testReader = Channels.newReader(rbChannel, Charset.forName( 473 Reader testReader_s = Channels.newReader(rbChannel, CODE_SET); //$NON-NLS-1$ 607 Reader reader = Channels.newReader(sc, "UTF16"); local 609 int i = reader.read();
|