/third_party/rust/crates/nom/src/bytes/ |
D | tests.rs | 7 use crate::internal::{Err, IResult, Needed}; 65 assert_eq!(a_or_b(e), Err(Err::Incomplete(Needed::new(1)))); in is_not() 282 assert_eq!(y(&b"nd"[..]), Err(Err::Incomplete(Needed::Unknown))); 283 assert_eq!(y(&b"123"[..]), Err(Err::Incomplete(Needed::Unknown))); 284 assert_eq!(y(&b"123en"[..]), Err(Err::Incomplete(Needed::Unknown))); 293 assert_eq!(ys("123en"), Err(Err::Incomplete(Needed::Unknown))); 365 assert_eq!(f(&a[..]), Err(Err::Incomplete(Needed::new(1)))); 366 assert_eq!(f(&b[..]), Err(Err::Incomplete(Needed::new(1)))); 383 assert_eq!(f(&a[..]), Err(Err::Incomplete(Needed::new(1)))); 384 assert_eq!(f(&b[..]), Err(Err::Incomplete(Needed::new(1)))); [all …]
|
D | streaming.rs | 5 use crate::internal::{Err, IResult, Needed, Parser}; 44 CompareResult::Incomplete => Err(Err::Incomplete(Needed::new(tag_len - i.input_len()))), in tag() 86 CompareResult::Incomplete => Err(Err::Incomplete(Needed::new(tag_len - i.input_len()))), in tag_no_case() 313 Err(Err::Incomplete(Needed::new(needed))) in take_while_m_n() 457 None => Err(Err::Incomplete(Needed::Unknown)), in take_until() 497 None => Err(Err::Incomplete(Needed::Unknown)), in take_until1() 554 return Err(Err::Incomplete(Needed::Unknown)); in escaped() 567 return Err(Err::Incomplete(Needed::new(1))); in escaped() 572 return Err(Err::Incomplete(Needed::Unknown)); in escaped() 591 Err(Err::Incomplete(Needed::Unknown)) in escaped() [all …]
|
/third_party/rust/crates/nom/src/sequence/ |
D | tests.rs | 4 use crate::internal::{Err, IResult, Needed}; 99 Err(Err::Incomplete(Needed::new(1))) in pair_test() 103 Err(Err::Incomplete(Needed::new(2))) in pair_test() 131 Err(Err::Incomplete(Needed::new(1))) in separated_pair_test() 135 Err(Err::Incomplete(Needed::new(2))) in separated_pair_test() 163 Err(Err::Incomplete(Needed::new(2))) in preceded_test() 167 Err(Err::Incomplete(Needed::new(3))) in preceded_test() 195 Err(Err::Incomplete(Needed::new(2))) in terminated_test() 199 Err(Err::Incomplete(Needed::new(3))) in terminated_test() 227 Err(Err::Incomplete(Needed::new(1))) in delimited_test() [all …]
|
/third_party/rust/crates/nom/tests/ |
D | overflow.rs | 10 use nom::{Err, IResult, Needed}; 23 Err(Err::Incomplete(Needed::new(18446744073709551615))) in overflow_incomplete_tuple() 37 Err(Err::Incomplete(Needed::new(18446744073709551615))) in overflow_incomplete_length_bytes() 51 Err(Err::Incomplete(Needed::new(18446744073709551599))) in overflow_incomplete_many0() 67 Err(Err::Incomplete(Needed::new(18446744073709551599))) in overflow_incomplete_many1() 83 Err(Err::Incomplete(Needed::new(18446744073709551599))) in overflow_incomplete_many_till() 99 Err(Err::Incomplete(Needed::new(18446744073709551599))) in overflow_incomplete_many_m_n() 114 Err(Err::Incomplete(Needed::new(18446744073709551599))) in overflow_incomplete_count() 130 Err(Err::Incomplete(Needed::new(18446744073709551598))) in overflow_incomplete_length_count() 143 Err(Err::Incomplete(Needed::new(18446744073709551615))) in overflow_incomplete_length_data()
|
D | issues.rs | 5 use nom::{error::ErrorKind, Err, IResult, Needed}; 17 Err(Err::Incomplete(Needed::new(1))) in take_char() 80 assert_eq!(nothing(b""), Err(Err::Incomplete(Needed::new(1)))); in take_till_issue()
|
D | mp4.rs | 10 Err, IResult, Needed, 22 Err(Err::Incomplete(Needed::new(offset as usize + 4))) in mp4_box() 265 Err(Err::Incomplete(Needed::new(100))) in mvhd_box()
|
/third_party/rust/crates/nom/src/number/ |
D | streaming.rs | 36 Err(Err::Incomplete(Needed::new(1))) in be_u8() 66 Err(Err::Incomplete(Needed::new(bound - input.input_len()))) in be_u16() 99 Err(Err::Incomplete(Needed::new(bound - input.input_len()))) in be_u24() 132 Err(Err::Incomplete(Needed::new(bound - input.input_len()))) in be_u32() 165 Err(Err::Incomplete(Needed::new(bound - input.input_len()))) in be_u64() 197 Err(Err::Incomplete(Needed::new(bound - input.input_len()))) in be_u128() 357 Err(Err::Incomplete(Needed::new(1))) in le_u8() 387 Err(Err::Incomplete(Needed::new(bound - input.input_len()))) in le_u16() 420 Err(Err::Incomplete(Needed::new(bound - input.input_len()))) in le_u24() 453 Err(Err::Incomplete(Needed::new(bound - input.input_len()))) in le_u32() [all …]
|
/third_party/rust/crates/nom/src/character/ |
D | streaming.rs | 9 use crate::internal::{Err, IResult, Needed}; 40 None => Err(Err::Incomplete(Needed::new(c.len() - i.input_len()))), in char() 72 None => Err(Err::Incomplete(Needed::Unknown)), in satisfy() 97 None => Err(Err::Incomplete(Needed::new(1))), in one_of() 122 None => Err(Err::Incomplete(Needed::new(1))), in none_of() 149 CompareResult::Incomplete => Err(Err::Incomplete(Needed::new(2))), in crlf() 183 None => Err(Err::Incomplete(Needed::Unknown)), in not_line_ending() 192 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Unknown)), in not_line_ending() 226 CompareResult::Incomplete => Err(Err::Incomplete(Needed::new(1))), in line_ending() 231 CompareResult::Incomplete => Err(Err::Incomplete(Needed::new(2))), in line_ending() [all …]
|
/third_party/rust/crates/nom/src/multi/ |
D | tests.rs | 6 internal::{Err, IResult, Needed}, 64 assert_eq!(multi(f), Err(Err::Incomplete(Needed::new(1)))); in separated_list0_test() 65 assert_eq!(multi_longsep(g), Err(Err::Incomplete(Needed::new(1)))); in separated_list0_test() 66 assert_eq!(multi(h), Err(Err::Incomplete(Needed::new(1)))); in separated_list0_test() 99 assert_eq!(multi(f), Err(Err::Incomplete(Needed::new(1)))); in separated_list1_test() 100 assert_eq!(multi_longsep(g), Err(Err::Incomplete(Needed::new(1)))); in separated_list1_test() 101 assert_eq!(multi(h), Err(Err::Incomplete(Needed::new(1)))); in separated_list1_test() 120 assert_eq!(multi(&b"abcdab"[..]), Err(Err::Incomplete(Needed::new(2)))); in many0_test() 121 assert_eq!(multi(&b"abcd"[..]), Err(Err::Incomplete(Needed::new(4)))); in many0_test() 122 assert_eq!(multi(&b""[..]), Err(Err::Incomplete(Needed::new(4)))); in many0_test() [all …]
|
/third_party/rust/crates/nom/src/bits/ |
D | mod.rs | 8 use crate::internal::{Err, IResult, Needed, Parser}; 102 Err(Err::Incomplete(Needed::Unknown)) => Err(Err::Incomplete(Needed::Unknown)), in bytes() 103 Err(Err::Incomplete(Needed::Size(sz))) => Err(match sz.get().checked_mul(8) { in bytes() 104 Some(v) => Err::Incomplete(Needed::new(v)), in bytes()
|
D | streaming.rs | 5 use crate::internal::{Err, IResult, Needed}; 25 Err(Err::Incomplete(Needed::new(count as usize))) in take() 168 assert_eq!(result, Err(crate::Err::Incomplete(Needed::new(1)))); in test_bool_eof()
|
/third_party/rust/crates/nom/src/ |
D | internal.rs | 3 use self::Needed::*; 50 pub enum Needed { enum 57 impl Needed { implementation 61 Some(sz) => Needed::Size(sz), in new() 62 None => Needed::Unknown, in new() 73 pub fn map<F: Fn(NonZeroUsize) -> usize>(self, f: F) -> Needed { in map() argument 76 Size(n) => Needed::new(f(n)), in map() 99 Incomplete(Needed), 219 Err::Incomplete(Needed::Size(u)) => write!(f, "Parsing requires {} bytes/chars", u), in fmt() 220 Err::Incomplete(Needed::Unknown) => write!(f, "Parsing requires more data"), in fmt() [all …]
|
D | traits.rs | 3 use crate::internal::{Err, IResult, Needed}; 324 fn slice_index(&self, count: usize) -> Result<usize, Needed>; in slice_index() argument 356 fn slice_index(&self, count: usize) -> Result<usize, Needed> { in slice_index() argument 360 Err(Needed::new(count - self.len())) in slice_index() 401 fn slice_index(&self, count: usize) -> Result<usize, Needed> { in slice_index() argument 412 Err(Needed::Unknown) in slice_index() 509 None => Err(Err::Incomplete(Needed::new(1))), in split_at_position() 524 None => Err(Err::Incomplete(Needed::new(1))), in split_at_position1() 571 None => Err(Err::Incomplete(Needed::new(1))), in split_at_position() 586 None => Err(Err::Incomplete(Needed::new(1))), in split_at_position1() [all …]
|
D | str.rs | 153 use crate::internal::Needed; 171 assert_eq!(f(&a[..]), Err(Err::Incomplete(Needed::new(1)))); in take_while() 172 assert_eq!(f(&b[..]), Err(Err::Incomplete(Needed::new(1)))); in take_while() 189 assert_eq!(f(&a[..]), Err(Err::Incomplete(Needed::new(1)))); in take_while1() 190 assert_eq!(f(&b[..]), Err(Err::Incomplete(Needed::new(1)))); in take_while1()
|
/third_party/rust/crates/nom/src/branch/ |
D | tests.rs | 4 use crate::internal::{Err, IResult, Needed}; 102 assert_eq!(alt1(a), Err(Err::Incomplete(Needed::new(1)))); in alt_incomplete() 104 assert_eq!(alt1(a), Err(Err::Incomplete(Needed::new(1)))); in alt_incomplete() 110 assert_eq!(alt1(a), Err(Err::Incomplete(Needed::new(1)))); in alt_incomplete() 141 assert_eq!(perm(e), Err(Err::Incomplete(Needed::new(1)))); in permutation_test()
|
/third_party/rust/crates/nom/src/combinator/ |
D | tests.rs | 6 use crate::internal::{Err, IResult, Needed}; 219 assert_eq!(opt_abcd(c), Err(Err::Incomplete(Needed::new(2)))); in opt_test() 229 assert_eq!(peek_tag(&b"ab"[..]), Err(Err::Incomplete(Needed::new(2)))); in peek_test() 246 assert_eq!(not_aaa(&b"aa"[..]), Err(Err::Incomplete(Needed::new(1)))); in not_test() 257 assert_eq!(test(&b"bcd"[..]), Err(Err::Incomplete(Needed::new(2)))); in verify_test()
|
/third_party/elfutils/tests/ |
D | run-readelf-A.sh | 55 ABI_FP_rounding: Needed 56 ABI_FP_denormal: Needed 57 ABI_FP_exceptions: Needed
|
/third_party/flutter/skia/third_party/externals/angle2/gni/ |
D | angle.gni | 156 # Needed because visibility is global. 174 # Needed because visibility is global. 199 # Needed because visibility is global. 217 # Needed because visibility is global. 235 # Needed because visibility is global.
|
/third_party/rust/crates/nom/doc/archive/ |
D | upgrading_to_nom_4.md | 21 …/// Incomplete contains a Needed, an enum that can represent a known quantity of input data, or un… 22 Incomplete(Needed) 25 pub enum Needed { 55 Incomplete(Needed), 62 pub enum Needed { 130 IResult::Incomplete(Needed::Size(1)) 134 Err(Err::Incomplete(Needed::Size(1))) 150 In previous versions, `Needed::Size(sz)` indicated the total needed data size (counting the actual …
|
/third_party/typescript/tests/baselines/reference/ |
D | checkInfiniteExpansionTermination.types | 6 n: IObservable<T[]>; // Needed, must be T[] 10 // Needed
|
D | checkInfiniteExpansionTermination.symbols | 9 n: IObservable<T[]>; // Needed, must be T[] 15 // Needed
|
/third_party/rust/crates/rust-cexpr/src/ |
D | expr.rs | 103 let res: CResult<'_, &[u8]> = Err(crate::nom::Err::Incomplete(Needed::new($c.len()))); 118 let res: CResult<'_, &[u8]> = Err(nom::Err::Incomplete(Needed::new(1))); in identifier_token() 141 Err(crate::nom::Err::Incomplete(Needed::new(min))) in one_of_punctuation() 409 None => Err(Err::Incomplete(Needed::new(1))), in identifier() 433 None => Err(Err::Incomplete(Needed::new(1))), in literal()
|
/third_party/gstreamer/gstplugins_bad/ext/opencv/ |
D | meson.build | 67 message('Needed header "' + h + '" not found') 79 message('Needed header "' + h + '" not found')
|
/third_party/flutter/skia/third_party/externals/sdl/acinclude/ |
D | ltsugar.m4 | 20 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier 66 # Needed until we can rely on m4_combine added in Autoconf 2.62.
|
/third_party/libffi/m4/ |
D | ltsugar.m4 | 21 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier 67 # Needed until we can rely on m4_combine added in Autoconf 2.62.
|