/external/apache-http/src/org/apache/http/message/ |
BasicHeaderValueParser.java | 369 boolean escaped = false; 372 if (ch == '"' && !escaped) { 375 if (!qouted && !escaped && isOneOf(ch, delimiters)) { 379 if (escaped) { 380 escaped = false; 382 escaped = qouted && ch == '\\';
|
/external/chromium_org/tools/gn/ |
value.cc | 127 std::string escaped = string_value_; local 129 ReplaceSubstringsAfterOffset(&escaped, 0, "\\$", "\\\\$"); 130 ReplaceSubstringsAfterOffset(&escaped, 0, "\\\"", "\\\\\""); 133 ReplaceSubstringsAfterOffset(&escaped, 0, "$", "\\$"); 134 ReplaceSubstringsAfterOffset(&escaped, 0, "\"", "\\\""); 135 return "\"" + escaped + "\"";
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/ |
IETFUtils.java | 31 boolean escaped = false; 36 // if it's an escaped hash string and not an actual encoding in string form 37 // we need to leave it escaped. 62 if (!escaped) 70 escaped = false; 72 else if (c == '\\' && !(escaped || quoted)) 74 escaped = true; 79 if (c == ' ' && !escaped && !nonWhiteSpaceEncountered) 83 if (escaped && isHexDigit(c)) 88 escaped = false [all...] |
/external/chromium_org/storage/browser/fileapi/ |
file_system_url.cc | 110 // behavior, where the path is escaped by KURL::encodeWithURLEscapeSequences 112 std::string escaped = net::EscapeQueryParamValue( 115 ReplaceSubstringsAfterOffset(&escaped, 0, "%2F", "/"); 116 url.append(escaped);
|
/external/chromium_org/net/tools/dump_cache/ |
url_to_filename_encoder_unittest.cc | 86 char escaped[100]; local 88 base::snprintf(escaped, sizeof(escaped), "%c%02X%c", escape, ch, escape); 89 Validate(string(1, ch), escaped); 148 ","; // The escape char has to be escaped 219 string escaped = base::StringPrintf("%%%02X", i); local 220 ValidateEncodeSame(unescaped, escaped);
|
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
gtest-port.cc | 201 // Returns true iff the given atom (specified by escaped and pattern) 203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { 204 if (escaped) { // "\\p" where p is pattern_char. 289 // expression. The regex atom is defined as c if escaped is false, 296 bool escaped, char c, char repeat, const char* regex, 313 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) 332 const bool escaped = *regex == '\\'; local 333 if (escaped) 340 escaped, regex[0], regex[1], regex + 2, str); 345 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) & [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-latin-1.js | 41 var escaped = base; 45 escaped = '\\' + base; 48 base_result = new RegExp('(' + escaped + ')\\1', 'i').exec(base + base); 50 lo_result = new RegExp('(' + escaped + ')\\1', 'i').exec(base + lo);
|
/external/llvm/utils/unittest/googletest/src/ |
gtest-port.cc | 201 // Returns true iff the given atom (specified by escaped and pattern) 203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { 204 if (escaped) { // "\\p" where p is pattern_char. 289 // expression. The regex atom is defined as c if escaped is false, 296 bool escaped, char c, char repeat, const char* regex, 313 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) 332 const bool escaped = *regex == '\\'; local 333 if (escaped) 340 escaped, regex[0], regex[1], regex + 2, str); 345 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) & [all...] |
/external/mesa3d/src/gtest/src/ |
gtest-port.cc | 201 // Returns true iff the given atom (specified by escaped and pattern) 203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { 204 if (escaped) { // "\\p" where p is pattern_char. 289 // expression. The regex atom is defined as c if escaped is false, 296 bool escaped, char c, char repeat, const char* regex, 313 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) 332 const bool escaped = *regex == '\\'; local 333 if (escaped) 340 escaped, regex[0], regex[1], regex + 2, str); 345 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) & [all...] |
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
HtmlLexerTest.java | 135 String escaped = input.substring(t.start, t.end) local 141 out.append(" [").append(escaped).append("] : ")
|
/external/protobuf/gtest/src/ |
gtest-port.cc | 190 // Returns true iff the given atom (specified by escaped and pattern) 192 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { 193 if (escaped) { // "\\p" where p is pattern_char. 278 // expression. The regex atom is defined as c if escaped is false, 285 bool escaped, char c, char repeat, const char* regex, 302 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) 321 const bool escaped = *regex == '\\'; local 322 if (escaped) 329 escaped, regex[0], regex[1], regex + 2, str); 334 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) & [all...] |
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
FormatInterpreter.java | 66 // Skips un-escaped characters and new lines. 220 * Escaped tokens correspond to either new line or address fields. 226 boolean escaped = false; 228 if (escaped) { 229 escaped = false; 238 escaped = true;
|
FieldVerifier.java | 295 * escaped with "%". 299 boolean escaped = false; 301 if (escaped) { 302 escaped = false; 313 escaped = true;
|
/external/chromium_org/tools/grit/grit/gather/ |
admin_template.py | 27 - translateable strings do not need to be escaped.
|
policy_json.py | 69 reason = '''Input isn't valid XML (has < & > been escaped?): ''' + string
|
/external/smack/src/org/xbill/DNS/ |
Generator.java | 98 boolean escaped = false; 104 if (escaped) { 106 escaped = false; 111 escaped = true;
|
/external/doclava/src/com/google/doclava/ |
FieldInfo.java | 229 char escaped = 0; local 284 escaped = 0; 292 escaped <<= 4; 294 escaped |= c - '0'; 296 escaped |= 10 + (c - 'a'); 298 escaped |= 10 + (c - 'A'); 304 buf.append(escaped);
|
/external/chromium_org/v8/test/mjsunit/ |
escape.js | 36 // Check the unescape chars are not escaped 38 // Check spaces are escaped 40 // Check that null chars are escaped and do not terminate the string 51 // Check first 1000 chars individually for escaped/not escaped
|
/external/chromium_org/third_party/webrtc/base/ |
base64_unittest.cc | 335 std::string escaped; local 336 Base64::EncodeFromArray((const char *)src, szsrc, &escaped); 337 memcpy(dest, escaped.data(), min(escaped.size(), szdest)); 338 return escaped.size(); [all...] |
/libcore/json/src/test/java/org/json/ |
JSONStringerTest.java | 220 private void assertEscapedAllWays(String escaped, String original) throws JSONException { 221 assertEquals("{\"" + escaped + "\":false}", 223 assertEquals("{\"a\":\"" + escaped + "\"}", 225 assertEquals("[\"" + escaped + "\"]", 227 assertEquals("\"" + escaped + "\"", JSONObject.quote(original));
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/workspace/ |
SearchConfig.js | 67 var filePattern = "-?file:(([^\\\\ ]|\\\\.)+)"; // After file: prefix: any symbol except space and backslash or any symbol escaped with a backslash. 68 var quotedPattern = "\"(([^\\\\\"]|\\\\.)+)\""; // Inside double quotes: any symbol except double quote and backslash or any symbol escaped with a backslash. 70 // A word is a sequence of any symbols except space and backslash or any symbols escaped with a backslash, that does not start with file:.
|
/external/gtest/src/ |
gtest-port.cc | 227 // Returns true iff the given atom (specified by escaped and pattern) 229 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { 230 if (escaped) { // "\\p" where p is pattern_char. 315 // expression. The regex atom is defined as c if escaped is false, 322 bool escaped, char c, char repeat, const char* regex, 339 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) 358 const bool escaped = *regex == '\\'; local 359 if (escaped) 366 escaped, regex[0], regex[1], regex + 2, str); 371 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) & [all...] |
/external/harfbuzz_ng/test/api/ |
test-buffer.c | 382 char *escaped; local 384 escaped = g_strescape (test->utf8, NULL); 385 g_test_message ("UTF-8 test #%d: %s", i, escaped); 386 g_free (escaped); 671 char *escaped; local 673 escaped = g_strescape (test->utf8, NULL); 674 g_test_message ("UTF-8 test #%d: %s", i, escaped); 675 g_free (escaped);
|
/ndk/sources/third_party/googletest/googletest/src/ |
gtest-port.cc | 226 // Returns true iff the given atom (specified by escaped and pattern) 228 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { 229 if (escaped) { // "\\p" where p is pattern_char. 314 // expression. The regex atom is defined as c if escaped is false, 321 bool escaped, char c, char repeat, const char* regex, 338 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) 357 const bool escaped = *regex == '\\'; local 358 if (escaped) 365 escaped, regex[0], regex[1], regex + 2, str); 370 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) & [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_system_util.cc | 230 std::string escaped; local 234 base::StringAppendF(&escaped, "%%%02X", c); 236 escaped.push_back(c); 239 return escaped;
|