| /third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/ |
| H A D | long-fractions.rs | 14 use std::char; 18 let digit = char::from_digit(n, 10).unwrap(); in main()
|
| H A D | many-digits.rs | 18 use std::char; 33 let digit = char::from_digit(range.sample(rnd), 10).unwrap(); in gen_digits()
|
| /third_party/python/Lib/test/ |
| H A D | test_ucn.py | 70 for char in "".join(map(chr, range(ord("a"), ord("z")))): 71 name = "LATIN SMALL LETTER %s" % char.upper() 107 char = chr(code) 108 name = unicodedata.name(char, None) 110 self.assertEqual(unicodedata.lookup(name), char)
|
| /third_party/rust/crates/nom/tests/ |
| H A D | ini.rs | 4 alphanumeric1 as alphanumeric, char, multispace0 as multispace, space0 as space, 17 delimited(char('['), take_while(|c| c != b']'), char(']')), in category() 24 let (i, _) = tuple((opt(space), char('='), opt(space)))(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 | 3 character::complete::{alphanumeric1 as alphanumeric, char, space0 as space}, 12 fn is_line_ending_or_comment(chr: char) -> bool { in is_line_ending_or_comment() 26 delimited(char('['), take_while(|c| c != ']'), char(']')), in category()
|
| /third_party/pcre2/pcre2/maint/ |
| H A D | GenerateUcd.py | 325 char = int(m.group(1), 16) 327 last = char 330 for i in range(char, last + 1): 344 ("signed char", 1), ("int16_t", 2), ("int32_t", 4)] 536 char = int(m.group(1), 16) variable 538 last = char 541 for i in range(char, last + 1): 588 char = int(m.group(1), 16) variable 590 last = char 594 for i in range(char, las [all...] |
| /third_party/vk-gl-cts/external/vulkan-docs/src/config/chunkindex/ |
| H A D | lunr.js | 432 var char = str.charAt(sliceEnd), 435 if ((char.match(lunr.tokenizer.separator) || sliceEnd == len)) { 1451 var char = frame.str.charAt(0), 1454 if (char in frame.node.edges) { 1455 noEditNode = frame.node.edges[char] 1458 frame.node.edges[char] = noEditNode 1586 var char = str[i], 1589 if (char == "*") { 1590 node.edges[char] = node 1597 node.edges[char] [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | propertyNamesOfReservedWords.js | 10 char; 79 char; 149 char; 218 char, 303 E[E["char"] = 7] = "char";
|
| /third_party/rust/crates/unicode-ident/tests/roaring/ |
| H A D | mod.rs | 5 for ch in '\0'..=char::MAX { in xid_start_bitmap() 15 for ch in '\0'..=char::MAX { in xid_continue_bitmap()
|
| /third_party/rust/crates/unicode-ident/diagram/src/ |
| H A D | main.rs | 9 let diagrams: [(&str, fn(char) -> bool); 2] = [ in main() 16 *pixel = if char::from_u32(row * width + col).map_or(false, f) { in main()
|
| /third_party/rust/crates/unicode-ident/src/ |
| H A D | lib.rs | 10 //! `char` values are valid in programming language identifiers. 36 //! single `char` has the XID\_Start or XID\_Continue Unicode property, 66 //! static XID_Continue_table: [(char, char); 763] = [ 79 //! consumes 8 bytes, because it consists of a pair of 32-bit `char` values. 97 //! Rust's `char` type is a 21-bit integer padded to 32 bits, which means every 101 //! possible to fit in 5 bytes or even 4 bytes by storing a low char and an 102 //! extent, instead of low char and high char. I don't expect that performance 148 //! caller is required to tokenize their UTF-8 encoded input data into `char`, [all...] |
| /third_party/node/tools/gyp/tools/ |
| H A D | pretty_gyp.py | 97 for char in stripline: 99 if char == brace: 102 if char == brace:
|
| /third_party/rust/crates/clap/src/builder/ |
| H A D | resettable.rs | 69 impl IntoResettable<char> for Option<char> { 70 fn into_resettable(self) -> Resettable<char> { in into_resettable() 147 impl IntoResettable<char> for char { 148 fn into_resettable(self) -> Resettable<char> { in into_resettable()
|
| H A D | arg.rs | 69 pub(crate) short: Option<char>, 72 pub(crate) short_aliases: Vec<(char, bool)>, // (name, visible) 76 pub(crate) val_delim: Option<char>, 165 pub fn short(mut self, s: impl IntoResettable<char>) -> Self { in short() 260 pub fn short_alias(mut self, name: impl IntoResettable<char>) -> Self { in short_alias() 320 pub fn short_aliases(mut self, names: impl IntoIterator<Item = char>) -> Self { in short_aliases() 376 pub fn visible_short_alias(mut self, name: impl IntoResettable<char>) -> Self { in visible_short_alias() 431 pub fn visible_short_aliases(mut self, names: impl IntoIterator<Item = char>) -> Self { in visible_short_aliases() 1501 pub fn value_delimiter(mut self, d: impl IntoResettable<char>) -> Self { in value_delimiter() 3735 pub fn get_short(&self) -> Option<char> { in get_short() [all...] |
| /third_party/rust/crates/clap/src/ |
| H A D | mkeymap.rs | 26 Short(char), 73 impl PartialEq<char> for KeyType { 74 fn eq(&self, rhs: &char) -> bool { in eq() 84 /// u64(for positional argument), char(for short flag), &str and OsString 99 /// with u64(for positional argument), char(for short flag), &str and
|
| /foundation/arkui/ace_engine/frameworks/core/components/theme/tools/ |
| H A D | build_theme_code.py | 148 char = name.split('_') 150 for i in range(0, len(char)): 152 ret = ''.join((ret, char[i])) 154 ret = ''.join((ret, char[i].capitalize()))
|
| /third_party/rust/crates/regex/regex-syntax/src/hir/ |
| H A D | print.rs | 212 fn write_literal_char(&mut self, c: char) -> fmt::Result { in write_literal_char() 220 let c = b as char; in write_literal_byte() 221 if c <= 0x7F as char && !c.is_control() && !c.is_whitespace() { in write_literal_byte() 229 let c = b as char; in write_literal_class_byte() 230 if c <= 0x7F as char && !c.is_control() && !c.is_whitespace() { in write_literal_class_byte()
|
| /third_party/rust/crates/cxx/src/ |
| H A D | lossy.rs | 1 use core::char; 13 f.write_char(char::REPLACEMENT_CHARACTER)?; in display()
|
| /third_party/rust/crates/bindgen/bindgen-tests/ |
| H A D | build.rs | 1 use std::char; 33 .replace(|c| !char::is_alphanumeric(c), "_") in main()
|
| /third_party/curl/src/ |
| H A D | mkhelp.pl | 119 static const unsigned char hugehelpgz[] = { 154 unsigned char *buf; 167 z.next_in = (unsigned char *)hugehelpgz + headerlen;
|
| /third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
| H A D | convert.rs | 1 use std::char; 2 use std::char::DecodeUtf16; 43 iter: char::decode_utf16(string),
|
| /third_party/rust/crates/nom/src/character/ |
| H A D | streaming.rs | 23 /// # use nom::character::streaming::char; 24 /// fn parser(i: &str) -> IResult<&str, char> { 25 /// char('a')(i) 31 pub fn char<I, Error: ParseError<I>>(c: char) -> impl Fn(I) -> IResult<I, char, Error> in char() functions 54 /// fn parser(i: &str) -> IResult<&str, char> { 61 pub fn satisfy<F, I, Error: ParseError<I>>(cond: F) -> impl Fn(I) -> IResult<I, char, Error> in satisfy() 65 F: Fn(char) -> bool, in satisfy() 90 pub fn one_of<I, T, Error: ParseError<I>>(list: T) -> impl Fn(I) -> IResult<I, char, Erro [all...] |
| H A D | complete.rs | 23 /// # use nom::character::complete::char; 24 /// fn parser(i: &str) -> IResult<&str, char> { 25 /// char('a')(i) 32 pub fn char<I, Error: ParseError<I>>(c: char) -> impl Fn(I) -> IResult<I, char, Error> in char() functions 54 /// fn parser(i: &str) -> IResult<&str, char> { 61 pub fn satisfy<F, I, Error: ParseError<I>>(cond: F) -> impl Fn(I) -> IResult<I, char, Error> in satisfy() 65 F: Fn(char) -> bool, in satisfy() 89 pub fn one_of<I, T, Error: ParseError<I>>(list: T) -> impl Fn(I) -> IResult<I, char, Erro [all...] |
| /third_party/node/deps/openssl/openssl/providers/common/der/ |
| H A D | oids_to_c.pm | 41 extern const unsigned char ossl_der_oid_${C_name}[DER_OID_SZ_${C_name}]; 59 const unsigned char ossl_der_oid_${C_name}[DER_OID_SZ_${C_name}] = {
|
| /third_party/openssl/providers/common/der/ |
| H A D | oids_to_c.pm | 41 extern const unsigned char ossl_der_oid_${C_name}[DER_OID_SZ_${C_name}]; 59 const unsigned char ossl_der_oid_${C_name}[DER_OID_SZ_${C_name}] = {
|