Home
last modified time | relevance | path

Searched refs:unescaped (Results 1 – 25 of 54) sorted by relevance

123

/external/oss-fuzz/projects/abseil-cpp/
Dstring_escape_fuzzer.cc23 std::string escaped, unescaped; in LLVMFuzzerTestOneInput() local
25 absl::CUnescape(escaped, &unescaped); in LLVMFuzzerTestOneInput()
26 if (str != unescaped) in LLVMFuzzerTestOneInput()
30 absl::CUnescape(escaped, &unescaped); in LLVMFuzzerTestOneInput()
31 if (str != unescaped) in LLVMFuzzerTestOneInput()
35 absl::CUnescape(escaped, &unescaped); in LLVMFuzzerTestOneInput()
36 if (str != unescaped) in LLVMFuzzerTestOneInput()
40 absl::CUnescape(escaped, &unescaped); in LLVMFuzzerTestOneInput()
41 if (str != unescaped) in LLVMFuzzerTestOneInput()
47 if (str != unescaped) in LLVMFuzzerTestOneInput()
/external/protobuf/python/google/protobuf/internal/
Dtext_encoding_test.py59 for escaped, escaped_utf8, unescaped in TEST_VALUES:
61 text_encoding.CEscape(unescaped, as_utf8=False))
63 text_encoding.CEscape(unescaped, as_utf8=True))
66 for escaped, escaped_utf8, unescaped in TEST_VALUES:
67 self.assertEqual(unescaped, text_encoding.CUnescape(escaped))
68 self.assertEqual(unescaped, text_encoding.CUnescape(escaped_utf8))
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Descaping_test.cc34 std::string unescaped; member
95 std::string unescaped; in TEST() local
96 EXPECT_TRUE(absl::CUnescape(escaped, &unescaped)); in TEST()
97 EXPECT_EQ(s, unescaped); in TEST()
139 std::string escaped = absl::CEscape(val.unescaped); in TEST()
143 std::string escaped = absl::CHexEscape(val.unescaped); in TEST()
147 std::string escaped = absl::Utf8SafeCEscape(val.unescaped); in TEST()
151 std::string escaped = absl::Utf8SafeCHexEscape(val.unescaped); in TEST()
167 EXPECT_EQ(out, val.unescaped); in TEST()
637 std::string unescaped; in TEST() local
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/
Descaping_test.cc34 std::string unescaped; member
95 std::string unescaped; in TEST() local
96 EXPECT_TRUE(absl::CUnescape(escaped, &unescaped)); in TEST()
97 EXPECT_EQ(s, unescaped); in TEST()
139 std::string escaped = absl::CEscape(val.unescaped); in TEST()
143 std::string escaped = absl::CHexEscape(val.unescaped); in TEST()
147 std::string escaped = absl::Utf8SafeCEscape(val.unescaped); in TEST()
151 std::string escaped = absl::Utf8SafeCHexEscape(val.unescaped); in TEST()
167 EXPECT_EQ(out, val.unescaped); in TEST()
637 std::string unescaped; in TEST() local
[all …]
/external/abseil-cpp/absl/strings/
Descaping_test.cc34 std::string unescaped; member
95 std::string unescaped; in TEST() local
96 EXPECT_TRUE(absl::CUnescape(escaped, &unescaped)); in TEST()
97 EXPECT_EQ(s, unescaped); in TEST()
139 std::string escaped = absl::CEscape(val.unescaped); in TEST()
143 std::string escaped = absl::CHexEscape(val.unescaped); in TEST()
147 std::string escaped = absl::Utf8SafeCEscape(val.unescaped); in TEST()
151 std::string escaped = absl::Utf8SafeCHexEscape(val.unescaped); in TEST()
167 EXPECT_EQ(out, val.unescaped); in TEST()
637 std::string unescaped; in TEST() local
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/
Descaping_test.cc34 std::string unescaped; member
95 std::string unescaped; in TEST() local
96 EXPECT_TRUE(absl::CUnescape(escaped, &unescaped)); in TEST()
97 EXPECT_EQ(s, unescaped); in TEST()
139 std::string escaped = absl::CEscape(val.unescaped); in TEST()
143 std::string escaped = absl::CHexEscape(val.unescaped); in TEST()
147 std::string escaped = absl::Utf8SafeCEscape(val.unescaped); in TEST()
151 std::string escaped = absl::Utf8SafeCHexEscape(val.unescaped); in TEST()
167 EXPECT_EQ(out, val.unescaped); in TEST()
637 std::string unescaped; in TEST() local
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/
Descaping_test.cc34 std::string unescaped; member
95 std::string unescaped; in TEST() local
96 EXPECT_TRUE(absl::CUnescape(escaped, &unescaped)); in TEST()
97 EXPECT_EQ(s, unescaped); in TEST()
139 std::string escaped = absl::CEscape(val.unescaped); in TEST()
143 std::string escaped = absl::CHexEscape(val.unescaped); in TEST()
147 std::string escaped = absl::Utf8SafeCEscape(val.unescaped); in TEST()
151 std::string escaped = absl::Utf8SafeCHexEscape(val.unescaped); in TEST()
167 EXPECT_EQ(out, val.unescaped); in TEST()
637 std::string unescaped; in TEST() local
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/
Descaping_test.cc34 std::string unescaped; member
95 std::string unescaped; in TEST() local
96 EXPECT_TRUE(absl::CUnescape(escaped, &unescaped)); in TEST()
97 EXPECT_EQ(s, unescaped); in TEST()
139 std::string escaped = absl::CEscape(val.unescaped); in TEST()
143 std::string escaped = absl::CHexEscape(val.unescaped); in TEST()
147 std::string escaped = absl::Utf8SafeCEscape(val.unescaped); in TEST()
151 std::string escaped = absl::Utf8SafeCHexEscape(val.unescaped); in TEST()
167 EXPECT_EQ(out, val.unescaped); in TEST()
637 std::string unescaped; in TEST() local
[all …]
/external/webrtc/rtc_base/
Dbase64_unittest.cc349 std::string unescaped; in Base64Unescape() local
351 Base64::DecodeFromArray(src, szsrc, Base64::DO_LAX, &unescaped, nullptr)); in Base64Unescape()
352 memcpy(dest, unescaped.data(), std::min(unescaped.size(), szdest)); in Base64Unescape()
353 return unescaped.size(); in Base64Unescape()
1355 char unescaped[64 * 1024]; in TEST() local
1358 size_t size = Base64Unescape(SpecificTest, sizeof(SpecificTest), unescaped, in TEST()
1359 sizeof(unescaped)); in TEST()
1362 EXPECT_EQ(0, memcmp(testbase64, unescaped, sizeof(testbase64))); in TEST()
/external/curl/lib/
Dldap.c858 char *unescaped; in _ldap_url_parse2() local
864 result = Curl_urldecode(conn->data, dn, 0, &unescaped, NULL, REJECT_ZERO); in _ldap_url_parse2()
873 ludp->lud_dn = curlx_convert_UTF8_to_tchar(unescaped); in _ldap_url_parse2()
876 curlx_unicodefree(unescaped); in _ldap_url_parse2()
884 ludp->lud_dn = unescaped; in _ldap_url_parse2()
923 char *unescaped; in _ldap_url_parse2() local
929 result = Curl_urldecode(conn->data, attributes[i], 0, &unescaped, NULL, in _ldap_url_parse2()
941 ludp->lud_attrs[i] = curlx_convert_UTF8_to_tchar(unescaped); in _ldap_url_parse2()
944 curlx_unicodefree(unescaped); in _ldap_url_parse2()
954 ludp->lud_attrs[i] = unescaped; in _ldap_url_parse2()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/uri/
Duri_parser.cc46 std::string unescaped; in PercentDecode() local
49 unescaped = ""; in PercentDecode()
56 &unescaped) || in PercentDecode()
57 unescaped.length() > 1) { in PercentDecode()
60 out += unescaped[0]; in PercentDecode()
/external/tensorflow/tensorflow/core/framework/
Dop_gen_lib.cc142 string unescaped; in ConvertLine() local
143 if (!absl::CUnescape(escaped, &unescaped, nullptr)) { in ConvertLine()
151 for (int s = 0; unescaped.find(end) != string::npos; ++s) { in ConvertLine()
156 strings::StrAppend(ml, up_to_colon, ": <<", end, "\n", unescaped, "\n", end); in ConvertLine()
231 string unescaped; in PBTxtFromMultiline() local
239 unescaped.push_back('\n'); in PBTxtFromMultiline()
241 strings::StrAppend(&unescaped, line); in PBTxtFromMultiline()
246 strings::StrAppend(&pbtxt, " \"", absl::CEscape(unescaped), "\"", line, in PBTxtFromMultiline()
Dop_def_builder.cc196 string unescaped; in FinalizeAttr() local
198 VERIFY(absl::CUnescape(escaped_string, &unescaped, &error), in FinalizeAttr()
201 allowed->mutable_list()->add_s(unescaped); in FinalizeAttr()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/
DParserBase.java1145 int unescaped = _decodeEscaped(); in _decodeBase64Escape() local
1147 if (unescaped <= INT_SPACE) { in _decodeBase64Escape()
1153 int bits = b64variant.decodeBase64Char(unescaped); in _decodeBase64Escape()
1156 throw reportInvalidBase64Char(b64variant, unescaped, index); in _decodeBase64Escape()
1167 char unescaped = _decodeEscaped(); in _decodeBase64Escape() local
1169 if (unescaped <= INT_SPACE) { in _decodeBase64Escape()
1175 int bits = b64variant.decodeBase64Char(unescaped); in _decodeBase64Escape()
1179 throw reportInvalidBase64Char(b64variant, unescaped, index); in _decodeBase64Escape()
/external/libxml2/
DxmlIO.c886 char *unescaped; in xmlFileOpen() local
891 unescaped = xmlURIUnescapeString(filename, 0, NULL); in xmlFileOpen()
892 if (unescaped != NULL) { in xmlFileOpen()
893 retval = xmlFileOpen_real(unescaped); in xmlFileOpen()
894 xmlFree(unescaped); in xmlFileOpen()
1148 char *unescaped; in xmlGzfileOpen() local
1153 unescaped = xmlURIUnescapeString(filename, 0, NULL); in xmlGzfileOpen()
1154 if (unescaped != NULL) { in xmlGzfileOpen()
1155 retval = xmlGzfileOpen_real(unescaped); in xmlGzfileOpen()
1157 xmlFree(unescaped); in xmlGzfileOpen()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
Duri.go138 if unescaped, err := url.PathUnescape(uri); err == nil {
139 uri = unescaped
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/span/
Duri.go138 if unescaped, err := url.PathUnescape(uri); err == nil {
139 uri = unescaped
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/span/
Duri.go138 if unescaped, err := url.PathUnescape(uri); err == nil {
139 uri = unescaped
/external/rust/crates/syn/tests/common/
Deq.rs518 unescaped: Symbol, in doc_comment()
554 is_escaped_literal(&token, unescaped) && trees.next().is_none() in doc_comment()
560 fn is_escaped_literal(token: &Token, unescaped: Symbol) -> bool { in is_escaped_literal()
587 }) => symbol.as_str().replace('\r', "") == unescaped.as_str().replace('\r', ""), in is_escaped_literal()
609 (AttrKind::DocComment(kind, unescaped), AttrKind::Normal(item2, _tokens)) => { in eq()
617 MacArgs::Eq(_span, token) => is_escaped_literal(token, *unescaped), in eq()
/external/libxml2/result/
Dxhtml1.rdr22 ... unescaped script < content ...
Dxhtml1.rde22 ... unescaped script < content ...
Dxhtml1.sax25 ... unescaped script , 24)
/external/markdown/MarkdownTest/Tests_2007/
DBackslash escapes.text118 This is a tag with unescaped backticks <span attr='`ticks`'>bar</span>.
/external/python/cpython2/Doc/library/
Dfuture_builtins.rst34 printable Unicode characters unescaped, while :func:`ascii` will always
/external/llvm-project/llvm/test/Transforms/MemCpyOpt/
Dstackrestore.ll6 ; unescaped dynamic allocas, such as those that might come from inalloca.
15 ; Test that we can propagate memcpy through an unescaped dynamic alloca across

123