| /third_party/rust/crates/regex/regex-syntax/src/unicode_tables/ |
| H A D | property_bool.rs | 9 pub const BY_NAME: &'static [(&'static str, &'static [(char, char)])] = &[ 72 pub const ASCII_HEX_DIGIT: &'static [(char, char)] = 75 pub const ALPHABETIC: &'static [(char, char)] = &[ 810 pub const BIDI_CONTROL: &'static [(char, char)] = &[ 817 pub const BIDI_MIRRORED: &'static [(char, char)] [all...] |
| H A D | general_category.rs | 9 pub const BY_NAME: &'static [(&'static str, &'static [(char, char)])] = &[ 49 pub const CASED_LETTER: &'static [(char, char)] = &[ 195 pub const CLOSE_PUNCTUATION: &'static [(char, char)] = &[ 274 pub const CONNECTOR_PUNCTUATION: &'static [(char, char)] = &[ 283 pub const CONTROL: &'static [(char, char)] [all...] |
| H A D | word_break.rs | 9 pub const BY_NAME: &'static [(&'static str, &'static [(char, char)])] = &[ 30 pub const ALETTER: &'static [(char, char)] = &[ 611 pub const CR: &'static [(char, char)] = &[('\r', '\r')]; 613 pub const DOUBLE_QUOTE: &'static [(char, char)] = &[('"', '"')]; 615 pub const EXTEND: &'static [(char, char)] [all...] |
| H A D | perl_decimal.rs | 9 pub const BY_NAME: &'static [(&'static str, &'static [(char, char)])] = 12 pub const DECIMAL_NUMBER: &'static [(char, char)] = &[
|
| H A D | perl_space.rs | 9 pub const BY_NAME: &'static [(&'static str, &'static [(char, char)])] = 12 pub const WHITE_SPACE: &'static [(char, char)] = &[
|
| /third_party/rust/crates/nom/fuzz/fuzz_targets/ |
| H A D | fuzz_arithmetic.rs | 10 character::complete::char, 73 pair(char('*'), factor), in term() 74 pair(char('/'), verify(factor, |i| *i != 0)), in term() 77 |acc, (op, val): (char, i64)| { in term() 100 pair(alt((char('+'), char('-'))), term), in expr() 102 |acc, (op, val): (char, i64)| { in expr()
|
| /third_party/rust/crates/rust-cexpr/src/ |
| H A D | literal.rs | 15 //! `char`, literal bytes with the high byte set are converted into the raw 19 //! validity and mapped to `char`. Character sequences are not supported. Width 39 use std::char; 45 use nom::character::complete::{char, one_of}; 57 /// A character that can be represented as a `char` 58 Char(char), 66 0..=0x7f => CChar::Char(i as u8 as char), in from() 151 fn escape2char(c: char) -> CChar { in escape2char() 169 0..=0x7f => CChar::Char(i as u8 as char), in c_raw_escape() 178 .and_then(char in c_unicode_escape() [all...] |
| /third_party/node/lib/internal/ |
| H A D | mime.js | 28 const char = str[i]; 30 result += char >= 'A' && char <= 'Z' ? 31 StringPrototypeToLowerCase(char) : 32 char; 110 const char = str[i]; 111 result += (char === '"' || char === '\\') ? `\\${char}` : char; [all...] |
| /third_party/rust/crates/regex/regex-syntax/src/ast/ |
| H A D | parse.rs | 94 fn is_hex(c: char) -> bool { in is_hex() 102 fn is_capture_char(c: char, first: bool) -> bool { in is_capture_char() 450 /// This panics if the current position does not point to a valid char. 451 fn char(&self) -> char { in char() functions 457 /// This panics if the given position does not point to a valid char. 458 fn char_at(&self, i: usize) -> char { in char_at() 462 .unwrap_or_else(|| panic!("expected char at offset {}", i)) in char_at() 473 if self.char() == '\n' { in bump() 479 offset += self.char() in bump() [all...] |
| /third_party/rust/crates/regex/regex-syntax/src/ |
| H A D | utf8.rs | 85 use std::char; 307 pub fn new(start: char, end: char) -> Self { in new() 318 pub fn reset(&mut self, start: char, end: char) { in reset() 437 let cs = char::from_u32(self.start).unwrap(); in encode() 438 let ce = char::from_u32(self.end).unwrap(); in encode() 458 use std::char; 466 fn never_accepts_surrogate_codepoints(start: char, end: char) { in never_accepts_surrogate_codepoints() [all...] |
| H A D | lib.rs | 207 pub fn is_meta_character(c: char) -> bool { in is_meta_character() 231 pub fn is_word_character(c: char) -> bool { in is_word_character() 250 c: char, in try_is_word_character()
|
| /third_party/curl/tests/libtest/ |
| H A D | mk-lib1521.pl | 69 char *blaha; 92 static size_t writecb(char *buffer, size_t size, size_t nitems, 102 static size_t readcb(char *buffer, 114 static int err(const char *name, CURLcode val, int lineno) 121 static int geterr(const char *name, CURLcode val, int lineno) 149 int test(char *URL) 154 char errorbuffer[CURL_ERROR_SIZE]; 159 char *stringpointerextra = (char *)"moooo"; 165 char *char [all...] |
| /third_party/rust/crates/nom/src/ |
| H A D | traits.rs | 150 /// Transforms common types to a char for basic token parsing 152 /// makes a char from self 153 fn as_char(self) -> char; in as_char() 176 fn as_char(self) -> char { in as_char() 177 self as char in as_char() 208 fn as_char(self) -> char { in as_char() 209 *self as char in as_char() 239 impl AsChar for char { 241 fn as_char(self) -> char { in as_char() 270 impl<'a> AsChar for &'a char { [all...] |
| /third_party/rust/crates/nom/benchmarks/benches/ |
| H A D | ini.rs | 9 alphanumeric1 as alphanumeric, char, multispace1 as multispace, space1 as space, 21 delimited(char('['), take_while(|c| c != b']'), char(']')), in category() 28 let (i, _) = tuple((opt(space), char('='), opt(space)))(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 | 8 character::complete::{alphanumeric1 as alphanumeric, char, not_line_ending, space0 as space}, 17 fn is_line_ending_or_comment(chr: char) -> bool { in is_line_ending_or_comment() 27 delimited(char('['), take_while(|c| c != ']'), char(']')), in category()
|
| H A D | arithmetic.rs | 10 character::complete::{char, digit1, one_of, space0}, 29 delimited(char('('), expr, char(')')), in factor()
|
| /third_party/python/Lib/ |
| H A D | csv.py | 313 for char in ascii: 314 metaFrequency = charFrequency.get(char, {}) 316 freq = line.count(char) 319 charFrequency[char] = metaFrequency 321 for char in charFrequency.keys(): 322 items = list(charFrequency[char].items()) 327 modes[char] = max(items, key=lambda x: x[1]) 330 items.remove(modes[char]) 331 modes[char] = (modes[char][ [all...] |
| /third_party/rust/crates/nom/tests/ |
| H A D | reborrow_fold.rs | 7 use nom::character::complete::char; 25 char('('), in list() 29 char(')'), in list()
|
| H A D | issues.rs | 9 start: char, 10 end: char, 13 pub fn take_char(input: &[u8]) -> IResult<&[u8], char> { in take_char() 15 Ok((&input[1..], input[0] as char)) in take_char() 164 use nom::{character::complete::char, error::context, multi::many0_count}; in issue_942() 165 many0_count(context("char_a", char('a')))(i) in issue_942() 172 use nom::character::complete::char; in issue_many_m_n_with_zeros() 174 let mut parser = many_m_n::<_, _, (), _>(0, 0, char('a')); in issue_many_m_n_with_zeros() 180 use nom::character::complete::char; in issue_1027_convert_error_panic_nonempty() 186 let result: IResult<_, _, VerboseError<&str>> = pair(char(' in issue_1027_convert_error_panic_nonempty() [all...] |
| /foundation/ability/idl_tool/idl_tool_2/ |
| H A D | build_hdi_files_info.py | 58 def __init__(self, is_eof, char): 60 self.char = char 63 return "{%s, %s}" % (self.is_eof, self.char) 120 if new_char.char.isspace(): 125 if new_char.char.isalpha() or new_char.char == '_': 128 if new_char.char == '/': 131 self.cur_token.value = new_char.char 139 token_value.append(self.get_char().char) [all...] |
| /third_party/node/deps/npm/node_modules/@npmcli/promise-spawn/lib/ |
| H A D | index.js | 89 const char = cmd.charAt(i) 90 if (char === ' ' && !insideQuotes) { 94 initialCmd += char 95 if (char === '"' || char === "'") {
|
| /third_party/python/Tools/demo/ |
| H A D | life.py | 40 def __init__(self, scr, char=ord('*')): 44 char -- character used to render live cells (default: '*') 50 self.char = char 80 self.scr.addch(y + 1, x + 1, self.char) 96 self.scr.addch(j + 1, i + 1, self.char) 121 self.scr.addch(j + 1, i + 1, self.char) 188 board = LifeBoard(subwin, char=ord('*'))
|
| /third_party/rust/crates/clap/src/output/textwrap/ |
| H A D | core.rs | 10 /// combining acute accent: “◌́”. Without the `unicode` Cargo feature, every `char` has a width of 59 let control_terminate: char = 'm'; 77 fn ch_width(ch: char) -> usize { in ch_width() 82 fn ch_width(_: char) -> usize { in ch_width() 105 assert_eq!(ch.width().unwrap(), 1, "char: {}", desc); in emojis_have_correct_width() 108 assert_eq!(ch_width(ch), 1, "char: {desc}"); in emojis_have_correct_width() 123 assert!(ch.width().unwrap() <= 2, "char: {}", desc); in emojis_have_correct_width() 126 assert_eq!(ch_width(ch), 1, "char: {desc}"); in emojis_have_correct_width()
|
| /third_party/skia/third_party/externals/angle2/scripts/ |
| H A D | update_chrome_angle.py | 63 return os.path.isdir(chrome_file) and all([char.isdigit() or char == '.' for char in str])
|
| /third_party/python/Lib/test/ |
| H A D | test_html.py | 44 for num, char in zip([65, 97, 34, 38, 0x2603, 0x101234], 47 check(s % num, char) 49 check((s+end) % num, char+end)
|