Home
last modified time | relevance | path

Searched refs:escaped (Results 1 – 25 of 157) sorted by relevance

1234567

/external/regex-re2/re2/testing/
Dexhaustive2_test.cc25 vector<string> escaped = alphabet; in TEST() local
26 for (int i = 0; i < escaped.size(); i++) in TEST()
27 escaped[i] = "\\" + escaped[i]; in TEST()
28 ExhaustiveTest(1, 1, escaped, RegexpGenerator::EgrepOps(), in TEST()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DX500NameTokenizer.java45 boolean escaped = false; in nextToken()
55 if (!escaped) in nextToken()
71 escaped = false; in nextToken()
75 if (escaped || quoted) in nextToken()
86 escaped = false; in nextToken()
90 escaped = true; in nextToken()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DX509NameTokenizer.java46 boolean escaped = false; in nextToken()
56 if (!escaped) in nextToken()
72 escaped = false; in nextToken()
76 if (escaped || quoted) in nextToken()
87 escaped = false; in nextToken()
91 escaped = true; in nextToken()
/external/chromium/base/json/
Dstring_escape_unittest.cc15 const char* escaped; member
31 EXPECT_EQ(std::string(json_narrow_cases[i].escaped), out); in TEST()
49 expected += json_narrow_cases[0].escaped; in TEST()
59 const char* escaped; member
76 EXPECT_EQ(std::string(json_wide_cases[i].escaped), out); in TEST()
94 expected += json_wide_cases[0].escaped; in TEST()
/external/webkit/LayoutTests/fast/encoding/
Dlatin1-winlatin-expected.txt5 (escaped): %u20AC%81%u0192%u2020%u2021
9 (escaped): %u20AC%81%u0192%u2020%u2021
13 (escaped): %80%81%83%86%87
17 (escaped): %80%81%83%86%87
/external/chromium/net/base/
Descape.cc50 std::string escaped; in Escape() local
51 escaped.reserve(text.length() * 3); in Escape()
55 escaped.push_back('+'); in Escape()
57 escaped.push_back('%'); in Escape()
58 escaped.push_back(IntToHex(c >> 4)); in Escape()
59 escaped.push_back(IntToHex(c & 0xf)); in Escape()
61 escaped.push_back(c); in Escape()
64 return escaped; in Escape()
Descape_icu.cc15 bool use_plus, string16* escaped) { in EscapeQueryParamValue() argument
23 escaped->assign(UTF8ToUTF16(EscapeQueryParamValue(encoded, use_plus))); in EscapeQueryParamValue()
/external/apache-http/src/org/apache/http/message/
DBasicHeaderValueParser.java364 boolean escaped = false; in parseNameValuePair()
367 if (ch == '"' && !escaped) { in parseNameValuePair()
370 if (!qouted && !escaped && isOneOf(ch, delimiters)) { in parseNameValuePair()
374 if (escaped) { in parseNameValuePair()
375 escaped = false; in parseNameValuePair()
377 escaped = qouted && ch == '\\'; in parseNameValuePair()
/external/open-vcdiff/gtest/src/
Dgtest-port.cc192 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() argument
193 if (escaped) { // "\\p" where p is pattern_char. in AtomMatchesChar()
285 bool escaped, char c, char repeat, const char* regex, in MatchRepetitionAndRegexAtHead() argument
302 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead()
321 const bool escaped = *regex == '\\'; in MatchRegexAtHead() local
322 if (escaped) in MatchRegexAtHead()
329 escaped, regex[0], regex[1], regex + 2, str); in MatchRegexAtHead()
334 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
/external/protobuf/gtest/src/
Dgtest-port.cc192 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() argument
193 if (escaped) { // "\\p" where p is pattern_char. in AtomMatchesChar()
285 bool escaped, char c, char repeat, const char* regex, in MatchRepetitionAndRegexAtHead() argument
302 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead()
321 const bool escaped = *regex == '\\'; in MatchRegexAtHead() local
322 if (escaped) in MatchRegexAtHead()
329 escaped, regex[0], regex[1], regex + 2, str); in MatchRegexAtHead()
334 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
/external/chromium/net/tools/dump_cache/
Durl_to_filename_encoder_unittest.cc84 char escaped[100]; in ValidateEscaped() local
86 base::snprintf(escaped, sizeof(escaped), "%c%02X%c", escape, ch, escape); in ValidateEscaped()
87 Validate(string(1, ch), escaped); in ValidateEscaped()
216 string escaped = base::StringPrintf("%%%02X", i); in TEST_F() local
217 ValidateEncodeSame(unescaped, escaped); in TEST_F()
/external/llvm/utils/unittest/googletest/
Dgtest-port.cc203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() argument
204 if (escaped) { // "\\p" where p is pattern_char. in AtomMatchesChar()
296 bool escaped, char c, char repeat, const char* regex, in MatchRepetitionAndRegexAtHead() argument
313 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead()
332 const bool escaped = *regex == '\\'; in MatchRegexAtHead() local
333 if (escaped) in MatchRegexAtHead()
340 escaped, regex[0], regex[1], regex + 2, str); in MatchRegexAtHead()
345 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
/external/chromium/testing/gtest/src/
Dgtest-port.cc203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() argument
204 if (escaped) { // "\\p" where p is pattern_char. in AtomMatchesChar()
296 bool escaped, char c, char repeat, const char* regex, in MatchRepetitionAndRegexAtHead() argument
313 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead()
332 const bool escaped = *regex == '\\'; in MatchRegexAtHead() local
333 if (escaped) in MatchRegexAtHead()
340 escaped, regex[0], regex[1], regex + 2, str); in MatchRegexAtHead()
345 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-port.cc203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() argument
204 if (escaped) { // "\\p" where p is pattern_char. in AtomMatchesChar()
296 bool escaped, char c, char repeat, const char* regex, in MatchRepetitionAndRegexAtHead() argument
313 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead()
332 const bool escaped = *regex == '\\'; in MatchRegexAtHead() local
333 if (escaped) in MatchRegexAtHead()
340 escaped, regex[0], regex[1], regex + 2, str); in MatchRegexAtHead()
345 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
/external/qemu/telephony/
Dgsm.c657 int escaped = 0; in utf8_from_gsm7() local
670 if (escaped) { in utf8_from_gsm7()
673 escaped = 1; in utf8_from_gsm7()
696 int escaped = 0; in utf8_from_gsm8() local
707 if (escaped) { /* two escape characters => one space */ in utf8_from_gsm8()
709 escaped = 0; in utf8_from_gsm8()
711 escaped = 1; in utf8_from_gsm8()
719 escaped = 0; in utf8_from_gsm8()
720 } else if (escaped) { in utf8_from_gsm8()
746 int escaped = 0; in ucs2_from_gsm7() local
[all …]
/external/gtest/src/
Dgtest-port.cc203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() argument
204 if (escaped) { // "\\p" where p is pattern_char. in AtomMatchesChar()
296 bool escaped, char c, char repeat, const char* regex, in MatchRepetitionAndRegexAtHead() argument
313 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead()
332 const bool escaped = *regex == '\\'; in MatchRegexAtHead() local
333 if (escaped) in MatchRegexAtHead()
340 escaped, regex[0], regex[1], regex + 2, str); in MatchRegexAtHead()
345 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
/external/iptables/iptables/
Dip6tables-restore.c330 int quote_open, escaped; in ip6tables_restore_main() local
378 escaped = 0; in ip6tables_restore_main()
385 if (escaped) { in ip6tables_restore_main()
387 escaped = 0; in ip6tables_restore_main()
390 escaped = 1; in ip6tables_restore_main()
Diptables-restore.c335 int quote_open, escaped; in iptables_restore_main() local
383 escaped = 0; in iptables_restore_main()
390 if (escaped) { in iptables_restore_main()
392 escaped = 0; in iptables_restore_main()
395 escaped = 1; in iptables_restore_main()
/external/smack/src/org/xbill/DNS/
DGenerator.java98 boolean escaped = false; in substitute()
104 if (escaped) { in substitute()
106 escaped = false; in substitute()
111 escaped = true; in substitute()
/external/doclava/src/com/google/doclava/
DFieldInfo.java229 char escaped = 0; in javaUnescapeString() local
284 escaped = 0; in javaUnescapeString()
292 escaped <<= 4; in javaUnescapeString()
294 escaped |= c - '0'; in javaUnescapeString()
296 escaped |= 10 + (c - 'a'); in javaUnescapeString()
298 escaped |= 10 + (c - 'A'); in javaUnescapeString()
304 buf.append(escaped); in javaUnescapeString()
/external/webkit/Source/WebCore/platform/text/
DSegmentedString.cpp113 ASSERT(!escaped()); in prepend()
144 ASSERT(!s.escaped()); in append()
157 ASSERT(!escaped()); in prepend()
158 ASSERT(!s.escaped()); in prepend()
/external/harfbuzz_ng/test/api/
Dtest-buffer.c381 char *escaped; in test_buffer_utf8_conversion() local
383 escaped = g_strescape (test->utf8, NULL); in test_buffer_utf8_conversion()
384 g_test_message ("UTF-8 test #%d: %s", i, escaped); in test_buffer_utf8_conversion()
385 g_free (escaped); in test_buffer_utf8_conversion()
666 char *escaped; in test_buffer_utf8_validity() local
668 escaped = g_strescape (test->utf8, NULL); in test_buffer_utf8_validity()
669 g_test_message ("UTF-8 test #%d: %s", i, escaped); in test_buffer_utf8_validity()
670 g_free (escaped); in test_buffer_utf8_validity()
/external/markdown/MarkdownTest/Tests_2007/
DBackslash escapes.text1 These should all get escaped:
107 These should get escaped, even though they're matching pairs for
/external/chromium/net/http/
Dhttp_util.cc416 std::string escaped; in Quote() local
417 escaped.reserve(2 + str.size()); in Quote()
424 escaped.push_back('"'); in Quote()
428 escaped.push_back('\\'); in Quote()
429 escaped.push_back(c); in Quote()
431 escaped.push_back('"'); in Quote()
432 return escaped; in Quote()
/external/webkit/Source/WebCore/platform/gtk/
DDataObjectGtk.cpp117 GOwnPtr<gchar> escaped(g_markup_escape_text(actualLabel.utf8().data(), -1)); in setURL() local
118 append(markup, String::fromUTF8(escaped.get())); in setURL()

1234567