/external/llvm/test/MC/ARM/ |
vfp4.s | 1 @ RUN: llvm-mc < %s -triple armv7-unknown-unknown -show-encoding -mattr=+neon,+vfp4 | FileCheck %s --check-prefix=ARM 2 @ RUN: llvm-mc < %s -triple thumbv7-unknown-unknown -show-encoding -mattr=+neon,+vfp4 | FileCheck %s --check-prefix=THUMB 3 @ RUN: not llvm-mc < %s -triple thumbv7-unknown-unknown -show-encoding -mcpu=cortex-m4 > %t 2> %t2 7 @ ARM: vfma.f64 d16, d18, d17 @ encoding: [0xa1,0x0b,0xe2,0xee] 8 @ THUMB: vfma.f64 d16, d18, d17 @ encoding: [0xe2,0xee,0xa1,0x0b] 13 @ ARM: vfma.f32 s2, s4, s0 @ encoding: [0x00,0x1a,0xa2,0xee] 14 @ THUMB: vfma.f32 s2, s4, s0 @ encoding: [0xa2,0xee,0x00,0x1a] 15 @ THUMB_V7EM: vfma.f32 s2, s4, s0 @ encoding: [0xa2,0xee,0x00,0x1a] 18 @ ARM: vfma.f32 d16, d18, d17 @ encoding: [0xb1,0x0c,0x42,0xf2] 19 @ THUMB: vfma.f32 d16, d18, d17 @ encoding: [0x42,0xef,0xb1,0x0c [all...] |
arm_fixups.s | 1 @ RUN: llvm-mc -triple armv7-unknown-unknown %s --show-encoding > %t 3 @ RUN: llvm-mc -triple armebv7-unknown-unknown %s --show-encoding > %t 7 @ CHECK: bl _printf @ encoding: [A,A,A,0xeb] 9 @ CHECK-BE: bl _printf @ encoding: [0xeb,A,A,A] 16 @ CHECK: movw r9, :lower16:_foo @ encoding: [A,0x90'A',0b0000AAAA,0xe3] 18 @ CHECK-BE: movw r9, :lower16:_foo @ encoding: [0xe3,0b0000AAAA,0x90'A',A] 20 @ CHECK: movw r9, :lower16:_foo @ encoding: [A,0x90'A',0b0000AAAA,0xe3] 22 @ CHECK-BE: movw r9, :lower16:_foo @ encoding: [0xe3,0b0000AAAA,0x90'A',A] 24 @ CHECK: movt r9, :upper16:_foo @ encoding: [A,0x90'A',0b0100AAAA,0xe3] 26 @ CHECK-BE: movt r9, :upper16:_foo @ encoding: [0xe3,0b0100AAAA,0x90'A',A [all...] |
neont2-vst-encoding.s | 1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s 5 @ CHECK: vst1.8 {d16}, [r0:64] @ encoding: [0x40,0xf9,0x1f,0x07] 7 @ CHECK: vst1.16 {d16}, [r0] @ encoding: [0x40,0xf9,0x4f,0x07] 9 @ CHECK: vst1.32 {d16}, [r0] @ encoding: [0x40,0xf9,0x8f,0x07] 11 @ CHECK: vst1.64 {d16}, [r0] @ encoding: [0x40,0xf9,0xcf,0x07] 13 @ CHECK: vst1.8 {d16, d17}, [r0:64] @ encoding: [0x40,0xf9,0x1f,0x0a] 15 @ CHECK: vst1.16 {d16, d17}, [r0:128] @ encoding: [0x40,0xf9,0x6f,0x0a] 17 @ CHECK: vst1.32 {d16, d17}, [r0] @ encoding: [0x40,0xf9,0x8f,0x0a] 19 @ CHECK: vst1.64 {d16, d17}, [r0] @ encoding: [0x40,0xf9,0xcf,0x0a] 22 @ CHECK: vst2.8 {d16, d17}, [r0:64] @ encoding: [0x40,0xf9,0x1f,0x08 [all...] |
neon-pairwise-encoding.s | 1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s 3 @ CHECK: vpadd.i8 d16, d17, d16 @ encoding: [0xb0,0x0b,0x41,0xf2] 5 @ CHECK: vpadd.i16 d16, d17, d16 @ encoding: [0xb0,0x0b,0x51,0xf2] 7 @ CHECK: vpadd.i32 d16, d17, d16 @ encoding: [0xb0,0x0b,0x61,0xf2] 9 @ CHECK: vpadd.f32 d16, d16, d17 @ encoding: [0xa1,0x0d,0x40,0xf3] 12 @ CHECK: vpadd.i8 d17, d17, d16 @ encoding: [0xb0,0x1b,0x41,0xf2] 14 @ CHECK: vpadd.i16 d17, d17, d16 @ encoding: [0xb0,0x1b,0x51,0xf2] 16 @ CHECK: vpadd.i32 d17, d17, d16 @ encoding: [0xb0,0x1b,0x61,0xf2] 18 @ CHECK: vpadd.f32 d16, d16, d17 @ encoding: [0xa1,0x0d,0x40,0xf3] 21 @ CHECK: vpaddl.s8 d16, d16 @ encoding: [0x20,0x02,0xf0,0xf3 [all...] |
neon-vst-encoding.s | 1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple armv7-apple-darwin -show-encoding < %s | FileCheck %s 18 @ CHECK: vst1.8 {d16}, [r0:64] @ encoding: [0x1f,0x07,0x40,0xf4] 19 @ CHECK: vst1.16 {d16}, [r0] @ encoding: [0x4f,0x07,0x40,0xf4] 20 @ CHECK: vst1.32 {d16}, [r0] @ encoding: [0x8f,0x07,0x40,0xf4] 21 @ CHECK: vst1.64 {d16}, [r0] @ encoding: [0xcf,0x07,0x40,0xf4] 22 @ CHECK: vst1.8 {d16, d17}, [r0:64] @ encoding: [0x1f,0x0a,0x40,0xf4] 23 @ CHECK: vst1.16 {d16, d17}, [r0:128] @ encoding: [0x6f,0x0a,0x40,0xf4] 24 @ CHECK: vst1.32 {d16, d17}, [r0] @ encoding: [0x8f,0x0a,0x40,0xf4] 25 @ CHECK: vst1.64 {d16, d17}, [r0] @ encoding: [0xcf,0x0a,0x40,0xf4] 26 @ CHECK: vst1.8 {d16, d17, d18}, [r0:64] @ encoding: [0x1f,0x06,0x40,0xf4 [all...] |
neon-add-encoding.s | 1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple armv7-apple-darwin -show-encoding < %s | FileCheck %s 4 @ CHECK: vadd.i8 d16, d17, d16 @ encoding: [0xa0,0x08,0x41,0xf2] 6 @ CHECK: vadd.i16 d16, d17, d16 @ encoding: [0xa0,0x08,0x51,0xf2] 8 @ CHECK: vadd.i64 d16, d17, d16 @ encoding: [0xa0,0x08,0x71,0xf2] 10 @ CHECK: vadd.i32 d16, d17, d16 @ encoding: [0xa0,0x08,0x61,0xf2] 12 @ CHECK: vadd.f32 d16, d16, d17 @ encoding: [0xa1,0x0d,0x40,0xf2] 14 @ CHECK: vadd.f32 q8, q8, q9 @ encoding: [0xe2,0x0d,0x40,0xf2] 17 @ CHECK: vaddl.s8 q8, d17, d16 @ encoding: [0xa0,0x00,0xc1,0xf2] 19 @ CHECK: vaddl.s16 q8, d17, d16 @ encoding: [0xa0,0x00,0xd1,0xf2] 21 @ CHECK: vaddl.s32 q8, d17, d16 @ encoding: [0xa0,0x00,0xe1,0xf2 [all...] |
thumb-hints.s | 1 @ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding < %s | FileCheck %s 2 @ RUN: llvm-mc -triple=thumbv6-apple-darwin -mcpu=cortex-m0 -show-encoding < %s | FileCheck %s 3 @ RUN: not llvm-mc -triple=thumbv6-apple-darwin -show-encoding < %s > %t 2> %t2 14 @ CHECK: nop @ encoding: [0x00,0xbf] 15 @ CHECK: yield @ encoding: [0x10,0xbf] 16 @ CHECK: wfe @ encoding: [0x20,0xbf] 17 @ CHECK: wfi @ encoding: [0x30,0xbf] 18 @ CHECK: sev @ encoding: [0x40,0xbf] 20 @ CHECK-EVIL-PRE-UAL: mov r8, r8 @ encoding: [0xc0,0x46] 28 @ CHECK: dmb sy @ encoding: [0xbf,0xf3,0x5f,0x8f [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
TextCodecUTF8Test.cpp | 48 TextEncoding encoding("UTF-8"); 49 OwnPtr<TextCodec> codec(newTextCodec(encoding)); 65 TextEncoding encoding("UTF-8"); 66 OwnPtr<TextCodec> codec(newTextCodec(encoding)); 82 TextEncoding encoding("UTF-8"); 83 OwnPtr<TextCodec> codec(newTextCodec(encoding));
|
/external/clang/tools/clang-format/ |
clang-format-sublime.py | 31 encoding = self.view.encoding() 32 if encoding == 'Undefined': 33 encoding = 'utf-8' 47 output, error = p.communicate(buf.encode(encoding)) 52 output.decode(encoding))
|
/external/llvm/test/MC/AArch64/ |
arm64-logical-encoding.s | 1 ; RUN: llvm-mc -triple arm64-apple-darwin -show-encoding < %s | FileCheck %s 18 ; CHECK: and w0, w0, #0x1 ; encoding: [0x00,0x00,0x00,0x12] 19 ; CHECK: and x0, x0, #0x1 ; encoding: [0x00,0x00,0x40,0x92] 20 ; CHECK: and w1, w2, #0xf ; encoding: [0x41,0x0c,0x00,0x12] 21 ; CHECK: and x1, x2, #0xf ; encoding: [0x41,0x0c,0x40,0x92] 22 ; CHECK: and sp, x5, #0xfffffffffffffff0 ; encoding: [0xbf,0xec,0x7c,0x92] 23 ; CHECK: ands w0, w0, #0x1 ; encoding: [0x00,0x00,0x00,0x72] 24 ; CHECK: ands x0, x0, #0x1 ; encoding: [0x00,0x00,0x40,0xf2] 25 ; CHECK: ands w1, w2, #0xf ; encoding: [0x41,0x0c,0x00,0x72] 26 ; CHECK: ands x1, x2, #0xf ; encoding: [0x41,0x0c,0x40,0xf2 [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
ReasonCode.java | 63 public ReasonCode(byte[] encoding) throws IOException { 64 super(encoding); 65 this.code = ((byte[]) ASN1.decode(encoding))[0]; 69 if (encoding == null) { 70 encoding = ASN1.encode(new byte[] { code }); 72 return encoding;
|
PolicyConstraints.java | 34 * The class encapsulates the ASN.1 DER encoding/decoding work 62 private byte[] encoding; field in class:PolicyConstraints 70 public PolicyConstraints(byte[] encoding) throws IOException { 71 super(encoding); 72 PolicyConstraints pc = (PolicyConstraints) ASN1.decode(encoding); 78 BigInteger inhibitPolicyMapping, byte[] encoding) { 80 this.encoding = encoding; 87 if (encoding == null) { 88 encoding = ASN1.encode(this) [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/ |
tinyxmlparser.cpp | 129 /*static*/ int TiXmlBase::IsAlpha( unsigned char anyByte, TiXmlEncoding /*encoding*/ ) 133 // to figure out alhabetical vs. not across encoding. So take a very 136 // if ( encoding == TIXML_ENCODING_UTF8 ) 150 /*static*/ int TiXmlBase::IsAlphaNum( unsigned char anyByte, TiXmlEncoding /*encoding*/ ) 154 // to figure out alhabetical vs. not across encoding. So take a very 157 // if ( encoding == TIXML_ENCODING_UTF8 ) 175 void Stamp( const char* now, TiXmlEncoding encoding ); 196 void TiXmlParsingData::Stamp( const char* now, TiXmlEncoding encoding ) 262 if ( encoding == TIXML_ENCODING_UTF8 ) 286 if ( encoding == TIXML_ENCODING_UTF8 [all...] |
/external/sfntly/cpp/src/test/tinyxml/ |
tinyxmlparser.cpp | 129 /*static*/ int TiXmlBase::IsAlpha( unsigned char anyByte, TiXmlEncoding /*encoding*/ ) 133 // to figure out alhabetical vs. not across encoding. So take a very 136 // if ( encoding == TIXML_ENCODING_UTF8 ) 150 /*static*/ int TiXmlBase::IsAlphaNum( unsigned char anyByte, TiXmlEncoding /*encoding*/ ) 154 // to figure out alhabetical vs. not across encoding. So take a very 157 // if ( encoding == TIXML_ENCODING_UTF8 ) 175 void Stamp( const char* now, TiXmlEncoding encoding ); 196 void TiXmlParsingData::Stamp( const char* now, TiXmlEncoding encoding ) 262 if ( encoding == TIXML_ENCODING_UTF8 ) 286 if ( encoding == TIXML_ENCODING_UTF8 [all...] |
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
clientpairingsessiontest.cc | 101 encoding::EncodingOption encoding(encoding::EncodingOption::kHexadecimal, 8); 102 message::ConfigurationMessage configuration(encoding, 123 encoding::EncodingOption encoding(encoding::EncodingOption::kHexadecimal, 8); 124 session_.AddInputEncoding(encoding); 125 session_.AddOutputEncoding(encoding); 135 message.AddInputEncoding(encoding); [all...] |
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
pairingsession.cc | 18 #include "polo/encoding/hexadecimalencoder.h" 61 const encoding::EncodingOption& encoding) { 63 LOG(ERROR) << "Attempt to add input encoding to active session"; 67 if (!IsValidEncodingOption(encoding)) { 68 LOG(ERROR) << "Invalid input encoding: " << encoding.ToString(); 72 local_options_.AddInputEncoding(encoding); 76 const encoding::EncodingOption& encoding) { 186 const encoding::EncodingOption& encoding = message.encoding(); local [all...] |
pairingsession.h | 20 #include "polo/encoding/secretencoder.h" 65 // Adds a supported input encoding. This must be called before the session is 67 void AddInputEncoding(const encoding::EncodingOption& encoding); 69 // Adds a supported output encoding. This must be called before the session is 71 void AddOutputEncoding(const encoding::EncodingOption& encoding); 83 // Gets the encoder used for encoding and decoding the secret challenge. This 86 const encoding::SecretEncoder* encoder() const { return encoder_; } 170 // Determines whether the given encoding option is valid [all...] |
serverpairingsession.cc | 77 const encoding::EncodingOption& encoding = message.encoding(); local 80 if (!local_options().SupportsOutputEncoding(encoding)) { 81 LOG(ERROR) << "Unsupported output encoding requested: " 82 << encoding.encoding_type(); 88 if (!local_options().SupportsInputEncoding(encoding)) { 89 LOG(ERROR) << "Unsupported input encoding requested: " 90 << encoding.encoding_type();
|
/external/tinyxml/ |
tinyxmlparser.cpp | 120 /*static*/ int TiXmlBase::IsAlpha( unsigned char anyByte, TiXmlEncoding /*encoding*/ ) 124 // to figure out alhabetical vs. not across encoding. So take a very 127 // if ( encoding == TIXML_ENCODING_UTF8 ) 141 /*static*/ int TiXmlBase::IsAlphaNum( unsigned char anyByte, TiXmlEncoding /*encoding*/ ) 145 // to figure out alhabetical vs. not across encoding. So take a very 148 // if ( encoding == TIXML_ENCODING_UTF8 ) 166 void Stamp( const char* now, TiXmlEncoding encoding ); 187 void TiXmlParsingData::Stamp( const char* now, TiXmlEncoding encoding ) 253 if ( encoding == TIXML_ENCODING_UTF8 ) 277 if ( encoding == TIXML_ENCODING_UTF8 [all...] |
/external/llvm/test/MC/Mips/mips2/ |
valid.s | 3 # RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips2 | FileCheck %s 6 abs.d $f7,$f25 # CHECK: encoding: 12 addi $8,$8,~1 # CHECK: addi $8, $8, -2 # encoding: [0x21,0x08,0xff,0xfe] 15 and $2,4 # CHECK: andi $2, $2, 4 # encoding: [0x30,0x42,0x00,0x04] 16 bc1f $fcc0, 4 # CHECK: bc1f 4 # encoding: [0x45,0x00,0x00,0x01] 17 bc1f 4 # CHECK: bc1f 4 # encoding: [0x45,0x00,0x00,0x01] 18 bc1t $fcc0, 4 # CHECK: bc1t 4 # encoding: [0x45,0x01,0x00,0x01] 19 bc1t 4 # CHECK: bc1t 4 # encoding: [0x45,0x01,0x00,0x01] 20 bal 21100 # CHECK: bal 21100 # encoding: [0x04,0x11,0x14,0x9b] 21 bgezal $0, 21100 # CHECK: bal 21100 # encoding: [0x04,0x11,0x14,0x9b [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
IOUtils.java | 54 * encoding and the other which allows you to specify an encoding. You are 55 * encouraged to always specify an encoding because relying on the platform 224 * using the default character encoding of the platform. 242 * using the specified character encoding. 244 * Character encoding names can be found at 251 * @param encoding the encoding to use, null means platform default 257 public static byte[] toByteArray(Reader input, String encoding) 260 copy(input, output, encoding); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
__init__.py | 3 Standard Python encoding modules are stored in this package 6 Codec modules must have names corresponding to normalized encoding 20 * getaliases() -> sequence of encoding name strings to use as aliases 22 Alias names returned by getaliases() must be normalized encoding 49 def normalize_encoding(encoding): 51 """ Normalize an encoding name. 58 Note that encoding names should be ASCII only; if they do use 64 if hasattr(__builtin__, "unicode") and isinstance(encoding, unicode): 68 encoding = encoding.encode('latin-1' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
__init__.py | 3 Standard Python encoding modules are stored in this package 6 Codec modules must have names corresponding to normalized encoding 20 * getaliases() -> sequence of encoding name strings to use as aliases 22 Alias names returned by getaliases() must be normalized encoding 49 def normalize_encoding(encoding): 51 """ Normalize an encoding name. 58 Note that encoding names should be ASCII only; if they do use 64 if hasattr(__builtin__, "unicode") and isinstance(encoding, unicode): 68 encoding = encoding.encode('latin-1' [all...] |
/external/markdown/markdown/ |
html4.py | 74 def _encode(text, encoding): 76 return text.encode(encoding, "xmlcharrefreplace") 80 def _escape_cdata(text, encoding): 92 return text.encode(encoding, "xmlcharrefreplace") 97 def _escape_attrib(text, encoding): 110 return text.encode(encoding, "xmlcharrefreplace") 114 def _escape_attrib_html(text, encoding): 123 return text.encode(encoding, "xmlcharrefreplace") 128 def _serialize_html(write, elem, encoding, qnames, namespaces): 132 write("<!--%s-->" % _escape_cdata(text, encoding)) [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/ |
OptionsMessage.java | 32 * Options.Encoding.EncodingType in polo.proto. 90 public void addInputEncoding(EncodingOption encoding) { 91 mInputEncodings.add(encoding); 94 public void addOutputEncoding(EncodingOption encoding) { 95 mOutputEncodings.add(encoding); 98 public boolean supportsInputEncoding(EncodingOption encoding) { 99 return mInputEncodings.contains(encoding); 102 public boolean supportsOutputEncoding(EncodingOption encoding) { 103 return mOutputEncodings.contains(encoding); 131 EncodingOption encoding; local [all...] |