/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/clang/lib/Format/ |
D | Encoding.h | 27 enum Encoding { enum 34 inline Encoding detectEncoding(StringRef Text) { in detectEncoding() 52 inline unsigned getCodePointCount(StringRef Text, Encoding Encoding) { in getCodePointCount() argument 53 switch (Encoding) { in getCodePointCount() 64 inline unsigned columnWidth(StringRef Text, Encoding Encoding) { in columnWidth() argument 65 if (Encoding == Encoding_UTF8) { in columnWidth() 81 unsigned TabWidth, Encoding Encoding) { in columnWidthWithTabs() argument 87 return TotalWidth + columnWidth(Tail, Encoding); in columnWidthWithTabs() 88 TotalWidth += columnWidth(Tail.substr(0, TabPos), Encoding); in columnWidthWithTabs() 96 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/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLX509CertPath.java | 45 private enum Encoding { enum in OpenSSLX509CertPath 51 Encoding(String apiName) { in Encoding() method in OpenSSLX509CertPath.Encoding 55 static Encoding findByApiName(String apiName) throws CertificateEncodingException { in findByApiName() 56 for (Encoding element : values()) { in findByApiName() 69 Encoding.PKI_PATH.apiName, 70 Encoding.PKCS7.apiName, 73 private static final Encoding DEFAULT_ENCODING = Encoding.PKI_PATH; 92 private byte[] getEncoded(Encoding encoding) throws CertificateEncodingException { in getEncoded() 125 Encoding enc = Encoding.findByApiName(encoding); in getEncoded() 219 private static CertPath fromEncoding(InputStream inStream, Encoding encoding) in fromEncoding() [all …]
|
/external/antlr/antlr-3.4/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/antlr/antlr-3.4/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()
|
D | ANTLRFileStream.cs | 35 using Encoding = System.Text.Encoding; typedef 57 public ANTLRFileStream( string fileName, Encoding encoding ) in ANTLRFileStream() 63 public virtual void Load( string fileName, Encoding encoding ) in Load()
|
/external/antlr/antlr-3.4/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/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()
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/ |
D | ProtobufWireAdapter.java | 342 options.outputEncodings = new PoloProto.Options.Encoding[n]; in toProto() 349 options.inputEncodings = new PoloProto.Options.Encoding[n]; in toProto() 371 private PoloProto.Options.Encoding toProto(EncodingOption enc) { in toProto() 372 PoloProto.Options.Encoding encoding = new PoloProto.Options.Encoding(); in toProto() 376 encoding.type = PoloProto.Options.Encoding.ENCODING_TYPE_ALPHANUMERIC; in toProto() 379 encoding.type = PoloProto.Options.Encoding.ENCODING_TYPE_HEXADECIMAL; in toProto() 382 encoding.type = PoloProto.Options.Encoding.ENCODING_TYPE_NUMERIC; in toProto() 385 encoding.type = PoloProto.Options.Encoding.ENCODING_TYPE_QRCODE; in toProto() 388 encoding.type = PoloProto.Options.Encoding.ENCODING_TYPE_UNKNOWN; in toProto() 499 for (PoloProto.Options.Encoding e : protoMessage.inputEncodings) { in fromProto() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinterDwarf.cpp | 59 static const char *DecodeDWARFEncoding(unsigned Encoding) { in DecodeDWARFEncoding() argument 60 switch (Encoding) { in DecodeDWARFEncoding() 117 unsigned AsmPrinter::GetSizeOfEncodedValue(unsigned Encoding) const { in GetSizeOfEncodedValue() 118 if (Encoding == dwarf::DW_EH_PE_omit) in GetSizeOfEncodedValue() 121 switch (Encoding & 0x07) { in GetSizeOfEncodedValue() 136 unsigned Encoding) const { in EmitTTypeReference() 141 TLOF.getTTypeGlobalReference(GV, Encoding, *Mang, TM, MMI, in EmitTTypeReference() 143 OutStreamer->EmitValue(Exp, GetSizeOfEncodedValue(Encoding)); in EmitTTypeReference() 145 OutStreamer->EmitIntValue(0, GetSizeOfEncodedValue(Encoding)); in EmitTTypeReference()
|
/external/llvm/lib/Support/ |
D | Dwarf.cpp | 226 const char *llvm::dwarf::FormEncodingString(unsigned Encoding) { in FormEncodingString() argument 227 switch (Encoding) { in FormEncodingString() 265 const char *llvm::dwarf::OperationEncodingString(unsigned Encoding) { in OperationEncodingString() argument 266 switch (Encoding) { in OperationEncodingString() 282 const char *llvm::dwarf::AttributeEncodingString(unsigned Encoding) { in AttributeEncodingString() argument 283 switch (Encoding) { in AttributeEncodingString() 450 const char *llvm::dwarf::LNExtendedString(unsigned Encoding) { in LNExtendedString() argument 451 switch (Encoding) { in LNExtendedString() 463 const char *llvm::dwarf::MacinfoString(unsigned Encoding) { in MacinfoString() argument 464 switch (Encoding) { in MacinfoString() [all …]
|
/external/curl/tests/data/ |
D | test266 | 6 chunked Transfer-Encoding 15 Transfer-Encoding: chunked 33 Transfer-Encoding: chunked 48 HTTP GET with chunked Transfer-Encoding and chunked trailer 70 Transfer-Encoding: chunked
|
D | test34 | 6 chunked Transfer-Encoding 15 Transfer-Encoding: chunked 31 Transfer-Encoding: chunked 45 HTTP GET with chunked Transfer-Encoding
|
D | test36 | 6 chunked Transfer-Encoding 16 Transfer-Encoding: chunked 28 Transfer-Encoding: chunked 42 HTTP GET with bad chunked Transfer-Encoding
|
D | test1124 | 7 Transfer-Encoding 8 chunked Transfer-Encoding 26 Vary: Accept-Encoding 28 Transfer-Encoding: gzip, chunked
|
D | test1116 | 6 chunked Transfer-Encoding 15 Transfer-Encoding: chunked 33 Transfer-Encoding: chunked 69 Transfer-Encoding: chunked
|
D | test1417 | 6 chunked Transfer-Encoding 15 Transfer-Encoding: chunked 33 Transfer-Encoding: chunked 70 Transfer-Encoding: chunked
|
/external/llvm/include/llvm/Bitcode/ |
D | BitCodes.h | 92 enum Encoding { enum 101 explicit BitCodeAbbrevOp(Encoding E, uint64_t Data = 0) 111 Encoding getEncoding() const { assert(isEncoding()); return (Encoding)Enc; } in getEncoding() 118 static bool hasEncodingData(Encoding E) { in hasEncodingData()
|
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/ |
D | SIMCCodeEmitter.cpp | 36 enum Encoding { enum 133 uint64_t Encoding = getBinaryCodeForInstr(MI, Fixups); in EncodeInstruction() local 136 OS.write((uint8_t) ((Encoding >> (8 * i)) & 0xff)); in EncodeInstruction() 199 uint32_t Encoding; in SMRDmemriEncode() local 206 Encoding = in SMRDmemriEncode() 212 return Encoding; in SMRDmemriEncode()
|
/external/llvm/lib/MC/ |
D | MCAsmInfo.cpp | 122 unsigned Encoding, in getExprForPersonalitySymbol() argument 124 return getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol() 129 unsigned Encoding, in getExprForFDESymbol() argument 131 if (!(Encoding & dwarf::DW_EH_PE_pcrel)) in getExprForFDESymbol()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcTargetObjectFile.cpp | 19 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() argument 23 if (Encoding & dwarf::DW_EH_PE_pcrel) { in getTTypeGlobalReference() 42 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
|