/external/nist-sip/java/javax/sip/header/ |
Encoding.java | 5 public interface Encoding { 7 void setEncoding(String encoding) throws ParseException;
|
/external/llvm/lib/Analysis/ |
ModuleDebugInfoPrinter.cpp | 108 if (const char *Encoding = 110 O << Encoding; 112 O << "unknown-encoding(" << BT->getEncoding() << ')';
|
/external/v8/tools/ |
shell-utils.h | 37 enum Encoding {
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlSanitizer.java | 139 Encoding.decodeHtml(html.substring(token.start, token.end))); 142 balancer.text(Encoding.stripBannedCodeunits( 172 attrs.add(Encoding.decodeHtml(stripQuotes(
|
Encoding.java | 36 final class Encoding {
|
HtmlStreamRenderer.java | 184 Encoding.encodeHtmlOnto(value, output); 238 Encoding.stripBannedCodeunits(cdataContent); 269 Encoding.encodeHtmlOnto(text, output); // Works for RCDATA.
|
/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/clang/lib/Format/ |
Encoding.h | 1 //===--- Encoding.h - Format C++ code -------------------------------------===// 11 /// \brief Contains functions for text encoding manipulation. Supports UTF-8, 25 namespace encoding { namespace in namespace:clang::format 27 enum Encoding { 32 /// \brief Detects encoding of the Text. If the Text can be decoded using UTF-8, 33 /// it is considered UTF8, otherwise we treat it as some 8-bit encoding. 34 inline Encoding detectEncoding(StringRef Text) { 51 /// Encoding. 52 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...] |
ContinuationIndenter.h | 19 #include "Encoding.h" 42 encoding::Encoding Encoding, 142 encoding::Encoding Encoding;
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
SIMCCodeEmitter.cpp | 58 /// \returns the encoding for an MCOperand. 86 // Returns the encoding value to use if the given integer is an integer inline 185 uint64_t Encoding = getBinaryCodeForInstr(MI, Fixups, STI); 190 OS.write((uint8_t) ((Encoding >> (8 * i)) & 0xff)); 275 llvm_unreachable("Encoding of this operand type is not supported yet.");
|
/external/llvm/lib/Target/BPF/MCTargetDesc/ |
BPFMCCodeEmitter.cpp | 42 // binary encoding for an instruction. 47 // getMachineOpValue - Return binary encoding of operand. If the machin 137 // Get instruction encoding and emit it 156 uint64_t Encoding; 159 Encoding = MRI.getEncodingValue(Op1.getReg()); 160 Encoding <<= 16; 163 Encoding |= Op2.getImm() & 0xffff; 164 return 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...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLX509CertPath.java | 42 * Supported encoding types for CerthPath. Used by the various APIs that 45 private enum Encoding { 51 Encoding(String apiName) { 55 static Encoding findByApiName(String apiName) throws CertificateEncodingException { 56 for (Encoding element : values()) { 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 [all...] |
/external/llvm/utils/TableGen/ |
X86RecognizableInstr.h | 45 /// encoding and therefore distinct from the UID 49 // The encoding field from the record 50 uint8_t Encoding; 127 /// immediateEncodingFromString - Translates an immediate encoding from the 134 /// @return - The operand's encoding. 158 /// \brief Adjust the encoding type for an operand based on the instruction. 159 void adjustOperandEncoding(OperandEncoding &encoding);
|
/external/skia/include/core/ |
SkTypeface.h | 155 enum Encoding { 162 * Given an array of character codes, of the specified encoding, 166 * @param encoding how the characters are encoded 177 int charsToGlyphs(const void* chars, Encoding encoding, uint16_t glyphs[], 352 virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[],
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
ExpatPerformanceTest.java | 77 Xml.parse(newInputStream(), Xml.Encoding.UTF_8, new DefaultHandler());
|
/external/llvm/include/llvm/Bitcode/ |
BitCodes.h | 43 /// single bit to indicate if it is a literal encoding. If so, the value is 44 /// emitted with a vbr8. If not, the encoding is emitted as 3 bits followed 85 /// 2. It could be an encoding specification ("this operand encoded like so"). 88 uint64_t Val; // A literal value or data for an encoding. 90 unsigned Enc : 3; // The encoding to use. 92 enum Encoding { 95 Array = 3, // A sequence of fields, next field species elt encoding. 101 explicit BitCodeAbbrevOp(Encoding E, uint64_t Data = 0) 110 // Accessors for encoding info. 111 Encoding getEncoding() const { assert(isEncoding()); return (Encoding)Enc; [all...] |
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/ |
SIMCCodeEmitter.cpp | 33 // NOTE: This enum is only used to identify the encoding type within LLVM, 34 // the actual encoding type that is part of the instruction format is different 36 enum Encoding { 77 /// getMachineOpValue - Reutrn the encoding for an MCOperand. 86 /// GPR2AlignEncode - Encoding for when 2 consecutive registers are used 90 /// GPR4AlignEncode - Encoding for when 4 consectuive registers are used 99 /// SMRDmemriEncode - Encoding for SMRD indexed loads 111 ///getEncodingBytes - Get then size in bytes of this instructions encoding. 114 /// getRegBinaryCode - Returns the hardware encoding for a register 117 /// getHWRegNum - Generated function that returns the hardware encoding fo [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
wsdxmldom.h | 31 WORD Encoding;
|
/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...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
MIMEContainer.java | 20 private static final String Encoding = "Content-Transfer-Encoding"; 108 List<String> encoding = headers.get(Encoding); local 111 if (encoding != null) { 112 for (String text : encoding) { 126 String.format("%s MIME container, boundary '%s', type '%s', encoding %s", 127 multiPart ? "multipart" : "plain", boundary, mContentType, encoding));
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 34 * Static methods for encoding header field values. This includes encoded-words 83 public enum Encoding { 84 /** The B encoding (identical to base64 defined in RFC 2045). */ 86 /** The Q encoding (similar to quoted-printable defined in RFC 2045). */ 191 * @return the specified text if encoding is not necessary or an encoded 232 // than 78 characters each. Encoding as encoded-words makes 254 * encoding to use for the encoded-word are detected automatically. 278 * encoding to use for the encoded-word are detected automatically. 312 * @param encoding 313 * the encoding to use for the encoded-word (either B or Q). [all...] |
/packages/services/Telephony/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 34 * Static methods for encoding header field values. This includes encoded-words 83 public enum Encoding { 84 /** The B encoding (identical to base64 defined in RFC 2045). */ 86 /** The Q encoding (similar to quoted-printable defined in RFC 2045). */ 191 * @return the specified text if encoding is not necessary or an encoded 232 // than 78 characters each. Encoding as encoded-words makes 254 * encoding to use for the encoded-word are detected automatically. 278 * encoding to use for the encoded-word are detected automatically. 312 * @param encoding 313 * the encoding to use for the encoded-word (either B or Q). [all...] |
/external/llvm/lib/CodeGen/ |
TargetLoweringObjectFileImpl.cpp | 54 unsigned Encoding = getPersonalityEncoding(); 55 if ((Encoding & 0x80) == dwarf::DW_EH_PE_indirect) 58 if ((Encoding & 0x70) == dwarf::DW_EH_PE_absptr) 60 report_fatal_error("We do not support this DWARF encoding yet!"); 88 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, 92 if (Encoding & dwarf::DW_EH_PE_indirect) { 107 Encoding & ~dwarf::DW_EH_PE_indirect, Streamer); 111 getTTypeGlobalReference(GV, Encoding, Mang, TM, MMI, Streamer); 649 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, 654 if (Encoding & DW_EH_PE_indirect) [all...] |