/libcore/luni/src/main/java/java/io/ |
Reader.java | 24 * The base class for all readers. A reader is a means of reading data from a 39 public abstract class Reader implements Readable, Closeable { 41 * The object used to synchronize access to the reader. 46 * Constructs a new {@code Reader} with {@code this} as the object used to 49 protected Reader() { 54 * Constructs a new {@code Reader} with {@code lock} used to synchronize 62 protected Reader(Object lock) { 70 * Closes this reader. Implementations of this method should free any 71 * resources associated with the reader. 74 * if an error occurs while closing this reader [all...] |
/external/clang/lib/Serialization/ |
ASTReaderDecl.cpp | 38 ASTReader &Reader; 52 return Reader.ReadSourceLocation(F, R, I); 56 return Reader.ReadSourceRange(F, R, I); 60 return Reader.GetTypeSourceInfo(F, R, I); 64 return Reader.ReadDeclID(F, R, I); 68 return Reader.ReadDecl(F, R, I); 73 return Reader.ReadDeclAs<T>(F, R, I); 78 Reader.ReadQualifierInfo(F, Info, R, I); 83 Reader.ReadDeclarationNameLoc(F, DNLoc, Name, R, I); 88 Reader.ReadDeclarationNameInfo(F, NameInfo, R, I) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidBufferedReaderTest.java | 21 import java.io.Reader; 66 public static String read(Reader a) throws IOException { 77 public static String read(Reader a, int x) throws IOException { 86 public static String skipRead(Reader a) throws IOException { 98 public static String markRead(Reader a, int x, int y) throws IOException {
|
OldAndroidLineNumberReaderTest.java | 21 import java.io.Reader; 80 public static String read(Reader a) throws IOException { 91 public static String read(Reader a, int x) throws IOException { 100 public static String skipRead(Reader a) throws IOException { 112 public static String markRead(Reader a, int x, int y) throws IOException {
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
log_reader.cc | 15 Reader::Reporter::~Reporter() { 18 Reader::Reader(SequentialFile* file, Reporter* reporter, bool checksum, 31 Reader::~Reader() { 35 bool Reader::SkipToInitialBlock() { 59 bool Reader::ReadRecord(Slice* record, std::string* scratch) { 164 uint64_t Reader::LastRecordOffset() { 168 void Reader::ReportCorruption(size_t bytes, const char* reason) { 172 void Reader::ReportDrop(size_t bytes, const Status& reason) [all...] |
/libcore/luni/src/main/java/java/sql/ |
CallableStatement.java | 21 import java.io.Reader; [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
Impl_RowSet.java | 21 import java.io.Reader; 135 public void setCharacterStream(int parameterIndex, Reader theReader, 355 public Reader getCharacterStream(int columnIndex) throws SQLException { 359 public Reader getCharacterStream(String columnName) throws SQLException { 663 public void updateCharacterStream(int columnIndex, Reader x, int length) 667 public void updateCharacterStream(String columnName, Reader reader, 778 public Reader getNCharacterStream(int columnIndex) throws SQLException { 782 public Reader getNCharacterStream(String columnLabel) throws SQLException { 882 public void updateCharacterStream(int columnIndex, Reader x, long length [all...] |
/external/smack/asmack-master/static-src/custom/de/measite/smack/ |
AndroidDebugger.java | 12 import java.io.Reader; 39 private Reader reader; field in class:AndroidDebugger 43 public AndroidDebugger(Connection connection, Writer writer, Reader reader) { 46 this.reader = reader; 54 // Create a special Reader that wraps the main Reader and logs data to the GUI. 55 ObservableReader debugReader = new ObservableReader(reader); [all...] |
/external/smack/src/de/measite/smack/ |
AndroidDebugger.java | 12 import java.io.Reader; 39 private Reader reader; field in class:AndroidDebugger 43 public AndroidDebugger(Connection connection, Writer writer, Reader reader) { 46 this.reader = reader; 54 // Create a special Reader that wraps the main Reader and logs data to the GUI. 55 ObservableReader debugReader = new ObservableReader(reader); [all...] |
/external/smack/src/org/jivesoftware/smack/debugger/ |
ConsoleDebugger.java | 26 import java.io.Reader; 53 private Reader reader; field in class:ConsoleDebugger 57 public ConsoleDebugger(Connection connection, Writer writer, Reader reader) { 60 this.reader = reader; 68 // Create a special Reader that wraps the main Reader and logs data to the GUI. 69 ObservableReader debugReader = new ObservableReader(reader); [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
register.h | 39 // This class holds the mapping from Fst name string to its reader 44 typedef Fst<A> *(*Reader)(istream &strm, const FstReadOptions &opts); 48 Reader reader; member in struct:fst::FstRegister::Entry 50 Entry() : reader(0), converter(0) {} 58 const Reader GetReader(const string &type) const { 59 return GetEntry(type).reader; 89 if (entry.reader) 133 typedef typename FstRegister<Arc>::Reader Reader; [all...] |
/development/tools/idegen/src/ |
Files.java | 31 Reader in = new FileReader(file);
|
/external/clang/include/clang/Serialization/ |
ASTDeserializationListener.h | 36 virtual void ReaderInitialized(ASTReader *Reader) { }
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
IOUtils.java | 30 import java.io.Reader;
82 // NOTE: This class is focussed on InputStream, OutputStream, Reader and
132 * Unconditionally close an <code>Reader</code>.
134 * Equivalent to {@link Reader#close()}, except any exceptions will be ignored.
137 * @param input the Reader to close, may be null or already closed
139 public static void closeQuietly(Reader input) {
223 * Get the contents of a <code>Reader</code> as a <code>byte[]</code>
229 * @param input the <code>Reader</code> to read from
234 public static byte[] toByteArray(Reader input) throws IOException {
241 * Get the contents of a <code>Reader</code> as a <code>byte[]</code> 456 InputStreamReader reader = new InputStreamReader(input); local 481 InputStreamReader reader = new InputStreamReader(input, encoding); local 500 BufferedReader reader = new BufferedReader(input); local 575 Reader reader = null; local [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
AbstractXmlPullParser.java | 26 import java.io.Reader; 41 public void parse(Reader xmlReader) throws ParseException {
|
/cts/tools/vm-tests-tf/src/util/build/ |
DFHBuildStep.java | 26 import java.io.Reader; 45 Reader r;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
PemReader.java | 5 import java.io.Reader; 17 public PemReader(Reader reader) 19 super(reader);
|
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
TestFileUtil.java | 14 import java.io.Reader; 59 Reader reader = null; local 67 reader = new InputStreamReader(new FileInputStream(f), "UTF-8"); 68 int charsRead = reader.read(buffer); 71 assert !reader.ready(); 74 if (reader != null) reader.close();
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
test_util.h | 72 // Reads all the data from |reader| and copies to |content|. Returns net::Error 74 template<typename Reader> 75 int ReadAllData(Reader* reader, std::string* content) { 80 int result = reader->Read(buffer.get(), kBufferSize, callback.callback());
|
/external/guava/guava/src/com/google/common/io/ |
CharStreams.java | 29 import java.io.Reader; 44 * {@code Readable & Closeable}. A {@link java.io.Reader} implements both of 279 * @return the first line, or null if the reader is empty 370 * Joins multiple {@link Reader} suppliers into a single supplier. 371 * Reader returned from the supplier will contain the concatenated data 374 * <p>Reading from the joined reader will throw a {@link NullPointerException} 377 * <p>Only one underlying reader will be open at a time. Closing the 378 * joined reader will close the open underlying reader. 381 * @return a supplier that will return a reader containing the concatenate [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
HDFDataFactory.java | 24 import java.io.Reader; 54 Reader reader = resourceLoader.open(dataFileName); local 55 if (reader == null) { 59 hdfParser.parse(reader, output, new Parser.ErrorHandler() { 66 resourceLoader.close(reader);
|
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
LoadingTemplateFactory.java | 26 import java.io.Reader; 39 Reader reader = resourceLoader.openOrFail(templateName); local 41 return syntaxTreeBuilder.parse(reader, templateName, escapeMode); 43 reader.close();
|
/external/proguard/src/proguard/io/ |
DataEntryRewriter.java | 57 Reader reader = new BufferedReader(new InputStreamReader(inputStream)); local 60 copyData(reader, writer); 68 * Copies all data that it can read from the given reader to the given 71 protected void copyData(Reader reader, 79 int i = reader.read();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
RawResourceLoaderTest.java | 13 import java.io.Reader; 47 Reader reader = new BufferedReader(new InputStreamReader(is, "UTF-8")); local 49 while ((n = reader.read(buffer)) != -1) {
|
/external/valgrind/main/drd/tests/ |
tc12_rwl_trivial.stderr.exp | 2 Reader-writer lock not locked by calling thread: rwlock 0x.........
|