/external/clang/lib/Frontend/ |
ChainedIncludesSource.cpp | 81 std::unique_ptr<ASTReader> Reader; 82 Reader.reset(new ASTReader(PP, CI.getASTContext(), /*isysroot=*/"", 86 Reader->addInMemoryBuffer(sr, memBufs[ti]); 88 Reader->setDeserializationListener(deserialListener); 89 switch (Reader->ReadAST(pchFile, serialization::MK_PCH, SourceLocation(), 92 // Set the predefines buffer as suggested by the PCH reader. 93 PP.setPredefines(Reader->getSuggestedPredefines()); 94 return Reader.release(); 113 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { 185 IntrusiveRefCntPtr<ASTReader> Reader; [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
CharStreamsTest.java | 34 import java.io.Reader; 49 static final InputSupplier<? extends Reader> BROKEN_READ 55 static final InputSupplier<? extends Reader> BROKEN_CLOSE_INPUT 61 static final InputSupplier<? extends Reader> BROKEN_GET_INPUT 67 private static final ImmutableSet<InputSupplier<? extends Reader>> BROKEN_INPUTS = 79 Reader reader = new NonSkippingReader("abcdef"); local 80 CharStreams.skipFully(reader, 6); 81 assertEquals(-1, reader.read()); 157 CheckCloseSupplier.Input<Reader> okRea [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 {
|
/external/smack/src/org/jivesoftware/smack/util/ |
ObservableReader.java | 27 * An ObservableReader is a wrapper on a Reader that notifies to its listeners when 32 public class ObservableReader extends Reader { 34 Reader wrappedReader = null; 37 public ObservableReader(Reader wrappedReader) { 91 * Adds a reader listener to this reader that will be notified when 94 * @param readerListener a reader listener. 108 * Removes a reader listener from this reader. 110 * @param readerListener a reader listener [all...] |
/frameworks/av/services/medialog/ |
MediaLogService.h | 50 NamedReader(const sp<NBLog::Reader>& reader, const char *name) : mReader(reader) 53 const sp<NBLog::Reader>& reader() const { return mReader; } function in class:android::MediaLogService::NamedReader 56 sp<NBLog::Reader> mReader;
|
/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/chromium_org/media/cast/net/rtcp/ |
rtcp_utility_unittest.cc | 132 base::BigEndianReader reader(bad_packet, sizeof(bad_packet)); 133 EXPECT_FALSE(parser.Parse(&reader)); 141 EXPECT_TRUE(parser1.Parse(p.Reader())); 147 EXPECT_TRUE(parser2.Parse(p.Reader())); 158 EXPECT_TRUE(parser1.Parse(p.Reader())); 163 EXPECT_TRUE(parser2.Parse(p.Reader())); 175 EXPECT_TRUE(parser1.Parse(p1.Reader())); 184 EXPECT_TRUE(parser2.Parse(p2.Reader())); 198 EXPECT_TRUE(parser1.Parse(p1.Reader())); 206 EXPECT_TRUE(parser2.Parse(p1.Reader())); [all...] |
/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) { 166 uint64_t Reader::LastRecordOffset() { 170 void Reader::ReportCorruption(size_t bytes, const char* reason) { 174 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/llvm/tools/llvm-profdata/ |
llvm-profdata.cpp | 58 std::unique_ptr<InstrProfReader> Reader; 59 if (std::error_code ec = InstrProfReader::create(Filename, Reader)) 62 for (const auto &I : *Reader) 66 if (Reader->hasError()) 67 exitWithError(Reader->getError().message(), Filename); 93 std::unique_ptr<InstrProfReader> Reader; 94 if (std::error_code EC = InstrProfReader::create(Filename, Reader)) 110 for (const auto &Func : *Reader) { 142 if (Reader->hasError()) 143 exitWithError(Reader->getError().message(), Filename) [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 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 | 35 virtual void ReaderInitialized(ASTReader *Reader) { }
|
/external/llvm/include/llvm/ProfileData/ |
InstrProfReader.h | 45 InstrProfReader *Reader; 50 InstrProfIterator() : Reader(nullptr) {} 51 InstrProfIterator(InstrProfReader *Reader) : Reader(Reader) { Increment(); } 54 bool operator==(const InstrProfIterator &RHS) { return Reader == RHS.Reader; } 55 bool operator!=(const InstrProfIterator &RHS) { return Reader != RHS.Reader; } 88 /// Return true if the reader has finished reading the profile data [all...] |
/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 459 InputStreamReader reader = new InputStreamReader(input); local 484 InputStreamReader reader = new InputStreamReader(input, encoding); local 503 BufferedReader reader = new BufferedReader(input); local 578 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; 60 Reader reader = null; local 68 reader = new InputStreamReader(new FileInputStream(f), "UTF-8"); 69 int charsRead = reader.read(buffer); 72 assert !reader.ready(); 75 if (reader != null) reader.close();
|