Home
last modified time | relevance | path

Searched refs:whitespace (Results 1 – 25 of 731) sorted by relevance

12345678910>>...30

/third_party/gn/src/base/strings/
Dstring_split.cc65 WhitespaceHandling whitespace, in SplitStringT() argument
86 if (whitespace == TRIM_WHITESPACE) in SplitStringT()
126 WhitespaceHandling whitespace, in SplitStringUsingSubstrT() argument
140 if (whitespace == TRIM_WHITESPACE) in SplitStringUsingSubstrT()
152 WhitespaceHandling whitespace, in SplitString() argument
156 whitespace, result_type); in SplitString()
159 input, separators, whitespace, result_type); in SplitString()
164 WhitespaceHandling whitespace, in SplitString() argument
168 input, separators[0], whitespace, result_type); in SplitString()
171 input, separators, whitespace, result_type); in SplitString()
[all …]
Dstring_split.h45 WhitespaceHandling whitespace,
49 WhitespaceHandling whitespace,
66 WhitespaceHandling whitespace,
71 WhitespaceHandling whitespace,
90 WhitespaceHandling whitespace,
94 WhitespaceHandling whitespace,
112 WhitespaceHandling whitespace,
117 WhitespaceHandling whitespace,
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c80 static char *whitespace = " \t"; variable
84 return nextarg ? nextarg + strspn(nextarg, whitespace) : args + strnlen(args, CMDBUFSZ); in get_next_arg()
168 args = strtok_r(args, whitespace, &nextarg); in get_range()
178 args = strtok_r(args, whitespace, &nextarg); in get_range()
570 idlist = strtok_r(args, whitespace, &nextarg); in migrate_process()
574 args = nextarg + strspn(nextarg, whitespace); in migrate_process()
580 idlist = strtok_r(args, whitespace, &nextarg); in migrate_process()
656 args += strspn(args, whitespace); in show_seg()
658 segname = strtok_r(args, whitespace, &nextarg); in show_seg()
677 args += strspn(args, whitespace); in anon_seg()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/
DMf2Parser.java54 public void whitespace(int begin, int end); in whitespace() method
93 public void whitespace(int begin, int end) in whitespace() method in Mf2Parser.TopDownTreeBuilder
158 if (pos < c.begin) e.whitespace(pos, c.begin); in send()
162 if (pos < end) e.whitespace(pos, end); in send()
257 whitespace(); in parse_Message()
263 whitespace(); in parse_Message()
267 whitespace(); in parse_Message()
271 whitespace(); in parse_Message()
294 whitespace(); in parse_Declaration()
309 whitespace(); in parse_Selector()
[all …]
/third_party/typescript/tests/baselines/reference/
DcontrolFlowPropertyDeclarations.types196 * Determines if the specified string consists entirely of whitespace.
250whitespace coalescing rules don't eat the whitespace. This means // wrapping newlines and seq…
292 // whitespace coalescing rules don't eat the whitespace. This means
295 … .replace(/( {2,}|\n|\t|\{|\})/g, function(whitespace) { return '{' + JSON.stringify(w…
297 … .replace(/( {2,}|\n|\t|\{|\})/g, function(whitespace) { return '{' + JSON.stringify(w…
308 .replace(/( {2,}|\n|\t|\{|\})/g, function(whitespace) {
311 >function(whitespace) { return '{' + JSON.stringify(whitespace) + '}'; } : (whitesp…
312 >whitespace : string
314 return '{' + JSON.stringify(whitespace) + '}';
315 >'{' + JSON.stringify(whitespace) + '}' : string
[all …]
DcontrolFlowPropertyDeclarations.js123 .replace(/( {2,}|\n|\t|\{|\})/g, function(whitespace) { argument
124 return '{' + JSON.stringify(whitespace) + '}';
261 .replace(/( {2,}|\n|\t|\{|\})/g, function (whitespace) { argument
262 return '{' + JSON.stringify(whitespace) + '}';
DcontrolFlowPropertyDeclarations.symbols145 * Determines if the specified string consists entirely of whitespace.
219 // whitespace coalescing rules don't eat the whitespace. This means
230 .replace(/( {2,}|\n|\t|\{|\})/g, function(whitespace) {
232 >whitespace : Symbol(whitespace, Decl(controlFlowPropertyDeclarations.ts, 121, 50))
234 return '{' + JSON.stringify(whitespace) + '}';
238 >whitespace : Symbol(whitespace, Decl(controlFlowPropertyDeclarations.ts, 121, 50))
/third_party/node/src/permission/
Dfs_permission.cc77 std::string whitespace(spaces, ' '); in PrintTree() local
85 whitespace, in PrintTree()
90 whitespace, in PrintTree()
98 whitespace, in PrintTree()
105 whitespace, in PrintTree()
110 whitespace, in PrintTree()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
DLengthsParser.java19 import static com.google.common.base.CharMatcher.whitespace;
34 private static final Splitter COMMA_SPLITTER = Splitter.on(',').trimResults(whitespace());
36 Splitter.on('-').trimResults(whitespace()).limit(2);
38 CharMatcher.inRange('0', '9').or(CharMatcher.anyOf("-,")).or(whitespace());
/third_party/typescript/scripts/eslint/rules/
Dsimple-indent.cjs14 fixable: "whitespace",
40 const whitespace = line.slice(0, indentEnd);
42 if (!TAB_REGEX.test(whitespace)) {
56 … .replaceTextRange([rangeStart, rangeEnd], whitespace.replace(TAB_REGEX, " ".repeat(TAB_SIZE)));
Dobject-literal-surrounding-space.cjs12 leadingExcessStringError: `No trailing whitespace found on single-line object literal`,
13 leadingStringError: `No leading whitespace found on single-line object literal`,
15 … trailingExcessStringError: `Excess trailing whitespace found on single-line object literal.`,
16 trailingStringError: `No trailing whitespace found on single-line object literal`,
/third_party/node/test/fixtures/
Dfixture.ini6 [ the section with whitespace ]
7 this has whitespace = yep ; and a comment; and then another
19 remove = whitespace
/third_party/python/Doc/library/
Dtextwrap.rst59 First the whitespace in *text* is collapsed (all whitespace is replaced by
72 :class:`TextWrapper`, documented below. Note that the whitespace is
81 Remove any common leading whitespace from every line in *text*.
86 Note that tabs and spaces are both treated as whitespace, but they are not
88 common leading whitespace.
90 Lines containing only whitespace are ignored in the input and normalized to a
112 solely of whitespace (including any line endings).
122 and whitespace-only lines::
190 the :meth:`wrap` method will replace each whitespace character
191 with a single space. The whitespace characters replaced are
[all …]
/third_party/pcre2/pcre2/maint/ucptestdata/
Dtestoutput12 U+0000 BN Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
3 U+0001 BN Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
4 U+0002 BN Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
5 U+0003 BN Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
6 U+0004 BN Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
7 U+0005 BN Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
8 U+0006 BN Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
9 U+0007 BN Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
10 U+0008 BN Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
16 U+000E BN Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
[all …]
/third_party/python/Lib/
Dtextwrap.py79 whitespace = r'[%s]' % re.escape(_whitespace) variable in TextWrapper
80 nowhitespace = '[^' + whitespace[1:]
97 'ws': whitespace, 'nws': nowhitespace},
105 wordsep_simple_re = re.compile(r'(%s+)' % whitespace)
106 del whitespace
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DColumn.java19 import static com.google.common.base.CharMatcher.whitespace;
121 return whitespace().trimFrom(s); in trimOrUnquote()
127 && (whitespace().matches(s.charAt(0)) || whitespace().matches(s.charAt(s.length() - 1)))) { in maybeQuote()
/third_party/node/deps/npm/node_modules/cli-table3/src/
Dutils.js249 let whitespace;
253 if (lineLength > 0 && whitespace) {
254 newLength += whitespace.length;
263 line.push(whitespace || '', word);
266 whitespace = split[i + 1];
/third_party/PyYAML/lib/yaml/
Demitter.py76 self.whitespace = True
275 self.write_indicator('[', True, whitespace=True)
311 self.write_indicator('{', True, whitespace=True)
801 whitespace=False, indention=False):
802 if self.whitespace or not need_whitespace:
806 self.whitespace = whitespace
817 or (self.column == indent and not self.whitespace):
820 self.whitespace = True
830 self.whitespace = True
969 self.whitespace = False
[all …]
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/
DRuleParser.java5 import static com.google.common.base.CharMatcher.whitespace;
41 Splitter.on(RULE_PARTS_SEPERATOR).trimResults(whitespace()).omitEmptyStrings();
45 Splitter.on('=').trimResults(whitespace()).limit(2);
91 xpath = whitespace().trimFrom(line.substring(0, xpathEnd)); in parseLines()
/third_party/node/test/fixtures/wpt/encoding/
Dtextdecoder-labels.any.js5 var whitespace = [' ', '\t', '\n', '\f', '\r']; variable
19 whitespace.forEach(function(ws) {
/third_party/typescript/tests/cases/conformance/jsx/
DtsxFragmentReactEmit.tsx12 <></>; // no whitespace
13 < ></ >; // lots of whitespace
DtsxFragmentPreserveEmit.tsx12 <></>; // no whitespace
13 < ></ >; // lots of whitespace
/third_party/skia/third_party/externals/brotli/
D.editorconfig10 # - trim trailing whitespace
32 # - trailing whitespace is significant
/third_party/rust/crates/nom/doc/
Dnom_recipes.md5 * [Whitespace](#whitespace)
6 …+ [Wrapper combinators that eat whitespace before and after a parser](#wrapper-combinators-that-ea…
25 ### Wrapper combinators that eat whitespace before and after a parser
37 /// trailing whitespace, returning the output of `inner`.
50 To eat only trailing whitespace, replace `delimited(...)` with `terminated(&inner, multispace0)`.
51 Likewise, the eat only leading whitespace, replace `delimited(...)` with `preceded(multispace0,
/third_party/typescript/scripts/eslint/tests/
Dno-type-assertion-whitespace.test.cjs2 const rule = require("../rules/no-type-assertion-whitespace.cjs");
11 ruleTester.run("no-type-assertion-whitespace", rule, {

12345678910>>...30