| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
| codecs.py | 77 def __new__(cls, encode, decode, streamreader=None, streamwriter=None, 79 self = tuple.__new__(cls, (encode, decode, streamreader, streamwriter)) 81 self.encode = encode 96 The .encode()/.decode() methods may use different error 114 def encode(self, input, errors='strict'): member in class:Codec 159 passed piece by piece to the encode() method. The IncrementalEncoder remembers 160 the state of the Encoding process between calls to encode(). 173 def encode(self, input, final=False): member in class:IncrementalEncoder 200 buffer between calls to encode() 211 def encode(self, input, final=False): member in class:BufferedIncrementalEncoder [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| codecs.py | 77 def __new__(cls, encode, decode, streamreader=None, streamwriter=None, 79 self = tuple.__new__(cls, (encode, decode, streamreader, streamwriter)) 81 self.encode = encode 96 The .encode()/.decode() methods may use different error 114 def encode(self, input, errors='strict'): member in class:Codec 159 passed piece by piece to the encode() method. The IncrementalEncoder remembers 160 the state of the Encoding process between calls to encode(). 173 def encode(self, input, final=False): member in class:IncrementalEncoder 200 buffer between calls to encode() 211 def encode(self, input, final=False): member in class:BufferedIncrementalEncoder [all...] |
| /external/chromium_org/v8/src/ |
| lithium.h | 59 LOperand() : value_(KindField::encode(INVALID)) { } 74 value_ = KindField::encode(kind); 125 value_ |= BasicPolicyField::encode(EXTENDED_POLICY); 126 value_ |= ExtendedPolicyField::encode(policy); 127 value_ |= LifetimeField::encode(USED_AT_END); 132 value_ |= BasicPolicyField::encode(policy); 139 value_ |= BasicPolicyField::encode(EXTENDED_POLICY); 140 value_ |= ExtendedPolicyField::encode(policy); 141 value_ |= LifetimeField::encode(USED_AT_END); 142 value_ |= FixedRegisterField::encode(index) [all...] |
| property-details.h | 172 value_ = TypeField::encode(type) 173 | AttributesField::encode(attributes) 174 | DictionaryStorageField::encode(index); 184 value_ = TypeField::encode(type) 185 | AttributesField::encode(attributes) 186 | RepresentationField::encode(EncodeRepresentation(representation)) 187 | FieldIndexField::encode(field_index);
|
| /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
| TSTInfoTest.java | 63 byte[] encoding = TSTInfo.ASN1.encode(info); 70 MessageImprint.ASN1.encode(msgImprint), MessageImprint.ASN1 71 .encode(decoded.getMessageImprint())));
|
| /external/chromium_org/third_party/jinja2/ |
| exceptions.py | 18 message = unicode(message).encode('utf-8') 45 return self.message.encode('utf-8') 86 return unicode(self).encode('utf-8')
|
| /external/compiler-rt/lib/asan/scripts/ |
| symbolize.py | 107 print "%s%d" % (match.group(1).encode('utf-8'), inline_frameno), \ 108 match.group(3).encode('utf-8'), "in", frame[0], frame[1] 110 print line.rstrip().encode('utf-8')
|
| /external/nist-sip/java/gov/nist/core/ |
| Host.java | 119 public String encode() { method in class:Host 120 return encode(new StringBuffer()).toString(); 123 public StringBuffer encode(StringBuffer buffer) { method in class:Host
|
| /libcore/luni/src/main/java/java/nio/charset/ |
| ModifiedUtf8.java | 96 public static void encode(byte[] dst, int offset, String s) { method in class:ModifiedUtf8 118 public static byte[] encode(String s) throws UTFDataFormatException { method in class:ModifiedUtf8 122 ModifiedUtf8.encode(result, SizeOf.SHORT, s);
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
| base64mime.py | 8 to encode arbitrary 8-bit data using the three 8-bit bytes in four 7-bit 14 This module provides an interface to encode and decode both headers and bodies 33 'encode', 68 """Encode a single header line with Base64 encoding in a given charset. 74 charset names the character set to use to encode the header. It defaults 100 # Base64 encode each line, in encoded chunks no greater than maxlinelen in 125 def encode(s, binary=True, maxlinelen=76, eol=NL): 126 """Encode a string with base64. 148 # BAW: should encode() inherit b2a_base64()'s dubious behavior in 158 body_encode = encode 122 def encode(s, binary=True, maxlinelen=76, eol=NL): function [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
| uu_codec.py | 4 will return Python string objects for both encode and decode. 34 # Encode 98 def encode(self,input,errors='strict'): member in class:Codec 105 def encode(self, input, final=False): member in class:IncrementalEncoder 123 encode=uu_encode,
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
| test_recursion.py | 58 self.assertEqual(enc.encode(JSONTestObject), '"JSONTestObject"') 61 enc.encode(JSONTestObject) 104 EndlessJSONEncoder(check_circular=False).encode(5j)
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
| base64mime.py | 8 to encode arbitrary 8-bit data using the three 8-bit bytes in four 7-bit 14 This module provides an interface to encode and decode both headers and bodies 33 'encode', 68 """Encode a single header line with Base64 encoding in a given charset. 74 charset names the character set to use to encode the header. It defaults 100 # Base64 encode each line, in encoded chunks no greater than maxlinelen in 125 def encode(s, binary=True, maxlinelen=76, eol=NL): 126 """Encode a string with base64. 148 # BAW: should encode() inherit b2a_base64()'s dubious behavior in 158 body_encode = encode 122 def encode(s, binary=True, maxlinelen=76, eol=NL): function [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
| uu_codec.py | 4 will return Python string objects for both encode and decode. 34 # Encode 98 def encode(self,input,errors='strict'): member in class:Codec 105 def encode(self, input, final=False): member in class:IncrementalEncoder 123 encode=uu_encode,
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
| test_recursion.py | 58 self.assertEqual(enc.encode(JSONTestObject), '"JSONTestObject"') 61 enc.encode(JSONTestObject) 104 EndlessJSONEncoder(check_circular=False).encode(5j)
|
| /external/v8/src/ia32/ |
| code-stubs-ia32.h | 108 return ModeBits::encode(mode_) 109 | OpBits::encode(op_) 110 | OperandTypeInfoBits::encode(operand_type_); 203 return OpBits::encode(op_) 204 | ModeBits::encode(mode_) 205 | SSE3Bits::encode(use_sse3_) 206 | OperandTypeInfoBits::encode(operands_type_) 207 | ResultTypeInfoBits::encode(result_type_); 457 return DictionaryBits::encode(dictionary_.code()) | 458 ResultBits::encode(result_.code()) [all...] |
| /prebuilts/devtools/tools/lib/ |
| commons-codec-1.4.jar | |
| /prebuilts/tools/common/http-client/ |
| commons-codec-1.4.jar | |
| /prebuilts/tools/common/m2/repository/commons-codec/commons-codec/1.4/ |
| commons-codec-1.4.jar | |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_codeccallbacks.py | 71 s.encode("ascii", "xmlcharrefreplace"), 75 s.encode("latin-1", "xmlcharrefreplace"), 99 self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout) 101 self.assertEqual(sin.encode("latin-1", "test.xmlcharnamereplace"), sout) 103 self.assertEqual(sin.encode("iso-8859-15", "test.xmlcharnamereplace"), sout) 127 self.assertEqual(sin.encode("ascii", "test.uninamereplace"), sout) 130 self.assertEqual(sin.encode("latin-1", "test.uninamereplace"), sout) 133 self.assertEqual(sin.encode("iso-8859-15", "test.uninamereplace"), sout) 144 self.assertEqual(sin.encode("ascii", "backslashreplace"), sout) 149 self.assertEqual(sin.encode("latin-1", "backslashreplace"), sout [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_codeccallbacks.py | 71 s.encode("ascii", "xmlcharrefreplace"), 75 s.encode("latin-1", "xmlcharrefreplace"), 99 self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout) 101 self.assertEqual(sin.encode("latin-1", "test.xmlcharnamereplace"), sout) 103 self.assertEqual(sin.encode("iso-8859-15", "test.xmlcharnamereplace"), sout) 127 self.assertEqual(sin.encode("ascii", "test.uninamereplace"), sout) 130 self.assertEqual(sin.encode("latin-1", "test.uninamereplace"), sout) 133 self.assertEqual(sin.encode("iso-8859-15", "test.uninamereplace"), sout) 144 self.assertEqual(sin.encode("ascii", "backslashreplace"), sout) 149 self.assertEqual(sin.encode("latin-1", "backslashreplace"), sout [all...] |
| /dalvik/dx/tests/117-modified-utf8/com/android/dx/util/ |
| Mutf8Test.java | 38 Arrays.toString(Mutf8.encode("BC\u0000")));
|
| /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs7/ |
| SignerInfoTest.java | 45 byte[] encoding = SignerInfo.ASN1.encode(signerInfo);
|
| /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
| GeneralNamesTest.java | 48 byte[] encoding = GeneralNames.ASN1.encode(subj_alt_names);
|
| /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
| CertificateStub.java | 62 * @see java.security.Certificate#encode(java.io.OutputStream) 64 public void encode(OutputStream stream) throws KeyException, method in class:CertificateStub
|