Home
last modified time | relevance | path

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

123456789

/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/
DUnicodeEscaper.java200 char[] escaped = escape(cp); in escapeSlow() local
201 if (escaped != null) { in escapeSlow()
207 int sizeNeeded = destIndex + charsSkipped + escaped.length; in escapeSlow()
217 if (escaped.length > 0) { in escapeSlow()
218 System.arraycopy(escaped, 0, dest, destIndex, escaped.length); in escapeSlow()
219 destIndex += escaped.length; in escapeSlow()
315 char[] escaped = escape(Character.toCodePoint((char) pendingHighSurrogate, in escape() local
317 if (escaped != null) { in escape()
321 outputChars(escaped, escaped.length); in escape()
353 char[] escaped = escape(cp); in escape() local
[all …]
/external/curl/src/
Dtool_setopt.c194 char *escaped, *e; in c_escape() local
197 escaped = malloc(4 * len + 1); in c_escape()
198 if(!escaped) in c_escape()
201 e = escaped; in c_escape()
231 return escaped; in c_escape()
358 char *escaped = NULL; in tool_setopt_httppost() local
383 Curl_safefree(escaped); in tool_setopt_httppost()
384 escaped = c_escape(pp->contents); in tool_setopt_httppost()
385 if(!escaped) { in tool_setopt_httppost()
391 DATA1(" CURLFORM_FILE, \"%s\",", escaped); in tool_setopt_httppost()
[all …]
/external/dbus/dbus/
Ddbus-address.c104 _dbus_address_append_escaped (DBusString *escaped, in _dbus_address_append_escaped() argument
114 orig_len = _dbus_string_get_length (escaped); in _dbus_address_append_escaped()
121 if (!_dbus_string_append_byte (escaped, *p)) in _dbus_address_append_escaped()
126 if (!_dbus_string_append_byte (escaped, '%')) in _dbus_address_append_escaped()
128 if (!_dbus_string_append_byte_as_hex (escaped, *p)) in _dbus_address_append_escaped()
139 _dbus_string_set_length (escaped, orig_len); in _dbus_address_append_escaped()
268 const DBusString *escaped, in append_unescaped_value() argument
279 p = _dbus_string_get_const_data (escaped) + escaped_start; in append_unescaped_value()
585 DBusString escaped; in dbus_address_escape_value() local
593 if (!_dbus_string_init (&escaped)) in dbus_address_escape_value()
[all …]
Ddbus-transport-unix.c134 char *escaped; in _dbus_transport_new_for_exec() local
146 escaped = dbus_address_escape_value (path); in _dbus_transport_new_for_exec()
147 if (!escaped) in _dbus_transport_new_for_exec()
154 !_dbus_string_append (&address, escaped)) in _dbus_transport_new_for_exec()
157 dbus_free (escaped); in _dbus_transport_new_for_exec()
161 dbus_free (escaped); in _dbus_transport_new_for_exec()
169 escaped = dbus_address_escape_value (argv[i]); in _dbus_transport_new_for_exec()
170 if (!escaped) in _dbus_transport_new_for_exec()
176 success = _dbus_string_append_printf (&address, ",argv%u=%s", i, escaped); in _dbus_transport_new_for_exec()
177 dbus_free (escaped); in _dbus_transport_new_for_exec()
/external/guava/guava-testlib/src/com/google/common/escape/testing/
DEscaperAsserts.java71 String escaped = computeReplacement(escaper, c); in assertEscaping() local
72 Assert.assertNotNull(escaped); in assertEscaping()
73 Assert.assertEquals(expected, escaped); in assertEscaping()
97 String escaped = computeReplacement(escaper, cp); in assertEscaping() local
98 Assert.assertNotNull(escaped); in assertEscaping()
99 Assert.assertEquals(expected, escaped); in assertEscaping()
125 String escaped = computeReplacement(escaper, cp); in assertUnicodeEscaping() local
126 Assert.assertNotNull(escaped); in assertUnicodeEscaping()
127 Assert.assertEquals(expected, escaped); in assertUnicodeEscaping()
/external/libchrome/base/json/
Dstring_escape_unittest.cc19 const char* escaped; in TEST() member
37 EXPECT_EQ(std::string(cases[i].escaped), out); in TEST()
42 EXPECT_EQ(std::string(cases[i].escaped), out); in TEST()
47 EXPECT_EQ("\"" + std::string(cases[i].escaped) + "\"", fooout); in TEST()
69 expected += cases[0].escaped; in TEST()
79 const char* escaped; in TEST() member
96 EXPECT_EQ(std::string(cases[i].escaped), out); in TEST()
100 EXPECT_EQ("\"" + std::string(cases[i].escaped) + "\"", out); in TEST()
121 expected += cases[0].escaped; in TEST()
166 const char* escaped; in TEST() member
[all …]
/external/libweave/third_party/chromium/base/json/
Dstring_escape_unittest.cc19 const char* escaped; in TEST() member
37 EXPECT_EQ(std::string(cases[i].escaped), out); in TEST()
42 EXPECT_EQ(std::string(cases[i].escaped), out); in TEST()
47 EXPECT_EQ("\"" + std::string(cases[i].escaped) + "\"", fooout); in TEST()
69 expected += cases[0].escaped; in TEST()
79 const char* escaped; in TEST() member
89 EXPECT_EQ(std::string(cases[i].escaped), in TEST()
91 EXPECT_EQ("\"" + std::string(cases[i].escaped) + "\"", 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()
60 escaped = false; in nextToken()
64 if (escaped || quoted) in nextToken()
67 escaped = false; in nextToken()
72 escaped = true; in nextToken()
DIETFUtils.java31 boolean escaped = false; in unescape()
62 if (!escaped) in unescape()
70 escaped = false; in unescape()
72 else if (c == '\\' && !(escaped || quoted)) in unescape()
74 escaped = true; in unescape()
79 if (c == ' ' && !escaped && !nonWhiteSpaceEncountered) in unescape()
83 if (escaped && isHexDigit(c)) in unescape()
88 escaped = false; in unescape()
96 escaped = false; in unescape()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DX509NameTokenizer.java46 boolean escaped = false; in nextToken()
56 if (!escaped) in nextToken()
61 escaped = false; in nextToken()
65 if (escaped || quoted) in nextToken()
68 escaped = false; in nextToken()
73 escaped = true; in nextToken()
/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/guava/guava/src/com/google/common/escape/
DUnicodeEscaper.java193 char[] escaped = escape(cp); in escapeSlow() local
195 if (escaped != null) { in escapeSlow()
200 int sizeNeeded = destIndex + charsSkipped + escaped.length; in escapeSlow()
210 if (escaped.length > 0) { in escapeSlow()
211 System.arraycopy(escaped, 0, dest, destIndex, escaped.length); in escapeSlow()
212 destIndex += escaped.length; in escapeSlow()
/external/protobuf/python/google/protobuf/internal/
Dtext_encoding_test.py55 for escaped, escaped_utf8, unescaped in TEST_VALUES:
56 self.assertEquals(escaped,
62 for escaped, escaped_utf8, unescaped in TEST_VALUES:
63 self.assertEquals(unescaped, text_encoding.CUnescape(escaped))
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DCommandLineSupport.java34 final StringBuilder escaped = new StringBuilder(); in quote() local
37 escaped.append(SLASH); in quote()
39 escaped.append(c); in quote()
42 escaped.insert(0, QUOTE).append(QUOTE); in quote()
44 return escaped.toString(); in quote()
/external/v8/test/mjsunit/regress/
Dregress-latin-1.js41 var escaped = base; variable
45 escaped = '\\' + base;
48 base_result = new RegExp('(' + escaped + ')\\1', 'i').exec(base + base);
50 lo_result = new RegExp('(' + escaped + ')\\1', 'i').exec(base + lo);
/external/apache-http/src/org/apache/http/message/
DBasicHeaderValueParser.java369 boolean escaped = false; in parseNameValuePair()
372 if (ch == '"' && !escaped) { in parseNameValuePair()
375 if (!qouted && !escaped && isOneOf(ch, delimiters)) { in parseNameValuePair()
379 if (escaped) { in parseNameValuePair()
380 escaped = false; in parseNameValuePair()
382 escaped = qouted && ch == '\\'; in parseNameValuePair()
/external/protobuf/gtest/src/
Dgtest-port.cc201 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() argument
202 if (escaped) { // "\\p" where p is pattern_char. in AtomMatchesChar()
294 bool escaped, char c, char repeat, const char* regex, in MatchRepetitionAndRegexAtHead() argument
311 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead()
330 const bool escaped = *regex == '\\'; in MatchRegexAtHead() local
331 if (escaped) in MatchRegexAtHead()
338 escaped, regex[0], regex[1], regex + 2, str); in MatchRegexAtHead()
343 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
/external/mesa3d/src/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/llvm/utils/unittest/googletest/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/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc228 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() argument
229 if (escaped) { // "\\p" where p is pattern_char. in AtomMatchesChar()
321 bool escaped, char c, char repeat, const char* regex, in MatchRepetitionAndRegexAtHead() argument
338 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead()
357 const bool escaped = *regex == '\\'; in MatchRegexAtHead() local
358 if (escaped) in MatchRegexAtHead()
365 escaped, regex[0], regex[1], regex + 2, str); in MatchRegexAtHead()
370 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
/external/gtest/src/
Dgtest-port.cc251 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() argument
252 if (escaped) { // "\\p" where p is pattern_char. in AtomMatchesChar()
344 bool escaped, char c, char repeat, const char* regex, in MatchRepetitionAndRegexAtHead() argument
361 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead()
380 const bool escaped = *regex == '\\'; in MatchRegexAtHead() local
381 if (escaped) in MatchRegexAtHead()
388 escaped, regex[0], regex[1], regex + 2, str); in MatchRegexAtHead()
393 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
/external/jetty/src/java/org/eclipse/jetty/server/
DCookieCutter.java134 boolean escaped=false; in parseFields()
144 if (escaped) in parseFields()
146 escaped=false; in parseFields()
170 escaped=true; in parseFields()
/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/llvm/test/YAMLParser/
Dspec-09-02.test8 escaped \
14 # CHECK: !!str "as space\n trimmed\n specific\n escaped\t none"
/external/webrtc/webrtc/base/
Dbase64_unittest.cc335 std::string escaped; in Base64Escape() local
336 Base64::EncodeFromArray((const char *)src, szsrc, &escaped); in Base64Escape()
337 memcpy(dest, escaped.data(), min(escaped.size(), szdest)); in Base64Escape()
338 return escaped.size(); in Base64Escape()

123456789