Home
last modified time | relevance | path

Searched refs:one_of (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/tools/buildgen/plugins/
Dcheck_attrs.py21 def one_of(values): function
43 'boringssl': one_of((True,)),
48 'deps_linkage': one_of(('static',)),
50 'dll': one_of((True, 'only')),
54 'language': one_of(('c', 'c++', 'csharp')),
58 'secure': one_of(('check', True, False)),
61 'zlib': one_of((True,)),
66 'boringssl': one_of((True,)),
78 'flaky': one_of((True, False)),
79 'gtest': one_of((True, False)),
[all …]
/external/rust/crates/nom/src/character/
Dmacros.rs17 macro_rules! one_of ( macro
18 ($i:expr, $inp: expr) => ( $crate::character::streaming::one_of($inp)($i) );
64 fn one_of() { in one_of() function
65 named!(f<char>, one_of!("ab")); in one_of()
74 one_of!("+\u{FF0B}")); in one_of()
Dcomplete.rs56 pub fn one_of<I, T, Error: ParseError<I>>(list: T) -> impl Fn(I) -> IResult<I, char, Error> in one_of() function
Dstreaming.rs60 pub fn one_of<I, T, Error: ParseError<I>>(list: T) -> impl Fn(I) -> IResult<I, char, Error> in one_of() function
/external/rust/crates/nom/tests/
Descaped.rs4 use nom::character::complete::one_of;
7 escaped(digit1, '\\', one_of("\"n\\"))(s) in esc()
Djson.rs29 escaped!(take_while1!(is_alphanumeric), '\\', one_of!("\"n\\")),
/external/libchrome/base/strings/
Dstring_split.cc57 size_t FindFirstOf(StringPiece piece, StringPiece one_of, size_t pos) { in FindFirstOf() argument
58 return piece.find_first_of(one_of, pos); in FindFirstOf()
60 size_t FindFirstOf(StringPiece16 piece, StringPiece16 one_of, size_t pos) { in FindFirstOf() argument
61 return piece.find_first_of(one_of, pos); in FindFirstOf()
/external/iproute2/ip/
Dipmacsec.c103 static int one_of(const char *msg, const char *realval, const char **list, in one_of() function
1182 ret = one_of("encrypt", *argv, values_on_off, in macsec_parse_opt()
1191 ret = one_of("send_sci", *argv, values_on_off, in macsec_parse_opt()
1202 ret = one_of("end_station", *argv, values_on_off, in macsec_parse_opt()
1212 ret = one_of("scb", *argv, values_on_off, in macsec_parse_opt()
1222 ret = one_of("protect", *argv, values_on_off, in macsec_parse_opt()
1231 ret = one_of("replay", *argv, values_on_off, in macsec_parse_opt()
1243 ret = one_of("validate", *argv, in macsec_parse_opt()
/external/rust/crates/cexpr/src/
Dliteral.rs45 use nom::character::complete::{char, one_of};
186 map(one_of(r#"'"?\"#), CChar::Char), in escaped_char()
187 map(one_of("abfnrtv"), escape2char), in escaped_char()
/external/rust/crates/nom/src/bytes/
Dmacros.rs462 macro_rules! one_of ( macro
524 named!(esc, escaped!(call!(alpha), '\\', one_of!("\"n\\"))); in escaping()
540 named!(esc2, escaped!(call!(digit), '\\', one_of!("\"n\\"))); in escaping()
547 named!(esc<&str, &str>, escaped!(call!(alpha), '\\', one_of!("\"n\\")));
563 named!(esc2<&str, &str>, escaped!(call!(digit), '\\', one_of!("\"n\\")));
566 named!(esc3<&str, &str>, escaped!(call!(alpha), '\u{241b}', one_of!("\"n")));
/external/oss-fuzz/projects/ujson/
Dhypothesis_structured_fuzzer.py40 JSON_ATOMS = st.one_of(
/external/rust/crates/nom/
DCHANGELOG.md375 - `one_of`, `none_of` and `char` will now index correctly UTF-8 characters