/external/libbrillo/brillo/streams/ |
D | fake_stream_unittest.cc | 38 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 …]
|
D | stream.cc | 70 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 …]
|
D | input_stream_set_unittest.cc | 103 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()
|
D | openssl_stream_bio.cc | 36 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()
|
D | memory_stream_unittest.cc | 145 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()
|
D | file_stream_unittest.cc | 397 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 …]
|
D | stream.h | 402 bool eos); 427 bool eos); 478 bool eos);
|
D | input_stream_set.cc | 119 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/ |
D | write_read.c | 43 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/ |
D | a_d2i_fp.c | 151 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()
|
D | a_bytes.c | 276 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/ |
D | decoder_example.c | 80 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()
|
D | encoder_example.c | 55 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/ |
D | Lzma.java | 63 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/ |
D | CachedOggStream.java | 56 private boolean eos = false; field in CachedOggStream 72 while (!eos){ in CachedOggStream() 111 if (eos) in readOggNextPage() 119 eos = true; in readOggNextPage()
|
D | UncachedOggStream.java | 49 private boolean eos = false; field in UncachedOggStream 81 eos = true; in readNextOggPage() 96 if (eos){ in getOggPage()
|
/external/elfutils/libdwfl/ |
D | core-file.c | 343 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/ |
D | LzmaAlone.java | 198 boolean eos = false; in main() 200 eos = true; in main() 214 encoder.SetEndMarkerMode(eos); in main() 217 if (eos) in main()
|
/external/libevent/ |
D | http.c | 3943 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/ |
D | LzmaAlone.cs | 253 bool eos = parser[(int)Key.EOS].ThereIs || stdInMode; in Main2() 292 eos in Main2() 299 if (eos || stdInMode) in Main2()
|
/external/libvorbis/lib/ |
D | psytune.c | 232 int eos=0; in main() local 304 while(!eos){ in main() 517 eos=1; in main()
|
/external/libchrome/sandbox/win/src/ |
D | crosscall_client.h | 173 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/ |
D | LzmaAlone.cpp | 427 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/ |
D | rfc3533.txt | 190 (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/ |
D | dhcp-common.c | 800 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()
|