/system/core/libcutils/ |
cpu_info.c | 33 char* whitespace; local 52 // skip colon and whitespace 55 // truncate trailing whitespace 61 whitespace = strchr(chp, ' '); 62 if (whitespace) 63 *whitespace = 0; 64 whitespace = strchr(chp, '\t'); 65 if (whitespace) 66 *whitespace = 0; 67 whitespace = strchr(chp, '\r') [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
whitespace.js | 23 Filename: whitespace.js 35 writeHeaderToLog('Executing script: whitespace.js'); 42 var whitespace = "\f\n\r\t\v "; variable 44 // be sure all whitespace is matched by \s 46 "'" + whitespace + "'.match(new RegExp('\\s+'))", 47 String([whitespace]), String(whitespace.match(new RegExp('\\s+')))); 49 // be sure all non-whitespace is matched by \S 54 // be sure all non-whitespace is not matched by \s 59 // be sure all whitespace is not matched by \ [all...] |
/libcore/luni/src/main/java/javax/xml/parsers/ |
DocumentBuilderFactory.java | 37 private boolean whitespace = false; field in class:DocumentBuilderFactory 144 * whitespace in element content (sometimes known loosely as 145 * 'ignorable whitespace') when parsing XML documents (see XML Rec 146 * 2.10). Note that only whitespace which is directly contained within 152 * @param whitespace true if the parser created must eliminate whitespace 157 public void setIgnoringElementContentWhitespace(boolean whitespace) { 158 this.whitespace = whitespace; 227 * parsers which ignore ignorable whitespace in element content [all...] |
/frameworks/base/tools/aidl/ |
aidl_language_l.l | 10 // comment and whitespace handling 37 whitespace ([ \t\n\r]+) 38 brackets \[{whitespace}?\] 57 ^{whitespace}?import{whitespace}[^ \t\r\n]+{whitespace}?; { 61 ^{whitespace}?package{whitespace}[^ \t\r\n]+{whitespace}?; { 71 {whitespace} { /* begin_extra_text(yylineno, WHITESPACE) [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
gflags_reporting.cc | 136 // Find the last whitespace on this 80-char line 137 int whitespace = kLineLength-chars_in_line-1; // < 80 chars/line local 138 while ( whitespace > 0 && !isspace(c_string[whitespace]) ) { 139 --whitespace; 141 if (whitespace <= 0) { 142 // Couldn't find any whitespace to make a line break. Just dump the 148 final_string += string(c_string, whitespace); 149 chars_in_line += whitespace; 150 while (isspace(c_string[whitespace])) ++whitespace [all...] |
/development/testrunner/ |
am_instrument_parser.py | 91 line = line.strip(string.whitespace) 94 key = re_result.search(line).group(1).strip(string.whitespace) 97 val = re_result.search(line).group(2).strip(string.whitespace) 107 val = re_code.search(line).group(1).strip(string.whitespace)
|
adb_interface.py | 299 if ls_response.strip("#").strip(string.whitespace) != "":
|
/external/webkit/WebKitTools/Scripts/webkitpy/style/ |
filter.py | 31 ["-whitespace", "+whitespace/braces"] 33 ["whitespace/tabs", "whitespace/braces"]
|
checker.py | 83 '-whitespace/blank_line', 84 '-whitespace/end_of_line', 85 '-whitespace/labels', 156 "whitespace/carriage_return": 1 225 and "-foo" fails any such category. The filter input "-whitespace, 226 +whitespace/braces" fails the category "whitespace/tab" and passes 227 "whitespace/braces". 229 Examples: --filter=-whitespace,+whitespace/brace [all...] |
error_handlers.py | 42 "whitespace/newline".
|
/external/v8/test/mjsunit/third_party/ |
string-trim.js | 47 var whitespace = [ 72 for (var i = 0; i < whitespace.length; i++) { 73 assertEquals(whitespace[i].s.trim(), ''); 74 assertEquals(whitespace[i].s.trimLeft(), ''); 75 assertEquals(whitespace[i].s.trimRight(), ''); 76 wsString += whitespace[i].s;
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
regress-31255.js | 39 * Whitespace may occur before the --> on the same line. 69 --> but only if it follows a possible whitespace after line start
|
/external/webkit/WebKitTools/Scripts/webkitperl/VCSUtils_unittest/ |
fixChangeLogPatch.pl | 215 + <pretend-whitespace> 230 + <pretend-whitespace>
|
/external/quake/quake/src/QW/gas2masm/ |
gas2masm.c | 32 typedef enum {NOT_WHITESPACE, WHITESPACE, TOKEN_AVAILABLE, LINE_DONE, FILE_DONE, PARSED_OKAY} tokenstat;
766 tokenstat whitespace (char c)
function 775 return WHITESPACE;
793 if ((stat = whitespace (c)) == LINE_DONE)
795 } while (stat == WHITESPACE);
832 if (whitespace (c) == LINE_DONE)
844 if (whitespace (c) == WHITESPACE)
|
/external/quake/quake/src/WinQuake/gas2masm/ |
gas2masm.c | 32 typedef enum {NOT_WHITESPACE, WHITESPACE, TOKEN_AVAILABLE, LINE_DONE, FILE_DONE, PARSED_OKAY} tokenstat;
766 tokenstat whitespace (char c)
function 775 return WHITESPACE;
793 if ((stat = whitespace (c)) == LINE_DONE)
795 } while (stat == WHITESPACE);
832 if (whitespace (c) == LINE_DONE)
844 if (whitespace (c) == WHITESPACE)
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
EditingUtil.java | 170 private static boolean isWhitespace(int code, String whitespace) { 171 return whitespace.contains(String.valueOf((char) code));
|
/external/dbus/dbus/ |
dbus-shell.c | 374 * field splitting (using default whitespace IFS) and quote
|
/external/srec/tools/grxmlcompile/ |
grxmldoc.cpp | 487 // Strip leading and trailing whitespace 494 const char* const whitespace = " \t\r\n\v\f"; local 496 std::string word; // Words are whitespace separated 498 cdata.erase(0, cdata.find_first_not_of(whitespace) ); 499 cdata.erase(cdata.find_last_not_of(whitespace) + 1); 507 begIdx = cdata.find_first_not_of(whitespace); 512 endIdx = cdata.find_first_of (whitespace, begIdx); 542 begIdx = cdata.find_first_not_of (whitespace, endIdx); 548 // In particular, do not strip whitespace from tag cdata. 681 // NB Do not strip whitespace from tag cdat [all...] |
/external/tinyxml/ |
tinyxmlparser.cpp | 561 if ( !trimWhiteSpace // certain tags always keep whitespace 562 || !condenseWhiteSpace ) // if true, whitespace is always kept 577 bool whitespace = false; local 586 whitespace = true; 591 whitespace = true; 596 // If we've found whitespace, add it before the 597 // new character. Any whitespace just becomes a space. 598 if ( whitespace ) 601 whitespace = false; 1376 && !IsWhiteSpace( *p ) && *p != '\n' && *p != '\r' // whitespace [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/Getopt/ |
Mixed.pm | 68 # List of option declarations (separated by whitespace) 70 # with no whitespace, it is the characters that start options. 81 # with no whitespace, it is the desired value for $optionStart: 434 separated by whitespace. 438 whitespace, C<=>, C<:>, and C<E<gt>>. 464 non-alphanumeric characters with no whitespace, it represents the 492 If the argument is required, it can also be separated by whitespace: 506 option by whitespace.
|
/external/libvpx/examples/includes/PHP-SmartyPants-1.5.1e/ |
smartypants.php | 438 \\s | # a whitespace char, or 453 (?=\\s | s\\b) # otherwise, positive lookahead for a whitespace 466 \\s | # a whitespace char, or 482 # if not, then make sure the next char is whitespace.
|
/external/chromium/net/base/ |
net_util.cc | 379 // Tokenize with whitespace characters. 420 STR whitespace; local 421 whitespace.push_back(' '); 422 whitespace.push_back('\t'); 424 header.find_first_not_of(whitespace, param_begin - header.begin()); [all...] |
/external/libxml2/include/libxml/ |
schemasInternals.h | 549 * a whitespace-facet value of "preserve" 555 * a whitespace-facet value of "replace" 561 * a whitespace-facet value of "collapse" 831 int whitespace; member in struct:_xmlSchemaFacet
|
/development/scripts/app_engine_server/gae_shell/static/ |
shell.js | 144 var result = req.responseText.replace(/^\s*|\s*$/g, ''); // trim whitespace
|
/dalvik/docs/ |
prettify.js | 437 * @param {string} s html where whitespace is considered significant. 529 * Context is applied to the last non-whitespace, non-comment token 814 // Split non comment|string tokens on whitespace and word boundaries [all...] |