/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::__anon24199 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::__anon24200 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::__anon24201 [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/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...] |
/cts/tests/signature/src/android/signature/cts/ |
ApiComplianceChecker.java | 357 char escaped = 0; local 412 escaped = 0; 420 escaped <<= 4; 422 escaped |= c - '0'; 424 escaped |= 10 + (c - 'a'); 426 escaped |= 10 + (c - 'A'); 433 buf.append(escaped);
|
/device/google/contexthub/util/common/ |
JSONObject.cpp | 185 bool escaped = false; local 187 if (escaped) { 217 escaped = false; 219 escaped = true; 567 AString escaped; local 569 mValue.mString->c_str(), mValue.mString->size(), &escaped); 572 out.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/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;
|
/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...] |