/external/regex-re2/re2/testing/ |
exhaustive2_test.cc | 22 // Test escaped versions of regexp syntax. 25 vector<string> escaped = alphabet; local 26 for (int i = 0; i < escaped.size(); i++) 27 escaped[i] = "\\" + escaped[i]; 28 ExhaustiveTest(1, 1, escaped, RegexpGenerator::EgrepOps(),
|
/bionic/libc/dns/nameser/ |
ns_samedomain.c | 57 int diff, escaped; local 65 escaped = 0; 69 if (escaped) 70 escaped = 0; 72 escaped = 1; 75 if (!escaped) 81 escaped = 0; 85 if (escaped) 86 escaped = 0; 88 escaped = 1 [all...] |
/external/guava/guava-tests/test/com/google/common/xml/ |
XmlEscapersTest.java | 39 // Test quotes are not escaped. 47 // Test quotes are escaped. 53 // Test '\t', '\n' and '\r' are escaped. 68 // Test all non-escaped ASCII characters. 105 String escaped = xmlEscaper.escape(input); local 107 "char 0x" + Integer.toString(ch, 16) + " should not be escaped", 108 input, escaped);
|
/external/libweave/third_party/chromium/base/json/ |
string_escape_unittest.cc | 19 const char* escaped; member in struct:base::__anon16776 37 EXPECT_EQ(std::string(cases[i].escaped), out); 42 EXPECT_EQ(std::string(cases[i].escaped), out); 47 EXPECT_EQ("\"" + std::string(cases[i].escaped) + "\"", fooout); 69 expected += cases[0].escaped; 79 const char* escaped; member in struct:base::__anon16777 89 EXPECT_EQ(std::string(cases[i].escaped), 91 EXPECT_EQ("\"" + std::string(cases[i].escaped) + "\"",
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
CharEscaper.java | 44 * Returns the escaped form of a given literal string. 46 * @param string the literal string to be escaped 47 * @return the escaped form of {@code string} 77 * @param out the underlying {@code Appendable} to append escaped output to 96 char[] escaped = escape(c); local 97 if (escaped == null) { 100 for (char e : escaped) { 110 * Returns the escaped form of a given literal string, starting at the given index. This method is 115 * @param s the literal string to be escaped 117 * @return the escaped form of {@code string [all...] |
UnicodeEscaper.java | 60 * Returns the escaped form of the given Unicode code point, or {@code null} 61 * if this code point does not need to be escaped. When called as part of an 68 * <p>If the character does not need to be escaped, this method should return 92 * supplementary range are either all escaped or all unescaped, this method 121 * Returns the escaped form of a given literal string. 128 * calling this method or use an escaped {@link Appendable} (as returned by 137 * @param string the literal string to be escaped 138 * @return the escaped form of {@code string} 152 * Returns the escaped form of a given literal string, starting at the given 161 * @param s the literal string to be escaped 185 char[] escaped = escape(cp); local 314 char[] escaped = escape(c); local 335 char[] escaped = escape( local [all...] |
/external/guava/guava-testlib/src/com/google/common/escape/testing/ |
EscaperAsserts.java | 71 String escaped = computeReplacement(escaper, c); local 72 Assert.assertNotNull(escaped); 73 Assert.assertEquals(expected, escaped); 97 String escaped = computeReplacement(escaper, cp); local 98 Assert.assertNotNull(escaped); 99 Assert.assertEquals(expected, escaped); 125 String escaped = computeReplacement(escaper, cp); local 126 Assert.assertNotNull(escaped); 127 Assert.assertEquals(expected, escaped);
|
/external/libchrome/base/json/ |
string_escape_unittest.cc | 19 const char* escaped; member in struct:base::__anon14269 37 EXPECT_EQ(std::string(cases[i].escaped), out); 42 EXPECT_EQ(std::string(cases[i].escaped), out); 47 EXPECT_EQ("\"" + std::string(cases[i].escaped) + "\"", fooout); 69 expected += cases[0].escaped; 79 const char* escaped; member in struct:base::__anon14270 96 EXPECT_EQ(std::string(cases[i].escaped), out); 100 EXPECT_EQ("\"" + std::string(cases[i].escaped) + "\"", out); 121 expected += cases[0].escaped; 166 const char* escaped; member in struct:base::__anon14271 [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
TextFormatter.java | 53 * be escaped! 85 int escaped = (j - i) / 2; local 86 if (escaped > 0) { 91 } while ((--escaped) > 0); 126 buffer.append(ch); // handle escaped '{'
|
/external/dbus/dbus/ |
dbus-transport-unix.c | 134 char *escaped; local 146 escaped = dbus_address_escape_value (path); 147 if (!escaped) 154 !_dbus_string_append (&address, escaped)) 157 dbus_free (escaped); 161 dbus_free (escaped); 169 escaped = dbus_address_escape_value (argv[i]); 170 if (!escaped) 176 success = _dbus_string_append_printf (&address, ",argv%u=%s", i, escaped); 177 dbus_free (escaped); [all...] |
dbus-address.c | 81 * #TRUE if the byte need not be escaped when found in a dbus address. 82 * All other bytes are required to be escaped in a valid address. 96 * Appends an escaped version of one string to another string, 99 * @param escaped the string to append to 104 _dbus_address_append_escaped (DBusString *escaped, 114 orig_len = _dbus_string_get_length (escaped); 121 if (!_dbus_string_append_byte (escaped, *p)) 126 if (!_dbus_string_append_byte (escaped, '%')) 128 if (!_dbus_string_append_byte_as_hex (escaped, *p)) 139 _dbus_string_set_length (escaped, orig_len) 585 DBusString escaped; local 621 DBusString escaped; local 660 const char *escaped; member in struct:__anon8717 709 char *escaped; local [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
CommandLineSupport.java | 34 final StringBuilder escaped = new StringBuilder(); local 37 escaped.append(SLASH); 39 escaped.append(c); 42 escaped.insert(0, QUOTE).append(QUOTE); 44 return escaped.toString();
|
/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("] : ")
|
/frameworks/base/tools/preload/ |
Record.java | 146 * @result the same field with any escaped characters replaced 153 String escaped = result.substring(offset+2, offset+6); local 156 result = String.format("%s%c%s", before, Integer.parseInt(escaped, 16), after);
|
/bionic/libc/dns/resolv/ |
res_comp.c | 215 int ch, escaped = 0; local 225 if (!escaped && periodchar(ch)) 227 if (escaped) 228 escaped = 0; 230 escaped = 1;
|
/external/guava/guava/src/com/google/common/escape/ |
UnicodeEscaper.java | 68 * Returns the escaped form of the given Unicode code point, or {@code null} 69 * if this code point does not need to be escaped. When called as part of an 76 * <p>If the character does not need to be escaped, this method should return 100 * supplementary range are either all escaped or all unescaped, this method 129 * Returns the escaped form of a given literal string. 145 * @param string the literal string to be escaped 146 * @return the escaped form of {@code string} 160 * Returns the escaped form of a given literal string, starting at the given 169 * @param s the literal string to be escaped 171 * @return the escaped form of {@code string 193 char[] escaped = escape(cp); local [all...] |
/external/webrtc/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...] |
/frameworks/base/tools/aapt/ |
pseudolocalize.cpp | 46 bool escaped = false; local 49 if (escaped) { 50 escaped = false; 54 escaped = true;
|
/external/curl/src/ |
tool_setopt.c | 202 char *escaped, *e; local 205 escaped = malloc(4 * len + 1); 206 if(!escaped) 209 e = escaped; 239 return escaped; 366 char *escaped = NULL; local 391 Curl_safefree(escaped); 392 escaped = c_escape(pp->contents); 393 if(!escaped) { 399 DATA1(" CURLFORM_FILE, \"%s\",", escaped); 442 char *escaped = NULL; local 486 char *escaped = NULL; local [all...] |
/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/google-breakpad/src/testing/gtest/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/gtest/src/ |
gtest-port.cc | 249 // Returns true iff the given atom (specified by escaped and pattern) 251 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { 252 if (escaped) { // "\\p" where p is pattern_char. 337 // expression. The regex atom is defined as c if escaped is false, 344 bool escaped, char c, char repeat, const char* regex, 361 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) 380 const bool escaped = *regex == '\\'; local 381 if (escaped) 388 escaped, regex[0], regex[1], regex + 2, str); 393 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) & [all...] |
/external/harfbuzz_ng/test/api/ |
test-buffer.c | 391 char *escaped; local 393 escaped = g_strescape (test->utf8, NULL); 394 g_test_message ("UTF-8 test #%d: %s", i, escaped); 395 g_free (escaped); 680 char *escaped; local 682 escaped = g_strescape (test->utf8, NULL); 683 g_test_message ("UTF-8 test #%d: %s", i, escaped); 684 g_free (escaped);
|
/external/icu/icu4c/source/test/intltest/ |
dtfmtrtts.cpp | 78 UnicodeString escaped; local 79 escape(str,escaped); 80 errln(UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status) + ", str=" + escaped);
|
/external/iptables/iptables/ |
ip6tables-restore.c | 122 int quote_open = 0, escaped = 0, param_len = 0; local 131 if (escaped) { 133 escaped = 0; 136 escaped = 1;
|