Searched refs:eos (Results 1 - 25 of 43) sorted by relevance

12

/external/libbrillo/brillo/streams/
H A Dfake_stream_unittest.cc36 // false when an error occurs. |*eos| is set to true when end of stream is
38 bool ReadString(size_t size_to_read, std::string* out_buffer, bool* eos) { argument
43 eos, nullptr);
107 bool eos = false; local
108 EXPECT_TRUE(ReadString(100, &data, &eos));
109 EXPECT_TRUE(eos);
117 bool eos = false; local
118 EXPECT_TRUE(ReadString(100, &data, &eos));
119 EXPECT_FALSE(eos);
122 EXPECT_TRUE(ReadString(100, &data, &eos));
131 bool eos = false; local
151 bool eos = false; local
183 bool eos = false; local
211 bool eos = false; local
[all...]
H A Dopenssl_stream_bio.cc36 bool eos = false; local
37 if (!stream->ReadNonBlocking(buf, size, &read, &eos, nullptr))
40 if (read == 0 && !eos) {
H A Dinput_stream_set_unittest.cc103 bool eos = false; local
110 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos,
113 EXPECT_FALSE(eos);
121 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos,
124 EXPECT_FALSE(eos);
128 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos,
131 EXPECT_TRUE(eos);
H A Dstream.cc70 bool eos = false; local
71 if (!ReadNonBlocking(buffer, size_to_read, size_read, &eos, error))
74 if (*size_read > 0 || eos)
190 bool /* eos */) {
208 bool eos = false; local
209 if (!ReadNonBlocking(buffer, size_to_read, &read, &eos, error))
212 if (read > 0 || eos) {
217 success_callback, read, eos));
220 success_callback.Run(read, eos);
236 bool eos) {
233 OnReadAsyncDone( const base::Callback<void(size_t, bool)>& success_callback, size_t bytes_read, bool eos) argument
321 ReadAllAsyncCallback(void* buffer, size_t size_to_read, const base::Closure& success_callback, const ErrorCallback& error_callback, size_t size_read, bool eos) argument
[all...]
H A Dinput_stream_set.cc119 bool eos = false; local
120 if (!stream->ReadNonBlocking(buffer, size_to_read, size_read, &eos, error))
123 if (*size_read > 0 || !eos) {
H A Dstream.h402 bool eos);
409 // situation in which it would block (bytes_read = 0 and eos = false),
427 bool eos);
444 // (size_written = 0 and eos = false), preventing us from calling
478 bool eos);
H A Dmemory_stream_unittest.cc145 bool eos = false; local
150 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 10, &read, &eos,
154 EXPECT_FALSE(eos);
159 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &read, &eos,
163 EXPECT_FALSE(eos);
168 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 10, &read, &eos,
172 EXPECT_TRUE(eos);
H A Dfile_stream_unittest.cc397 bool eos = false; local
400 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos,
403 EXPECT_FALSE(eos);
405 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 0, &size, &eos,
408 EXPECT_FALSE(eos);
411 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos,
414 EXPECT_TRUE(eos);
418 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos,
421 EXPECT_FALSE(eos);
958 bool eos local
[all...]
/external/libvorbis/examples/
H A Dencoder_example.c55 int eos=0,ret; local
171 while(!eos){
180 while(!eos){
224 while(!eos){
233 if(ogg_page_eos(&og))eos=1;
H A Ddecoder_example.c80 int eos=0; local
209 while(!eos){
210 while(!eos){
281 if(ogg_page_eos(&og))eos=1;
284 if(!eos){
288 if(bytes==0)eos=1;
/external/libvorbis/test/
H A Dwrite_read.c43 int eos = 0, ret; local
78 while (!eos){
108 while (!eos) {
116 eos = 1;
148 int eos = 0; local
237 while(!eos) {
238 while (!eos) {
272 if (ogg_page_eos (&og)) eos = 1;
276 if (!eos) {
280 if (bytes == 0) eos
[all...]
/external/boringssl/src/crypto/asn1/
H A Da_d2i_fp.c150 int eos=0; local
211 eos++;
212 if (eos < 0)
219 else if (eos && (c.slen == 0) && (c.tag == V_ASN1_EOC))
221 /* eos value, so go back and read another header */
222 eos--;
223 if (eos <= 0)
266 if (eos <= 0)
H A Da_bytes.c276 c->eos=ASN1_const_check_infinite_end(&c->p,
278 if (c->eos) break;
H A Dasn1_lib.c320 if ((c->inf == (1|V_ASN1_CONSTRUCTED)) && (!c->eos))
372 c->eos=0;
/external/lzma/Java/SevenZip/
H A DLzmaAlone.java52 else if (s.startsWith("eos"))
160 " -eos: write End Of Stream marker\n"
198 boolean eos = false;
200 eos = true;
214 encoder.SetEndMarkerMode(eos);
217 if (eos)
/external/elfutils/libdwfl/
H A Dcore-file.c343 const void *eos = memchr (contents, '\0', size); local
344 if (unlikely (eos == NULL) || unlikely (eos == contents))
346 size = eos + 1 - contents;
388 const void *eos = memchr (into, '\0', nread); local
389 if (unlikely (eos == NULL) || unlikely (eos == into))
395 nread = eos + 1 - into;
/external/lzma/CS/7zip/Compress/LzmaAlone/
H A DLzmaAlone.cs93 " -eos: write End Of Stream marker\n"
253 bool eos = parser[(int)Key.EOS].ThereIs || stdInMode;
292 eos
299 if (eos || stdInMode)
/external/libevent/
H A Dhttp.c3939 /* Return true if the string starting at s and ending immediately before eos
3943 scheme_ok(const char *s, const char *eos) argument
3946 EVUTIL_ASSERT(eos >= s);
3947 if (s == eos)
3951 while (++s < eos) {
3961 /* Return true iff [s..eos) is a valid userinfo */
3963 userinfo_ok(const char *s, const char *eos) argument
3965 while (s < eos) {
3970 else if (*s == '%' && s+2 < eos &&
3981 regname_ok(const char *s, const char *eos) argument
3998 parse_port(const char *s, const char *eos) argument
4014 bracket_addr_ok(const char *s, const char *eos) argument
4058 parse_authority(struct evhttp_uri *uri, char *s, char *eos) argument
[all...]
/external/libchrome/sandbox/win/src/
H A Dcrosscall_client.h173 const wchar_t *eos = wcs; local
174 while (*eos++);
175 return static_cast<size_t>(eos - wcs - 1);
/external/lzma/CPP/7zip/Bundles/LzmaCon/
H A DLzmaAlone.cpp112 " -eos: write End Of Stream marker\n"
427 bool eos = parser[NKey::kEOS].ThereIs || stdInMode; local
470 props[7].boolVal = eos ? VARIANT_TRUE : VARIANT_FALSE;
487 if (eos || stdInMode)
/external/deqp/executor/
H A DxeBatchExecutor.cpp246 deUint8 eos = 0; local
247 onTestLogData(&eos, 1);
/external/libvorbis/lib/
H A Dpsytune.c232 int eos=0; local
304 while(!eos){
517 eos=1;
/external/dhcpcd-6.8.2/
H A Ddhcp-common.c800 size_t e, i, n, eos, eol; local
886 while ((eod = dgetopt(ctx, &eos, &eoc, &eol, od, ol, &oopt))) {
905 od += eos + eol;
906 ol -= eos + eol;
/external/libpcap/
H A Dpcap-dlpi.c836 char *eos; local
854 unit = strtol(cp, &eos, 10);
855 if (*eos != '\0') {
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DByteStringTest.java505 EvilOutputStream eos = new EvilOutputStream();
506 os.writeTo(eos);
507 byte[] capturedArray = eos.capturedArray;

Completed in 1114 milliseconds

12