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

123

/external/tensorflow/tensorflow/core/lib/strings/
H A Dscanner.cc21 void Scanner::ScanUntilImpl(char end_ch, bool escaped) { argument
33 if (escaped && ch == '\\') {
/external/libchrome/base/json/
H A Dstring_escape_unittest.cc19 const char* escaped; member in struct:base::__anon10848
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::__anon10849
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::__anon10850
[all...]
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_rbsp.h45 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;
/external/protobuf/src/google/protobuf/util/internal/
H A Djson_escaping.cc50 // 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 cod
[all...]
/external/webrtc/webrtc/base/
H A Dbase64_unittest.cc335 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();
/external/google-breakpad/src/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/harfbuzz_ng/test/api/
H A Dtest-buffer.c391 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/iptables/iptables/
H A Dip6tables-restore.c127 int quote_open = 0, escaped = 0, param_len = 0; local
136 if (escaped) {
138 escaped = 0;
141 escaped = 1;
H A Diptables-restore.c125 int quote_open = 0, escaped = 0, param_len = 0; local
134 if (escaped) {
136 escaped = 0;
139 escaped = 1;
H A Dxtables-restore.c102 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/
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.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/nist-sip/java/gov/nist/javax/sip/parser/
H A DURLParser.java213 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());
/external/protobuf/gtest/src/
H A Dgtest-port.cc199 // Returns true iff the given atom (specified by escaped and pattern)
201 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
202 if (escaped) { // "\\p" where p is pattern_char.
287 // expression. The regex atom is defined as c if escaped is false,
294 bool escaped, char c, char repeat, const char* regex,
311 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i]))
330 const bool escaped = *regex == '\\'; local
331 if (escaped)
338 escaped, regex[0], regex[1], regex + 2, str);
343 return (*str != '\0') && AtomMatchesChar(escaped, *rege
293 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]
/external/swiftshader/third_party/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/tensorflow/tensorflow/core/framework/
H A Dattr_value_util.cc36 string escaped = str_util::CEscape(str); local
40 if (escaped.size() >= kMaxStringSummarySize) {
41 StringPiece prefix(escaped);
43 prefix.remove_suffix(escaped.size() - 10);
44 suffix.remove_prefix(escaped.size() - 10);
47 return strings::StrCat("\"", escaped, "\"");
H A Dop_gen_lib.cc133 StringPiece escaped = after_colon.substr(0, last_quote); local
135 // We've now parsed line into '<up_to_colon>: "<escaped>"<suffix>'
138 if (!str_util::CUnescape(escaped, &unescaped, nullptr)) {
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp141 llvm::SmallPtrSet<const VarDecl *, 20> &escaped)
143 Escaped(escaped), currentBlock(nullptr) {}
404 // escaped.
423 // Treat local variables captured by reference in C++ lambdas as escaped.
138 DeadStoreObs(const CFG &cfg, ASTContext &ctx, BugReporter &br, const CheckerBase *checker, AnalysisDeclContext *ac, ParentMap &parents, llvm::SmallPtrSet<const VarDecl *, 20> &escaped) argument
/external/curl/src/
H A Dtool_setopt.c217 char *escaped, *e; local
227 escaped = malloc(4 * len + 1);
228 if(!escaped)
231 e = escaped;
261 return escaped;
386 char *escaped = NULL; local
396 Curl_safefree(escaped);
397 escaped = c_escape(slist->data, CURL_ZERO_TERMINATED);
398 if(!escaped)
401 *slistno, *slistno, escaped);
417 char *escaped = NULL; local
615 char *escaped = NULL; local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Ddtfmtrtts.cpp80 UnicodeString escaped; local
81 escape(str,escaped);
82 errln(UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status) + ", str=" + escaped);
/external/googletest/googletest/src/
H A Dgtest-port.cc650 // Returns true iff the given atom (specified by escaped and pattern)
652 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
653 if (escaped) { // "\\p" where p is pattern_char.
738 // expression. The regex atom is defined as c if escaped is false,
745 bool escaped, char c, char repeat, const char* regex,
762 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i]))
781 const bool escaped = *regex == '\\'; local
782 if (escaped)
789 escaped, regex[0], regex[1], regex + 2, str);
794 return (*str != '\0') && AtomMatchesChar(escaped, *rege
744 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest-port.cc650 // Returns true iff the given atom (specified by escaped and pattern)
652 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
653 if (escaped) { // "\\p" where p is pattern_char.
738 // expression. The regex atom is defined as c if escaped is false,
745 bool escaped, char c, char repeat, const char* regex,
762 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i]))
781 const bool escaped = *regex == '\\'; local
782 if (escaped)
789 escaped, regex[0], regex[1], regex + 2, str);
794 return (*str != '\0') && AtomMatchesChar(escaped, *rege
744 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]
/external/v8/src/parsing/
H A Dscanner.cc947 // Skip escaped newlines.
991 // Other escaped characters are interpreted as their non-escaped version.
1554 bool escaped) {
1559 escaped = true;
1574 if (escaped && next_.literal_chars->is_one_byte()) {
1553 ScanIdentifierSuffix(LiteralScope* literal, bool escaped) argument
/external/v8/testing/gtest/src/
H A Dgtest-port.cc632 // Returns true iff the given atom (specified by escaped and pattern)
634 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { argument
635 if (escaped) { // "\\p" where p is pattern_char.
720 // expression. The regex atom is defined as c if escaped is false,
727 bool escaped, char c, char repeat, const char* regex,
744 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i]))
763 const bool escaped = *regex == '\\'; local
764 if (escaped)
771 escaped, regex[0], regex[1], regex + 2, str);
776 return (*str != '\0') && AtomMatchesChar(escaped, *rege
726 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
[all...]
/external/valgrind/coregrind/m_gdbserver/
H A Dremote-utils.c689 /* Convert BUFFER, binary data at least LEN bytes long, into escaped
708 /* These must be escaped. */
724 /* Convert BUFFER, escaped data LEN bytes long, into binary data
729 escaped characters than that function does, in particular because
730 '*' must be escaped to avoid the run-length encoding processing
738 int escaped; local
741 escaped = 0;
748 if (escaped) {
750 escaped = 0;
752 escaped
[all...]

Completed in 2324 milliseconds

123