Home
last modified time | relevance | path

Searched refs:Needed (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/external/rust/crates/nom/tests/
Doverflow.rs7 use nom::{Err, Needed};
35 Err(Err::Incomplete(Needed::Size(18446744073709551615))) in overflow_incomplete_do_parse()
43 Err(Err::Incomplete(Needed::Size(18446744073709551615))) in overflow_incomplete_tuple()
55 Err(Err::Incomplete(Needed::Size(18446744073709551615))) in overflow_incomplete_length_bytes()
67 Err(Err::Incomplete(Needed::Size(18446744073709551599))) in overflow_incomplete_many0()
79 Err(Err::Incomplete(Needed::Size(18446744073709551599))) in overflow_incomplete_many1()
91 Err(Err::Incomplete(Needed::Size(18446744073709551599))) in overflow_incomplete_many_till()
103 Err(Err::Incomplete(Needed::Size(18446744073709551599))) in overflow_incomplete_many_m_n()
114 Err(Err::Incomplete(Needed::Size(18446744073709551599))) in overflow_incomplete_count()
126 Err(Err::Incomplete(Needed::Size(18446744073709551598))) in overflow_incomplete_length_count()
[all …]
Dmp4.rs7 IResult, Needed, Err,
21 Err(Err::Incomplete(Needed::Size(offset as usize + 4))) in mp4_box()
258 Err(Err::Incomplete(Needed::Size(100))) in mvhd_box()
Dissues.rs8 use nom::{character::{is_digit, streaming::space1 as space}, Err, IResult, Needed, error::ErrorKind…
20 Err(Err::Incomplete(Needed::Size(1))) in take_char()
133 assert_eq!(nothing(b""), Err(Err::Incomplete(Needed::Size(1)))); in take_till_issue()
/external/rust/crates/nom/src/bytes/
Dmacros.rs427 use $crate::{Err,Needed,IResult,error::ErrorKind};
435 Err(Err::Incomplete(Needed::Size(1 + $substr.input_len())))
452 use crate::internal::{Err, Needed, IResult};
474 None => Err::<_,_>(Err::Incomplete(Needed::Size(1))),
517 assert_eq!(a_or_b(e), Err(Err::Incomplete(Needed::Size(1)))); in is_not()
679 assert_eq!(res, Err(Err::Incomplete(Needed::Size(9))));
685 assert_eq!(y(&b"nd"[..]), Err(Err::Incomplete(Needed::Size(3))));
686 assert_eq!(y(&b"123"[..]), Err(Err::Incomplete(Needed::Size(3))));
687 assert_eq!(y(&b"123en"[..]), Err(Err::Incomplete(Needed::Size(3))));
693 assert_eq!(ys("123en"), Err(Err::Incomplete(Needed::Size(3))));
[all …]
Dstreaming.rs5 use crate::internal::{Err, IResult, Needed};
39 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Size(tag_len))), in tag()
80 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Size(tag_len))), in tag_no_case()
291 Err(Err::Incomplete(Needed::Size(needed))) in take_while_m_n()
391 None => Err(Err::Incomplete(Needed::Size(c))), in take()
427 None => Err(Err::Incomplete(Needed::Size(len))), in take_until()
473 return Err(Err::Incomplete(Needed::Unknown)); in escaped()
483 return Err(Err::Incomplete(Needed::Size(1))); in escaped()
488 return Err(Err::Incomplete(Needed::Unknown)); in escaped()
507 Err(Err::Incomplete(Needed::Unknown)) in escaped()
[all …]
/external/rust/crates/nom/src/character/
Dstreaming.rs5 use crate::internal::{Err, IResult, Needed};
37 None => Err(Err::Incomplete(Needed::Size(1))), in char()
67 None => Err(Err::Incomplete(Needed::Size(1))), in one_of()
95 None => Err(Err::Incomplete(Needed::Size(1))), in none_of()
125 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Size(2))), in crlf()
161 Err(Err::Incomplete(Needed::Unknown)) in not_line_ending()
171 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Unknown)), in not_line_ending()
208 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Size(1))), in line_ending()
213 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Size(2))), in line_ending()
287 None => Err(Err::Incomplete(Needed::Size(1))), in anychar()
[all …]
/external/rust/crates/nom/src/
Dinternal.rs3 use self::Needed::*;
17 pub enum Needed { enum
24 impl Needed { impl
32 pub fn map<F: Fn(usize) -> usize>(self, f: F) -> Needed { in map() argument
57 Incomplete(Needed),
135 Err::Incomplete(Needed::Size(u)) => write!(f, "Parsing requires {} bytes/chars", u), in fmt()
136 Err::Incomplete(Needed::Unknown) => write!(f, "Parsing requires more data"), in fmt()
174 assert_size!(Needed, 16); in size_test()
Dstr.rs146 use crate::internal::Needed;
160 assert_eq!(f(&a[..]), Err(Err::Incomplete(Needed::Size(1)))); in take_while()
161 assert_eq!(f(&b[..]), Err(Err::Incomplete(Needed::Size(1)))); in take_while()
174 assert_eq!(f(&a[..]), Err(Err::Incomplete(Needed::Size(1)))); in take_while1()
175 assert_eq!(f(&b[..]), Err(Err::Incomplete(Needed::Size(1)))); in take_while1()
/external/rust/crates/nom/src/sequence/
Dmacros.rs476 use crate::internal::{Err, IResult, Needed};
511 Err($crate::Err::Incomplete(Needed::Size(blen)))
525 Err($crate::Err::Incomplete(Needed::Size(cnt)))
649 assert_eq!(pair_abc_def(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(3)))); in pair()
650 assert_eq!(pair_abc_def(&b"abcd"[..]), Err(Err::Incomplete(Needed::Size(3)))); in pair()
676 assert_eq!(sep_pair_abc_def(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(3)))); in separated_pair()
677 assert_eq!(sep_pair_abc_def(&b"abc,d"[..]), Err(Err::Incomplete(Needed::Size(3)))); in separated_pair()
699 assert_eq!(preceded_abcd_efgh(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(4)))); in preceded()
700 assert_eq!(preceded_abcd_efgh(&b"abcde"[..]), Err(Err::Incomplete(Needed::Size(4)))); in preceded()
722 assert_eq!(terminated_abcd_efgh(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(4)))); in terminated()
[all …]
/external/rust/crates/nom/src/multi/
Dmacros.rs533 use crate::internal::{Err, IResult, Needed};
572 Err($crate::Err::Incomplete(Needed::Size(blen)))
608 assert_eq!(multi(f), Err(Err::Incomplete(Needed::Size(4)))); in separated_list()
609 assert_eq!(multi_longsep(g), Err(Err::Incomplete(Needed::Size(2)))); in separated_list()
610 assert_eq!(multi(h), Err(Err::Incomplete(Needed::Size(4)))); in separated_list()
636 assert_eq!(multi(f), Err(Err::Incomplete(Needed::Size(4)))); in separated_nonempty_list()
637 assert_eq!(multi_longsep(g), Err(Err::Incomplete(Needed::Size(2)))); in separated_nonempty_list()
638 assert_eq!(multi(h), Err(Err::Incomplete(Needed::Size(4)))); in separated_nonempty_list()
652 assert_eq!(multi(&b"abcdab"[..]), Err(Err::Incomplete(Needed::Size(4)))); in many0()
653 assert_eq!(multi(&b"abcd"[..]), Err(Err::Incomplete(Needed::Size(4)))); in many0()
[all …]
/external/rust/crates/nom/src/number/
Dstreaming.rs29 Err(Err::Incomplete(Needed::Size(1))) in be_u8()
54 Err(Err::Incomplete(Needed::Size(2))) in be_u16()
80 Err(Err::Incomplete(Needed::Size(3))) in be_u24()
106 Err(Err::Incomplete(Needed::Size(4))) in be_u32()
132 Err(Err::Incomplete(Needed::Size(8))) in be_u64()
159 Err(Err::Incomplete(Needed::Size(16))) in be_u128()
312 Err(Err::Incomplete(Needed::Size(1))) in le_u8()
337 Err(Err::Incomplete(Needed::Size(2))) in le_u16()
363 Err(Err::Incomplete(Needed::Size(3))) in le_u24()
389 Err(Err::Incomplete(Needed::Size(4))) in le_u32()
[all …]
/external/rust/crates/nom/src/bits/
Dmod.rs11 use crate::internal::{Err, IResult, Needed};
101 Err(Err::Incomplete(Needed::Unknown)) => Err(Err::Incomplete(Needed::Unknown)), in bytes()
102 Err(Err::Incomplete(Needed::Size(sz))) => Err(match sz.checked_mul(8) { in bytes()
103 Some(v) => Err::Incomplete(Needed::Size(v)), in bytes()
Dmacros.rs138 use crate::internal::{Err, Needed, IResult};
163 Err(Err::Incomplete(Needed::Size(22))) in take_bits()
191 assert_eq!(ch((&input[..1], 0)), Err(Err::Incomplete(Needed::Size(5)))); in chain_bits()
199 assert_eq!(ch_bytes(&input[..1]), Err(Err::Incomplete(Needed::Size(1)))); in bits_to_bytes()
260 Err(Err::Incomplete(Needed::Size(22))) in non_privitive_type()
Dstreaming.rs5 use crate::internal::{Err, IResult, Needed};
23 Err(Err::Incomplete(Needed::Size(count as usize))) in take()
/external/elfutils/tests/
Drun-readelf-A.sh55 ABI_FP_rounding: Needed
56 ABI_FP_denormal: Needed
57 ABI_FP_exceptions: Needed
/external/rust/crates/nom/src/combinator/
Dmacros.rs886 use $crate::{Err,Needed,IResult};
973 use crate::internal::{Err, IResult, Needed};
983 use $crate::{Err,Needed,IResult,error::ErrorKind};
992 Err(Err::Incomplete(Needed::Size($tag.input_len())))
1008 Err($crate::Err::Incomplete($crate::Needed::Size(cnt)))
1063 assert_eq!(opt_abcd(c), Err(Err::Incomplete(Needed::Size(4)))); in opt()
1081 assert_eq!(opt_res_abcd(c), Err(Err::Incomplete(Needed::Size(4)))); in opt_res()
1116 assert_eq!(f_true(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(4)))); in cond()
1138 assert_eq!(f_true(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(4)))); in cond_wrapping()
1151 assert_eq!(peek_tag(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(4)))); in peek()
[all …]
/external/llvm-project/lld/test/wasm/
Dshared-needed.ll26 ; SO1-NEXT: Needed: []
36 ; SO2-NEXT: Needed:
/external/rust/crates/cexpr/src/
Dexpr.rs103 let res: CResult<'_, &[u8]> = Err(crate::nom::Err::Incomplete(Needed::Size($c.len())));
120 let res: CResult<'_, &[u8]> = Err(nom::Err::Incomplete(Needed::Size(1)));
136 Err(crate::nom::Err::Incomplete(Needed::Size(1))) in any_token()
154 Err(crate::nom::Err::Incomplete(Needed::Size(min))) in one_of_punctuation()
422 None => Err(Err::Incomplete(Needed::Size(1))), in identifier()
446 None => Err(Err::Incomplete(Needed::Size(1))), in literal()
/external/compiler-rt/unittests/
DCMakeLists.txt1 # Needed for lit support
/external/llvm-project/compiler-rt/unittests/
DCMakeLists.txt1 # Needed for lit support in standalone builds.
/external/rust/crates/nom/src/branch/
Dmacros.rs731 use crate::internal::{Err, IResult, Needed};
765 Err(Err::Incomplete(Needed::Size(blen)))
779 Err(Err::Incomplete(Needed::Size(cnt)))
872 assert_eq!(alt1(a), Err(Err::Incomplete(Needed::Size(1)))); in alt_incomplete()
874 assert_eq!(alt1(a), Err(Err::Incomplete(Needed::Size(2)))); in alt_incomplete()
880 assert_eq!(alt1(a), Err(Err::Incomplete(Needed::Size(3)))); in alt_incomplete()
932 assert_eq!(perm(e), Err(Err::Incomplete(Needed::Size(4)))); in permutation()
/external/openscreen/osp/impl/quic/testing/
DDEPS6 '+platform/impl', # Needed by quic_test_support.h
/external/openscreen/osp/impl/discovery/mdns/
DDEPS6 '+platform/impl', # Needed by embedder_demo.cc
/external/tensorflow/tensorflow/core/ops/
DBUILD329 linkstatic = 1, # Needed since alwayslink is broken in bazel b/27630669
342 linkstatic = 1, # Needed since alwayslink is broken in bazel b/27630669
358 linkstatic = 1, # Needed since alwayslink is broken in bazel b/27630669
371 linkstatic = 1, # Needed since alwayslink is broken in bazel b/27630669
/external/llvm-project/clang/tools/clang-fuzzer/proto-to-llvm/
DCMakeLists.txt4 # Needed by LLVM's CMake checks because this file defines multiple targets.

12345678910>>...14