Home
last modified time | relevance | path

Searched refs:eos (Results 1 – 25 of 44) sorted by relevance

12

/external/libbrillo/brillo/streams/
Dfake_stream_unittest.cc38 bool ReadString(size_t size_to_read, std::string* out_buffer, bool* eos) { in ReadString() argument
43 eos, nullptr); in ReadString()
107 bool eos = false; in TEST_F() local
108 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F()
109 EXPECT_TRUE(eos); in TEST_F()
117 bool eos = false; in TEST_F() local
118 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F()
119 EXPECT_FALSE(eos); in TEST_F()
122 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F()
123 EXPECT_TRUE(eos); in TEST_F()
[all …]
Dstream.cc70 bool eos = false; in ReadBlocking() local
71 if (!ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadBlocking()
74 if (*size_read > 0 || eos) in ReadBlocking()
208 bool eos = false; in ReadAsyncImpl() local
209 if (!ReadNonBlocking(buffer, size_to_read, &read, &eos, error)) in ReadAsyncImpl()
212 if (read > 0 || eos) { in ReadAsyncImpl()
217 success_callback, read, eos)); in ReadAsyncImpl()
220 success_callback.Run(read, eos); in ReadAsyncImpl()
236 bool eos) { in OnReadAsyncDone() argument
238 success_callback.Run(bytes_read, eos); in OnReadAsyncDone()
[all …]
Dinput_stream_set_unittest.cc103 bool eos = false; in TEST_F() local
110 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F()
113 EXPECT_FALSE(eos); in TEST_F()
121 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F()
124 EXPECT_FALSE(eos); in TEST_F()
128 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F()
131 EXPECT_TRUE(eos); in TEST_F()
Dopenssl_stream_bio.cc36 bool eos = false; in stream_read() local
37 if (!stream->ReadNonBlocking(buf, size, &read, &eos, nullptr)) in stream_read()
40 if (read == 0 && !eos) { in stream_read()
Dmemory_stream_unittest.cc145 bool eos = false; in TEST_F() local
150 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 10, &read, &eos, in TEST_F()
154 EXPECT_FALSE(eos); in TEST_F()
159 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &read, &eos, in TEST_F()
163 EXPECT_FALSE(eos); in TEST_F()
168 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 10, &read, &eos, in TEST_F()
172 EXPECT_TRUE(eos); in TEST_F()
Dfile_stream_unittest.cc397 bool eos = false; in TEST_F() local
400 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
403 EXPECT_FALSE(eos); in TEST_F()
405 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 0, &size, &eos, in TEST_F()
408 EXPECT_FALSE(eos); in TEST_F()
411 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
414 EXPECT_TRUE(eos); in TEST_F()
418 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
421 EXPECT_FALSE(eos); in TEST_F()
958 bool eos = true; in TEST_F() local
[all …]
Dstream.h402 bool eos);
427 bool eos);
478 bool eos);
Dinput_stream_set.cc119 bool eos = false; in ReadNonBlocking() local
120 if (!stream->ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadNonBlocking()
123 if (*size_read > 0 || !eos) { in ReadNonBlocking()
/external/libvorbis/test/
Dwrite_read.c43 int eos = 0, ret; in write_vorbis_data_or_die() local
78 while (!eos){ in write_vorbis_data_or_die()
108 while (!eos) { in write_vorbis_data_or_die()
116 eos = 1; in write_vorbis_data_or_die()
148 int eos = 0; in read_vorbis_data_or_die() local
237 while(!eos) { in read_vorbis_data_or_die()
238 while (!eos) { in read_vorbis_data_or_die()
272 if (ogg_page_eos (&og)) eos = 1; in read_vorbis_data_or_die()
276 if (!eos) { in read_vorbis_data_or_die()
280 if (bytes == 0) eos = 1; in read_vorbis_data_or_die()
/external/boringssl/src/crypto/asn1/
Da_d2i_fp.c151 int eos=0; in asn1_d2i_read_bio() local
212 eos++; in asn1_d2i_read_bio()
213 if (eos < 0) in asn1_d2i_read_bio()
220 else if (eos && (c.slen == 0) && (c.tag == V_ASN1_EOC)) in asn1_d2i_read_bio()
223 eos--; in asn1_d2i_read_bio()
224 if (eos <= 0) in asn1_d2i_read_bio()
282 if (eos <= 0) in asn1_d2i_read_bio()
Da_bytes.c276 c->eos=ASN1_const_check_infinite_end(&c->p, in asn1_collate_primitive()
278 if (c->eos) break; in asn1_collate_primitive()
/external/libvorbis/examples/
Ddecoder_example.c80 int eos=0; in main() local
209 while(!eos){ in main()
210 while(!eos){ in main()
281 if(ogg_page_eos(&og))eos=1; in main()
284 if(!eos){ in main()
288 if(bytes==0)eos=1; in main()
Dencoder_example.c55 int eos=0,ret; in main() local
171 while(!eos){ in main()
180 while(!eos){ in main()
224 while(!eos){ in main()
233 if(ogg_page_eos(&og))eos=1; in main()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/compression/
DLzma.java63 boolean eos = false; in compress()
64 if (params.Eos) eos = true; in compress()
71 encoder.SetEndMarkerMode(eos); in compress()
74 if (eos) { in compress()
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
DCachedOggStream.java56 private boolean eos = false; field in CachedOggStream
72 while (!eos){ in CachedOggStream()
111 if (eos) in readOggNextPage()
119 eos = true; in readOggNextPage()
DUncachedOggStream.java49 private boolean eos = false; field in UncachedOggStream
81 eos = true; in readNextOggPage()
96 if (eos){ in getOggPage()
/external/elfutils/libdwfl/
Dcore-file.c343 const void *eos = memchr (contents, '\0', size); in dwfl_elf_phdr_memory_callback() local
344 if (unlikely (eos == NULL) || unlikely (eos == contents)) in dwfl_elf_phdr_memory_callback()
346 size = eos + 1 - contents; in dwfl_elf_phdr_memory_callback()
388 const void *eos = memchr (into, '\0', nread); in dwfl_elf_phdr_memory_callback() local
389 if (unlikely (eos == NULL) || unlikely (eos == into)) in dwfl_elf_phdr_memory_callback()
395 nread = eos + 1 - into; in dwfl_elf_phdr_memory_callback()
/external/lzma/Java/SevenZip/
DLzmaAlone.java198 boolean eos = false; in main()
200 eos = true; in main()
214 encoder.SetEndMarkerMode(eos); in main()
217 if (eos) in main()
/external/libevent/
Dhttp.c3943 scheme_ok(const char *s, const char *eos) in scheme_ok() argument
3946 EVUTIL_ASSERT(eos >= s); in scheme_ok()
3947 if (s == eos) in scheme_ok()
3951 while (++s < eos) { in scheme_ok()
3963 userinfo_ok(const char *s, const char *eos) in userinfo_ok() argument
3965 while (s < eos) { in userinfo_ok()
3970 else if (*s == '%' && s+2 < eos && in userinfo_ok()
3981 regname_ok(const char *s, const char *eos) in regname_ok() argument
3983 while (s && s<eos) { in regname_ok()
3998 parse_port(const char *s, const char *eos) in parse_port() argument
[all …]
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaAlone.cs253 bool eos = parser[(int)Key.EOS].ThereIs || stdInMode; in Main2()
292 eos in Main2()
299 if (eos || stdInMode) in Main2()
/external/libvorbis/lib/
Dpsytune.c232 int eos=0; in main() local
304 while(!eos){ in main()
517 eos=1; in main()
/external/libchrome/sandbox/win/src/
Dcrosscall_client.h173 const wchar_t *eos = wcs; in StringLength() local
174 while (*eos++); in StringLength()
175 return static_cast<size_t>(eos - wcs - 1); in StringLength()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp427 bool eos = parser[NKey::kEOS].ThereIs || stdInMode; in main2() local
470 props[7].boolVal = eos ? VARIANT_TRUE : VARIANT_FALSE; in main2()
487 if (eos || stdInMode) in main2()
/external/libogg/doc/
Drfc3533.txt190 (eos=end of stream).
247 bos pages, eos pages for the logical bitstreams need not all occur
250 information and the eos flag set in the page header. Each grouped
255 bitstreams do not overlap, i.e., the eos page of a given logical
272 bos bos bos eos eos eos bos eos
277 bitstream, which ends after the last eos page of all its grouped
304 example, a specific media mapping may require that all the eos pages
551 set: this is the last page of a logical bitstream (eos)
688 eos page: The final page (end of stream) of a logical bitstream.
/external/dhcpcd-6.8.2/
Ddhcp-common.c800 size_t e, i, n, eos, eol; in dhcp_envoption() local
886 while ((eod = dgetopt(ctx, &eos, &eoc, &eol, od, ol, &oopt))) { in dhcp_envoption()
905 od += eos + eol; in dhcp_envoption()
906 ol -= eos + eol; in dhcp_envoption()

12