/external/rust/crates/combine/tests/ |
D | async.rs | 648 let is_whitespace = |b: u8| b == b' ' || b == b'\r' || b == b'\n'; in decode_std() localVariable 654 let word = many1(satisfy(|b| !is_whitespace(b))); in decode_std() 655 sep_end_by(word, skip_many1(satisfy(is_whitespace))) in decode_std() 683 let is_whitespace = |b: u8| b == b' ' || b == b'\r' || b == b'\n'; in decode_tokio_02() localVariable 689 let word = many1(satisfy(|b| !is_whitespace(b))); in decode_tokio_02() 690 sep_end_by(word, skip_many1(satisfy(is_whitespace))) in decode_tokio_02() 719 let is_whitespace = |b: u8| b == b' ' || b == b'\r' || b == b'\n'; in decode_tokio_03() localVariable 725 let word = many1(satisfy(|b| !is_whitespace(b))); in decode_tokio_03() 726 sep_end_by(word, skip_many1(satisfy(is_whitespace))) in decode_tokio_03() 755 let is_whitespace = |b: u8| b == b' ' || b == b'\r' || b == b'\n'; in decode_tokio() localVariable [all …]
|
/external/libtextclassifier/native/utils/ |
D | tokenizer-utils.cc | 49 bool is_whitespace = IsWhitespace(codepoint); in TokenizeOnWhiteSpacePunctuationAndChineseLetter() local 51 is_whitespace || IsPunctuation(codepoint) || IsChineseLetter(codepoint); in TokenizeOnWhiteSpacePunctuationAndChineseLetter() 52 bool to_keep = !is_whitespace; in TokenizeOnWhiteSpacePunctuationAndChineseLetter()
|
D | tokenizer.cc | 259 bool is_whitespace = true; in ICUTokenize() local 262 is_whitespace = false; in ICUTokenize() 270 if (!is_whitespace || icu_preserve_whitespace_tokens_) { in ICUTokenize() 272 /*is_padding=*/false, is_whitespace)); in ICUTokenize() 297 UnicodeText::const_iterator it, bool is_whitespace = false) { in NumberTokenize() argument 301 /*is_padding=*/false, is_whitespace); in NumberTokenize()
|
/external/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()
|
D | lit.rs | 1121 if ch.is_whitespace() { in parse_lit_str_cooked() 1213 if ch.is_whitespace() { in parse_lit_byte_str_cooked()
|
/external/crosvm/swap/src/ |
D | processes.rs | 117 let is_whitespace = *c == ' '; in parse_process_state() localVariable 118 if is_whitespace { in parse_process_state() 121 is_whitespace in parse_process_state()
|
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/ |
D | optimized_encoder.cc | 60 inline char is_whitespace(char c) { in is_whitespace() function 66 if (len == 0 || !is_whitespace(*data)) { in remove_extra_whitespaces() 70 for (; num_consumed < len && is_whitespace(data[num_consumed]); in remove_extra_whitespaces() 125 if (!result.empty() && is_whitespace(result.back())) { in NormalizeString() 132 if (len > 0 && is_whitespace(*data)) { in NormalizeString()
|
/external/cpuinfo/src/linux/ |
D | cpulist.c | 30 inline static bool is_whitespace(char c) { in is_whitespace() function 59 if (!is_whitespace(*entry_start)) { in parse_entry() 65 if (!is_whitespace(entry_end[-1])) { in parse_entry()
|
D | processors.c | 58 inline static bool is_whitespace(char c) { in is_whitespace() function 98 if (!is_whitespace(*char_ptr)) { in uint32_parser()
|
/external/libtextclassifier/native/annotator/number/ |
D | number.cc | 81 if (start_index < 0 || tokens[start_index].is_whitespace) { in TokensAreValidStart() 124 if (ending_index >= tokens.size() || tokens[ending_index].is_whitespace) { in TokensAreValidEnding() 138 tokens[ending_index + 1].is_whitespace) { in TokensAreValidEnding() 192 if (tokens[suffix_token_start_index].is_whitespace) { in FindPercentSuffixEndCodepoint()
|
/external/rust/crates/textwrap/src/ |
D | indentation.rs | 103 if !ch.is_whitespace() { in dedent() 137 if line.starts_with(prefix) && line.chars().any(|c| !c.is_whitespace()) { in dedent()
|
/external/skia/src/ports/ |
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()
|
/external/libtextclassifier/native/annotator/ |
D | types.h | 211 bool is_whitespace; member 226 CodepointIndex arg_end, bool is_padding, bool is_whitespace) in Token() 231 is_whitespace(is_whitespace) {} in Token()
|
/external/rust/crates/proc-macro2/src/ |
D | parse.rs | 103 if is_whitespace(ch) { in skip_whitespace() 141 fn is_whitespace(ch: char) -> bool { in is_whitespace() function 143 ch.is_whitespace() || ch == '\u{200e}' || ch == '\u{200f}' in is_whitespace() 388 Some((_, ch)) if ch.is_whitespace() => { in cooked_string() 443 Some((_, ch)) if ch.is_whitespace() => last = ch, in cooked_byte_string()
|
/external/rust/crates/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() {
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 66 static int is_whitespace(const char *str) in is_whitespace() function 570 if (line[0] == '#' || is_whitespace(line)) { in load_program() 591 if (line[0] == '#' || is_whitespace(line)) { in load_program()
|
/external/rust/crates/clap/src/builder/ |
D | possible_value.rs | 187 Some(if self.name.contains(char::is_whitespace) { in get_visible_quoted_name()
|
/external/rust/crates/xml-rs/src/writer/ |
D | emitter.rs | 426 if autopad_comments && !content.starts_with(char::is_whitespace) { in emit_comment() 432 if autopad_comments && !content.ends_with(char::is_whitespace) { in emit_comment()
|
/external/rust/crates/chrono/src/format/ |
D | scan.rs | 203 Ok(s.trim_left_matches(|c: char| c == ':' || c.is_whitespace())) in colon_or_space() 349 Ok((s.trim_left_matches(|c: char| !c.is_whitespace()), ())) in timezone_name_skip()
|
D | strftime.rs | 460 Some(c) if c.is_whitespace() => { in next() 464 .find(|c: char| !c.is_whitespace()) in next() 476 .find(|c: char| c.is_whitespace() || c == '%') in next()
|
/external/rust/crates/clap/3.2.23/src/builder/ |
D | possible_value.rs | 206 Some(if self.name.contains(char::is_whitespace) { in get_visible_quoted_name()
|
/external/skia/modules/skottie/src/text/ |
D | SkottieShaper.cpp | 30 static bool is_whitespace(char c) { in is_whitespace() function 122 if (is_whitespace(fUTF8[fLineClusters[SkToInt(fLineGlyphCount - i - 1)]])) { in commitLine() 353 line_index, is_whitespace(fUTF8[clusters[i]]) in commitFragementedRun()
|
/external/rust/crates/combine/src/parser/ |
D | char.rs | 68 let f: fn(char) -> bool = char::is_whitespace; in space()
|
/external/rust/crates/clap/src/error/ |
D | format.rs | 463 if s.contains(char::is_whitespace) { in escape()
|
/external/rust/crates/protobuf/2.27.1/src/text_format/lexer/ |
D | lexer_impl.rs | 150 self.take_while(|c| c.is_whitespace()); in skip_whitespaces()
|