Home
last modified time | relevance | path

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

12345678910>>...41

/third_party/boost/tools/build/src/util/
Dstring.jam9 # Characters considered whitespace, as a list.
10 .whitespace-chars = " " " " "
13 # Characters considered whitespace, as a single string.
14 .whitespace = $(.whitespace-chars:J="") ;
17 # Returns the canonical set of whitespace characters, as a list.
19 rule whitespace-chars ( )
21 return $(.whitespace-chars) ;
25 # Returns the canonical set of whitespace characters, as a single string.
27 rule whitespace ( )
29 return $(.whitespace) ;
[all …]
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c78 static char *whitespace = " \t"; variable
161 args = strtok_r(args, whitespace, &nextarg); in get_range()
165 args = nextarg + strspn(nextarg, whitespace); in get_range()
171 args = strtok_r(args, whitespace, &nextarg); in get_range()
179 args = nextarg + strspn(nextarg, whitespace); in get_range()
568 idlist = strtok_r(args, whitespace, &nextarg); in migrate_process()
572 args = nextarg + strspn(nextarg, whitespace); in migrate_process()
578 idlist = strtok_r(args, whitespace, &nextarg); in migrate_process()
654 args += strspn(args, whitespace); in show_seg()
656 segname = strtok_r(args, whitespace, &nextarg); in show_seg()
[all …]
/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/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) + '}';
/third_party/boost/libs/property_tree/doc/
Dxml_parser.qbk20 By default, the parser will preserve most whitespace, but remove element content
21 that consists only of whitespace. Encoded whitespaces (e.g.  ) does not
22 count as whitespace in this regard. You can pass the trim_whitespace flag if you
23 want all leading and trailing whitespace trimmed and all continuous whitespace
50 trimmed whitespace, low-level formatting information, and the distinction
52 A write-read cycle loses trimmed whitespace; that is, if the origin tree has
53 string data that starts or ends with whitespace, that whitespace is lost.
/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/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
/third_party/boost/libs/predef/tools/check/
Dpredef_check.h34 const char * whitespace = " "; variable
54 const char * exp_name = str_token(&exp, whitespace); in main()
55 const char * exp_op = str_token(&exp, whitespace); in main()
56 const char * exp_val = str_token(&exp, whitespace); in main()
/third_party/boost/libs/metaparse/doc/
Done_of_c.qbk49 using whitespace = one_of_c<' ', '\n', '\r', '\t', '\v'>;
53 whitespace::apply<BOOST_METAPARSE_STRING(" "), start>
59 is_error<whitespace::apply<BOOST_METAPARSE_STRING("x"), start>>::type::value,
60 "it should return an error when the input does not begin with a whitespace"
Dis_whitespace_c.qbk22 Checks if `C` is a whitespace character. Returns a boxed boolean value.
60 "a space should be a whitespace character"
65 "a number should not be a whitespace character"
Done_of.qbk58 using whitespace =
63 whitespace::apply<BOOST_METAPARSE_STRING(" "), start>
69 is_error<whitespace::apply<BOOST_METAPARSE_STRING("x"), start>>::type::value,
70 "it should return an error when the input does not begin with a whitespace"
Dis_whitespace.qbk22 Checks if `C` is a whitespace character. Returns a boxed boolean value.
52 "a space should be a whitespace character"
57 "a number should not be a whitespace character"
/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/boost/libs/spirit/test/lex/
Dtoken_iterpair.cpp46 whitespace = "[ \t\n]+"; in token_definitions()
51 | whitespace[ lex::_pass = lex::pass_flags::pass_ignore ] in token_definitions()
57 lex::token_def<lex::omit> whitespace; member
84 whitespace = "[ \t\n]+"; in token_definitions_with_state()
89 | whitespace[ lex::_pass = lex::pass_flags::pass_ignore ] in token_definitions_with_state()
95 lex::token_def<lex::omit> whitespace; member
Dtoken_omit.cpp46 whitespace = "[ \t\n]+"; in token_definitions()
51 | whitespace[ lex::_pass = lex::pass_flags::pass_ignore ] in token_definitions()
57 lex::token_def<lex::omit> whitespace; member
84 whitespace = "[ \t\n]+"; in token_definitions_with_state()
89 | whitespace[ lex::_pass = lex::pass_flags::pass_ignore ] in token_definitions_with_state()
95 lex::token_def<lex::omit> whitespace; member
Dtoken_onetype.cpp48 whitespace = "[ \t\n]+"; in token_definitions()
53 | whitespace[ lex::_pass = lex::pass_flags::pass_ignore ] in token_definitions()
59 lex::token_def<lex::omit> whitespace; member
86 whitespace = "[ \t\n]+"; in token_definitions_with_state()
91 | whitespace[ lex::_pass = lex::pass_flags::pass_ignore ] in token_definitions_with_state()
97 lex::token_def<lex::omit> whitespace; member
Dtoken_moretypes.cpp48 whitespace = "[ \t\n]+"; in token_definitions()
53 | whitespace[ lex::_pass = lex::pass_flags::pass_ignore ] in token_definitions()
59 lex::token_def<lex::omit> whitespace; member
86 whitespace = "[ \t\n]+"; in token_definitions_with_state()
91 | whitespace[ lex::_pass = lex::pass_flags::pass_ignore ] in token_definitions_with_state()
97 lex::token_def<lex::omit> whitespace; member
/third_party/python/Doc/library/
Dtextwrap.rst48 First the whitespace in *text* is collapsed (all whitespace is replaced by
61 :class:`TextWrapper`, documented below. Note that the whitespace is
71 Remove any common leading whitespace from every line in *text*.
76 Note that tabs and spaces are both treated as whitespace, but they are not
78 common leading whitespace.
80 Lines containing only whitespace are ignored in the input and normalized to a
102 solely of whitespace (including any line endings).
112 and whitespace-only lines::
180 the :meth:`wrap` method will replace each whitespace character
181 with a single space. The whitespace characters replaced are
[all …]
/third_party/gettext/gettext-tools/src/
Dits.c392 normalize_whitespace (const char *text, enum its_whitespace_type_ty whitespace) in normalize_whitespace() argument
394 switch (whitespace) in normalize_whitespace()
574 enum its_whitespace_type_ty whitespace, in _its_collect_text_content() argument
609 if (whitespace == ITS_WHITESPACE_NORMALIZE && !n->prev) in _its_collect_text_content()
612 normalize_whitespace (ccontent, whitespace); in _its_collect_text_content()
617 if (whitespace == ITS_WHITESPACE_NORMALIZE && !n->next) in _its_collect_text_content()
637 char *p = _its_collect_text_content (n, whitespace, in _its_collect_text_content()
658 content = normalize_whitespace (ccontent, whitespace); in _its_collect_text_content()
1624 enum its_whitespace_type_ty whitespace, in _its_get_content() argument
1675 whitespace, in _its_get_content()
[all …]
/third_party/boost/libs/spirit/example/support/utree/
Dsexpr_parser.hpp131 struct whitespace : qi::grammar<Iterator> { struct
135 whitespace() : whitespace::base_type(start) in whitespace() function
152 struct parser : qi::grammar<Iterator, utree(), whitespace<Iterator> >
154 qi::rule<Iterator, utree(), whitespace<Iterator> >
/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/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

12345678910>>...41