Home
last modified time | relevance | path

Searched refs:eof (Results 1 – 25 of 270) sorted by relevance

1234567891011

/external/apache-http/src/org/apache/http/impl/io/
DChunkedInputStream.java88 private boolean eof = false; field in ChunkedInputStream
121 if (this.eof) { in read()
126 if (this.eof) { in read()
151 if (eof) { in read()
156 if (eof) { in read()
190 eof = true; in nextChunk()
261 if (!eof) { in close()
265 eof = true; in close()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeIterator.cs53 public object eof; field in Antlr.Runtime.Tree.TreeIterator
73 eof = adaptor.Create( TokenTypes.EndOfFile, "EOF" ); in TreeIterator()
105 nodes.Enqueue( eof ); in MoveNext()
121 Current = eof; in MoveNext()
149 nodes.Enqueue( eof ); // add to queue, might have UP nodes in there in MoveNext()
166 bool result = Current != eof || !reachedEof; in MoveNext()
167 reachedEof = Current == eof; in MoveNext()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DLookaheadStream.h45 public T eof = null; variable
53 public LookaheadStream(T eof) { in LookaheadStream() argument
54 this.eof = eof; in LookaheadStream()
95 if ( o==eof ) { in fill()
96 data.add(eof); in fill()
117 return eof; in LT()
DANTLRTreeIterator.m56 eof = [[adaptor createTree:ANTLRTokenTypeEOF Text:@"EOF"] retain];
57 tree = eof;
58 root = eof;
74 eof = [[adaptor createTree:ANTLRTokenTypeEOF Text:@"EOF"] retain];
90 eof = [[adaptor createTree:ANTLRTokenTypeEOF Text:@"EOF"] retain];
102 if ( tree && tree != eof ) [tree release];
103 if ( root && root != eof && root != tree ) [root release];
106 if ( eof ) [eof release];
140 [nodes addObject:eof];
151 return eof;
[all …]
DANTLRLookaheadStream.m40 @synthesize eof;
51 eof = [[ANTLRCommonToken eofToken] retain];
62 self.eof = obj;
63 if ( self.eof ) [self.eof retain];
116 if ( obj == eof ) {
117 [data addObject:self.eof];
140 return self.eof;
191 return eof;
196 eof = anID;
DLookaheadStream.m41 /** Set to buffer index of eof when nextElement returns eof */
45 public T eof = null;
53 public LookaheadStream(T eof) {
54 this.eof = eof;
63 * lookahead buffer. Return eof upon end of the stream we're pulling from.
95 if ( o==eof ) {
96 data.add(eof);
117 return eof;
DANTLRBufferedTreeNodeStream.m80 @synthesize eof;
119 eof = [[adaptor createTree:ANTLRTokenTypeEOF Text:@"EOF"] retain];
136 eof = [[adaptor createTree:ANTLRTokenTypeEOF Text:@"EOF"] retain];
153 eof = [[adaptor createTree:ANTLRTokenTypeEOF Text:@"EOF"] retain];
164 // eof = [adaptor createToken:ANTLRTokenTypeDOWN withText:@"EOF"];
173 eof = [[adaptor createTree:ANTLRTokenTypeEOF Text:@"EOF"] retain];
188 if ( eof ) [eof release];
201 if ( eof )
202 copy.eof = [eof copyWithZone:aZone];
304 return eof;
[all …]
/external/stlport/test/unit/
Dnum_put_get_test.cpp88 CPPUNIT_ASSERT(str.eof()); in check_get_float()
99 CPPUNIT_ASSERT(str.eof()); in check_get_float()
110 CPPUNIT_ASSERT(str.eof()); in check_get_float()
121 CPPUNIT_ASSERT(str.eof()); in check_get_float()
132 CPPUNIT_ASSERT(str.eof()); in check_get_float()
143 CPPUNIT_ASSERT(str.eof()); in check_get_float()
167 CPPUNIT_ASSERT(str.eof()); in check_get_float()
190 CPPUNIT_ASSERT(str.eof()); in check_get_float()
213 CPPUNIT_ASSERT(str.eof()); in check_get_float()
258 CPPUNIT_ASSERT( str.eof() ); in check_get_float()
[all …]
Diostream_test.cpp51 CPPUNIT_ASSERT( istr.eof() ); in manipulators()
56 CPPUNIT_ASSERT( istr.eof() ); in manipulators()
70 CPPUNIT_ASSERT( !istr.eof() ); in manipulators()
75 CPPUNIT_ASSERT( istr.eof() ); in manipulators()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeIterator.cs50 public object eof; field in Antlr.Runtime.Tree.TreeIterator
68 eof = adaptor.Create(TokenTypes.EndOfFile, "EOF"); in TreeIterator()
95 nodes.Enqueue(eof); in MoveNext()
105 Current = eof; in MoveNext()
126 nodes.Enqueue(eof); // add to queue, might have UP nodes in there in MoveNext()
141 return Current != eof; in MoveNext()
/external/stlport/src/
Dstdio_streambuf.cpp168 return traits_type::eof(); in underflow()
177 return c != EOF ? c : traits_type::eof(); in uflow()
181 if (c != traits_type::eof()) { in pbackfail()
183 return result != EOF ? result : traits_type::eof(); in pbackfail()
191 return traits_type::eof(); in pbackfail()
205 if (c == traits_type::eof()) { in overflow()
214 return traits_type::eof(); in overflow()
229 return result != EOF ? result : traits_type::eof(); in overflow()
/external/zlib/src/contrib/iostream3/
Dzfstream.cc193 return traits_type::eof(); in underflow()
203 return traits_type::eof(); in underflow()
221 return traits_type::eof(); in overflow()
223 if (!traits_type::eq_int_type(c, traits_type::eof())) in overflow()
235 return traits_type::eof(); in overflow()
238 return traits_type::eof(); in overflow()
244 else if (!traits_type::eq_int_type(c, traits_type::eof())) in overflow()
248 return traits_type::eof(); in overflow()
253 return traits_type::eof(); in overflow()
258 if (traits_type::eq_int_type(c, traits_type::eof())) in overflow()
[all …]
/external/stlport/stlport/stl/
D_streambuf.c56 const int_type __eof = _Traits::eof(); in xsgetn()
87 const int_type __eof = _Traits::eof(); in xsputn()
115 const int_type __eof = _Traits::eof(); in _M_xsputnc()
139 int_type __eof = _Traits::eof(); in _M_snextc_aux()
151 return _Traits::eof(); in pbackfail()
157 return _Traits::eof(); in overflow()
163 return ( _Traits::eq_int_type(this->underflow(),_Traits::eof()) ? in uflow()
164 _Traits::eof() : in uflow()
171 { return _Traits::eof(); } in underflow()
D_fstream.c85 __ok = __ok && !_Traits::eq_int_type(this->overflow(traits_type::eof()), in close()
86 traits_type::eof()); in close()
158 const int_type __eof = traits_type::eof(); in pbackfail()
212 return traits_type::eof(); in overflow()
219 if (!traits_type::eq_int_type(__c, traits_type::eof())) in overflow()
404 return traits_type::eq_int_type(this->overflow(traits_type::eof()), in sync()
405 traits_type::eof()) ? -1 : 0; in sync()
490 return traits_type::eof(); in _M_input_error()
519 return traits_type::eof(); in _M_underflow_aux()
527 return traits_type::eof(); in _M_underflow_aux()
[all …]
/external/qemu/android/utils/
Dlineinput.c22 int eof; member
103 if (input->eof) { in lineInput_getLineAndSize()
118 input->eof = 1; in lineInput_getLineAndSize()
140 return (input->eof != 0); in lineInput_isEof()
202 input->eof = 1; in _lineInput_getLineFromStdFile()
238 input->eof = 1; in _lineInput_getLineFromStdFile()
/external/openssl/crypto/evp/
Dencode.c238 int seof= -1,eof=0,rv= -1,ret=0,i,v,tmp,n,ln,exp_nl; in EVP_DecodeUpdate() local
279 eof++; in EVP_DecodeUpdate()
303 if (((i+1) == inl) && (((n&3) == 0) || eof)) in EVP_DecodeUpdate()
310 eof = 0; in EVP_DecodeUpdate()
311 if (d[n-1] == '=') eof++; in EVP_DecodeUpdate()
312 if (d[n-2] == '=') eof++; in EVP_DecodeUpdate()
327 ret+=(v-eof); in EVP_DecodeUpdate()
331 eof=1; in EVP_DecodeUpdate()
337 if ((v < ctx->length) && eof) in EVP_DecodeUpdate()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeIterator.java50 public Object eof; field in TreeIterator
68 eof = adaptor.create(Token.EOF, "EOF"); in TreeIterator()
89 nodes.add(eof); in next()
98 if ( tree==null ) return eof; in next()
119 nodes.add(eof); // add to queue, might have UP nodes in there in next()
/external/chromium/third_party/libevent/test/
DMakefile.am7 noinst_PROGRAMS = test-init test-eof test-weof test-time regress bench
12 test_eof_SOURCES = test-eof.c
30 test: test-init test-eof test-weof test-time regress
35 bench test-init test-eof test-weof test-time: ../libevent.la
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Ddfa.py49 eot, eof, min, max, accept, special, transition argument
56 self.eof = eof
136 if c == EOF and self.eof[s] >= 0:
139 return self.accept[self.eof[s]]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DDFA.java43 protected short[] eof; field in DFA
129 if ( c==(char)Token.EOF && eof[s]>=0 ) { // EOF Transition to accept state? in predict()
130 if ( debug ) System.err.println("accept via EOF; predict "+accept[eof[s]]+" from "+eof[s]); in predict()
131 return accept[eof[s]]; in predict()
138 System.err.println("eof["+s+"]="+eof[s]); in predict()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DDFA.cs57 protected short[] eof; field in Antlr.Runtime.DFA
178 if ( c == unchecked( (char)TokenTypes.EndOfFile ) && eof[s] >= 0 ) in Predict()
181 … Console.Error.WriteLine( "accept via EOF; predict " + accept[eof[s]] + " from " + eof[s] ); in Predict()
182 return accept[eof[s]]; in Predict()
190 Console.Error.WriteLine( "eof[" + s + "]=" + eof[s] ); in Predict()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DDFA.cs62 protected short[] eof; field in Antlr.Runtime.DFA
152 …if (c == unchecked((char)TokenTypes.EndOfFile) && eof[s] >= 0) { // EOF Transition to accept stat… in Predict()
154 … Console.Error.WriteLine("accept via EOF; predict " + accept[eof[s]] + " from " + eof[s]); in Predict()
155 return accept[eof[s]]; in Predict()
162 Console.Error.WriteLine("eof[" + s + "]=" + eof[s]); in Predict()
/external/libvorbis/examples/
Dvorbisfile_example.c37 int eof=0; in main() local
67 while(!eof){ in main()
71 eof=1; in main()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DDFA.as16 protected var eof:Array; // short[]
33 eot:Array, eof:Array, min:Array, max:Array, accept:Array, special:Array, transition:Array,
40 this.eof = eof;
127 if ( c==TokenConstants.EOF && eof[s]>=0 ) { // EOF Transition to accept state?
128 if ( debug ) trace("accept via EOF; predict "+accept[eof[s]]+" from "+eof[s]);
129 return accept[eof[s]];
136 trace("eof["+s+"]="+eof[s]);
/external/srec/portable/src/
Dpstream.c327 PortFile->eof = 0; /* File must have at least one byte in it. */ in PortFopen()
394 if (PortFile->eof == 1) in PortFread()
426 PortFile->eof = 1; in PortFread()
455 if (PortFile->eof == 1) in PortFwrite()
519 PortFile->eof = 0; in PortFseek()
670 if (PortFile->eof == 1) in PortFgets()
681 PortFile->eof = 1; in PortFgets()
753 return PortFile->eof; in PortFeof()
765 if (PortFile->eof == 1) in PortFgetc()
775 PortFile->eof = 1; in PortFgetc()
[all …]

1234567891011