/libcore/support/src/test/java/tests/support/ |
ThrowingReader.java | 22 import java.io.Reader; 25 * A reader that always throws after a predetermined number of bytes have been 33 public ThrowingReader(Reader in, int throwAt) {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
ProxyReader.java | 21 import java.io.Reader; 40 * @param proxy the Reader to delegate to 42 public ProxyReader(Reader proxy) {
|
/external/clang/lib/Serialization/ |
ASTReaderDecl.cpp | 39 ASTReader &Reader; 56 return Reader.ReadSourceLocation(F, R, I); 60 return Reader.ReadSourceRange(F, R, I); 64 return Reader.GetTypeSourceInfo(F, R, I); 68 return Reader.ReadDeclID(F, R, I); 77 return Reader.ReadDecl(F, R, I); 82 return Reader.ReadDeclAs<T>(F, R, I); 87 Reader.ReadQualifierInfo(F, Info, R, I); 92 Reader.ReadDeclarationNameLoc(F, DNLoc, Name, R, I); 97 Reader.ReadDeclarationNameInfo(F, NameInfo, R, I) [all...] |
/external/clang/lib/Frontend/ |
ChainedIncludesSource.cpp | 82 std::unique_ptr<ASTReader> Reader; 83 Reader.reset(new ASTReader(PP, CI.getASTContext(), 89 Reader->addInMemoryBuffer(sr, std::move(MemBufs[ti])); 91 Reader->setDeserializationListener(deserialListener); 92 switch (Reader->ReadAST(pchFile, serialization::MK_PCH, SourceLocation(), 95 // Set the predefines buffer as suggested by the PCH reader. 96 PP.setPredefines(Reader->getSuggestedPredefines()); 97 return Reader.release(); 116 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { 189 IntrusiveRefCntPtr<ASTReader> Reader; [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidPushbackReaderTest.java | 21 import java.io.Reader; 58 public static String read(Reader a) throws IOException { 69 public static String read(Reader a, int x) throws IOException { 78 public static String skipRead(Reader a) throws IOException {
|
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 {
|
/libcore/ojluni/src/main/java/javax/sql/ |
RowSet.java | 69 * A disconnected rowset may have a reader (a <code>RowSetReader</code> object) 71 * The reader may be implemented in many different ways to populate a rowset [all...] |
/external/guava/guava/src/com/google/common/io/ |
MultiReader.java | 22 import java.io.Reader; 28 * A {@link Reader} that concatenates multiple readers. 33 class MultiReader extends Reader { 35 private Reader current; 43 * Closes the current reader and opens the next one, if any.
|
CharSource.java | 30 import java.io.Reader; 40 * A readable source of characters, such as a text file. Unlike a {@link Reader}, a 42 * Instead, it is an immutable <i>supplier</i> of {@code Reader} instances. 46 * <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent 48 * reader is closed. 50 * typically implemented by opening a reader using one of the methods in the first category, 51 * doing something and finally closing the reader that was opened. 73 * Opens a new {@link Reader} for reading from this source. This method should return a new, 74 * independent reader each time it is called. 76 * <p>The caller is responsible for ensuring that the returned reader is closed 91 Reader reader = openStream(); local 109 Reader reader = closer.register(openStream()); local 129 Reader reader = closer.register(openStream()); local 147 Reader reader = closer.register(openStream()); local 168 BufferedReader reader = closer.register(openBufferedStream()); local 190 BufferedReader reader = closer.register(openBufferedStream()); local 224 Reader reader = closer.register(openStream()); local 243 Reader reader = closer.register(openStream()); local [all...] |
CharStreams.java | 27 import java.io.Reader; 39 * {@code Readable & Closeable}. A {@link java.io.Reader} implements both of 152 * Discards {@code n} characters of data from the reader. This method 154 * reader. 156 * @param reader the reader to read from 162 public static void skipFully(Reader reader, long n) throws IOException { 163 checkNotNull(reader); 165 long amt = reader.skip(n) [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/ |
SourceFilePage.java | 17 import java.io.Reader; 31 private final Reader sourceReader; 41 * reader for the source code 52 final Reader sourceReader, final int tabWidth,
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
DirectorySourceFileLocatorTest.java | 23 import java.io.Reader; 56 final Reader source = locator.getSourceFile("org/jacoco/example", 70 private void assertContent(Reader source) throws IOException {
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
CanonicalLoader.java | 19 import java.io.Reader; 28 public Object load(Reader yaml) { 44 public Iterable<Object> loadAll(Reader yaml) {
|
/frameworks/av/services/medialog/ |
MediaLogService.h | 56 NamedReader(const sp<NBLog::Reader>& reader, const char *name) : mReader(reader) 59 const sp<NBLog::Reader>& reader() const { return mReader; } function in class:android::MediaLogService::NamedReader 62 sp<NBLog::Reader> mReader;
|
/libcore/ojluni/src/main/java/java/io/ |
Reader.java | 51 public abstract class Reader implements Readable, Closeable { 63 * Creates a new character-stream reader whose critical sections will 64 * synchronize on the reader itself. 66 protected Reader() { 71 * Creates a new character-stream reader whose critical sections will 76 protected Reader(Object lock) {
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
namespacetest.cpp | 45 typedef RAPIDJSON_NAMESPACE::Reader Reader;
54 Reader reader;
local 55 reader.Parse(s, writer);
|
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
AntResourcesLocatorTest.java | 25 import java.io.Reader; 67 final Reader source = locator.getSourceFile("org/jacoco/example", 78 final Reader source = locator.getSourceFile("org/jacoco/example", 89 final Reader source = locator.getSourceFile("org/jacoco/example", 103 final Reader source = locator.getSourceFile("org/jacoco/example", 116 Reader source = locator.getSourceFile("org/jacoco/example", 133 private void assertContent(String expected, Reader source)
|
AntFilesLocatorTest.java | 23 import java.io.Reader; 57 final Reader source = locator.getSourceFile("org/jacoco/example", 72 private void assertContent(Reader source) throws IOException {
|
/external/google-breakpad/src/common/mac/ |
macho_reader.cc | 33 // google_breakpad::Mach_O::Reader. See macho_reader.h for details. 156 void Reader::Reporter::BadHeader() { 160 void Reader::Reporter::CPUTypeMismatch(cpu_type_t cpu_type, 170 void Reader::Reporter::HeaderTruncated() { 175 void Reader::Reporter::LoadCommandRegionTruncated() { 180 void Reader::Reporter::LoadCommandsOverrun(size_t claimed, size_t i, 189 void Reader::Reporter::LoadCommandTooShort(size_t i, LoadCommandType type) { 195 void Reader::Reporter::SectionsMissing(const string &name) { 201 void Reader::Reporter::MisplacedSegmentData(const string &name) { 206 void Reader::Reporter::MisplacedSectionData(const string §ion [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/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
OpenedSocket.java | 60 return new OpenedSocket(new Reader(input), new Writer(output)); 63 private final Reader reader; field in class:OpenedSocket 66 private OpenedSocket(Reader reader, 68 this.reader = reader; 72 public Reader reader() { method in class:OpenedSocket 73 return reader; [all...] |
/external/google-breakpad/src/tools/mac/dump_syms/ |
macho_dump.cc | 33 // a test program for the Mach_O::FatReader and Mach_O::Reader classes. 73 class DumpSection: public mach_o::Reader::SectionHandler { 93 class DumpCommand: public mach_o::Reader::LoadCommandHandler { 95 DumpCommand(mach_o::Reader *reader) : reader_(reader), index_(0) { } 118 mach_o::Reader *reader_; 163 mach_o::Reader::Reporter reporter(name.str()); 164 mach_o::Reader reader(&reporter) [all...] |
/external/clang/include/clang/Frontend/ |
PCHContainerOperations.h | 91 /// A registry of PCHContainerWriter and -Reader objects for different formats. 102 void registerReader(std::unique_ptr<PCHContainerReader> Reader) { 103 Readers[Reader->getFormat()] = std::move(Reader);
|
/external/vogar/src/vogar/monitor/ |
InterleavedReader.java | 29 import java.io.Reader; 44 private final BufferedReader reader; field in class:InterleavedReader 49 public InterleavedReader(Reader reader) { 50 this(DEFAULT_MARKER, reader); 53 public InterleavedReader(String marker, Reader reader) { 58 this.reader = reader instanceof BufferedReader 59 ? (BufferedReader) reader [all...] |