Home
last modified time | relevance | path

Searched refs:eos (Results 1 – 25 of 48) 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.cc404 bool eos = false; in TEST_F() local
407 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
410 EXPECT_FALSE(eos); in TEST_F()
412 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 0, &size, &eos, in TEST_F()
415 EXPECT_FALSE(eos); in TEST_F()
418 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
421 EXPECT_TRUE(eos); in TEST_F()
425 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
428 EXPECT_FALSE(eos); in TEST_F()
963 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/u-boot/lib/
Dsmbios.c80 t->vendor = smbios_add_string(t->eos, "U-Boot"); in smbios_write_type0()
81 t->bios_ver = smbios_add_string(t->eos, PLAIN_VERSION); in smbios_write_type0()
82 t->bios_release_date = smbios_add_string(t->eos, U_BOOT_DMI_DATE); in smbios_write_type0()
102 len = t->length + smbios_string_table_len(t->eos); in smbios_write_type0()
116 t->manufacturer = smbios_add_string(t->eos, CONFIG_SMBIOS_MANUFACTURER); in smbios_write_type1()
117 t->product_name = smbios_add_string(t->eos, CONFIG_SMBIOS_PRODUCT_NAME); in smbios_write_type1()
120 t->serial_number = smbios_add_string(t->eos, serial_str); in smbios_write_type1()
123 len = t->length + smbios_string_table_len(t->eos); in smbios_write_type1()
136 t->manufacturer = smbios_add_string(t->eos, CONFIG_SMBIOS_MANUFACTURER); in smbios_write_type2()
137 t->product_name = smbios_add_string(t->eos, CONFIG_SMBIOS_PRODUCT_NAME); in smbios_write_type2()
[all …]
/external/libtextclassifier/lang_id/common/fel/
Dfel-parser.cc83 while (!eos()) { in NextItem()
86 while (!eos() && CurrentChar() != '\n') Next(); in NextItem()
89 while (!eos() && isspace(CurrentChar())) Next(); in NextItem()
100 if (eos()) { in NextItem()
109 while (!eos() && IsValidCharInsideNumber(CurrentChar())) Next(); in NextItem()
120 if (eos()) { in NextItem()
135 while (!eos() && IsValidCharInsideIdentifier(CurrentChar())) { in NextItem()
Dfel-parser.h82 bool eos() const { return current_ >= source_.end(); } in eos() function
/external/u-boot/include/
Dsmbios.h76 char eos[SMBIOS_STRUCT_EOS_BYTES]; member
91 char eos[SMBIOS_STRUCT_EOS_BYTES]; member
110 char eos[SMBIOS_STRUCT_EOS_BYTES]; member
135 char eos[SMBIOS_STRUCT_EOS_BYTES]; member
175 char eos[SMBIOS_STRUCT_EOS_BYTES]; member
184 u8 eos[SMBIOS_STRUCT_EOS_BYTES]; member
191 u8 eos[SMBIOS_STRUCT_EOS_BYTES]; member
/external/skia/src/utils/
DSkJSON.cpp120 FastString(const char* src, size_t size, const char* eos, SkArenaAlloc& alloc) { in FastString() argument
121 SkASSERT(src <= eos); in FastString()
133 if (src + 7 <= eos) { in FastString()
334 p = this->matchString(p, p_stop, [this](const char* key, size_t size, const char* eos) { in parse() argument
335 this->pushObjectKey(key, size, eos); in parse()
352 p = this->matchString(p, p_stop, [this](const char* str, size_t size, const char* eos) { in parse() argument
353 this->pushString(str, size, eos); in parse()
563 void pushObjectKey(const char* key, size_t size, const char* eos) { in pushObjectKey() argument
567 this->pushString(key, size, eos); in pushObjectKey()
582 void pushString(const char* s, size_t size, const char* eos) { in pushString() argument
[all …]
/external/skqp/src/utils/
DSkJSON.cpp120 FastString(const char* src, size_t size, const char* eos, SkArenaAlloc& alloc) { in FastString() argument
121 SkASSERT(src <= eos); in FastString()
133 if (src + 7 <= eos) { in FastString()
334 p = this->matchString(p, p_stop, [this](const char* key, size_t size, const char* eos) { in parse() argument
335 this->pushObjectKey(key, size, eos); in parse()
352 p = this->matchString(p, p_stop, [this](const char* str, size_t size, const char* eos) { in parse() argument
353 this->pushString(str, size, eos); in parse()
563 void pushObjectKey(const char* key, size_t size, const char* eos) { in pushObjectKey() argument
567 this->pushString(key, size, eos); in pushObjectKey()
582 void pushString(const char* s, size_t size, const char* eos) { in pushString() argument
[all …]
/external/elfutils/libdwfl/
Dcore-file.c342 const void *eos = memchr (contents, '\0', size); in dwfl_elf_phdr_memory_callback() local
343 if (unlikely (eos == NULL) || unlikely (eos == contents)) in dwfl_elf_phdr_memory_callback()
345 size = eos + 1 - contents; in dwfl_elf_phdr_memory_callback()
387 const void *eos = memchr (into, '\0', nread); in dwfl_elf_phdr_memory_callback() local
388 if (unlikely (eos == NULL) || unlikely (eos == into)) in dwfl_elf_phdr_memory_callback()
394 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/v8/src/torque/
Dutils.cc112 std::istreambuf_iterator<char> eos; in ReplaceFileContentsIfDifferent() local
114 std::string(std::istreambuf_iterator<char>(old_contents_stream), eos); in ReplaceFileContentsIfDifferent()
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/
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()
586 bool eos = !!(input->nFlags & OMX_BUFFERFLAG_EOS); in vid_dec_FrameDecoded() local
640 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/lzma/CPP/7zip/Common/
DMethodProps.h237 void AddProp_EndMarker_if_NotFound(bool eos) in AddProp_EndMarker_if_NotFound() argument
240 AddPropBool(NCoderPropID::kEndMarker, eos); in AddProp_EndMarker_if_NotFound()
/external/syzkaller/vendor/golang.org/x/text/unicode/bidi/
Dcore.go415 sos, eos Class member
468 eos: typeForLevel(maxLevel(succLevel, level)),
556 t = s.eos
622 trailType = s.eos
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp642 bool eos = parser[NKey::kEOS].ThereIs || stdInMode; in main2() local
685 props[7].boolVal = eos ? VARIANT_TRUE : VARIANT_FALSE; in main2()
706 if (eos || stdInMode) in main2()
/external/deqp/executor/
DxeBatchExecutor.cpp246 deUint8 eos = 0; in onStateChanged() local
247 onTestLogData(&eos, 1); in onStateChanged()

12