Home
last modified time | relevance | path

Searched refs:eos (Results 1 – 25 of 35) 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.cc403 bool eos = false; in TEST_F() local
406 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
409 EXPECT_FALSE(eos); in TEST_F()
411 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 0, &size, &eos, in TEST_F()
414 EXPECT_FALSE(eos); in TEST_F()
417 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
420 EXPECT_TRUE(eos); in TEST_F()
424 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
427 EXPECT_FALSE(eos); in TEST_F()
970 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/boringssl/src/crypto/asn1/
Da_d2i_fp.c146 int eos; /* end of sequence read for indefinite encoding */ member
167 int eos = 0; in asn1_d2i_read_bio() local
219 eos++; in asn1_d2i_read_bio()
220 if (eos < 0) { in asn1_d2i_read_bio()
225 } else if (eos && (c.slen == 0) && (c.tag == V_ASN1_EOC)) { in asn1_d2i_read_bio()
227 eos--; in asn1_d2i_read_bio()
228 if (eos <= 0) in asn1_d2i_read_bio()
279 if (eos <= 0) { in asn1_d2i_read_bio()
/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.c4436 scheme_ok(const char *s, const char *eos) in scheme_ok() argument
4439 EVUTIL_ASSERT(eos >= s); in scheme_ok()
4440 if (s == eos) in scheme_ok()
4444 while (++s < eos) { in scheme_ok()
4456 userinfo_ok(const char *s, const char *eos) in userinfo_ok() argument
4458 while (s < eos) { in userinfo_ok()
4463 else if (*s == '%' && s+2 < eos && in userinfo_ok()
4474 regname_ok(const char *s, const char *eos) in regname_ok() argument
4476 while (s && s<eos) { in regname_ok()
4491 parse_port(const char *s, const char *eos) in parse_port() argument
[all …]
/external/mesa3d/src/gallium/state_trackers/omx/
Dvid_dec.c480 bool eos = !!(priv->in_buffers[0]->nFlags & OMX_BUFFERFLAG_EOS); in vid_dec_DecodeBuffer() local
481 unsigned min_bits_left = eos ? 32 : MAX2(buf->nFilledLen * 8, 32); in vid_dec_DecodeBuffer()
506 if (eos && priv->frame_started) in vid_dec_DecodeBuffer()
513 } else if (eos) { in vid_dec_DecodeBuffer()
614 bool eos = !!(input->nFlags & OMX_BUFFERFLAG_EOS); in vid_dec_FrameDecoded() local
661 if (eos && input->pInputPortPrivate) in vid_dec_FrameDecoded()
/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/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()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp621 bool eos = parser[NKey::kEOS].ThereIs || stdInMode; in main2() local
664 props[7].boolVal = eos ? VARIANT_TRUE : VARIANT_FALSE; in main2()
685 if (eos || stdInMode) in main2()
/external/deqp/executor/
DxeBatchExecutor.cpp246 deUint8 eos = 0; in onStateChanged() local
247 onTestLogData(&eos, 1); in onStateChanged()
/external/markdown/MarkdownTest/Tests_2004/
DYuri-Footnotes.text10 aut fugit, sed quia consequuntur magni dolores eos qui ratione
/external/webrtc/webrtc/base/
Dhttpclient.cc40 char* eos = NULL; in HttpStringToUInt() local
41 *val = strtoul(str.c_str(), &eos, 10); in HttpStringToUInt()
42 return (*eos == '\0'); in HttpStringToUInt()
/external/v4l2_codec2/cmds/
Dcodec2.cpp270 bool eos = work->worklets.front()->output.flags & C2FrameData::FLAG_END_OF_STREAM; in play() local
277 if (eos) { in play()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java507 EvilOutputStream eos = new EvilOutputStream(); in testNewOutput_Mutating() local
508 os.writeTo(eos); in testNewOutput_Mutating()
509 byte[] capturedArray = eos.capturedArray; in testNewOutput_Mutating()
/external/libogg/src/
Dframing.c776 int eos=ogg_page_eos(og); in ogg_stream_pagein() local
884 if(eos){ in ogg_stream_pagein()
961 int eos=os->lacing_vals[ptr]&0x200; /* last packet of the stream? */ in _packetout() local
967 if(val&0x200)eos=0x200; in _packetout()
972 op->e_o_s=eos; in _packetout()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePattern.java1145 boolean eos=index==msg.length(); in parsePluralOrSelectStyle()
1146 if(eos || msg.charAt(index)=='}') { in parsePluralOrSelectStyle()
1147 if(eos==inMessageFormatPattern(nestingLevel)) { in parsePluralOrSelectStyle()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePattern.java1216 boolean eos=index==msg.length(); in parsePluralOrSelectStyle()
1217 if(eos || msg.charAt(index)=='}') { in parsePluralOrSelectStyle()
1218 if(eos==inMessageFormatPattern(nestingLevel)) { in parsePluralOrSelectStyle()

12