/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
encoders.py | 23 # Must encode spaces, which quopri.encodestring() doesn't do 42 """Encode the message's payload in Base64. 55 """Encode the message's payload in quoted-printable. 77 orig.encode('ascii')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
bz2_codec.py | 4 will return Python string objects for both encode and decode. 49 def encode(self, input, errors='strict'): member in class:Codec 60 def encode(self, input, final=False): member in class:IncrementalEncoder 96 encode=bz2_encode,
|
palmos.py | 12 def encode(self,input,errors='strict'): member in class:Codec 19 def encode(self, input, final=False): member in class:IncrementalEncoder 37 encode=Codec().encode,
|
zlib_codec.py | 4 will return Python string objects for both encode and decode. 48 def encode(self, input, errors='strict'): member in class:Codec 59 def encode(self, input, final=False): member in class:IncrementalEncoder 96 encode=zlib_encode,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_multibytecodec_support.py | 30 self.encode = self.codec.encode 43 self.assertEqual(native, self.encode(u)[0]) 50 func = self.encode 62 '%r.encode(%r, %r)=%r != %r' 74 self.encode(s, "xmlcharrefreplace")[0], 102 self.assertEqual(self.encode(sin, 111 self.assertRaises(TypeError, self.encode, self.unmappedunicode, 118 self.assertEqual(self.encode(u'abcd' + self.unmappedunicode + u'efgh', 124 self.assertRaises(IndexError, self.encode, self.unmappedunicode [all...] |
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...] |
test_pep263.py | 10 u"?????".encode("utf-8"), 14 u"\?".encode("utf-8"),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_multibytecodec_support.py | 30 self.encode = self.codec.encode 43 self.assertEqual(native, self.encode(u)[0]) 50 func = self.encode 62 '%r.encode(%r, %r)=%r != %r' 74 self.encode(s, "xmlcharrefreplace")[0], 102 self.assertEqual(self.encode(sin, 111 self.assertRaises(TypeError, self.encode, self.unmappedunicode, 118 self.assertEqual(self.encode(u'abcd' + self.unmappedunicode + u'efgh', 124 self.assertRaises(IndexError, self.encode, self.unmappedunicode [all...] |
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...] |
test_pep263.py | 10 u"?????".encode("utf-8"), 14 u"\?".encode("utf-8"),
|
/external/openfst/src/include/fst/ |
encode.h | 0 // encode.h 19 // Class to encode and decoder an fst. 45 enum EncodeType { ENCODE = 1, DECODE = 2 }; 47 // Identifies stream data as an encode table (and its endianity) 54 // stores both the Tuple of encode labels and weights to a unique 84 // Hash function for EncodeTabe Tuples. Based on the encode flags 130 // Given an arc encode either input/ouptut labels or input/costs or both 131 Label Encode(const A &arc) { 158 // Given an encode arc Label decode back to input/output labels and costs 249 LOG(ERROR) << "EncodeTable::Read: Bad encode table header: " << source [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoItem.java | 73 // Encode the data and note the size. 76 encoded = encode(addedTo.getFile(), null, null, null, false); 101 encode(file, prefix, null, out, false); method 111 encode(null, prefix, out, null, false); method 120 * but write the bits from the original encode 124 encode(file, null, null, out, true); method 142 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, method in class:DebugInfoItem 162 * Helper for {@link #encode} to do most of the work.
|
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoItem.java | 70 // Encode the data and note the size. 73 encoded = encode(addedTo.getFile(), null, null, null, false); 98 encode(file, prefix, null, out, false); method 108 encode(null, prefix, out, null, false); method 117 * but write the bits from the original encode 121 encode(file, null, null, out, true); method 139 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, method in class:DebugInfoItem 159 * Helper for {@link #encode} to do most of the work.
|
/external/apache-http/src/org/apache/commons/codec/ |
StringEncoder.java | 35 * @param pString a String to encode 42 String encode(String pString) throws EncoderException; method in interface:StringEncoder
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
LazyEncodedSequence.java | 96 void encode( method in class:LazyEncodedSequence 106 super.toDLObject().encode(out);
|
/external/clang/test/CodeCompletion/ |
objc-expr.m | 11 // CHECK-AT: COMPLETION: Pattern : [#char[]#]encode(<#type-name#>) 17 // CHECK-CONST-STRINGS: COMPLETION: Pattern : [#const char[]#]encode(<#type-name#>)
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
DebugInfoItem.java | 71 // Encode the data and note the size. 74 encoded = encode(addedTo.getFile(), null, null, null, false); 99 encode(file, prefix, null, out, false); method 109 encode(null, prefix, out, null, false); method 118 * but write the bits from the original encode 122 encode(file, null, null, out, true); method 140 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, method in class:DebugInfoItem 160 * Helper for {@link #encode} to do most of the work.
|
/external/doclava/src/com/google/doclava/ |
CodeTagInfo.java | 26 private static String encode(String t) { method in class:CodeTagInfo 36 //super("@code", "@code", encode(text), sp);
|
LiteralTagInfo.java | 26 private static String encode(String t) { method in class:LiteralTagInfo 34 super("Text", "Text", encode(text), sp);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
StreamEncoder.java | 19 public boolean encode(InputStream data, OutputStream os) { method in class:StreamEncoder 29 Log.d(TAG, "Failed to encode data onto the OutputStream", e);
|
/external/webp/ |
README.android | 19 libwebp-decode libwebp-encode: 21 LOCAL_STATIC_LIBRARIES += libwebp-decode libwebp-encode
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetEncoder2Test.java | 106 * Test malfunction encode(CharBuffer) 111 cs.encode(CharBuffer.wrap("AB")); 119 * Mock charset class with malfunction decode & encode. 155 * Test reserve bytes encode(CharBuffer,ByteBuffer,boolean) 166 CoderResult result = encoder.encode(char1, bytes, false); 171 result = encoder.encode(char2, bytes, true); 195 * @tests {@link java.nio.charset.Charset#encode(java.nio.CharBuffer) 203 Charset.forName("UTF-8").encode(CharBuffer.wrap(s));
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
StructuredPostalUtils.java | 31 return Uri.parse("geo:0,0?q=" + Uri.encode(postalAddress)); 39 return Uri.parse("https://maps.google.com/maps?daddr=" + Uri.encode(postalAddress));
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
probability_entry_test.cpp | 31 const uint64_t encodedEntry = entry.encode(false /* hasHistoricalInfo */); 47 const uint64_t encodedEntry = entry.encode(true /* hasHistoricalInfo */);
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
CodedOutputStream.java | 420 // Unfortunately there does not appear to be any way to tell Java to encode 523 * Compute the number of bytes that would be needed to encode a 532 * Compute the number of bytes that would be needed to encode a 540 * Compute the number of bytes that would be needed to encode a 548 * Compute the number of bytes that would be needed to encode an 556 * Compute the number of bytes that would be needed to encode an 564 * Compute the number of bytes that would be needed to encode a 573 * Compute the number of bytes that would be needed to encode a 582 * Compute the number of bytes that would be needed to encode a 591 * Compute the number of bytes that would be needed to encode [all...] |