/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/mesa3d/src/gallium/auxiliary/vl/ |
vl_rbsp.h | 45 unsigned escaped; member in struct:vl_rbsp 80 rbsp->escaped = (valid >= 16) ? 16 : ((valid >= 8) ? 8 : 0); 102 assert(valid >= rbsp->escaped); 104 /* handle the already escaped bits */ 105 valid -= rbsp->escaped; 108 rbsp->escaped = 16; 113 rbsp->escaped = bits - i;
|
/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::__anon22708 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::__anon22709 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::__anon22710 [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;
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
ns_name.c | 174 int c, n, escaped;
local 177 escaped = 0;
183 if (escaped) {
204 escaped = 0;
206 escaped = 1;
|
res_comp.c | 231 int ch, escaped = 0;
local 241 if (!escaped && periodchar(ch))
243 if (escaped)
244 escaped = 0;
246 escaped = 1;
|
/external/desugar/java/com/google/devtools/common/options/ |
ParamsFilePreProcessor.java | 102 private boolean escaped = false; field in class:ParamsFilePreProcessor.CharIterator 129 return escaped; 154 // check to see if the current position is escaped 156 escaped = true; 158 escaped = false; 161 if (!escaped && current == '\'') { 164 if (!escaped && current == '"') {
|
/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/protobuf/src/google/protobuf/util/internal/ |
json_escaping.cc | 50 // kCommonEscapes[ch] is the escaped string of ch, if escaping is needed; 288 // escaped form. The returned StringPiece either points to statically 330 // does not need to be escaped, but force_output is true, then render 365 StringPiece escaped; local 371 // i) a code point that needs to be escaped; or 378 escaped = EscapeCodePoint(cp, buffer, cp_was_split); 379 if (!escaped.empty()) break; // case i or ii 383 // First copy the un-escaped prefix, if any, to the output ByteSink. 390 } else if (num_left == 0 && !escaped.empty()) { 391 // Case i or ii: Append the escaped code point to the output ByteSink [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...] |
/external/curl/src/ |
tool_setopt.c | 215 char *escaped, *e; local 218 escaped = malloc(4 * len + 1); 219 if(!escaped) 222 e = escaped; 252 return escaped; 379 char *escaped = NULL; local 404 Curl_safefree(escaped); 405 escaped = c_escape(pp->contents); 406 if(!escaped) { 412 DATA1(" CURLFORM_FILE, \"%s\",", escaped); 455 char *escaped = NULL; local 499 char *escaped = NULL; local [all...] |
/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/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 | 80 UnicodeString escaped; local 81 escape(str,escaped); 82 errln(UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status) + ", str=" + escaped);
|
/external/iptables/iptables/ |
ip6tables-restore.c | 127 int quote_open = 0, escaped = 0, param_len = 0; local 136 if (escaped) { 138 escaped = 0; 141 escaped = 1;
|
iptables-restore.c | 125 int quote_open = 0, escaped = 0, param_len = 0; local 134 if (escaped) { 136 escaped = 0; 139 escaped = 1;
|
xtables-restore.c | 102 int quote_open = 0, escaped = 0, param_len = 0; local 111 if (escaped) { 113 escaped = 0; 116 escaped = 1;
|