/aosp_15_r20/external/starlark-go/syntax/ |
H A D | quote.go | 7 // Starlark quoted string utilities. 45 // unquote unquotes the quoted string, returning the actual 46 // string value, whether the original was triple-quoted, 48 func unquote(quoted string) (s string, triple, isByte bool, err error) { 51 if strings.HasPrefix(quoted, "r") { 53 quoted = quoted[1:] 56 if strings.HasPrefix(quoted, "b") { 58 quoted = quoted[1:] 61 if len(quoted) < 2 { 66 if quoted[0] != '"' && quoted[0] != '\'' || quoted[0] != quoted[len(quoted)-1] { [all …]
|
/aosp_15_r20/external/apache-http/src/org/apache/commons/codec/net/ |
H A D | QuotedPrintableCodec.java | 31 …* Codec for the Quoted-Printable section of <a href="http://www.ietf.org/rfc/rfc1521.txt">RFC 1521… 34 …* The Quoted-Printable encoding is intended to represent data that largely consists of octets that… 37 …gely recognizable by humans. A body which is entirely ASCII may also be encoded in Quoted-Printable 46 …* Rules #3, #4, and #5 of the quoted-printable spec are not implemented yet because the complete q… 49 …* for those applications that do not require quoted-printable line formatting (rules #3, #4, #5), … 112 * Encodes byte into its quoted-printable representation. 128 …* Encodes an array of bytes into an array of quoted-printable 7-bit characters. Unsafe characters … 131 …* This function implements a subset of quoted-printable encoding specification (rule #1 and rule #… 136 * bitset of characters deemed quoted-printable 139 * @return array of bytes containing quoted-printable data [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/io/test/ |
D | quoted_test.cpp | 10 #include <boost/io/quoted.hpp> 21 ss << boost::io::quoted(s0); in main() 27 ss << boost::io::quoted(s0); in main() 28 ss >> boost::io::quoted(r); in main() 34 ss << boost::io::quoted(s0s); in main() 40 ss << boost::io::quoted(s0s); in main() 41 ss >> boost::io::quoted(r); in main() 47 ss << boost::io::quoted(s1); in main() 53 ss << boost::io::quoted("foo\\bar, \" *"); in main() 59 ss << boost::io::quoted(s1); in main() [all …]
|
D | quoted_fill_test.cpp | 8 #include <boost/io/quoted.hpp> 20 os << boost::io::quoted("xy"); in main() 30 os << boost::io::quoted(L"xy"); in main() 40 os << boost::io::quoted("xy"); in main() 50 os << boost::io::quoted(L"xy"); in main() 60 os << boost::io::quoted("xy"); in main() 70 os << boost::io::quoted(L"xy"); in main() 80 os << boost::io::quoted("xy"); in main() 90 os << boost::io::quoted(L"xy"); in main() 100 os << boost::io::quoted("xy"); in main() [all …]
|
/aosp_15_r20/external/libcxx/test/std/strings/string.view/string.view.nonmem/ |
H A D | quoted.pass.cpp | 12 // quoted 22 // quoted is C++14 only 38 ss << std::quoted(sv); in round_trip() 40 ss >> std::quoted(s); in round_trip() 51 ss << std::quoted(sv); in round_trip_ws() 53 ss >> std::quoted(s); in round_trip_ws() 62 ss << std::quoted(sv, delim); in round_trip_d() 64 ss >> std::quoted(s, delim); in round_trip_d() 72 ss << std::quoted(sv, '"', escape ); in round_trip_e() 74 ss >> std::quoted(s, '"', escape ); in round_trip_e() [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/net/http/ |
D | cookie_test.go | 154 // Quoted values (issue #46443) 156 &Cookie{Name: "cookie", Value: "quoted", Quoted: true}, 157 `cookie="quoted"`, 160 &Cookie{Name: "cookie", Value: "quoted with spaces", Quoted: true}, 161 `cookie="quoted with spaces"`, 164 &Cookie{Name: "cookie", Value: "quoted,with,commas", Quoted: true}, 165 `cookie="quoted,with,commas"`, 234 // Quoted values (issue #46443) 237 {Name: "cookie-1", Value: "quoted", Quoted: true}, 238 {Name: "cookie-2", Value: "quoted with spaces", Quoted: true}, [all …]
|
D | cookie.go | 26 Quoted bool // indicates whether the Value was originally quoted member 85 value, quoted, found := parseCookieValue(value, true) 89 cookies = append(cookies, &Cookie{Name: name, Value: value, Quoted: quoted}) 110 value, quoted, ok := parseCookieValue(value, true) 117 Quoted: quoted, 238 b.WriteString(sanitizeCookieValue(c.Value, c.Quoted)) 358 val, quoted, ok := parseCookieValue(val, true) 362 cookies = append(cookies, &Cookie{Name: name, Value: val, Quoted: quoted}) 447 // It receives a quoted bool indicating whether the value was originally 448 // quoted. [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/strings/string.view/string.view.nonmem/ |
H A D | quoted.pass.cpp | 15 // quoted 35 ss << std::quoted(sv); in round_trip() 37 ss >> std::quoted(s); in round_trip() 48 ss << std::quoted(sv); in round_trip_ws() 50 ss >> std::quoted(s); in round_trip_ws() 59 ss << std::quoted(sv, delim); in round_trip_d() 61 ss >> std::quoted(s, delim); in round_trip_d() 69 ss << std::quoted(sv, '"', escape); in round_trip_e() 71 ss >> std::quoted(s, '"', escape); in round_trip_e() 77 ss << std::quoted(p, delim, escape); in quote() [all …]
|
/aosp_15_r20/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
H A D | WebViewDeviceSideURLUtilTest.java | 158 "Double quoted filenames are accepted", in guessFileName_legacyBehavior() 163 "Spaces in double quoted strings are accepted", in guessFileName_legacyBehavior() 168 "Spaces in single quoted strings are accepted", in guessFileName_legacyBehavior() 183 "Filename value can be single-quoted", in guessFileName_legacyBehavior() 193 "Semicolon can appear in single-quoted strings", in guessFileName_legacyBehavior() 198 "Semicolon can appear in double-quoted strings", in guessFileName_legacyBehavior() 203 "An equals sign in a single-quoted string is accepted", in guessFileName_legacyBehavior() 208 "An equals sign in a double-quoted string is accepted", in guessFileName_legacyBehavior() 276 "Slashes should be replaced with underscores in single quoted strings", in guessFileName_usesRfc6266() 307 "Double quoted filenames are accepted", in guessFileName_usesRfc6266() [all …]
|
/aosp_15_r20/system/core/init/ |
H A D | tokenizer_test.cpp | 139 TEST(tokenizer, quoted) { in TEST() argument 140 RunTest("\"quoted simple string\"", {{"quoted simple string"}}); in TEST() 143 RunTest("\"unterminated quoted string", {}); in TEST() 145 RunTest("\"1 2 3\"\n \"unterminated quoted string", {{"1 2 3"}}); in TEST() 147 // Escaping quotes is not allowed and are treated as an unterminated quoted string. in TEST() 148 RunTest("\"quoted escaped quote\\\"\"", {}); in TEST() 149 RunTest("\"quoted escaped\\\" quote\"", {}); in TEST() 150 RunTest("\"\\\"quoted escaped quote\"", {}); in TEST() 152 RunTest("\"quoted control characters \\n \\r \\t \\\\ \\b \\\r \\\n \r \n\"", in TEST() 153 {{"quoted control characters \\n \\r \\t \\\\ \\b \\\r \\\n \r \n"}}); in TEST() [all …]
|
/aosp_15_r20/cts/hostsidetests/webkit/compatchangeapp/src/com/android/cts/webkit/compatchange/ |
H A D | WebViewDeviceSideURLUtilTest.java | 135 "Double quoted filenames are accepted", in guessFileName_legacyBehavior() 140 "Spaces in double quoted strings are accepted", in guessFileName_legacyBehavior() 145 "Semicolon can appear in double-quoted strings", in guessFileName_legacyBehavior() 150 "An equals sign in a double-quoted string is accepted", in guessFileName_legacyBehavior() 218 "Slashes should be replaced with underscores in single quoted strings", in guessFileName_usesRfc6266() 249 "Double quoted filenames are accepted", in guessFileName_usesRfc6266() 254 "Spaces in double quoted strings are accepted", in guessFileName_usesRfc6266() 259 "Spaces in single quoted strings are accepted", in guessFileName_usesRfc6266() 274 "Filename value can be single-quoted", in guessFileName_usesRfc6266() 327 "Semicolon can appear in single-quoted strings", in guessFileName_usesRfc6266() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/email/ |
D | quoprimime.py | 5 """Quoted-printable content transfer encoding per RFCs 2045-2047. 8 to encode US ASCII-like 8-bit data called `quoted-printable'. It is used to 13 Quoted-printable is very space-inefficient for encoding binary files; use the 17 with quoted-printable encoding. 85 """Return a header quoted-printable encoding length. 92 quoted-printable for headers. 98 """Return a body quoted-printable encoding length. 102 quoted-printable for bodies. 128 """Encode a single header line with quoted-printable (like) encoding. 130 Defined in RFC 2045, this `Q' encoding is similar to quoted-printable, but [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/email/ |
D | quoprimime.py | 5 """Quoted-printable content transfer encoding per RFCs 2045-2047. 8 to encode US ASCII-like 8-bit data called `quoted-printable'. It is used to 13 Quoted-printable is very space-inefficient for encoding binary files; use the 17 with quoted-printable encoding. 85 """Return a header quoted-printable encoding length. 92 quoted-printable for headers. 98 """Return a body quoted-printable encoding length. 102 quoted-printable for bodies. 128 """Encode a single header line with quoted-printable (like) encoding. 130 Defined in RFC 2045, this `Q' encoding is similar to quoted-printable, but [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/email/ |
D | quoprimime.py | 5 """Quoted-printable content transfer encoding per RFCs 2045-2047. 8 to encode US ASCII-like 8-bit data called `quoted-printable'. It is used to 13 Quoted-printable is very space-inefficient for encoding binary files; use the 17 with quoted-printable encoding. 85 """Return a header quoted-printable encoding length. 92 quoted-printable for headers. 98 """Return a body quoted-printable encoding length. 102 quoted-printable for bodies. 128 """Encode a single header line with quoted-printable (like) encoding. 130 Defined in RFC 2045, this `Q' encoding is similar to quoted-printable, but [all …]
|
D | _header_value_parser.py | 41 the value of a 'bare-quoted-string' (a quoted-string with no leading or 43 is preserved in the returned value. Note that in all Terminal strings quoted 48 produced the parsed subtree, including minimal use of quoted pair quoting. 64 It is returned in place of lists of (ctext/quoted-pair) and 65 (qtext/quoted-pair). 226 token_type = 'quoted-string' 231 if x.token_type == 'bare-quoted-string': 238 if x.token_type == 'bare-quoted-string': 247 if token.token_type == 'bare-quoted-string': 253 token_type = 'bare-quoted-string' [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/email/ |
D | quoprimime.py | 5 """Quoted-printable content transfer encoding per RFCs 2045-2047. 8 to encode US ASCII-like 8-bit data called `quoted-printable'. It is used to 13 Quoted-printable is very space-inefficient for encoding binary files; use the 17 with quoted-printable encoding. 85 """Return a header quoted-printable encoding length. 92 quoted-printable for headers. 98 """Return a body quoted-printable encoding length. 102 quoted-printable for bodies. 128 """Encode a single header line with quoted-printable (like) encoding. 130 Defined in RFC 2045, this `Q' encoding is similar to quoted-printable, but [all …]
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/email/ |
H A D | quoprimime.py | 5 """Quoted-printable content transfer encoding per RFCs 2045-2047. 8 to encode US ASCII-like 8-bit data called `quoted-printable'. It is used to 13 Quoted-printable is very space-inefficient for encoding binary files; use the 17 with quoted-printable encoding. 85 """Return a header quoted-printable encoding length. 92 quoted-printable for headers. 98 """Return a body quoted-printable encoding length. 102 quoted-printable for bodies. 128 """Encode a single header line with quoted-printable (like) encoding. 130 Defined in RFC 2045, this `Q' encoding is similar to quoted-printable, but [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/email/ |
D | quoprimime.py | 5 """Quoted-printable content transfer encoding per RFCs 2045-2047. 8 to encode US ASCII-like 8-bit data called `quoted-printable'. It is used to 13 Quoted-printable is very space-inefficient for encoding binary files; use the 17 with quoted-printable encoding. 85 """Return a header quoted-printable encoding length. 92 quoted-printable for headers. 98 """Return a body quoted-printable encoding length. 102 quoted-printable for bodies. 128 """Encode a single header line with quoted-printable (like) encoding. 130 Defined in RFC 2045, this `Q' encoding is similar to quoted-printable, but [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/io/doc/ |
D | quoted.adoc | 9 # Quoted Manipulators, <boost/io/quoted.hpp> 33 The Boost quoted stream I/O manipulator places delimiters, defaulted to the 43 ss << quoted(original); 44 ss >> quoted(roundtrip); 46 std::cout << quoted(original); // outputs: "fooled you" 56 std::cout << quoted("'Jack & Jill'", '&', '\''); // outputs: '&'Jack && Jill&'' 68 quoted(const std::basic_string<Char, Traits, Alloc>& string, 73 quoted(const Char* string, Char escape='\\', Char delim='\"'); 77 quoted(std::basic_string<Char, Traits, Alloc>& string, 101 corresponding arguments of the call to the `quoted` function that constructed [all …]
|
/aosp_15_r20/external/armnn/src/armnn/ |
H A D | ProfilingDetails.hpp | 48 m_ProfilingDetails << std::quoted("Name") << ": " << std::quoted(workloadName); in AddDetailsToString() 52 m_ProfilingDetails << std::quoted("GUID") << ": " << std::quoted(std::to_string(guid)); in AddDetailsToString() 91 m_ProfilingDetails << std::quoted("Convolution Method") << ": " in AddDetailsToString() 92 << std::quoted(infos.m_ConvolutionMethod.value()); in AddDetailsToString() 100 m_ProfilingDetails << std::quoted(name) << " : " << std::quoted(value); in AddDetailsToString() 138 m_ProfilingDetails << std::quoted(ioString + " " + std::to_string(i)) << ": "; in PrintInfos() 144 m_ProfilingDetails << std::quoted("Shape") << ": \"["; in PrintInfos() 157 m_ProfilingDetails << std::quoted("DataType") << ": " in PrintInfos() 158 << std::quoted(GetDataTypeName(infos[i].GetDataType())); in PrintInfos() 165 m_ProfilingDetails << std::quoted("Num Dims") << ": " in PrintInfos() [all …]
|
/aosp_15_r20/external/tpm2-tss/src/tss2-esys/api/ |
H A D | Esys_Quote.c | 38 * @param[out] quoted The quoted information. 40 * @param[out] signature The signature over quoted . 75 TPM2B_ATTEST **quoted, in Esys_Quote() argument 95 r = Esys_Quote_Finish(esysContext, quoted, signature); in Esys_Quote() 226 * @param[out] quoted The quoted information. 228 * @param[out] signature The signature over quoted . 252 TPM2B_ATTEST **quoted, in Esys_Quote_Finish() argument 256 LOG_TRACE("context=%p, quoted=%p, signature=%p", in Esys_Quote_Finish() 257 esysContext, quoted, signature); in Esys_Quote_Finish() 273 if (quoted != NULL) { in Esys_Quote_Finish() [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/strconv/ |
D | quote.go | 121 // Quote returns a double-quoted Go string literal representing s. The 129 // AppendQuote appends a double-quoted Go string literal representing s, 135 // QuoteToASCII returns a double-quoted Go string literal representing s. 142 // AppendQuoteToASCII appends a double-quoted Go string literal representing s, 148 // QuoteToGraphic returns a double-quoted Go string literal representing s. 156 // AppendQuoteToGraphic appends a double-quoted Go string literal representing s, 162 // QuoteRune returns a single-quoted Go character literal representing the 171 // AppendQuoteRune appends a single-quoted Go character literal representing the rune, 177 // QuoteRuneToASCII returns a single-quoted Go character literal representing 187 // AppendQuoteRuneToASCII appends a single-quoted Go character literal representing the rune, [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/input.output/iostream.format/quoted.manip/ |
H A D | quoted_traits.compile.pass.cpp | 13 // std::quoted 14 // Verify that the result type of std::quoted can be streamed to 56 using Q = decltype(std::quoted("hello")); in test_string_literal() 63 using WQ = decltype(std::quoted(L"hello")); in test_string_literal() 78 using Q = decltype(std::quoted(s)); in test_std_string() 79 using CQ = decltype(std::quoted(cs)); in test_std_string() 91 using QT = decltype(std::quoted(st)); in test_std_string() 92 using CQT = decltype(std::quoted(cst)); in test_std_string() 105 using WQ = decltype(std::quoted(ws)); in test_std_string() 106 using CWQ = decltype(std::quoted(cws)); in test_std_string() [all …]
|
H A D | quoted.pass.cpp | 13 // quoted 30 auto q = std::quoted(str); in both_ways() 44 ss << std::quoted(p); in round_trip() 46 ss >> std::quoted(s); in round_trip() 58 ss << std::quoted(p); in round_trip_ws() 60 ss >> std::quoted(s); in round_trip_ws() 70 ss << std::quoted(p, d); in round_trip_d() 72 ss >> std::quoted(s, d); in round_trip_d() 81 ss << std::quoted(p, CharT('"'), e ); in round_trip_e() 83 ss >> std::quoted(s, CharT('"'), e ); in round_trip_e() [all …]
|
/aosp_15_r20/external/libcxx/test/std/input.output/iostream.format/quoted.manip/ |
H A D | quoted.pass.cpp | 12 // quoted 31 auto q = std::quoted(str); in both_ways() 45 ss << std::quoted(p); in round_trip() 47 ss >> std::quoted(s); in round_trip() 59 ss << std::quoted(p); in round_trip_ws() 61 ss >> std::quoted(s); in round_trip_ws() 71 ss << std::quoted(p, d); in round_trip_d() 73 ss >> std::quoted(s, d); in round_trip_d() 82 ss << std::quoted(p, CharT('"'), e ); in round_trip_e() 84 ss >> std::quoted(s, CharT('"'), e ); in round_trip_e() [all …]
|