/external/owasp/sanitizer/src/tests/org/owasp/html/ |
EncodingTest.java | 45 assertEquals(golden, Encoding.decodeHtml(html)); 48 assertSame(golden, Encoding.decodeHtml(golden)); 53 Encoding.decodeHtml("\\\\u000a")); 56 Encoding.decodeHtml("
")); 59 Encoding.decodeHtml("
")); 62 Encoding.decodeHtml("
")); 65 Encoding.decodeHtml("
")); 68 Encoding.decodeHtml("𐀀")); 71 Encoding.decodeHtml("
")); 74 Encoding.decodeHtml("�ziggy")) [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
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); // Bel 209 Encoding encoding = entry.getValue(); local [all...] |
/external/nist-sip/java/javax/sip/header/ |
ContentEncodingHeader.java | 3 public interface ContentEncodingHeader extends Encoding, Header { 4 String NAME = "Content-Encoding";
|
Encoding.java | 5 public interface Encoding { 7 void setEncoding(String encoding) throws ParseException;
|
AcceptEncodingHeader.java | 5 public interface AcceptEncodingHeader extends Encoding, Header, Parameters { 6 String NAME = "Accept-Encoding";
|
/external/clang/lib/Format/ |
Encoding.h | 1 //===--- Encoding.h - Format C++ code -------------------------------------===// 11 /// \brief Contains functions for text encoding manipulation. Supports UTF-8, 26 namespace encoding { namespace in namespace:clang::format 28 enum Encoding { 33 /// \brief Detects encoding of the Text. If the Text can be decoded using UTF-8, 34 /// it is considered UTF8, otherwise we treat it as some 8-bit encoding. 35 inline Encoding detectEncoding(StringRef Text) { 52 /// Encoding. 53 inline unsigned getCodePointCount(StringRef Text, Encoding Encoding) { [all...] |
BreakableToken.h | 20 #include "Encoding.h" 76 bool InPPDirective, encoding::Encoding Encoding, 79 Encoding(Encoding), Style(Style) {} 84 const encoding::Encoding Encoding; 101 encoding::Encoding Encoding [all...] |
FormatTokenLexer.h | 19 #include "Encoding.h" 32 const FormatStyle &Style, encoding::Encoding Encoding); 77 encoding::Encoding Encoding;
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
ANTLRInputStream.cs | 34 using Encoding = System.Text.Encoding; 53 public ANTLRInputStream(Stream input, Encoding encoding) 54 : this(input, InitialBufferSize, encoding) { 57 public ANTLRInputStream(Stream input, int size, Encoding encoding) 58 : this(input, size, ReadBufferSize, encoding) { 61 public ANTLRInputStream(Stream input, int size, int readBufferSize, Encoding encoding) [all...] |
ANTLRFileStream.cs | 40 using Encoding = System.Text.Encoding; 68 this(fileName, Encoding.Default) 74 /// specified file name and encoding 76 public ANTLRFileStream(string fileName, Encoding encoding) 79 Load(fileName, encoding); 100 /// <param name="encoding">Encoding to apply to file</param> 101 public virtual void Load(string fileName, Encoding encoding [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ANTLRInputStream.cs | 35 using Encoding = System.Text.Encoding; 57 public ANTLRInputStream( Stream input, Encoding encoding ) 58 : this( input, InitialBufferSize, encoding ) 62 public ANTLRInputStream( Stream input, int size, Encoding encoding ) 63 : this( input, size, ReadBufferSize, encoding ) 67 public ANTLRInputStream( Stream input, int size, int readBufferSize, Encoding encoding ) [all...] |
ANTLRFileStream.cs | 35 using Encoding = System.Text.Encoding; 57 public ANTLRFileStream( string fileName, Encoding encoding ) 60 Load( fileName, encoding ); 63 public virtual void Load( string fileName, Encoding encoding ) 71 if (encoding == null) 74 text = File.ReadAllText(fileName, encoding);
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
SparcMCAsmInfo.h | 28 getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, 31 unsigned Encoding,
|
SparcMCAsmInfo.cpp | 49 unsigned Encoding, 51 if (Encoding & dwarf::DW_EH_PE_pcrel) { 57 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer); 62 unsigned Encoding, 64 if (Encoding & dwarf::DW_EH_PE_pcrel) { 69 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer);
|
/external/mdnsresponder/mDNSWindows/DLL.NET/ |
PString.h | 33 Byte unicodeBytes[] = Encoding::Unicode->GetBytes(string); 34 Byte utf8Bytes[] = Encoding::Convert(Encoding::Unicode, Encoding::UTF8, unicodeBytes);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
thumb2_ldmstm_bad.s | 6 ldmia r15, {r0-r3} @ Encoding T2, UNPREDICTABLE 7 ldmia r15!, {r0-r3} @ Encoding T2, UNPREDICTABLE 8 ldmia r1, {r14, r15} @ Encoding T2, UNPREDICTABLE 9 ldmia r0!, {r0-r3} @ Encoding T2, UNPREDICTABLE 12 ldmiaeq r0, {r12, r15} @ Encoding T2, UNPREDICTABLE 13 ldmiaeq r0!, {r0, r1} @ Encoding T2, UNPREDICTABLE 17 stmia.w r0!, {r0-r3} @ Encoding T2, UNPREDICTABLE 18 stmia r1!, {r0-r3} @ Encoding T1, r1 is UNKNOWN 19 stmia r15!, {r0-r3} @ Encoding T2, UNPREDICTABLE 20 stmia r15, {r0-r3} @ Encoding T2, UNPREDICTABL [all...] |
thumb2_ldmstm.s | 27 ldmia r0!, {r1-r3} @ Encoding T1 28 ldmia r0, {r0-r3} @ Encoding T1 29 ldmia r0!, {r1} @ Encoding T1 30 ldmia r0, {r8-r11} @ Encoding T2 31 ldmia.w r0!, {r1-r3} @ Encoding T2 32 ldmia r0!, {r8-r11} @ Encoding T2 33 ldmia r0!, {r12, r14} @ Encoding T2 34 ldmia r0!, {r12, pc} @ Encoding T2 36 ldmiaeq r0!, {r12, pc} @ Encoding T2 40 stmia r0!, {r0-r3} @ Encoding T1, Allowed as r0 is lowest re [all...] |
/external/llvm/lib/Target/ARM/ |
ARMTargetObjectFile.cpp | 44 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, 49 GV, Encoding, Mang, TM, MMI, Streamer); 51 assert(Encoding == DW_EH_PE_absptr && "Can handle absptr encoding only");
|
/external/llvm/lib/Target/Sparc/ |
SparcTargetObjectFile.cpp | 19 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, 23 if (Encoding & dwarf::DW_EH_PE_pcrel) { 42 GV, Encoding, Mang, TM, MMI, Streamer);
|
SparcTargetObjectFile.h | 27 getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding,
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
X86TargetObjectFile.cpp | 24 MachineModuleInfo *MMI, unsigned Encoding, 29 if (Encoding & (DW_EH_PE_indirect | DW_EH_PE_pcrel)) { 38 getExprForDwarfGlobalReference(GV, Mang, MMI, Encoding, Streamer);
|
X86TargetObjectFile.h | 26 MachineModuleInfo *MMI, unsigned Encoding,
|
/external/llvm/lib/Target/Lanai/MCTargetDesc/ |
LanaiMCCodeEmitter.cpp | 48 // the binary encoding of instructions/opereands. 51 // binary encoding for an instruction. 56 // getMachineOpValue - Return binary encoding of operand. If the machine 110 // getMachineOpValue - Return binary encoding of operand. If the machine 178 // Get instruction encoding and emit it 191 unsigned Encoding; 202 Encoding = (getLanaiRegisterNumbering(Op1.getReg()) << 18); 207 Encoding |= (Op2.getImm() & 0xffff); 210 Encoding |= (0x3 << 16); 212 Encoding |= (0x1 << 16) [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64MCAsmInfo.h | 28 getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
|
/frameworks/base/core/java/android/util/ |
Xml.java | 78 public static void parse(InputStream in, Encoding encoding, 83 source.setEncoding(encoding.expatName); 129 public enum Encoding { 138 Encoding(String expatName) { 144 * Finds an encoding by name. Returns UTF-8 if you pass {@code null}. 146 public static Encoding findEncodingByName(String encodingName) 149 return Encoding.UTF_8; 152 for (Encoding encoding : Encoding.values()) [all...] |