/external/sfntly/cpp/src/sfntly/data/ |
D | font_input_stream.cc | 24 : stream_(is), position_(0), length_(0), bounded_(false) { in FontInputStream() 28 : stream_(is), position_(0), length_(length), bounded_(true) { in FontInputStream() 36 if (stream_) { in Available() 37 return stream_->Available(); in Available() 43 if (stream_) { in Close() 44 stream_->Close(); in Close() 49 if (stream_) { in Mark() 50 stream_->Mark(readlimit); in Mark() 55 if (stream_) { in MarkSupported() 56 return stream_->MarkSupported(); in MarkSupported() [all …]
|
D | font_output_stream.cc | 24 : stream_(os), in FontOutputStream() 33 if (stream_) { in Write() 34 stream_->Write(b); in Write() 48 assert(stream_); in Write() 58 stream_->Write(b, off, len); in Write() 64 assert(stream_); in Write() 73 stream_->Write(b, off, len); in Write() 117 if (stream_) { in Flush() 118 stream_->Flush(); in Flush() 123 if (stream_) { in Close() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | AST.stg | 80 :{it | pANTLR3_REWRITE_RULE_<rewriteElementType>_STREAM stream_<it>;}; separator="\n"> 82 :{it | pANTLR3_REWRITE_RULE_SUBTREE_STREAM stream_<it>;}; separator="\n"> 97 :{it | stream_<it> = NULL; 98 #define CREATE_stream_<it> if (stream_<it> == NULL) {stream_<it> = antlr3RewriteRule<rewriteElemen… 100 :{it | stream_<it> = NULL; 101 #define CREATE_stream_<it> if (stream_<it> == NULL) {stream_<it> = antlr3RewriteRuleSubtreeStreamN… 143 …s.(actionScope).synpredgate> ) { <endif>CREATE_stream_<token>; stream_<token>->add(stream_<token>,… 157 …ns.(actionScope).synpredgate> ) {<endif>CREATE_stream_<token>; stream_<token>->add(stream_<token>,… 167 …ionScope).synpredgate> ) { <endif>CREATE_stream_<rule.name>; stream_<rule.name>->add(stream_<rule.… 179 …ionScope).synpredgate> ) { <endif>CREATE_stream_<rule.name>; stream_<rule.name>->add(stream_<rule.… [all …]
|
D | ASTTreeParser.stg | 303 <terminalOptions.node>New(stream_<token>->nextNode(stream_<token>)) 305 stream_<token>->nextNode(stream_<token>) 322 :{if (stream_<it> != NULL) stream_<it>->free(stream_<it>);}; separator="\n"> 324 :{if (stream_<it> != NULL) stream_<it>->free(stream_<it>);}; separator="\n">
|
/external/google-breakpad/src/processor/ |
D | binarystream.h | 50 : stream_(which) {} in stream_() function 53 : stream_(str, which) {} in stream_() function 56 : stream_(string(str, size), which) {} in stream_() function 72 bool eof() const { return stream_.eof(); } in eof() 73 void clear() { stream_.clear(); } in clear() 74 string str() const { return stream_.str(); } in str() 75 void str(const string &s) { stream_.str(s); } in str() 79 stream_.seekg (0, ios::beg); in rewind() 80 stream_.seekp (0, ios::beg); in rewind() 83 stream_.clear(); in rewind() [all …]
|
D | binarystream.cc | 52 stream_.read(&buffer[0], length); in operator >>() 59 stream_.read((char *)&u8, 1); in operator >>() 65 stream_.read((char *)&temp, 2); in operator >>() 73 stream_.read((char *)&temp, 4); in operator >>() 91 stream_.write(str.c_str(), USHRT_MAX); in operator <<() 94 stream_.write(str.c_str(), str.length()); in operator <<() 100 stream_.write((const char*)&u8, 1); in operator <<() 106 stream_.write((const char*)&u16, 2); in operator <<() 112 stream_.write((const char*)&u32, 4); in operator <<()
|
D | logging.cc | 56 : stream_(stream) { in LogStream() 78 stream_ << time_string << ": " << PathnameStripper::File(file) << ":" << in LogStream() 83 stream_ << std::endl; in ~LogStream()
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | AST.stg | 26 …:{int |stream_<it> = ANTLR3::AST::RewriteRule<rewriteElementType>Stream.new( @adaptor, "token <it>… 28 …:{int |stream_<it> = ANTLR3::AST::RewriteRuleSubtreeStream.new( @adaptor, "rule <it>" )}; separato… 41 <gatedAction({stream_<token>.add( <label; format="label"> )})> 51 <gatedAction({stream_<token>.add( <label; format="label"> )})> 61 <gatedAction({stream_<rule.name>.add( <label; format="label">.tree )})> 70 <gatedAction({stream_<rule.name>.add( <label; format="label">.tree )})> 130 {it | stream_<it> = <rewriteElementType; format="snakecase">_stream( "token <it>", <it; format="lab… 133 {it | stream_<it> = <rewriteElementType; format="snakecase">_stream( "token <it>", list_of_<it; for… 136 {it | stream_<it> = subtree_stream( "wildcard <it>", <it; format="label"> )}; 139 {it | stream_<it> = subtree_stream( "wildcard <it>", list_of_<it; format="label"> )}; [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | AST.stg | 70 …:{it | RewriteRule<rewriteElementType>Stream stream_<it>=new RewriteRule<rewriteElementType>Stream… 72 …:{it | RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"rule <it>");}; s… 95 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n> 109 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n> 121 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule.name>.add(<label>.… 133 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule>.add(<label>.getTr… 195 …:{it | RewriteRule<rewriteElementType>Stream stream_<it>=new RewriteRule<rewriteElementType>Stream… 199 …:{it | RewriteRule<rewriteElementType>Stream stream_<it>=new RewriteRule<rewriteElementType>Stream… 203 …:{it | RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"wildcard <it>",<… 207 …:{it | RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"wildcard <it>",l… [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | AST.stg | 71 …:{var stream_<it>:RewriteRule<rewriteElementType>Stream=new RewriteRule<rewriteElementType>Stream(… 73 …:{var stream_<it>:RewriteRuleSubtreeStream=new RewriteRuleSubtreeStream(adaptor,"rule <it>");}; se… 96 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n> 110 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n> 122 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule.name>.add(<label>.… 134 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule>.add(<label>.tree); 195 …:{var stream_<it>:RewriteRule<rewriteElementType>Stream=new RewriteRule<rewriteElementType>Stream(… 199 …:{var stream_<it>:RewriteRule<rewriteElementType>Stream=new RewriteRule<rewriteElementType>Stream(… 203 …:{var stream_<it>:RewriteRuleSubtreeStream=new RewriteRuleSubtreeStream(adaptor,"wildcard <it>",<… 207 …:{var stream_<it>:RewriteRuleSubtreeStream=new RewriteRuleSubtreeStream(adaptor,"wildcard <it>",li… [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | AST.stg | 66 …:{var stream_<it>=new org.antlr.runtime.tree.RewriteRuleTokenStream(this.adaptor,"token <it>");}; … 68 …:{var stream_<it>=new org.antlr.runtime.tree.RewriteRuleSubtreeStream(this.adaptor,"rule <it>");};… 91 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n> 105 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n> 121 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule.name>.add(<label>.… 133 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule>.add(<label>.getTr… 194 …:{var stream_<it>=new org.antlr.runtime.tree.RewriteRule<rewriteElementType>Stream(this.adaptor,"t… 198 …:{var stream_<it>=new org.antlr.runtime.tree.RewriteRule<rewriteElementType>Stream(this.adaptor,"t… 202 …:{var stream_<it>=new org.antlr.runtime.tree.RewriteRuleSubtreeStream(this.adaptor,"wildcard <it>"… 206 …:{var stream_<it>=new org.antlr.runtime.tree.RewriteRuleSubtreeStream(this.adaptor,"wildcard <it>"… [all …]
|
/external/marisa-trie/lib/marisa/ |
D | reader.cc | 15 : file_(NULL), fd_(-1), stream_(NULL), needs_fclose_(false) {} in Reader() 18 : file_(file), fd_(-1), stream_(NULL), needs_fclose_(false) {} in Reader() 21 : file_(NULL), fd_(fd), stream_(NULL), needs_fclose_(false) {} in Reader() 24 : file_(NULL), fd_(-1), stream_(stream), needs_fclose_(false) {} in Reader() 60 Swap(&stream_, &rhs->stream_); in swap() 82 } else if (stream_ != NULL) { in read_data() 83 if (!stream_->read(static_cast<char *>(buf), size)) { in read_data()
|
D | writer.cc | 15 : file_(NULL), fd_(-1), stream_(NULL), needs_fclose_(false) {} in Writer() 18 : file_(file), fd_(-1), stream_(NULL), needs_fclose_(false) {} in Writer() 21 : file_(NULL), fd_(fd), stream_(NULL), needs_fclose_(false) {} in Writer() 24 : file_(NULL), fd_(-1), stream_(stream), needs_fclose_(false) {} in Writer() 72 Swap(&stream_, &rhs->stream_); in swap() 94 } else if (stream_ != NULL) { in write_data() 95 if (!stream_->write(static_cast<const char *>(data), size)) { in write_data()
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | reader.cc | 15 : file_(NULL), fd_(-1), stream_(NULL), needs_fclose_(false) {} in Reader() 18 : file_(file), fd_(-1), stream_(NULL), needs_fclose_(false) {} in Reader() 21 : file_(NULL), fd_(fd), stream_(NULL), needs_fclose_(false) {} in Reader() 24 : file_(NULL), fd_(-1), stream_(stream), needs_fclose_(false) {} in Reader() 60 Swap(&stream_, &rhs->stream_); in swap() 82 } else if (stream_ != NULL) { in read_data() 84 if (!stream_->read(static_cast<char *>(buf), size)) { in read_data()
|
D | writer.cc | 15 : file_(NULL), fd_(-1), stream_(NULL), needs_fclose_(false) {} in Writer() 18 : file_(file), fd_(-1), stream_(NULL), needs_fclose_(false) {} in Writer() 21 : file_(NULL), fd_(fd), stream_(NULL), needs_fclose_(false) {} in Writer() 24 : file_(NULL), fd_(-1), stream_(stream), needs_fclose_(false) {} in Writer() 72 Swap(&stream_, &rhs->stream_); in swap() 94 } else if (stream_ != NULL) { in write_data() 96 if (!stream_->write(static_cast<const char *>(data), size)) { in write_data()
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | AST.stg | 86 …:{it | stream_<it> = RewriteRule<rewriteElementType>Stream(self._adaptor, "token <it>")}; separato… 88 :{it | stream_<it> = RewriteRuleSubtreeStream(self._adaptor, "rule <it>")}; separator="\n"> 112 <finishedBacktracking({stream_<token>.add(<label>)})> 126 <finishedBacktracking({stream_<token>.add(<label>)})> 138 <finishedBacktracking({stream_<rule.name>.add(<label>.tree)})> 150 <finishedBacktracking({stream_<rule.name>.add(<label>.tree)})> 213 :{it | stream_<it> = RewriteRule<rewriteElementType>Stream(self._adaptor, "token <it>", <it>)}; 217 …:{it | stream_<it> = RewriteRule<rewriteElementType>Stream(self._adaptor, "token <it>", list_<it>)… 221 :{it | stream_<it> = RewriteRuleSubtreeStream(self._adaptor, "wildcard <it>", <it>)}; 225 :{it | stream_<it> = RewriteRuleSubtreeStream(self._adaptor, "wildcard <it>", list_<it>)}; [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | AST.stg | 97 …:{it|RewriteRule<rewriteElementType>Stream stream_<it>=new RewriteRule<rewriteElementType>Stream(a… 99 …:{it|RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"rule <it>");}; sep… 122 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<token>.Add(<label>);<\n> 136 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<token>.Add(<label>); 148 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<rule.name>.Add(<label>.Tr… 160 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<rule>.Add(<label>.Tree); 217 …:{it|RewriteRule<rewriteElementType>Stream stream_<it>=new RewriteRule<rewriteElementType>Stream(a… 221 …:{it|RewriteRule<rewriteElementType>Stream stream_<it>=new RewriteRule<rewriteElementType>Stream(a… 225 …:{it|RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"wildcard <it>",<it… 229 …:{it|RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"wildcard <it>",lis… [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | AST.stg | 98 …:{it|<\n>RewriteRule<rewriteElementType>Stream stream_<it>=new RewriteRule<rewriteElementType>Stre… 100 :{it|<\n>RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"rule <it>");}> 120 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<token>.Add(<label>);<\n> 134 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<token>.Add(<label>); 146 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<rule.name>.Add(<label>.Tr… 158 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<rule>.Add(<label>.Tree); 215 …:{it|RewriteRule<rewriteElementType>Stream stream_<it>=new RewriteRule<rewriteElementType>Stream(a… 219 …:{it|RewriteRule<rewriteElementType>Stream stream_<it>=new RewriteRule<rewriteElementType>Stream(a… 223 …:{it|RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"wildcard <it>",<it… 227 …:{it|RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"wildcard <it>",lis… [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | AST.stg | 177 <ruleDescriptor.allTokenRefsInAltsWithRewrites:{it | ANTLRRewriteRuleTokenStream *stream_<it> = 180 <ruleDescriptor.allRuleRefsInAltsWithRewrites:{it | ANTLRRewriteRuleSubtreeStream *stream_<it> = 188 …sInAltsWithRewrites,ruleDescriptor.allRuleRefsInAltsWithRewrites]:{it | [stream_<it> release];}; s… 206 <referencedTokenLabels:{it | [stream_<it> release];}; separator="\n"> 207 <referencedTokenListLabels:{it | [stream_<it> release];}; separator="\n"> 208 <referencedRuleLabels:{it | [stream_<it> release];}; separator="\n"> 209 <referencedRuleListLabels:{it | [stream_<it> release];}; separator="\n"> 235 [stream_<token> addElement:<label>];<\n> 252 [stream_<token> addElement:<label>];<\n> 265 [stream_<rule.name> addElement:[<label> getTree]]; [all …]
|
/external/openfst/src/include/fst/extensions/far/ |
D | stlist.h | 61 : stream_( in STListWriter() 65 WriteType(*stream_, kSTListMagicNumber); in STListWriter() 66 WriteType(*stream_, kSTListFileVersion); in STListWriter() 67 if (!stream_) { in STListWriter() 88 WriteType(*stream_, key); in Add() 89 entry_writer_(*stream_, t); in Add() 95 WriteType(*stream_, string()); in ~STListWriter() 96 if (stream_ != &cout) in ~STListWriter() 97 delete stream_; in ~STListWriter() local 102 ostream *stream_; // Output stream variable
|
D | sttable.h | 55 : stream_(filename.c_str(), ofstream::out | ofstream::binary), in STTableWriter() 57 WriteType(stream_, kSTTableMagicNumber); in STTableWriter() 58 WriteType(stream_, kSTTableFileVersion); in STTableWriter() 59 if (!stream_) { in STTableWriter() 84 positions_.push_back(stream_.tellp()); in Add() 85 WriteType(stream_, key); in Add() 86 entry_writer_(stream_, t); in Add() 92 WriteType(stream_, positions_); in ~STTableWriter() 93 WriteType(stream_, static_cast<int64>(positions_.size())); in ~STTableWriter() 98 ofstream stream_; // Output stream variable
|
/external/v8/tools/ |
D | lexer-shell.cc | 58 : stream_(NULL) { in BaselineScanner() 65 stream_ = new Utf8ToUtf16CharacterStream(source_, length); in BaselineScanner() 72 stream_ = in BaselineScanner() 79 stream_ = in BaselineScanner() 85 scanner_->Initialize(stream_); in BaselineScanner() 90 delete stream_; in ~BaselineScanner() 106 BufferedUtf16CharacterStream* stream_; member in BaselineScanner
|
/external/ceres-solver/internal/ceres/miniglog/glog/ |
D | logging.h | 177 stream_ << filename_only_ << ":" << line << " "; in MessageLogger() 182 stream_ << "\n"; in ~MessageLogger() 201 __android_log_write(android_log_level, tag_.c_str(), stream_.str().c_str()); in ~MessageLogger() 211 std::cerr << stream_.str(); in ~MessageLogger() 225 std::stringstream &stream() { return stream_; } in stream() 247 timeinfo, stream_.str().c_str(), stream_.str().size()); in LogToSinks() 277 std::stringstream stream_; variable
|
/external/v8/src/arm64/ |
D | simulator-arm64.cc | 63 base::OS::VFPrint(stream_, format, arguments); in TraceSim() 387 stream_ = stream; in Init() 388 print_disasm_ = new PrintDisassembler(stream_); in Init() 998 PrintF(stream_, in SetBreakpoint() 1008 PrintF(stream_, in SetBreakpoint() 1014 PrintF(stream_, "Breakpoints:\n"); in ListBreakpoints() 1016 PrintF(stream_, "%p : %s\n", in ListBreakpoints() 1034 PrintF(stream_, "Hit and disabled a breakpoint at %p.\n", in CheckBreakpoints() 1085 fprintf(stream_, "# %s%5s: %s0x%016" PRIx64 "%s\n", in PrintRegister() 1098 fprintf(stream_, "# %s%5s: %s0x%016" PRIx64 "%s (", in PrintFPRegister() [all …]
|
/external/google-breakpad/src/client/windows/crash_generation/ |
D | minidump_generator.cc | 100 std::vector<char> stream_; member in __anonabdae86b0111::HandleTraceData 167 stream_.resize(sizeof(MINIDUMP_HANDLE_OPERATION_LIST) + in CollectHandleData() 172 &stream_.front()); in CollectHandleData() 192 if (stream_.empty()) { in GetUserStream() 196 user_stream->BufferSize = static_cast<ULONG>(stream_.size()); in GetUserStream() 197 user_stream->Buffer = &stream_.front(); in GetUserStream()
|