Home
last modified time | relevance | path

Searched refs:char (Results 176 - 200 of 249) sorted by relevance

12345678910

/third_party/rust/crates/syn/src/
H A Dlit.rs332 pub fn new(value: char, span: Span) -> Self { in new()
343 pub fn value(&self) -> char { in value()
1023 use std::char;
1154 fn next_chr(s: &str) -> char { in next_chr()
1186 char::from_u32(u32::from(byte)).unwrap() in parse_lit_str_cooked()
1365 pub(crate) fn parse_lit_char(mut s: &str) -> (char, Box<str>) {
1378 char::from_u32(u32::from(byte)).unwrap()
1429 fn backslash_u(mut s: &str) -> (char, &str) { in backslash_u()
1462 if let Some(ch) = char::from_u32(ch) { in backslash_u()
/third_party/python/Lib/test/
H A Dtest_buffer.py156 def randrange_fmt(mode, char, obj):
159 x = randrange(*fmtdict[mode][char])
160 if char == 'c':
165 if char == '?':
167 if char == 'f' or char == 'd':
168 x = struct.pack(char, x)
169 x = struct.unpack(char, x)[0]
195 char = choice(tuple(fmtdict[mode]))
197 xfmt += (char * in
[all...]
H A Dtest_bigmem.py716 char = "\uDCBA"
717 s = char * size
721 self.assertEqual(len(r), 2 + (len(f(char)) - 2) * size)
729 char = "\U0001DCBA"
730 s = char * size
734 self.assertEqual(len(r), 2 + (len(f(char)) - 2) * size)
H A Dtest_unicode.py259 # test utf-8 non-ascii char
303 # test utf-8 non-ascii char
722 char = chr(codepoint)
723 bidirectional = unicodedata.bidirectional(char)
724 category = unicodedata.category(char)
725 self.assertEqual(char.isspace(),
1568 self.assertRaisesRegex(TypeError, '%c requires int or char', operator.mod, '%c', pi)
2442 for char in ('a', '\xe9', '\u20ac', '\U0010ffff'):
2443 code = ord(char)
2460 alloc = lambda: char * maxle
[all...]
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dtexinfo.tex1513 \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
1599 \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
1687 \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
2297 % (char 0x27), but instead the undirected quote from cmtt (char 0x0d).
2306 \else \char'15 \fi
2307 \else \char'15 \fi
2310 % and a similar option for the left quote char vs. a grave accent.
2320 \else \char'22 \fi
2321 \else \char'2
[all...]
/third_party/rust/crates/clap/tests/
H A Dmacros.rs333 let actual = clap::arg_impl! { @char o }; in char_ident()
340 let actual = clap::arg_impl! { @char 'o' }; in char_literal()
/third_party/python/Lib/idlelib/
H A Dsidebar.py501 char_width = max(tk_font.measure(char) for char in ['>', '.'])
/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_misc.py241 e.char = ''
263 e.char = 'A'
275 " keysym=Key-A keycode=65 char='A'"
/third_party/node/tools/gyp/pylib/gyp/
H A Dinput.py677 for index, char in enumerate(input_str):
678 if char in LBRACKETS:
679 stack.append(char)
682 elif char in BRACKETS:
685 if stack.pop() != BRACKETS[char]:
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A Dinput.py677 for index, char in enumerate(input_str):
678 if char in LBRACKETS:
679 stack.append(char)
682 elif char in BRACKETS:
685 if stack.pop() != BRACKETS[char]:
/third_party/python/Lib/collections/
H A D__init__.py1385 def __contains__(self, char):
1386 if isinstance(char, UserString):
1387 char = char.data
1388 return char in self.data
/third_party/rust/crates/serde/serde/src/private/
H A Dde.rs51 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string in missing_field()
239 Char(char),
410 fn visit_char<F>(self, value: char) -> Result<Self::Value, F> in visit_char()
664 fn visit_char<F>(self, value: char) -> Result<Self::Value, F> in visit_char()
2240 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
2340 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
2508 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
2533 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs163 fn pred(c: char) -> bool { in split_extern_fn()
175 b.iter(|| assert_eq!(s.split(|c: char| c == ' ').count(), len)); in split_closure()
183 let c: &[char] = &[' ']; in split_slice()
350 make_test!(trim_ascii_char, s, { s.trim_matches(|c: char| c.is_ascii()) });
351 make_test!(trim_start_ascii_char, s, { s.trim_start_matches(|c: char| c.is_ascii()) });
352 make_test!(trim_end_ascii_char, s, { s.trim_end_matches(|c: char| c.is_ascii()) });
3509 assert_eq!("hello".find(|c: char| c == 'o'), Some(4)); in test_find()
3511 assert!("hello".find(|c: char| c == 'x').is_none()); in test_find()
3513 assert_eq!("ประเทศไทย中华Việt Nam".find(|c: char| c == '华'), Some(30)); in test_find()
3519 assert_eq!("hello".rfind(|c: char| in test_rfind()
[all...]
/third_party/libunwind/libunwind/doc/
H A Dunw_get_proc_name.tex15 \Type{int} \Func{unw\_get\_proc\_name}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{char~*}\Var{bufp}, \Type{size\_t} \Var{len}, \Type{unw\_word\_t~*}\Var{offp});\\
/third_party/qrcodegen/rust-no-heap/examples/
H A Dqrcodegen-demo.rs261 let c: char = if qr.get_module(x, y) { '█' } else { ' ' }; in print_qr()
/third_party/rust/crates/serde/serde/src/ser/
H A Dmod.rs45 //! - char
273 /// - char
671 /// impl Serialize for char {
680 fn serialize_char(self, v: char) -> Result<Self::Ok, Self::Error>; in serialize_char()
727 /// # bool i8 i16 i32 i64 u8 u16 u32 u64 f32 f64 char str none some
/third_party/rust/crates/rust-openssl/openssl-sys/build/
H A Dmain.rs332 let version = version.trim_end_matches(|c: char| !c.is_ascii_hexdigit()); in parse_version()
/third_party/rust/crates/syn/tests/
H A Dtest_lit.rs122 fn test_char(s: &str, value: char) { in chars()
/third_party/rust/crates/regex/regex-syntax/src/hir/
H A Dtranslate.rs645 /// `char` (Unicode scalar value).
659 return Ok(hir::Literal::Unicode(byte as char)); in literal_to_char()
667 fn hir_from_char(&self, span: Span, c: char) -> Result<Hir> { in hir_from_char()
677 c: char, in hir_from_char_case_insensitive()
988 if ch <= 0x7F as char { in class_literal_byte()
1095 fn ascii_class(kind: &ast::ClassAsciiKind) -> &'static [(char, char)] { in ascii_class()
1284 fn hir_uclass(ranges: &[(char, char)]) -> Hir { in hir_uclass()
1300 fn hir_bclass_from_char(ranges: &[(char, cha
[all...]
H A Dmod.rs4 use std::char;
749 Unicode(char),
974 start: char, in next()
975 end: char, in next()
999 type Bound = char;
1002 fn lower(&self) -> char { in lower()
1006 fn upper(&self) -> char { in upper()
1010 fn set_lower(&mut self, bound: char) { in set_lower()
1014 fn set_upper(&mut self, bound: char) { in set_upper()
1032 for cp in (start..end).filter_map(char in case_fold_simple()
[all...]
/third_party/littlefs/scripts/
H A Dtracebd.py265 def draw(self, max_wear, char=None, *,
303 # compute char/color
328 # override char?
329 if char:
330 c = char
/third_party/node/test/common/
H A Dwpt.js55 function codeUnitStr(char) {
56 return 'U+' + char.charCodeAt(0).toString(16);
/third_party/node/deps/openssl/openssl/util/
H A Dcheck-format.pl552 : "non-7bit char") . " at column $col") ;
649 # tail not essentially blank, first char already checked
736 sub split_line_head { # split line contents into header containing leading spaces and the first non-space char, and the rest of the line
750 my $head = shift; # leading spaces and the first non-space char
831 && !($1 =~ m/^(sizeof|if|else|while|do|for|switch|case|default|break|continue|goto|return|void|char|signed|unsigned|int|short|long|float|double|typedef|enum|struct|union|auto|extern|static|const|volatile|register)$/) # not keyword
949 if (m/^[\s(]*(char|signed|unsigned|int|short|long|float|double|enum|struct|union|auto|extern|static|const|volatile|register)(\W|$)/ # clear start of local decl
/third_party/openssl/util/
H A Dcheck-format.pl552 : "non-7bit char") . " at column $col") ;
649 # tail not essentially blank, first char already checked
736 sub split_line_head { # split line contents into header containing leading spaces and the first non-space char, and the rest of the line
750 my $head = shift; # leading spaces and the first non-space char
831 && !($1 =~ m/^(sizeof|if|else|while|do|for|switch|case|default|break|continue|goto|return|void|char|signed|unsigned|int|short|long|float|double|typedef|enum|struct|union|auto|extern|static|const|volatile|register)$/) # not keyword
949 if (m/^[\s(]*(char|signed|unsigned|int|short|long|float|double|enum|struct|union|auto|extern|static|const|volatile|register)(\W|$)/ # clear start of local decl
/third_party/python/Lib/urllib/
H A Dparse.py935 return ''.join([quoter(char) for char in bs])

Completed in 65 milliseconds

12345678910