/external/libbrillo/brillo/streams/ |
D | fake_stream_test.cc | 39 bool ReadString(size_t size_to_read, std::string* out_buffer, bool* eos) { in ReadString() argument 44 eos, nullptr); in ReadString() 108 bool eos = false; in TEST_F() local 109 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F() 110 EXPECT_TRUE(eos); in TEST_F() 118 bool eos = false; in TEST_F() local 119 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F() 120 EXPECT_FALSE(eos); in TEST_F() 123 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F() 124 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() 218 success_callback, read, eos)); in ReadAsyncImpl() 221 success_callback.Run(read, eos); in ReadAsyncImpl() 237 bool eos) { in OnReadAsyncDone() argument 239 success_callback.Run(bytes_read, eos); in OnReadAsyncDone() [all …]
|
D | input_stream_set_test.cc | 104 bool eos = false; in TEST_F() local 111 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F() 114 EXPECT_FALSE(eos); in TEST_F() 122 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F() 125 EXPECT_FALSE(eos); in TEST_F() 129 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F() 132 EXPECT_TRUE(eos); in TEST_F()
|
D | openssl_stream_bio.cc | 59 bool eos = false; in stream_read() local 60 if (!stream->ReadNonBlocking(buf, size, &read, &eos, nullptr)) in stream_read() 63 if (read == 0 && !eos) { in stream_read()
|
D | memory_stream_test.cc | 152 bool eos = false; in TEST_F() local 157 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 10, &read, &eos, in TEST_F() 161 EXPECT_FALSE(eos); in TEST_F() 166 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &read, &eos, in TEST_F() 170 EXPECT_FALSE(eos); in TEST_F() 175 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 10, &read, &eos, in TEST_F() 179 EXPECT_TRUE(eos); in TEST_F()
|
D | file_stream_test.cc | 410 bool eos = false; in TEST_F() local 413 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F() 416 EXPECT_FALSE(eos); in TEST_F() 418 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 0, &size, &eos, in TEST_F() 421 EXPECT_FALSE(eos); in TEST_F() 424 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F() 427 EXPECT_TRUE(eos); in TEST_F() 431 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F() 434 EXPECT_FALSE(eos); in TEST_F() 969 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 | 121 bool eos = false; in ReadNonBlocking() local 122 if (!stream->ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadNonBlocking() 125 if (*size_read > 0 || !eos) { in ReadNonBlocking()
|
/external/libtextclassifier/native/lang_id/common/fel/ |
D | fel-parser.cc | 84 while (!eos()) { in NextItem() 87 while (!eos() && CurrentChar() != '\n') Next(); in NextItem() 90 while (!eos() && isspace(CurrentChar())) Next(); in NextItem() 101 if (eos()) { in NextItem() 110 while (!eos() && IsValidCharInsideNumber(CurrentChar())) Next(); in NextItem() 121 if (eos()) { in NextItem() 136 while (!eos() && IsValidCharInsideIdentifier(CurrentChar())) { in NextItem()
|
D | fel-parser.h | 82 bool eos() const { return current_ >= source_.end(); } in eos() function
|
/external/rust/crates/unicode-bidi/src/ |
D | prepare.rs | 33 pub eos: BidiClass, // End-of-sequence type. field 131 eos: max(seq_level, succ_level).bidi_class(), in isolating_run_sequences() 253 eos: R, in test_isolating_run_sequences_sos_and_eos() 263 eos: L, in test_isolating_run_sequences_sos_and_eos() 273 eos: L, in test_isolating_run_sequences_sos_and_eos() 283 eos: R, in test_isolating_run_sequences_sos_and_eos() 293 eos: L, in test_isolating_run_sequences_sos_and_eos() 312 eos: L, in test_isolating_run_sequences_sos_and_eos() 322 eos: R, in test_isolating_run_sequences_sos_and_eos() 332 eos: L, in test_isolating_run_sequences_sos_and_eos() [all …]
|
D | implicit.rs | 75 .unwrap_or(sequence.eos); in resolve_weak() 173 next_class = sequence.eos; in resolve_neutral()
|
/external/skia/src/utils/ |
D | SkJSON.cpp | 119 FastString(const char* src, size_t size, const char* eos, SkArenaAlloc& alloc) { in FastString() argument 120 SkASSERT(src <= eos); in FastString() 129 if (src && src + 6 <= eos) { in FastString() 342 p = this->matchString(p, p_stop, [this](const char* key, size_t size, const char* eos) { in parse() argument 343 this->pushObjectKey(key, size, eos); in parse() 360 p = this->matchString(p, p_stop, [this](const char* str, size_t size, const char* eos) { in parse() argument 361 this->pushString(str, size, eos); in parse() 571 void pushObjectKey(const char* key, size_t size, const char* eos) { in pushObjectKey() argument 575 this->pushString(key, size, eos); in pushObjectKey() 590 void pushString(const char* s, size_t size, const char* eos) { in pushString() argument [all …]
|
/external/skqp/src/utils/ |
D | SkJSON.cpp | 120 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/libpcap/rpcapd/ |
D | fileconf.c | 358 char *eos; in fileconf_read() local 394 eos = hostlist + strlen(hostlist); in fileconf_read() 395 if (eos != hostlist) in fileconf_read() 410 *eos = '\0'; in fileconf_read() 424 *eos = '\0'; in fileconf_read()
|
/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/elfutils/libdwfl/ |
D | core-file.c | 342 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/libevent/ |
D | http.c | 1720 char *eos = line + len; in evhttp_parse_request_line() local 1729 while (eos > line && *(eos-1) == ' ') { in evhttp_parse_request_line() 1730 *(eos-1) = '\0'; in evhttp_parse_request_line() 1731 --eos; in evhttp_parse_request_line() 4510 scheme_ok(const char *s, const char *eos) in scheme_ok() argument 4513 EVUTIL_ASSERT(eos >= s); in scheme_ok() 4514 if (s == eos) in scheme_ok() 4518 while (++s < eos) { in scheme_ok() 4530 userinfo_ok(const char *s, const char *eos) in userinfo_ok() argument 4532 while (s < eos) { in userinfo_ok() [all …]
|
/external/libtextclassifier/native/utils/base/ |
D | arena.h | 255 const char* eos = reinterpret_cast<const char*>(memchr(s, '\0', n)); in Strndup() local 257 const size_t bytes = (eos == nullptr) ? n : eos - s; in Strndup()
|
/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/mesa3d/src/gallium/frontends/omx/bellagio/ |
D | vid_dec.c | 438 bool eos = !!(priv->in_buffers[0]->nFlags & OMX_BUFFERFLAG_EOS); in vid_dec_DecodeBuffer() local 439 unsigned min_bits_left = eos ? 32 : MAX2(buf->nFilledLen * 8, 32); in vid_dec_DecodeBuffer() 464 if (eos && priv->frame_started) in vid_dec_DecodeBuffer() 471 } else if (eos) { in vid_dec_DecodeBuffer()
|
/external/lzma/CPP/7zip/Common/ |
D | MethodProps.h | 237 void AddProp_EndMarker_if_NotFound(bool eos) in AddProp_EndMarker_if_NotFound() argument 240 AddPropBool(NCoderPropID::kEndMarker, eos); in AddProp_EndMarker_if_NotFound()
|
/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/lzma/CPP/7zip/Bundles/LzmaCon/ |
D | LzmaAlone.cpp | 642 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/ |
D | xeBatchExecutor.cpp | 246 deUint8 eos = 0; in onStateChanged() local 247 onTestLogData(&eos, 1); in onStateChanged()
|