/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/netbsd/nameser/ |
ns_samedomain.c | 56 int diff, i, escaped; local 64 escaped = 0; 68 if (escaped) 69 escaped = 0; 71 escaped = 1; 74 if (!escaped) 80 escaped = 0; 84 if (escaped) 85 escaped = 0; 87 escaped = 1 [all...] |
ns_name.c | 209 int c, n, escaped, e = 0; local 212 escaped = 0; 218 if (escaped) { 230 escaped = 0; 260 escaped = 0; 262 escaped = 1;
|
/external/chromium/base/json/ |
string_escape_unittest.cc | 15 const char* escaped; member in struct:base::__anon3633::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::__anon3634::json_wide_test_data 76 EXPECT_EQ(std::string(json_wide_cases[i].escaped), out); 94 expected += json_wide_cases[0].escaped;
|
/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/netbsd/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/chromium/net/tools/dump_cache/ |
url_to_filename_encoder_unittest.cc | 84 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/iptables/iptables/ |
ip6tables-restore.c | 330 int quote_open, escaped; local 378 escaped = 0; 385 if (escaped) { 387 escaped = 0; 390 escaped = 1;
|
iptables-restore.c | 335 int quote_open, escaped; local 383 escaped = 0; 390 if (escaped) { 392 escaped = 0; 395 escaped = 1;
|
/external/open-vcdiff/gtest/src/ |
gtest-port.cc | 190 // Returns true iff the given atom (specified by escaped and pattern) 192 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { 193 if (escaped) { // "\\p" where p is pattern_char. 278 // expression. The regex atom is defined as c if escaped is false, 285 bool escaped, char c, char repeat, const char* regex, 302 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) 321 const bool escaped = *regex == '\\'; local 322 if (escaped) 329 escaped, regex[0], regex[1], regex + 2, str); 334 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) & [all...] |
/external/protobuf/gtest/src/ |
gtest-port.cc | 190 // Returns true iff the given atom (specified by escaped and pattern) 192 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { 193 if (escaped) { // "\\p" where p is pattern_char. 278 // expression. The regex atom is defined as c if escaped is false, 285 bool escaped, char c, char repeat, const char* regex, 302 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) 321 const bool escaped = *regex == '\\'; local 322 if (escaped) 329 escaped, regex[0], regex[1], regex + 2, str); 334 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) & [all...] |
/external/chromium/net/base/ |
escape.cc | 45 // 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 or unescaped) in the bi [all...] |
/external/chromium/testing/gtest/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...] |
/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/gtest/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...] |
/external/harfbuzz_ng/test/api/ |
test-buffer.c | 381 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/icu4c/test/intltest/ |
dtfmtrtts.cpp | 79 UnicodeString escaped; local 80 escape(str,escaped); 81 errln(UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status) + ", str=" + escaped);
|
/external/libvpx/libvpx/third_party/googletest/src/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...] |
/external/libxml2/ |
HTMLtree.c | 699 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/ |
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...] |
/external/skia/src/pdf/ |
SkPDFTypes.cpp | 308 static const char escaped[] = "#/%()<>[]{}"; local 312 if (input[i] & 0x80 || input[i] < '!' || strchr(escaped, input[i])) {
|
/external/webkit/Source/WebCore/platform/text/ |
SegmentedString.h | 208 bool escaped() const { return m_pushedChar1; } function in class:WebCore::SegmentedString
|
/libcore/json/src/main/java/org/json/ |
JSONTokener.java | 243 char escaped = in.charAt(pos++); local 244 switch (escaped) { 272 return escaped;
|
/external/chromium/net/http/ |
http_util.cc | 32 // escaped char (the char following a '\\') 39 // Hit a backslash-escaped char. Need to skip over it. 416 std::string escaped; local 417 escaped.reserve(2 + str.size()); 424 escaped.push_back('"'); 428 escaped.push_back('\\'); 429 escaped.push_back(c); 431 escaped.push_back('"'); 432 return escaped; 776 // * Does not detect when the final quote is escaped [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
URLParser.java | 213 protected String escaped() throws ParseException { method in class:URLParser 215 dbg_enter("escaped"); 229 throw createParseException("escaped"); 233 dbg_leave("escaped"); 728 retval.append(escaped()); method
|