/third_party/rust/crates/nom/benchmarks/benches/ |
H A D | ini.rs | 7 bytes::complete::take_while, 21 delimited(char('['), take_while(|c| c != b']'), char(']')), in category() 29 let (i, val) = map_res(take_while(|c| c != b'\n' && c != b';'), str::from_utf8)(i)?; in key_value() 30 let (i, _) = opt(pair(char(';'), take_while(|c| c != b'\n')))(i)?; in key_value()
|
H A D | ini_str.rs | 7 bytes::complete::{is_a, tag, take_till, take_while}, 27 delimited(char('['), take_while(|c| c != ']'), char(']')), in category()
|
/third_party/rust/crates/nom/src/ |
H A D | str.rs | 160 fn take_while() { in take_while() functions 161 use crate::bytes::streaming::take_while; in take_while() 164 take_while(is_alphabetic)(i) in take_while() 233 use crate::bytes::complete::take_while; in take_while_succeed_none() 242 take_while(while_s)(input) in take_while_succeed_none() 248 "Parser `take_while` consumed leftover input." in take_while_succeed_none() 252 "Parser `take_while` doesn't return the string it consumed on success. \ in take_while_succeed_none() 259 "Parser `take_while` didn't succeed when it should have. \ in take_while_succeed_none() 299 use crate::bytes::complete::take_while; in take_while_succeed_some() 316 take_while(while_ in take_while_succeed_some() [all...] |
/third_party/rust/crates/nom/tests/ |
H A D | ini.rs | 2 bytes::complete::take_while, 17 delimited(char('['), take_while(|c| c != b']'), char(']')), in category() 25 let (i, val) = map_res(take_while(|c| c != b'\n' && c != b';'), str::from_utf8)(i)?; in key_value() 26 let (i, _) = opt(pair(char(';'), take_while(|c| c != b'\n')))(i)?; in key_value()
|
H A D | ini_str.rs | 2 bytes::complete::{is_a, tag, take_till, take_while}, 17 take_while(|c| c != '\r' && c != '\n')(i) in not_line_ending() 26 delimited(char('['), take_while(|c| c != ']'), char(']')), in category()
|
/third_party/rust/crates/nom/src/bytes/ |
H A D | tests.rs | 354 fn take_while() { in take_while() functions 355 use crate::bytes::streaming::take_while; in take_while() 358 take_while(is_alphabetic)(i) in take_while() 458 use crate::bytes::streaming::take_while; in take_while_utf8() 461 take_while(|c| c != '點')(i) in take_while_utf8() 470 take_while(|c| c == '點')(i) in take_while_utf8() 502 use crate::bytes::streaming::{take, take_while}; in take_utf8() 516 take_while(|c| c == '點')(i) in take_utf8() 548 use crate::bytes::streaming::take_while; in recognize_take_while() 553 take_while(is_alphanumeri in recognize_take_while() [all...] |
/third_party/rust/crates/nom/examples/ |
H A D | json_iterator.rs | 5 bytes::complete::{escaped, tag, take_while}, 221 take_while(move |c| chars.contains(c))(i)
|
H A D | json.rs | 5 bytes::complete::{escaped, tag, take_while}, 33 // nom combinators like `take_while` return a function. That function is the 35 take_while(move |c| chars.contains(c))(i)
|
/third_party/rust/crates/minimal-lexical/etc/correctness/rng-tests/ |
H A D | _common.rs | 62 let count = bytes.iter().take_while(|&&si| si == b'0').count(); in ltrim_zero() 69 let count = bytes.iter().rev().take_while(|&&si| si == b'0').count(); in rtrim_zero()
|
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
H A D | string.rs | 26 .take_while(Result::is_ok)
|
/third_party/rust/crates/minimal-lexical/fuzz/fuzz_targets/ |
H A D | parse.rs | 57 let count = bytes.iter().take_while(|&&si| si == b'0').count(); in ltrim_zero() 64 let count = bytes.iter().rev().take_while(|&&si| si == b'0').count(); in rtrim_zero()
|
/third_party/rust/crates/minimal-lexical/examples/ |
H A D | simple.rs | 104 let count = bytes.iter().take_while(|&&si| si == b'0').count(); in ltrim_zero() 111 let count = bytes.iter().rev().take_while(|&&si| si == b'0').count(); in rtrim_zero()
|
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/ |
H A D | _common.rs | 76 let count = bytes.iter().take_while(|&&si| si == b'0').count(); in ltrim_zero() 83 let count = bytes.iter().rev().take_while(|&&si| si == b'0').count(); in rtrim_zero()
|
/third_party/rust/crates/codespan/codespan-reporting/src/term/ |
H A D | renderer.rs | 517 .take_while(|(byte_index, _)| *byte_index < range.start), in render_snippet_source() 852 .take_while(|(metrics, _)| metrics.byte_index < start + 1) in label_multi_top_caret() 886 .take_while(|(metrics, _)| metrics.byte_index < start) in label_multi_bottom_caret()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Testing/Support/ |
H A D | Annotations.cpp | 56 Name = Text.take_while(llvm::isAlnum); in Annotations()
|
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-golang/ |
H A D | main.rs | 69 let count = bytes.iter().take_while(|&&si| si == b'0').count(); in ltrim_zero() 76 let count = bytes.iter().rev().take_while(|&&si| si == b'0').count(); in rtrim_zero()
|
/third_party/rust/crates/minimal-lexical/tests/ |
H A D | integration_tests.rs | 57 let count = bytes.iter().take_while(|&&si| si == b'0').count(); in ltrim_zero() 64 let count = bytes.iter().rev().take_while(|&&si| si == b'0').count(); in rtrim_zero()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | FormatVariadic.cpp | 101 Fmt.drop_front(BO).take_while([](char C) { return C == '{'; }); in splitLiteralAndReplacement()
|
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/ |
H A D | main.rs | 76 let count = bytes.iter().take_while(|&&si| si == b'0').count(); in ltrim_zero() 83 let count = bytes.iter().rev().take_while(|&&si| si == b'0').count(); in rtrim_zero()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | ArrayRef.h | 219 template <class PredicateT> ArrayRef<T> take_while(PredicateT Pred) const { in take_while() function in llvm::ArrayRef 396 MutableArrayRef<T> take_while(PredicateT Pred) const { in take_while() function in llvm::ArrayRef
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | ArrayRef.h | 236 template <class PredicateT> ArrayRef<T> take_while(PredicateT Pred) const { in take_while() function in llvm::ArrayRef 412 MutableArrayRef<T> take_while(PredicateT Pred) const { in take_while() function in llvm::ArrayRef
|
/third_party/rust/crates/regex/regex-syntax/src/hir/ |
H A D | mod.rs | 450 .take_while(|e| { in concat() 460 .take_while(|e| { in concat() 469 .take_while(|e| { in concat() 478 .take_while(|e| { in concat()
|
/third_party/rust/crates/clang-sys/src/ |
H A D | support.rs | 200 .take_while(|c| c.is_digit(10)) in parse_version_number()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | VFABIDemangling.cpp | 361 MangledName.take_while([](char In) { return In != '('; }); in tryDemangleForVFABI()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | function.rs | 383 .take_while(|(cur, ty)| cur.is_some() || ty.is_some()) in args_from_ty_and_cursor()
|