Home
last modified time | relevance | path

Searched refs:peek_tag (Results 1 – 3 of 3) 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()
510 uint8 peek_tag = PeekTag(stream); in ParseFloatFeature() local
511 if (peek_tag == kDelimitedTag(1)) { // packed in ParseFloatFeature()
529 } else if (peek_tag == kFixed32Tag(1)) { in ParseFloatFeature()
561 uint8 peek_tag = PeekTag(stream); in ParseInt64Feature() local
[all …]
/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()
1900 uint8 peek_tag = PeekTag(stream); in ParseFloatFeature() local
1901 if (peek_tag == kDelimitedTag(1)) { // packed in ParseFloatFeature()
1919 } else if (peek_tag == kFixed32Tag(1)) { in ParseFloatFeature()
1951 uint8 peek_tag = PeekTag(stream); in ParseInt64Feature() local
[all …]
/external/rust/crates/nom/src/combinator/
Dmacros.rs1148 named!(peek_tag<&[u8],&[u8]>, peek!(tag!("abcd"))); in peek()
1150 assert_eq!(peek_tag(&b"abcdef"[..]), Ok((&b"abcdef"[..], &b"abcd"[..]))); in peek()
1151 assert_eq!(peek_tag(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(4)))); in peek()
1153 peek_tag(&b"xxx"[..]), in peek()