/third_party/skia/tests/ |
H A D | StreamTest.cpp | 216 const size_t bytesPeeked = stream->peek(peekPtr, bytesToPeek); in compare_peek_to_read() 223 // peek and read should behave the same, except peek returned to the in compare_peek_to_read() 227 // A stream should never be able to peek more than it can read. in compare_peek_to_read() 265 // Test that attempting to peek beyond the length of the buffer does not prevent rewinding. in test_peeking_front_buffered_stream() 277 const size_t bytesPeeked = bufferedStream->peek(peekStorage.get(), bytesToPeek); in test_peeking_front_buffered_stream() 331 REPORTER_ASSERT(reporter, fileStream.peek(storage.get(), i) == 0); in DEF_TEST() 361 if (asset->peek(buffer, size) < size) { in stream_peek_test()
|
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/raw_data_reader/ |
H A D | rawdata_reader.cpp | 111 return inputFile_->peek() == EOF; in IsEOS()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_stream.cpp | 83 size_t ExtStream::peek(void *buffer, size_t size) const
in peek() function in OHOS::ImagePlugin::ExtStream 89 IMAGE_LOGE("peek failed, output buffer is null");
in peek() 95 IMAGE_LOGE("peek failed, desire read size=%{public}u", buf.resSize);
in peek()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
H A D | DictionaryBreakEngine.java | 137 public int peek() { in peek() method in DictionaryBreakEngine.DequeI
|
H A D | BurmeseBreakEngine.java | 206 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
|
H A D | KhmerBreakEngine.java | 214 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
|
H A D | LaoBreakEngine.java | 214 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | DictionaryBreakEngine.java | 137 int peek() { in peek() method in DictionaryBreakEngine.DequeI
|
H A D | BurmeseBreakEngine.java | 220 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
|
H A D | KhmerBreakEngine.java | 224 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
|
H A D | LaoBreakEngine.java | 223 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
|
/third_party/skia/third_party/externals/oboe/samples/parselib/src/main/cpp/wav/ |
H A D | WavStreamReader.cpp | 72 int numRead = mStream->peek(&tag, sizeof(tag));
in parse()
|
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
H A D | code_points.rs | 41 let &byte = self.iter.peek().ok_or(EncodingError::End())?; in consume_next()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | binary.cpp | 161 uint32_t peek() const { return peekAt(_.word_index); } in peek() function in __anon21784::Parser 290 const uint32_t first_word = peek(); 431 const uint32_t word = peek();
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | binary.cpp | 161 uint32_t peek() const { return peekAt(_.word_index); } in peek() function in __anon23041::Parser 290 const uint32_t first_word = peek(); 431 const uint32_t word = peek();
|
/third_party/spirv-tools/source/ |
H A D | binary.cpp | 171 uint32_t peek() const { return peekAt(_.word_index); } in peek() function 300 const uint32_t first_word = peek(); 441 const uint32_t word = peek();
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | RopeByteString.java | 681 if (prefixesStack.isEmpty() || prefixesStack.peek().size() >= binEnd) { in insert() 688 while (!prefixesStack.isEmpty() && prefixesStack.peek().size() < binStart) { in insert() 700 if (prefixesStack.peek().size() < binEnd) { in insert()
|
/third_party/node/deps/v8/src/parsing/ |
H A D | parser.cc | 652 // The parser will peek but not consume EOS. Our scope logically goes all in DoParseProgram() 980 if (!(peek_any_identifier() || peek() == Token::LPAREN)) { in DoParseFunction() 1160 Token::Value next = peek(); in ParseModuleItem() 1189 while (peek() != Token::EOS) { in ParseModuleItemList() 1232 while ((name_tok = peek()) != Token::RBRACE) { in ParseExportClause() 1257 if (peek() == Token::RBRACE) break; in ParseExportClause() 1311 while (peek() != Token::RBRACE) { in ParseNamedImports() 1338 if (peek() == Token::RBRACE) break; in ParseNamedImports() 1380 while (peek() != Token::RBRACE) { in ParseImportAssertClause() 1404 if (peek() in ParseImportAssertClause() [all...] |
/third_party/node/deps/openssl/openssl/ssl/record/ |
H A D | rec_layer_s3.c | 1272 size_t len, int peek, size_t *readbytes) in ssl3_read_bytes() 1292 && (type != SSL3_RT_HANDSHAKE)) || (peek in ssl3_read_bytes() 1306 /* peek == 0 */ in ssl3_read_bytes() 1406 * 'peek' mode) in ssl3_read_bytes() 1463 if (peek) { in ssl3_read_bytes() 1479 || (peek && n == SSL3_RECORD_get_length(rr))) { in ssl3_read_bytes() 1490 if (!peek && curr_rec == num_recs in ssl3_read_bytes() 1271 ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, size_t len, int peek, size_t *readbytes) ssl3_read_bytes() argument
|
/third_party/openssl/ssl/record/ |
H A D | rec_layer_s3.c | 1283 size_t len, int peek, size_t *readbytes) in ssl3_read_bytes() 1303 && (type != SSL3_RT_HANDSHAKE)) || (peek in ssl3_read_bytes() 1317 /* peek == 0 */ in ssl3_read_bytes() 1417 * 'peek' mode) in ssl3_read_bytes() 1474 if (peek) { in ssl3_read_bytes() 1490 || (peek && n == SSL3_RECORD_get_length(rr))) { in ssl3_read_bytes() 1501 if (!peek && curr_rec == num_recs in ssl3_read_bytes() 1282 ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, size_t len, int peek, size_t *readbytes) ssl3_read_bytes() argument
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuCommandLine.cpp | 556 if (in.peek() == '\r') in parseCaseTrie() 558 if (in.peek() == '\n') in parseCaseTrie() 609 if (curChr == '\r' && in.peek() == '\n') in parseSimpleCaseList() 613 const int nextChr = in.peek(); in parseSimpleCaseList() 705 if (in.peek() == '{') in parseCaseList()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | number_patternstring.h | 126 UChar32 peek();
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | number_patternstring.h | 126 UChar32 peek();
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/ |
H A D | NfaFlattener.java | 160 return !queue.isEmpty() && queue.peek().node().equals(target); in nextFollowerJoinsTarget()
|
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | file.rs | 89 && ahead.peek(token::Brace) in parse()
|