Home
last modified time | relevance | path

Searched refs:peek (Results 126 - 150 of 261) sorted by relevance

1234567891011

/third_party/skia/tests/
H A DStreamTest.cpp216 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 Drawdata_reader.cpp111 return inputFile_->peek() == EOF; in IsEOS()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_stream.cpp83 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 DDictionaryBreakEngine.java137 public int peek() { in peek() method in DictionaryBreakEngine.DequeI
H A DBurmeseBreakEngine.java206 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
H A DKhmerBreakEngine.java214 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
H A DLaoBreakEngine.java214 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DDictionaryBreakEngine.java137 int peek() { in peek() method in DictionaryBreakEngine.DequeI
H A DBurmeseBreakEngine.java220 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
H A DKhmerBreakEngine.java224 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
H A DLaoBreakEngine.java223 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
/third_party/skia/third_party/externals/oboe/samples/parselib/src/main/cpp/wav/
H A DWavStreamReader.cpp72 int numRead = mStream->peek(&tag, sizeof(tag)); in parse()
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/
H A Dcode_points.rs41 let &byte = self.iter.peek().ok_or(EncodingError::End())?; in consume_next()
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dbinary.cpp161 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 Dbinary.cpp161 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 Dbinary.cpp171 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 DRopeByteString.java681 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 Dparser.cc652 // 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 Drec_layer_s3.c1272 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 Drec_layer_s3.c1283 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 DtcuCommandLine.cpp556 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 Dnumber_patternstring.h126 UChar32 peek();
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_patternstring.h126 UChar32 peek();
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/
H A DNfaFlattener.java160 return !queue.isEmpty() && queue.peek().node().equals(target); in nextFollowerJoinsTarget()
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dfile.rs89 && ahead.peek(token::Brace) in parse()

Completed in 22 milliseconds

1234567891011