HomeSort by relevance Sort by last modified time
    Searched defs:Reader (Results 1 - 25 of 49) sorted by null

1 2

  /external/marisa-trie/lib/marisa/
reader.cc 10 #include "reader.h"
14 Reader::Reader()
17 Reader::Reader(std::FILE *file)
20 Reader::Reader(int fd)
23 Reader::Reader(std::istream *stream)
26 Reader::~Reader()
    [all...]
reader.h 11 class Reader {
13 Reader();
14 explicit Reader(std::FILE *file);
15 explicit Reader(int fd);
16 explicit Reader(std::istream *stream);
17 ~Reader();
42 void swap(Reader *rhs);
53 Reader(const Reader &);
54 Reader &operator=(const Reader &)
    [all...]
  /external/marisa-trie/v0_1_5/lib/marisa_alpha/
reader.cc 10 #include "reader.h"
14 Reader::Reader()
17 Reader::Reader(std::FILE *file)
20 Reader::Reader(int fd)
23 Reader::Reader(std::istream *stream)
26 Reader::~Reader()
    [all...]
reader.h 11 class Reader {
13 Reader();
14 explicit Reader(std::FILE *file);
15 explicit Reader(int fd);
16 explicit Reader(std::istream *stream);
17 ~Reader();
43 void swap(Reader *rhs);
54 Reader(const Reader &);
55 Reader &operator=(const Reader &)
    [all...]
  /external/chromium_org/third_party/leveldatabase/src/db/
log_reader.h 20 class Reader {
32 // Create a reader that will return log records from "*file".
33 // "*file" must remain live while this Reader is in use.
37 // live while this Reader is in use.
41 // The Reader will start reading at the first record located at physical
43 Reader(SequentialFile* file, Reporter* reporter, bool checksum,
46 ~Reader();
52 // reader or the next mutation to *scratch.
101 Reader(const Reader&)
    [all...]
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/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...]
  /frameworks/av/include/media/nbaio/
NBLog.h 33 class Reader;
84 // FIXME Timeline was intended to wrap Writer and Reader, but isn't actually used yet.
100 friend class Reader;
110 // Writer is thread-safe with respect to Reader, but not with respect to multiple threads
172 class Reader : public RefBase {
177 Reader(size_t size, const void *shared);
178 Reader(size_t size, const sp<IMemory>& iMemory);
180 virtual ~Reader() { }
  /external/openfst/src/include/fst/
register.h 46 typedef Fst<A> *(*Reader)(istream &strm, const FstReadOptions &opts);
49 Reader reader; member in struct:fst::FstRegisterEntry
51 FstRegisterEntry() : reader(0), converter(0) {}
52 FstRegisterEntry(Reader r, Converter c) : reader(r), converter(c) { }
56 // an FST type, and its reader and converter.
61 typedef typename FstRegisterEntry<A>::Reader Reader;
64 const Reader GetReader(const string &type) const
    [all...]
  /external/openfst/src/include/fst/script/
register.h 38 template<class Reader, class Creator, class Converter>
40 Reader reader; member in struct:fst::script::FstClassRegEntry
44 FstClassRegEntry(Reader r, Creator cr, Converter co) :
45 reader(r), creator(cr), converter(co) { }
46 FstClassRegEntry() : reader(0), creator(0), converter(0) { }
49 template<class Reader, class Creator, class Converter>
52 FstClassRegEntry<Reader, Creator, Converter>,
53 FstClassIORegister<Reader, Creator,
56 Reader GetReader(const string &arc_type) const
    [all...]
  /external/clang/lib/Frontend/
ChainedIncludesSource.cpp 34 OwningPtr<ASTReader> Reader;
35 Reader.reset(new ASTReader(PP, CI.getASTContext(), /*isysroot=*/"",
39 Reader->addInMemoryBuffer(sr, memBufs[ti]);
41 Reader->setDeserializationListener(deserialListener);
42 switch (Reader->ReadAST(pchFile, serialization::MK_PCH, SourceLocation(),
45 // Set the predefines buffer as suggested by the PCH reader.
46 PP.setPredefines(Reader->getSuggestedPredefines());
47 return Reader.take();
140 OwningPtr<ExternalASTSource> Reader;
142 Reader.reset(createASTReader(*Clang, pchName, bufs, serialBufNames,
    [all...]
CompilerInstance.cpp 314 OwningPtr<ASTReader> Reader;
315 Reader.reset(new ASTReader(PP, Context,
321 Reader->setDeserializationListener(
323 switch (Reader->ReadAST(Path,
329 // Set the predefines buffer as suggested by the PCH reader. Typically, the
331 PP.setPredefines(Reader->getSuggestedPredefines());
332 return Reader.take();
    [all...]
  /external/clang/lib/Serialization/
ASTReaderInternals.h 1 //===--- ASTReaderInternals.h - AST Reader Internals ------------*- C++ -*-===//
10 // This file provides internal definitions used in the AST reader.
34 namespace reader { namespace in namespace:clang::serialization
39 ASTReader &Reader;
62 explicit ASTDeclContextNameLookupTrait(ASTReader &Reader, ModuleFile &F)
63 : Reader(Reader), F(F) { }
119 ASTReader &Reader;
130 ASTIdentifierLookupTrait(ASTReader &Reader, ModuleFile &F,
132 : Reader(Reader), F(F), KnownII(II) {
    [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...]
  /external/valgrind/unittest/
posix_tests.cc 180 void Reader() {
204 MyThreadArray t(Writer, Reader);
410 ReaderLockScoped lock(&mu); // Reader lock for writing. -- bug.
445 // We take a *reader* lock when writing to a per-thread data
658 // Worker3 tries to read from globals twice: without a reader lock and with it.
1129 // Test that reader lock/unlock do not create a hb-arc.
windows_tests.cc 288 void Reader() {
320 MyThreadArray t(Reader, Writer, Reader, Writer);
338 MyThreadArray t(Reader, Writer, Reader, Writer);
demo_tests.cc 350 void Reader() {
362 void DoRead() { Reader(); }
372 t3(Thread3, NULL, "buggy reader");
434 t3(Thread3, NULL, "good reader"),
  /frameworks/av/media/libnbaio/
NBLog.cpp 274 NBLog::Reader::Reader(size_t size, const void *shared)
279 NBLog::Reader::Reader(size_t size, const sp<IMemory>& iMemory)
285 void NBLog::Reader::dump(int fd, size_t indent)
442 bool NBLog::Reader::isIMemory(const sp<IMemory>& iMemory) const
  /frameworks/base/core/java/com/android/internal/util/
FileRotator.java 68 public interface Reader {
83 public interface Rewriter extends Reader, Writer {
188 public void combineActive(final Reader reader, final Writer writer, long currentTimeMillis)
198 reader.read(in);
285 public void readMatching(Reader reader, long matchStartMillis, long matchEndMillis)
296 readFile(file, reader);
363 private static void readFile(File file, Reader reader) throws IOException
    [all...]
  /external/chromium_org/crypto/
openpgp_symmetric_encryption.cc 23 // Reader wraps a StringPiece and provides methods to read several datatypes
25 class Reader {
27 Reader(base::StringPiece input)
193 Reader reader(in);
198 if (!ParsePacket(&reader, &tag, &contents))
202 Reader inner(contents);
208 if (!ParsePacket(&reader, &tag, &contents))
212 if (!reader.empty())
214 inner = Reader(contents)
778 Result reader = decrypter.Decrypt(encrypted, passphrase, &result); local
    [all...]
  /ndk/sources/host-tools/ndk-depends/
ndk-depends.cc 271 class Reader {
273 Reader() {}
280 virtual ~Reader() {}
283 class FileReader : public Reader {
458 ElfParser(Reader& reader) : reader_(reader) {}
601 Reader& reader_;
674 String GetLibNameT(Reader& reader) {
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
radeon_pair_schedule.c 89 struct schedule_instruction *Reader;
109 * a reader of the value is committed.
110 * When the reader cound reaches zero, the dependency count
290 if (r->Reader->NumDependencies == 1) {
293 sinst->Score += r->Reader->NumDependencies;
393 decrease_dependencies(s, r->Reader);
419 struct schedule_instruction * reader = read_ptr->Item; local
420 reader->TexReadCount--;
833 * a reader reads from a presubtract source, but for now we'll prevent
972 struct rc_reader reader = sched_inst->GlobalReaders.Readers[i] local
1150 struct reg_value_reader * reader; local
    [all...]
  /external/clang/include/clang/Frontend/
ASTUnit.h 77 ASTReader *Reader;
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_pair_schedule.c 89 struct schedule_instruction *Reader;
109 * a reader of the value is committed.
110 * When the reader cound reaches zero, the dependency count
290 if (r->Reader->NumDependencies == 1) {
293 sinst->Score += r->Reader->NumDependencies;
393 decrease_dependencies(s, r->Reader);
419 struct schedule_instruction * reader = read_ptr->Item; local
420 reader->TexReadCount--;
833 * a reader reads from a presubtract source, but for now we'll prevent
972 struct rc_reader reader = sched_inst->GlobalReaders.Readers[i] local
1150 struct reg_value_reader * reader; local
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
SpdyConnection.java 51 // Socket reads are unguarded but are only made by the reader thread.
117 new Thread(new Reader(), "Spdy Reader " + hostName).start();
415 private class Reader implements Runnable, SpdyReader.Handler {

Completed in 407 milliseconds

1 2