Home
last modified time | relevance | path

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

12345678910>>...36

/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/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/deps/npm/node_modules/ini/
Dini.js18 whitespace: false, property
22 opt.whitespace = opt.whitespace === true
25 var separator = opt.whitespace ? ' = ' : '='
47 whitespace: opt.whitespace, property
DREADME.md77 * `whitespace` Boolean to specify whether to put whitespace around the
78 `=` character. By default, whitespace is omitted, to be friendly to
80 find that it's more human-readable and pretty with the whitespace.
/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/typescript/scripts/eslint/rules/
Dsimple-indent.ts40 const whitespace = line.slice(0, indentEnd);
42 if (!TAB_REGEX.test(whitespace)) {
56 … .replaceTextRange([rangeStart, rangeEnd], whitespace.replace(TAB_REGEX, " ".repeat(TAB_SIZE)));
/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/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/strip-json-comments/
Dreadme.md14 It will replace single-line comments `//` and multi-line comments `/**/` with whitespace. This allo…
48 ##### whitespace l4subsection
53 Replace comments with whitespace instead of stripping them entirely.
/third_party/flutter/engine/flutter/lib/web_ui/test/text/
Dmeasurement_test.dart141 'preserves whitespace when measuring',
167 // single whitespace
174 // whitespace only
316 // With trailing whitespace.
320 // With trailing whitespace and new lines.
340 // With long whitespace.
344 // With trailing whitespace.
348 // With trailing whitespace and new lines.
437 // 7. whitespace at end of line (shouldn't count towards minIntWidth, but counts towards max).
438 // 8. long whitespace should still cause line break if not enough space for it.
/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/chromium/patch/
DREADME.md19 git apply --whitespace=nowarn --ignore-whitespace -p2 ../patch/*.patch
/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/chromium/
Dinit_chromium.sh36 git apply --whitespace=nowarn --ignore-whitespace -p2 ../patch/*.patch
/third_party/node/test/fixtures/wpt/encoding/
Dtextdecoder-labels.any.js4 var whitespace = [' ', '\t', '\n', '\f', '\r']; variable
18 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,

12345678910>>...36