Home
last modified time | relevance | path

Searched refs:is_whitespace (Results 1 - 15 of 15) sorted by relevance

/third_party/rust/crates/syn/src/
H A Dwhitespace.rs51 if is_whitespace(ch) {
62 fn is_whitespace(ch: char) -> bool { in is_whitespace() functions
64 ch.is_whitespace() || ch == '\u{200e}' || ch == '\u{200f}' in is_whitespace()
/third_party/skia/src/ports/
H A DSkFontMgr_config_parser.cpp114 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) { }
278 for (j = i + 1; j < valueLen && !is_whitespace(value[j]); ++j) { }
H A DSkFontMgr_android_parser.cpp136 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/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c66 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/rust/crates/proc-macro2/src/
H A Dparse.rs114 if is_whitespace(ch) { in skip_whitespace()
152 fn is_whitespace(ch: char) -> bool { in is_whitespace() functions
154 ch.is_whitespace() || ch == '\u{200e}' || ch == '\u{200f}' in is_whitespace()
/third_party/rust/crates/regex/regex-syntax/src/hir/
H A Dprint.rs221 if c <= 0x7F as char && !c.is_control() && !c.is_whitespace() { in write_literal_byte()
230 if c <= 0x7F as char && !c.is_control() && !c.is_whitespace() { in write_literal_class_byte()
/third_party/pulseaudio/src/pulsecore/
H A Djson.c81 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/humantime/src/
H A Dduration.rs115 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/skia/modules/skottie/src/text/
H A DSkottieShaper.cpp262 static const auto is_whitespace = [](char c) { in commitFragementedRun() local
297 line_index, is_whitespace(fUTF8[clusters[i]]) in commitFragementedRun()
/third_party/rust/crates/clap/src/error/
H A Dformat.rs463 if s.contains(char::is_whitespace) { in escape()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A Dlexer.cc29 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/regex/regex-syntax/src/ast/
H A Dparse.rs538 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/clap/src/output/
H A Dhelp_template.rs745 if pvs.contains(char::is_whitespace) { in spec_vals()
/third_party/rust/crates/regex/regex-syntax/src/hir/literal/
H A Dmod.rs930 if c.is_whitespace() { in escape_unicode()
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs4347 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 "); in trim_ws()
5137 assert_eq!(" \t a \t ".trim_end_matches(|c: char| c.is_whitespace()), " \t a"); in trim_ws()
5138 assert_eq!(" \t a \t ".trim_start_matches(|c: char| c.is_whitespace()), "a \t "); in trim_ws()
5139 assert_eq!(" \t a \t ".trim_end_matches(|c: char| c.is_whitespace()), " \t a"); in trim_ws()
5140 assert_eq!(" \t a \t ".trim_matches(|c: char| c.is_whitespace()), " in trim_ws()
[all...]

Completed in 43 milliseconds