/third_party/rust/crates/syn/src/ |
D | whitespace.rs | 51 if is_whitespace(ch) { in skip() 62 fn is_whitespace(ch: char) -> bool { in is_whitespace() function 64 ch.is_whitespace() || ch == '\u{200e}' || ch == '\u{200f}' in is_whitespace()
|
/third_party/skia/src/ports/ |
D | SkFontMgr_config_parser.cpp | 114 static bool is_whitespace(char c) in is_whitespace() function 124 while (is_whitespace(*start)) { ++start; } in trim_string() 127 while (is_whitespace(*end)) { in trim_string() 273 for (; i < valueLen && is_whitespace(value[i]); ++i) { } in __anonae5419110702() 278 for (j = i + 1; j < valueLen && !is_whitespace(value[j]); ++j) { } in __anonae5419110702()
|
D | SkFontMgr_android_parser.cpp | 136 static bool is_whitespace(char c) { in is_whitespace() function 144 while (is_whitespace(*start)) { ++start; } in trim_string() 147 while (is_whitespace(*end)) { --end; } in trim_string() 160 for (; i < valueLen && is_whitespace(value[i]); ++i) { } in parse_space_separated_languages() 163 for (j = i + 1; j < valueLen && !is_whitespace(value[j]); ++j) { } in parse_space_separated_languages()
|
/third_party/rust/crates/humantime/src/ |
D | duration.rs | 115 c if c.is_whitespace() => continue, in parse_first_char() 167 c if c.is_whitespace() => {} in parse() 186 c if c.is_whitespace() => break, in parse()
|
/third_party/rust/crates/regex/regex-syntax/src/hir/ |
D | print.rs | 221 if c <= 0x7F as char && !c.is_control() && !c.is_whitespace() { 230 if c <= 0x7F as char && !c.is_control() && !c.is_whitespace() {
|
D | mod.rs | 980 let start = if !self.start.is_whitespace() && !self.start.is_control() in fmt() 986 let end = if !self.end.is_whitespace() && !self.end.is_control() { in fmt()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 66 static int is_whitespace(const char *str) in is_whitespace() function 571 if (line[0] == '#' || is_whitespace(line)) { in load_program() 592 if (line[0] == '#' || is_whitespace(line)) { in load_program()
|
/third_party/pulseaudio/src/pulsecore/ |
D | json.c | 81 static bool is_whitespace(char c) { in is_whitespace() function 370 while (is_whitespace(*str)) in parse_array() 420 if (is_whitespace(*str)) { in parse_value() 452 if (is_whitespace(*str)) { in parse_value()
|
/third_party/rust/crates/clap/src/builder/ |
D | possible_value.rs | 187 Some(if self.name.contains(char::is_whitespace) { in get_visible_quoted_name()
|
/third_party/skia/modules/skottie/src/text/ |
D | SkottieShaper.cpp | 262 static const auto is_whitespace = [](char c) { in commitFragementedRun() local 297 line_index, is_whitespace(fUTF8[clusters[i]]) in commitFragementedRun()
|
/third_party/rust/crates/proc-macro2/src/ |
D | parse.rs | 114 if is_whitespace(ch) { in skip_whitespace() 152 fn is_whitespace(ch: char) -> bool { in is_whitespace() function 154 ch.is_whitespace() || ch == '\u{200e}' || ch == '\u{200f}' in is_whitespace()
|
/third_party/rust/crates/strsim-rs/src/ |
D | lib.rs | 437 let a: String = a.chars().filter(|&x| !char::is_whitespace(x)).collect(); in sorensen_dice() 438 let b: String = b.chars().filter(|&x| !char::is_whitespace(x)).collect(); in sorensen_dice()
|
/third_party/rust/crates/regex/regex-debug/src/ |
D | main.rs | 345 if c.is_whitespace() { in escape_unicode()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | lexer.cc | 29 bool is_whitespace(char c) { in is_whitespace() function 144 while (!is_eof() && is_whitespace(content_->data[pos_])) { in skip_whitespace_and_comments()
|
/third_party/rust/crates/clap/src/error/ |
D | format.rs | 463 if s.contains(char::is_whitespace) { in escape()
|
/third_party/rust/crates/clap/src/output/ |
D | help_template.rs | 745 if pvs.contains(char::is_whitespace) { in spec_vals()
|
/third_party/rust/crates/regex/regex-syntax/src/ast/ |
D | parse.rs | 538 if self.char().is_whitespace() { in bump_space() 585 if c.is_whitespace() { in peek_space() 1709 while !self.is_eof() && self.char().is_whitespace() { in parse_decimal() 1718 while !self.is_eof() && self.char().is_whitespace() { in parse_decimal()
|
/third_party/rust/crates/regex/regex-syntax/src/hir/literal/ |
D | mod.rs | 930 if c.is_whitespace() { in escape_unicode()
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 4347 assert!("".chars().all(|c| c.is_whitespace())); in test_is_whitespace() 4348 assert!(" ".chars().all(|c| c.is_whitespace())); in test_is_whitespace() 4349 assert!("\u{2009}".chars().all(|c| c.is_whitespace())); // Thin space in test_is_whitespace() 4350 assert!(" \n\t ".chars().all(|c| c.is_whitespace())); in test_is_whitespace() 4351 assert!(!" _ ".chars().all(|c| c.is_whitespace())); in test_is_whitespace() 5136 assert_eq!(" \t a \t ".trim_start_matches(|c: char| c.is_whitespace()), "a \t "); 5137 assert_eq!(" \t a \t ".trim_end_matches(|c: char| c.is_whitespace()), " \t a"); 5138 assert_eq!(" \t a \t ".trim_start_matches(|c: char| c.is_whitespace()), "a \t "); 5139 assert_eq!(" \t a \t ".trim_end_matches(|c: char| c.is_whitespace()), " \t a"); 5140 assert_eq!(" \t a \t ".trim_matches(|c: char| c.is_whitespace()), "a"); [all …]
|