Searched defs:escaped (Results 1 - 25 of 54) sorted by relevance

123

/external/chromium_org/third_party/re2/re2/testing/
H A Dexhaustive2_test.cc22 // 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(),
/external/regex-re2/re2/testing/
H A Dexhaustive2_test.cc22 // 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(),
/external/chromium/net/base/
H A Descape_icu.cc15 bool use_plus, string16* escaped) {
23 escaped->assign(UTF8ToUTF16(EscapeQueryParamValue(encoded, use_plus)));
14 EscapeQueryParamValue(const string16& text, const char* codepage, bool use_plus, string16* escaped) argument
H A Descape.cc45 // return an escaped string. If use_plus is true, spaces are converted
50 std::string escaped; local
51 escaped.reserve(text.length() * 3);
55 escaped.push_back('+');
57 escaped.push_back('%');
58 escaped.push_back(IntToHex(c >> 4));
59 escaped.push_back(IntToHex(c & 0xf));
61 escaped.push_back(c);
64 return escaped;
81 // are the ones labeled PASS (allow either escaped o
[all...]
/external/chromium/base/json/
H A Dstring_escape_unittest.cc15 const char* escaped; member in struct:base::__anon1690::json_narrow_test_data
31 EXPECT_EQ(std::string(json_narrow_cases[i].escaped), out);
49 expected += json_narrow_cases[0].escaped;
59 const char* escaped; member in struct:base::__anon1691::json_wide_test_data
76 EXPECT_EQ(std::string(json_wide_cases[i].escaped), out);
94 expected += json_wide_cases[0].escaped;
/external/chromium_org/base/json/
H A Dstring_escape_unittest.cc15 const char* escaped; member in struct:base::__anon3764::json_narrow_test_data
31 EXPECT_EQ(std::string(json_narrow_cases[i].escaped), out);
49 expected += json_narrow_cases[0].escaped;
59 const char* escaped; member in struct:base::__anon3765::json_wide_test_data
76 EXPECT_EQ(std::string(json_wide_cases[i].escaped), out);
94 expected += json_wide_cases[0].escaped;
/external/chromium_org/ui/gfx/
H A Dtext_utils.cc15 bool escaped = false; local
27 if (c != accelerator_char || escaped) {
29 if (escaped && c != accelerator_char) {
35 escaped = false;
37 escaped = true;
/external/chromium_org/third_party/WebKit/Source/core/platform/text/
H A DDateTimeFormat.cpp269 String escaped = literal.substring(i); local
270 escaped.replace("'", "''");
272 buffer.append(escaped);
/external/chromium_org/chrome/browser/
H A Dchrome_process_finder_win.cc62 // return an escaped string. If use_plus is true, spaces are converted
67 std::string escaped; local
68 escaped.reserve(text.length() * 3);
72 escaped.push_back('+');
74 escaped.push_back('%');
75 escaped.push_back(IntToHex(c >> 4));
76 escaped.push_back(IntToHex(c & 0xf));
78 escaped.push_back(c);
81 return escaped;
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dbase64_unittest.cc352 std::string escaped; local
353 Base64::EncodeFromArray((const char *)src, szsrc, &escaped);
354 memcpy(dest, escaped.data(), min(escaped.size(), szdest));
355 return escaped.size();
/external/chromium/net/tools/dump_cache/
H A Durl_to_filename_encoder_unittest.cc84 char escaped[100]; local
86 base::snprintf(escaped, sizeof(escaped), "%c%02X%c", escape, ch, escape);
87 Validate(string(1, ch), escaped);
146 ","; // The escape char has to be escaped
216 string escaped = base::StringPrintf("%%%02X", i); local
217 ValidateEncodeSame(unescaped, escaped);
/external/chromium/testing/gtest/src/
H A Dgtest-port.cc201 // Returns true iff the given atom (specified by escaped and pattern)
203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
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, *rege
295 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]
/external/chromium_org/net/base/
H A Descape.cc40 // return an escaped string. If use_plus is true, spaces are converted
45 std::string escaped; local
46 escaped.reserve(text.length() * 3);
50 escaped.push_back('+');
52 escaped.push_back('%');
53 escaped.push_back(IntToHex(c >> 4));
54 escaped.push_back(IntToHex(c & 0xf));
56 escaped.push_back(c);
59 return escaped;
76 // are the ones labeled PASS (allow either escaped o
[all...]
/external/chromium_org/net/tools/dump_cache/
H A Durl_to_filename_encoder_unittest.cc86 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/testing/gtest/src/
H A Dgtest-port.cc226 // Returns true iff the given atom (specified by escaped and pattern)
228 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
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, *rege
320 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]
/external/chromium_org/third_party/libxml/src/
H A DHTMLtree.c701 xmlChar *escaped; local
706 escaped = xmlURIEscapeStr(tmp, BAD_CAST"@/:=?;#%&,+");
707 if (escaped != NULL) {
708 xmlBufferWriteQuotedString(buf->buffer, escaped);
709 xmlFree(escaped);
/external/chromium_org/third_party/mesa/src/src/gtest/src/
H A Dgtest-port.cc201 // Returns true iff the given atom (specified by escaped and pattern)
203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
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, *rege
295 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]
/external/gtest/src/
H A Dgtest-port.cc201 // Returns true iff the given atom (specified by escaped and pattern)
203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
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, *rege
295 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]
/external/harfbuzz_ng/test/api/
H A Dtest-buffer.c381 char *escaped; local
383 escaped = g_strescape (test->utf8, NULL);
384 g_test_message ("UTF-8 test #%d: %s", i, escaped);
385 g_free (escaped);
666 char *escaped; local
668 escaped = g_strescape (test->utf8, NULL);
669 g_test_message ("UTF-8 test #%d: %s", i, escaped);
670 g_free (escaped);
/external/iptables/iptables/
H A Dip6tables-restore.c330 int quote_open, escaped; local
378 escaped = 0;
385 if (escaped) {
387 escaped = 0;
390 escaped = 1;
H A Diptables-restore.c335 int quote_open, escaped; local
383 escaped = 0;
390 if (escaped) {
392 escaped = 0;
395 escaped = 1;
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest-port.cc201 // Returns true iff the given atom (specified by escaped and pattern)
203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
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, *rege
295 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]
/external/libxml2/
H A DHTMLtree.c699 xmlChar *escaped; local
704 escaped = xmlURIEscapeStr(tmp, BAD_CAST"@/:=?;#%&,+");
705 if (escaped != NULL) {
706 xmlBufferWriteQuotedString(buf->buffer, escaped);
707 xmlFree(escaped);
/external/llvm/utils/unittest/googletest/
H A Dgtest-port.cc201 // Returns true iff the given atom (specified by escaped and pattern)
203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
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, *rege
295 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]
/external/mesa3d/src/gtest/src/
H A Dgtest-port.cc201 // Returns true iff the given atom (specified by escaped and pattern)
203 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
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, *rege
295 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]

Completed in 2830 milliseconds

123