/external/llvm/test/MC/ARM/ |
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...] |
neon-mov-vfp.s | 1 @ RUN: not llvm-mc -mcpu=cortex-a8 -triple armv7-unknown-unknown -show-encoding -mattr=-neon < %s 2>&1 | FileCheck %s --check-prefix=VFP --check-prefix=CHECK 2 @ RUN: not llvm-mc -mcpu=cortex-a8 -triple thumbv7-unknown-unknown -show-encoding -mattr=-neon < %s 2>&1 | FileCheck %s --check-prefix=VFP --check-prefix=CHECK 3 @ RUN: llvm-mc -mcpu=cortex-a8 -triple armv7-unknown-unknown -show-encoding -mattr=+neon < %s 2>&1 | FileCheck %s --check-prefix=NEON --check-prefix=CHECK 4 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7-unknown-unknown -show-encoding -mattr=+neon < %s 2>&1 | FileCheck %s --check-prefix=NEON --check-prefix=CHECK 9 @ CHECK-DAG: vmov.32 d13[0], r6 @ encoding: 10 @ CHECK-DAG: vmov.32 d17[1], r9 @ encoding: 16 @ NEON-DAG: vmov.8 d22[5], r2 @ encoding: 17 @ NEON-DAG: vmov.16 d3[2], r4 @ encoding: 21 @ CHECK-DAG: vmov.32 r6, d13[0] @ encoding: 22 @ CHECK-DAG: vmov.32 r9, d17[1] @ encoding [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...] |
thumb2-bxj-v8.s | 1 @ RUN: not llvm-mc -triple=thumbv6t2--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=UNDEF 2 @ RUN: not llvm-mc -triple=thumbv7a--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=UNDEF 3 @ RUN: not llvm-mc -triple=thumbv7r--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=UNDEF 4 @ RUN: not llvm-mc -triple=thumbv7m--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=ARM_MODE 5 @ RUN: llvm-mc -triple=thumbv8a--none-eabi -show-encoding < %s 2>&1 | FileCheck %s 9 @ CHECK: bxj sp @ encoding: [0xcd,0xf3,0x00,0x8f]
|
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/llvm/test/MC/Sparc/ |
sparc-assembly-exprs.s | 1 ! RUN: llvm-mc %s -arch=sparc -show-encoding | FileCheck %s 3 ! CHECK: mov 1033, %o1 ! encoding: [0x92,0x10,0x24,0x09] 5 ! CHECK: mov 60, %o2 ! encoding: [0x94,0x10,0x20,0x3c]
|
sparc-directive-xword.s | 1 ! RUN: not llvm-mc %s -arch=sparc -show-encoding 2>&1 | FileCheck %s --check-prefix=SPARC32 2 ! RUN: llvm-mc %s -triple sparc64 -show-encoding | FileCheck %s --check-prefix=SPARC64 3 ! RUN: llvm-mc %s -triple sparcv9 -show-encoding | FileCheck %s --check-prefix=SPARCV9
|
sparc-ctrl-instructions.s | 1 ! RUN: llvm-mc %s -arch=sparc -show-encoding | FileCheck %s 2 ! RUN: llvm-mc %s -arch=sparcv9 -show-encoding | FileCheck %s 4 ! CHECK: call foo ! encoding: [0b01AAAAAA,A,A,A] 8 ! CHECK: call %g1+%i2 ! encoding: [0x9f,0xc0,0x40,0x1a] 11 ! CHECK: call %o1+8 ! encoding: [0x9f,0xc2,0x60,0x08] 14 ! CHECK: call %g1 ! encoding: [0x9f,0xc0,0x40,0x00] 17 ! CHECK: call %g1+%lo(sym) ! encoding: [0x9f,0xc0,0b011000AA,A] 21 ! CHECK: jmp %g1+%i2 ! encoding: [0x81,0xc0,0x40,0x1a] 24 ! CHECK: jmp %o1+8 ! encoding: [0x81,0xc2,0x60,0x08] 27 ! CHECK: jmp %g1 ! encoding: [0x81,0xc0,0x40,0x00 [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...] |
/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/AArch64/ |
arm64-fp-encoding.s | 1 ; RUN: not llvm-mc -triple arm64-apple-darwin -mattr=neon -show-encoding -output-asm-variant=1 < %s 2>%t | FileCheck %s 3 ; RUN: llvm-mc -triple arm64-apple-darwin -mattr=neon,v8.2a,fullfp16 -show-encoding -output-asm-variant=1 < %s | FileCheck %s --check-prefix=CHECK --check-prefix=FP16 14 ; FP16: fabs h1, h2 ; encoding: [0x41,0xc0,0xe0,0x1e] 17 ; CHECK: fabs s1, s2 ; encoding: [0x41,0xc0,0x20,0x1e] 18 ; CHECK: fabs d1, d2 ; encoding: [0x41,0xc0,0x60,0x1e] 24 ; FP16: fadd h1, h2, h3 ; encoding: [0x41,0x28,0xe3,0x1e] 27 ; CHECK: fadd s1, s2, s3 ; encoding: [0x41,0x28,0x23,0x1e] 28 ; CHECK: fadd d1, d2, d3 ; encoding: [0x41,0x28,0x63,0x1e] 34 ; FP16: fdiv h1, h2, h3 ; encoding: [0x41,0x18,0xe3,0x1e] 37 ; CHECK: fdiv s1, s2, s3 ; encoding: [0x41,0x18,0x23,0x1e [all...] |
/external/libxml2/doc/tutorial/ |
includeconvert.c | 7 convert (unsigned char *in, char *encoding) 18 handler = xmlFindCharEncodingHandler(encoding); 54 char *encoding = "ISO-8859-1"; 64 out = convert(content, encoding); 70 xmlSaveFormatFileEnc("-", doc, encoding, 1);
|
/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/gdb/darwin-x86/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/gdb/linux-x86/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/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/llvm/test/MC/Mips/ |
expr1.s | 1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -show-encoding | \ 3 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=micromips -show-encoding | \ 10 # 32R2-EL: lw $4, %lo(foo)($4) # encoding: [A,A,0x84,0x8c] 12 # 32R2-EL: lw $4, 56($4) # encoding: [0x38,0x00,0x84,0x8c] 13 # 32R2-EL: lw $4, %lo(foo+8)($4) # encoding: [0x08'A',A,0x84,0x8c] 15 # 32R2-EL: lw $4, %lo(foo+8)($4) # encoding: [0x08'A',A,0x84,0x8c] 17 # 32R2-EL: lw $4, %lo(foo+8)($4) # encoding: [0x08'A',A,0x84,0x8c] 19 # 32R2-EL: lw $4, 10($4) # encoding: [0x0a,0x00,0x84,0x8c] 20 # 32R2-EL: lw $4, 15($4) # encoding: [0x0f,0x00,0x84,0x8c] 21 # 32R2-EL: lw $4, 21($4) # encoding: [0x15,0x00,0x84,0x8c [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...] |