/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | EncodingTest.java | 45 assertEquals(golden, Encoding.decodeHtml(html)); in testDecodeHtml() 48 assertSame(golden, Encoding.decodeHtml(golden)); in testDecodeHtml() 53 Encoding.decodeHtml("\\\\u000a")); in testDecodeHtml() 56 Encoding.decodeHtml("
")); in testDecodeHtml() 59 Encoding.decodeHtml("
")); in testDecodeHtml() 62 Encoding.decodeHtml("
")); in testDecodeHtml() 65 Encoding.decodeHtml("
")); in testDecodeHtml() 68 Encoding.decodeHtml("𐀀")); in testDecodeHtml() 71 Encoding.decodeHtml("
")); in testDecodeHtml() 74 Encoding.decodeHtml("�ziggy")); in testDecodeHtml() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | UrlComponentEncodingTester.java | 40 private static final Map<Integer, Encoding> defaultEncodings; 42 Map<Integer, Encoding> map = new LinkedHashMap<>(); 43 map.put( 0x0, Encoding.PERCENT); // Null character 44 map.put( 0x1, Encoding.PERCENT); // Start of Header 45 map.put( 0x2, Encoding.PERCENT); // Start of Text 46 map.put( 0x3, Encoding.PERCENT); // End of Text 47 map.put( 0x4, Encoding.PERCENT); // End of Transmission 48 map.put( 0x5, Encoding.PERCENT); // Enquiry 49 map.put( 0x6, Encoding.PERCENT); // Acknowledgment 50 map.put( 0x7, Encoding.PERCENT); // Bell [all …]
|
/external/skqp/tests/ |
D | SRGBReadWritePixelsTest.cpp | 150 enum class Encoding { enum 157 static sk_sp<SkColorSpace> encoding_as_color_space(Encoding encoding) { in encoding_as_color_space() 159 case Encoding::kUntagged: return nullptr; in encoding_as_color_space() 160 case Encoding::kLinear: return SkColorSpace::MakeSRGBLinear(); in encoding_as_color_space() 161 case Encoding::kSRGB: return SkColorSpace::MakeSRGB(); in encoding_as_color_space() 166 static GrPixelConfig encoding_as_pixel_config(Encoding encoding) { in encoding_as_pixel_config() 168 case Encoding::kUntagged: return kRGBA_8888_GrPixelConfig; in encoding_as_pixel_config() 169 case Encoding::kLinear: return kRGBA_8888_GrPixelConfig; in encoding_as_pixel_config() 170 case Encoding::kSRGB: return kSRGBA_8888_GrPixelConfig; in encoding_as_pixel_config() 175 static const char* encoding_as_str(Encoding encoding) { in encoding_as_str() [all …]
|
/external/skia/tests/ |
D | SRGBReadWritePixelsTest.cpp | 152 enum class Encoding { enum 159 static sk_sp<SkColorSpace> encoding_as_color_space(Encoding encoding) { in encoding_as_color_space() 161 case Encoding::kUntagged: return nullptr; in encoding_as_color_space() 162 case Encoding::kLinear: return SkColorSpace::MakeSRGBLinear(); in encoding_as_color_space() 163 case Encoding::kSRGB: return SkColorSpace::MakeSRGB(); in encoding_as_color_space() 168 static const char* encoding_as_str(Encoding encoding) { in encoding_as_str() 170 case Encoding::kUntagged: return "untagged"; in encoding_as_str() 171 case Encoding::kLinear: return "linear"; in encoding_as_str() 172 case Encoding::kSRGB: return "sRGB"; in encoding_as_str() 190 static std::unique_ptr<GrSurfaceContext> make_surface_context(Encoding contextEncoding, in make_surface_context() [all …]
|
/external/pdfium/fxbarcode/datamatrix/ |
D | BC_HighLevelEncoder.cpp | 58 static_cast<size_t>(CBC_HighLevelEncoder::Encoding::LAST) + 1; 114 size_t EncoderIndex(CBC_HighLevelEncoder::Encoding encoding) { in EncoderIndex() 115 ASSERT(encoding != CBC_HighLevelEncoder::Encoding::UNKNOWN); in EncoderIndex() 154 Encoding encodingMode = Encoding::ASCII; in EncodeHighLevel() 159 if (context.m_newEncoding != Encoding::UNKNOWN) { in EncodeHighLevel() 170 if (encodingMode != Encoding::ASCII && encodingMode != Encoding::BASE256) in EncodeHighLevel() 185 CBC_HighLevelEncoder::Encoding CBC_HighLevelEncoder::LookAheadTest( in LookAheadTest() 188 CBC_HighLevelEncoder::Encoding currentMode) { in LookAheadTest() 193 if (currentMode == Encoding::ASCII) { in LookAheadTest() 206 if (intCharCounts[EncoderIndex(Encoding::ASCII)] == min) in LookAheadTest() [all …]
|
D | BC_ASCIIEncoder.cpp | 63 CBC_HighLevelEncoder::Encoding CBC_ASCIIEncoder::GetEncodingMode() { in GetEncodingMode() 64 return CBC_HighLevelEncoder::Encoding::ASCII; in GetEncodingMode() 81 CBC_HighLevelEncoder::Encoding newMode = CBC_HighLevelEncoder::LookAheadTest( in Encode() 85 case CBC_HighLevelEncoder::Encoding::BASE256: in Encode() 88 case CBC_HighLevelEncoder::Encoding::C40: in Encode() 91 case CBC_HighLevelEncoder::Encoding::X12: in Encode() 94 case CBC_HighLevelEncoder::Encoding::TEXT: in Encode() 97 case CBC_HighLevelEncoder::Encoding::EDIFACT: in Encode()
|
/external/clang/lib/Format/ |
D | Encoding.h | 28 enum Encoding { enum 35 inline Encoding detectEncoding(StringRef Text) { in detectEncoding() 53 inline unsigned getCodePointCount(StringRef Text, Encoding Encoding) { in getCodePointCount() argument 54 switch (Encoding) { in getCodePointCount() 65 inline unsigned columnWidth(StringRef Text, Encoding Encoding) { in columnWidth() argument 66 if (Encoding == Encoding_UTF8) { in columnWidth() 82 unsigned TabWidth, Encoding Encoding) { in columnWidthWithTabs() argument 88 return TotalWidth + columnWidth(Tail, Encoding); in columnWidthWithTabs() 89 TotalWidth += columnWidth(Tail.substr(0, TabPos), Encoding); in columnWidthWithTabs() 97 inline unsigned getCodePointNumBytes(char FirstChar, Encoding Encoding) { in getCodePointNumBytes() argument [all …]
|
D | BreakableToken.h | 76 bool InPPDirective, encoding::Encoding Encoding, in BreakableToken() argument 79 Encoding(Encoding), Style(Style) {} in BreakableToken() 84 const encoding::Encoding Encoding; variable 101 encoding::Encoding Encoding, 123 encoding::Encoding Encoding, const FormatStyle &Style); 141 encoding::Encoding Encoding, const FormatStyle &Style); 168 encoding::Encoding Encoding, const FormatStyle &Style);
|
D | BreakableToken.cpp | 46 encoding::Encoding Encoding) { in getCommentSplit() argument 56 encoding::getCodePointNumBytes(Text[MaxSplitBytes], Encoding); in getCommentSplit() 59 ContentStartColumn, TabWidth, Encoding); in getCommentSplit() 87 unsigned TabWidth, encoding::Encoding Encoding) { in getStringSplit() argument 104 Advance = encoding::getCodePointNumBytes(Text[0], Encoding); in getStringSplit() 106 Text.substr(0, Advance), UsedColumns + Chars, TabWidth, Encoding); in getStringSplit() 141 Style.TabWidth, Encoding); in getLineLengthAfterSplit() 147 encoding::Encoding Encoding, const FormatStyle &Style) in BreakableSingleLineToken() argument 148 : BreakableToken(Tok, IndentLevel, InPPDirective, Encoding, Style), in BreakableSingleLineToken() 158 encoding::Encoding Encoding, const FormatStyle &Style) in BreakableStringLiteral() argument [all …]
|
/external/llvm/lib/Target/Lanai/MCTargetDesc/ |
D | LanaiMCCodeEmitter.cpp | 191 unsigned Encoding; in getRiMemoryOpValue() local 202 Encoding = (getLanaiRegisterNumbering(Op1.getReg()) << 18); in getRiMemoryOpValue() 207 Encoding |= (Op2.getImm() & 0xffff); in getRiMemoryOpValue() 210 Encoding |= (0x3 << 16); in getRiMemoryOpValue() 212 Encoding |= (0x1 << 16); in getRiMemoryOpValue() 217 return Encoding; in getRiMemoryOpValue() 223 unsigned Encoding; in getRrMemoryOpValue() local 229 Encoding = (getLanaiRegisterNumbering(Op1.getReg()) << 15); in getRrMemoryOpValue() 231 Encoding |= (getLanaiRegisterNumbering(Op2.getReg()) << 10); in getRrMemoryOpValue() 236 Encoding |= LPAC::encodeLanaiAluCode(AluOp) << 5; in getRrMemoryOpValue() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/MCTargetDesc/ |
D | LanaiMCCodeEmitter.cpp | 189 unsigned Encoding; in getRiMemoryOpValue() local 200 Encoding = (getLanaiRegisterNumbering(Op1.getReg()) << 18); in getRiMemoryOpValue() 205 Encoding |= (Op2.getImm() & 0xffff); in getRiMemoryOpValue() 208 Encoding |= (0x3 << 16); in getRiMemoryOpValue() 210 Encoding |= (0x1 << 16); in getRiMemoryOpValue() 215 return Encoding; in getRiMemoryOpValue() 221 unsigned Encoding; in getRrMemoryOpValue() local 227 Encoding = (getLanaiRegisterNumbering(Op1.getReg()) << 15); in getRrMemoryOpValue() 229 Encoding |= (getLanaiRegisterNumbering(Op2.getReg()) << 10); in getRrMemoryOpValue() 234 Encoding |= LPAC::encodeLanaiAluCode(AluOp) << 5; in getRrMemoryOpValue() [all …]
|
/external/honggfuzz/examples/apache-httpd/corpus_http2/ |
D | 4c5a302046ccaf3c009f3db111e49c5b.000005c5.honggfuzz.cov | 5 Accept-Encoding:"gzip,������� de+.9,image/webp,im�ge-apng,text/html*/*;q=0.. 7 Accept-Encoding:"gzip, de+.9,image/webp,image/apog,text/html*/*;q=0.. 9 Accept-Encoding:"gzip.. 11 Accept-Encoding:"gzip,������� de+.9,image/webp,im�ge-apng,text/html*/*;q=0.. 13 Accept-Encoding:"gzip, de+.9,image/webp,image/ap972�C5000(XBasic11; Linux x86_64) AppleWeb�it/537.3… 16 Accept-Encoding:"gzip,������� de+.9,image/webp,im�ge-apng,text/html*/*;q=0.. 18 Accept-Encoding:"gzip, de+.9,image/webp,image/apog,text/html*/*;q=0.. 20 Accept-Encoding:"gzip.. 22 Accept-Encoding:"gzip,������� de+.9,image/webp,im�ge-apng,text/html*/*;q=0.. 24 Accept-Encoding:"gzip, de+.9,image/webp,image/apog,text/hog,text/html*/*;q=0.. [all …]
|
D | 1096b50d726d2db12659927757519966.00000480.honggfuzz.cov | 7 AccTpt-Encoding: gzip, deflate, b������������������������������������������������:tml HTTP/1.1 8 Transfer-Encoding: chunked 11 Transfer-Encoding: chunked 18 Transfer-Encoding: chunked 25 AccTpt-Encoding: gzip, deflate, b���������������������b��������������������������:tml HTTP/1.1 26 uransfer-Encoding: chunked 29 Transfer-Encoding: chunked
|
/external/honggfuzz/examples/apache-httpd/corpus_http1/ |
D | 4c5a302046ccaf3c009f3db111e49c5b.000005c5.honggfuzz.cov | 5 Accept-Encoding:"gzip,������� de+.9,image/webp,im�ge-apng,text/html*/*;q=0.. 7 Accept-Encoding:"gzip, de+.9,image/webp,image/apog,text/html*/*;q=0.. 9 Accept-Encoding:"gzip.. 11 Accept-Encoding:"gzip,������� de+.9,image/webp,im�ge-apng,text/html*/*;q=0.. 13 Accept-Encoding:"gzip, de+.9,image/webp,image/ap972�C5000(XBasic11; Linux x86_64) AppleWeb�it/537.3… 16 Accept-Encoding:"gzip,������� de+.9,image/webp,im�ge-apng,text/html*/*;q=0.. 18 Accept-Encoding:"gzip, de+.9,image/webp,image/apog,text/html*/*;q=0.. 20 Accept-Encoding:"gzip.. 22 Accept-Encoding:"gzip,������� de+.9,image/webp,im�ge-apng,text/html*/*;q=0.. 24 Accept-Encoding:"gzip, de+.9,image/webp,image/apog,text/hog,text/html*/*;q=0.. [all …]
|
D | 1096b50d726d2db12659927757519966.00000480.honggfuzz.cov | 7 AccTpt-Encoding: gzip, deflate, b������������������������������������������������:tml HTTP/1.1 8 Transfer-Encoding: chunked 11 Transfer-Encoding: chunked 18 Transfer-Encoding: chunked 25 AccTpt-Encoding: gzip, deflate, b���������������������b��������������������������:tml HTTP/1.1 26 uransfer-Encoding: chunked 29 Transfer-Encoding: chunked
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLX509CertPath.java | 52 private enum Encoding { enum in OpenSSLX509CertPath 58 Encoding(String apiName) { in Encoding() method in OpenSSLX509CertPath.Encoding 62 static Encoding findByApiName(String apiName) throws CertificateEncodingException { in findByApiName() 63 for (Encoding element : values()) { in findByApiName() 76 Encoding.PKI_PATH.apiName, 77 Encoding.PKCS7.apiName, 80 private static final Encoding DEFAULT_ENCODING = Encoding.PKI_PATH; 99 private byte[] getEncoded(Encoding encoding) throws CertificateEncodingException { in getEncoded() 132 Encoding enc = Encoding.findByApiName(encoding); in getEncoded() 230 private static CertPath fromEncoding(InputStream inStream, Encoding encoding) in fromEncoding() [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLX509CertPath.java | 51 private enum Encoding { enum in OpenSSLX509CertPath 57 Encoding(String apiName) { in Encoding() method in OpenSSLX509CertPath.Encoding 61 static Encoding findByApiName(String apiName) throws CertificateEncodingException { in findByApiName() 62 for (Encoding element : values()) { in findByApiName() 75 Encoding.PKI_PATH.apiName, 76 Encoding.PKCS7.apiName, 79 private static final Encoding DEFAULT_ENCODING = Encoding.PKI_PATH; 98 private byte[] getEncoded(Encoding encoding) throws CertificateEncodingException { in getEncoded() 131 Encoding enc = Encoding.findByApiName(encoding); in getEncoded() 229 private static CertPath fromEncoding(InputStream inStream, Encoding encoding) in fromEncoding() [all …]
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ANTLRxxxxStreamFixture.cs | 44 using Encoding = System.Text.Encoding; typedef 66 Encoding encoding = Encoding.Unicode; in TestANTLRInputStreamConstructorDoesNotHang() 78 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); in TestSizeOnEmptyANTLRInputStream() 85 Encoding encoding = Encoding.Unicode; in TestSizeOnANTLRInputStream() 89 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); in TestSizeOnANTLRInputStream() 96 Encoding encoding = Encoding.Unicode; in TestConsumeAndIndexOnANTLRInputStream() 100 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); in TestConsumeAndIndexOnANTLRInputStream() 119 Encoding encoding = Encoding.Unicode; in TestConsumeAllCharactersInAnANTLRInputStream() 123 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); in TestConsumeAllCharactersInAnANTLRInputStream() 135 Encoding encoding = Encoding.Unicode; in TestConsumeOnANTLRInputStream() [all …]
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_x448.py | 113 serialization.Encoding.Raw, 118 serialization.Encoding.Raw, serialization.PublicFormat.Raw 122 serialization.Encoding.Raw, serialization.PublicFormat.Raw 129 serialization.Encoding.PEM, 136 serialization.Encoding.DER, 143 serialization.Encoding.PEM, 150 serialization.Encoding.DER, 193 serialization.Encoding.Raw, 200 serialization.Encoding.Raw, 207 serialization.Encoding.PEM, [all …]
|
D | test_x25519.py | 111 key.public_bytes(serialization.Encoding.Raw) 143 serialization.Encoding.Raw, 148 serialization.Encoding.Raw, serialization.PublicFormat.Raw 152 serialization.Encoding.Raw, serialization.PublicFormat.Raw 183 serialization.Encoding.Raw, 190 serialization.Encoding.Raw, 197 serialization.Encoding.PEM, 206 serialization.Encoding.Raw, 212 serialization.Encoding.PEM, 218 serialization.Encoding.PEM, [all …]
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | ANTLRInputStream.cs | 34 using Encoding = System.Text.Encoding; typedef 53 public ANTLRInputStream(Stream input, Encoding encoding) in ANTLRInputStream() 57 public ANTLRInputStream(Stream input, int size, Encoding encoding) in ANTLRInputStream() 61 public ANTLRInputStream(Stream input, int size, int readBufferSize, Encoding encoding) in ANTLRInputStream() 65 private static StreamReader GetStreamReader(Stream input, Encoding encoding) { in GetStreamReader()
|
D | ANTLRFileStream.cs | 40 using Encoding = System.Text.Encoding; typedef 68 this(fileName, Encoding.Default) in ANTLRFileStream() 76 public ANTLRFileStream(string fileName, Encoding encoding) in ANTLRFileStream() 101 public virtual void Load(string fileName, Encoding encoding) in Load() 115 fr = new StreamReader(fileName, Encoding.Default); in Load()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | ANTLRInputStream.cs | 35 using Encoding = System.Text.Encoding; typedef 57 public ANTLRInputStream( Stream input, Encoding encoding ) in ANTLRInputStream() 62 public ANTLRInputStream( Stream input, int size, Encoding encoding ) in ANTLRInputStream() 67 public ANTLRInputStream( Stream input, int size, int readBufferSize, Encoding encoding ) in ANTLRInputStream() 72 private static StreamReader GetStreamReader(Stream input, Encoding encoding) in GetStreamReader()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCAsmInfo.cpp | 52 unsigned Encoding, in getExprForPersonalitySymbol() argument 54 if (Encoding & dwarf::DW_EH_PE_pcrel) { in getExprForPersonalitySymbol() 60 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol() 65 unsigned Encoding, in getExprForFDESymbol() argument 67 if (Encoding & dwarf::DW_EH_PE_pcrel) { in getExprForFDESymbol() 72 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForFDESymbol()
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCAsmInfo.cpp | 49 unsigned Encoding, in getExprForPersonalitySymbol() argument 51 if (Encoding & dwarf::DW_EH_PE_pcrel) { in getExprForPersonalitySymbol() 57 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol() 62 unsigned Encoding, in getExprForFDESymbol() argument 64 if (Encoding & dwarf::DW_EH_PE_pcrel) { in getExprForFDESymbol() 69 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForFDESymbol()
|