/external/libbrillo/brillo/streams/ |
H A D | fake_stream_unittest.cc | 36 // 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 D | openssl_stream_bio.cc | 36 bool eos = false; local 37 if (!stream->ReadNonBlocking(buf, size, &read, &eos, nullptr)) 40 if (read == 0 && !eos) {
|
H A D | input_stream_set_unittest.cc | 103 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 D | stream.cc | 70 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 D | input_stream_set.cc | 119 bool eos = false; local 120 if (!stream->ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) 123 if (*size_read > 0 || !eos) {
|
H A D | stream.h | 402 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 D | memory_stream_unittest.cc | 145 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 D | file_stream_unittest.cc | 397 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 D | encoder_example.c | 55 int eos=0,ret; local 171 while(!eos){ 180 while(!eos){ 224 while(!eos){ 233 if(ogg_page_eos(&og))eos=1;
|
H A D | decoder_example.c | 80 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 D | write_read.c | 43 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 D | a_d2i_fp.c | 150 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 D | a_bytes.c | 276 c->eos=ASN1_const_check_infinite_end(&c->p, 278 if (c->eos) break;
|
H A D | asn1_lib.c | 320 if ((c->inf == (1|V_ASN1_CONSTRUCTED)) && (!c->eos)) 372 c->eos=0;
|
/external/lzma/Java/SevenZip/ |
H A D | LzmaAlone.java | 52 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 D | core-file.c | 343 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 D | LzmaAlone.cs | 93 " -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 D | http.c | 3939 /* 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 D | crosscall_client.h | 173 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 D | LzmaAlone.cpp | 112 " -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 D | xeBatchExecutor.cpp | 246 deUint8 eos = 0; local 247 onTestLogData(&eos, 1);
|
/external/libvorbis/lib/ |
H A D | psytune.c | 232 int eos=0; local 304 while(!eos){ 517 eos=1;
|
/external/dhcpcd-6.8.2/ |
H A D | dhcp-common.c | 800 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 D | pcap-dlpi.c | 836 char *eos; local 854 unit = strtol(cp, &eos, 10); 855 if (*eos != '\0') {
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
H A D | ByteStringTest.java | 505 EvilOutputStream eos = new EvilOutputStream(); 506 os.writeTo(eos); 507 byte[] capturedArray = eos.capturedArray;
|