Home
last modified time | relevance | path

Searched refs:peek_tag (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/parse_example/
Dexample_proto_fast_parsing.h212 uint8 peek_tag = PeekTag(&stream); in ParseFloatList() local
213 if (peek_tag != kDelimitedTag(1) && peek_tag != kFixed32Tag(1)) { in ParseFloatList()
218 if (peek_tag == kDelimitedTag(1)) { // packed in ParseFloatList()
288 uint8 peek_tag = PeekTag(&stream); in ParseInt64List() local
289 if (peek_tag != kDelimitedTag(1) && peek_tag != kVarintTag(1)) { in ParseInt64List()
292 if (peek_tag == kDelimitedTag(1)) { // packed in ParseInt64List()
511 uint8 peek_tag = PeekTag(stream); in ParseFloatFeature() local
512 if (peek_tag == kDelimitedTag(1)) { // packed in ParseFloatFeature()
530 } else if (peek_tag == kFixed32Tag(1)) { in ParseFloatFeature()
562 uint8 peek_tag = PeekTag(stream); in ParseInt64Feature() local
[all …]
/external/rust/crates/nom/src/combinator/
Dtests.rs224 fn peek_tag(i: &[u8]) -> IResult<&[u8], &[u8]> { in peek_test() function
228 assert_eq!(peek_tag(&b"abcdef"[..]), Ok((&b"abcdef"[..], &b"abcd"[..]))); in peek_test()
229 assert_eq!(peek_tag(&b"ab"[..]), Err(Err::Incomplete(Needed::new(2)))); in peek_test()
231 peek_tag(&b"xxx"[..]), in peek_test()
/external/rust/crates/der/src/reader/
Dslice.rs197 fn peek_tag() { in peek_tag() function
200 assert_eq!(reader.peek_tag().unwrap(), Tag::Integer); in peek_tag()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc218 uint8 peek_tag = PeekTag(&stream); in ParseFloatList() local
219 if (peek_tag != kDelimitedTag(1) && peek_tag != kFixed32Tag(1)) { in ParseFloatList()
224 if (peek_tag == kDelimitedTag(1)) { // packed in ParseFloatList()
294 uint8 peek_tag = PeekTag(&stream); in ParseInt64List() local
295 if (peek_tag != kDelimitedTag(1) && peek_tag != kVarintTag(1)) { in ParseInt64List()
298 if (peek_tag == kDelimitedTag(1)) { // packed in ParseInt64List()
1916 uint8 peek_tag = PeekTag(stream); in ParseFloatFeature() local
1917 if (peek_tag == kDelimitedTag(1)) { // packed in ParseFloatFeature()
1935 } else if (peek_tag == kFixed32Tag(1)) { in ParseFloatFeature()
1967 uint8 peek_tag = PeekTag(stream); in ParseInt64Feature() local
[all …]
/external/rust/crates/der/src/
Dreader.rs100 fn peek_tag(&self) -> Result<Tag> { in peek_tag() method
/external/rust/crates/der_derive/src/
Dchoice.rs99 match reader.peek_tag()? { in to_tokens()
/external/rust/crates/der/
DCHANGELOG.md110 - `Decoder::{peek_tag, peek_header}` ([#142])