/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
probability_utils.h | 53 // Encode probability using the same way as we are doing for main dictionaries.
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
unicodeobject.h | 697 Py_ssize_t size, /* number of Py_UNICODE chars to encode */ 742 Py_ssize_t length, /* number of Py_UNICODE chars to encode */ 743 int base64SetO, /* Encode RFC2152 Set O characters in base64 */ 744 int base64WhiteSpace, /* Encode whitespace (sp, ht, nl, cr) in base64 */ 769 Py_ssize_t length, /* number of Py_UNICODE chars to encode */ [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
UserString.py | 75 def encode(self, encoding=None, errors=None): # XXX improve this? member in class:UserString 78 return self.__class__(self.data.encode(encoding, errors)) 80 return self.__class__(self.data.encode(encoding)) 82 return self.__class__(self.data.encode())
|
gettext.py | 350 # Encode the Unicode tmsg back to an 8-bit string, if possible 352 return tmsg.encode(self._output_charset) 354 return tmsg.encode(self._charset) 365 return tmsg.encode(self._output_charset) 366 return tmsg.encode(locale.getpreferredencoding()) 372 return tmsg.encode(self._output_charset) 374 return tmsg.encode(self._charset) 388 return tmsg.encode(self._output_charset) 389 return tmsg.encode(locale.getpreferredencoding())
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
mac_latin2.py | 16 def encode(self,input,errors='strict'): member in class:Codec 23 def encode(self, input, final=False): member in class:IncrementalEncoder 41 encode=Codec().encode,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/Carbon/ |
MediaDescr.py | 29 def encode(self, dict): member in class:_MediaDescriptionCodec
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_macostools.py | 82 if len(u'\0'.encode('unicode-internal')) == 4:
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
unicodeobject.h | 697 Py_ssize_t size, /* number of Py_UNICODE chars to encode */ 742 Py_ssize_t length, /* number of Py_UNICODE chars to encode */ 743 int base64SetO, /* Encode RFC2152 Set O characters in base64 */ 744 int base64WhiteSpace, /* Encode whitespace (sp, ht, nl, cr) in base64 */ 769 Py_ssize_t length, /* number of Py_UNICODE chars to encode */ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
UserString.py | 75 def encode(self, encoding=None, errors=None): # XXX improve this? member in class:UserString 78 return self.__class__(self.data.encode(encoding, errors)) 80 return self.__class__(self.data.encode(encoding)) 82 return self.__class__(self.data.encode())
|
gettext.py | 350 # Encode the Unicode tmsg back to an 8-bit string, if possible 352 return tmsg.encode(self._output_charset) 354 return tmsg.encode(self._charset) 365 return tmsg.encode(self._output_charset) 366 return tmsg.encode(locale.getpreferredencoding()) 372 return tmsg.encode(self._output_charset) 374 return tmsg.encode(self._charset) 388 return tmsg.encode(self._output_charset) 389 return tmsg.encode(locale.getpreferredencoding())
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
mac_latin2.py | 16 def encode(self,input,errors='strict'): member in class:Codec 23 def encode(self, input, final=False): member in class:IncrementalEncoder 41 encode=Codec().encode,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/tests/ |
test_gml.py | 110 fh = io.BytesIO(data.encode('UTF-8'))
|
test_graphml.py | 63 io.BytesIO(self.simple_directed_data.encode('UTF-8')) 122 self.attribute_fh = io.BytesIO(self.attribute_data.encode('UTF-8')) 145 self.simple_undirected_fh = io.BytesIO(self.simple_undirected_data.encode('UTF-8')) 219 fh = io.BytesIO(s.encode('UTF-8')) 235 fh = io.BytesIO(s.encode('UTF-8')) 263 fh = io.BytesIO(s.encode('UTF-8')) 293 fh = io.BytesIO(s.encode('UTF-8')) 377 fh = io.BytesIO(data.encode('UTF-8')) 437 fh = io.BytesIO(s.encode('UTF-8'))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_macostools.py | 82 if len(u'\0'.encode('unicode-internal')) == 4:
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ProfilesLoader.java | 50 out.write("PROFILE " + window.encode() + " " + params);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/ |
test_email.py | 628 eq(h.encode(), """\ 633 eq(h.encode(), """\ 645 utf8_head = u"\u6b63\u78ba\u306b\u8a00\u3046\u3068\u7ffb\u8a33\u306f\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u4e00\u90e8\u306f\u30c9\u30a4\u30c4\u8a9e\u3067\u3059\u304c\u3001\u3042\u3068\u306f\u3067\u305f\u3089\u3081\u3067\u3059\u3002\u5b9f\u969b\u306b\u306f\u300cWenn ist das Nunstuck git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput.\u300d\u3068\u8a00\u3063\u3066\u3044\u307e\u3059\u3002".encode("utf-8") 668 eq(h.encode(), """\ 686 eq(h.encode(), '''\ 696 eq(h.encode(), '''\ 740 eq(h.encode(), """\ 751 eq(h.encode(), """\ 774 eq(h.encode(), """\ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/ |
test_email.py | 628 eq(h.encode(), """\ 633 eq(h.encode(), """\ 645 utf8_head = u"\u6b63\u78ba\u306b\u8a00\u3046\u3068\u7ffb\u8a33\u306f\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u4e00\u90e8\u306f\u30c9\u30a4\u30c4\u8a9e\u3067\u3059\u304c\u3001\u3042\u3068\u306f\u3067\u305f\u3089\u3081\u3067\u3059\u3002\u5b9f\u969b\u306b\u306f\u300cWenn ist das Nunstuck git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput.\u300d\u3068\u8a00\u3063\u3066\u3044\u307e\u3059\u3002".encode("utf-8") 668 eq(h.encode(), """\ 686 eq(h.encode(), '''\ 696 eq(h.encode(), '''\ 740 eq(h.encode(), """\ 751 eq(h.encode(), """\ 774 eq(h.encode(), """\ [all...] |
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
TestCharset.java | 264 errln("Failed to fail to " + (decoding ? "decode" : "encode") + " 0x" 295 // encode limit thru 0xffff, skipping through much of the 1ff to feff range to save 316 errln("Failed to fail to encode 0x" + Integer.toHexString(i) 436 cr = encoder.encode(source, bs, true); 451 cr = encoder.encode(source, bs, true); 557 cr = encoder.encode(us, bs, true); 579 cr = encoder.encode(us, bs, true); 619 ByteBuffer bytes = encoder.encode(start); 659 result = encoder.encode(cb, bb, true); 5164 CharsetEncoder encode = charset.newEncoder(); local 5440 CharsetEncoder encode = charset.newEncoder(); local [all...] |
/external/robolectric/lib/main/ |
commons-codec-1.6.jar | |
/prebuilts/tools/common/m2/repository/commons-codec/commons-codec/1.6/ |
commons-codec-1.6.jar | |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
SIPRequest.java | 191 * Convert to a formatted string for pretty printing. Note that the encode method converts 432 * Encode the SIP Request as a string. 437 public String encode() { method in class:SIPRequest 441 retval = requestLine.encode() + super.encode(); 445 retval = super.encode(); 451 * Encode only the headers and not the content. 457 retval = requestLine.encode() + super.encodeSIPHeaders(); 467 * ALias for encode above. 470 return this.encode(); [all...] |
/hardware/intel/common/libmix/mix_video/src/ |
mixvideoformatenc_h264.c | 78 video_formatenc_class->encode = mix_videofmtenc_h264_encode; 253 "======H264 Encode Object properities======:\n"); 573 //which is useful to check before encode 681 "not H264 video encode Object\n"); 723 if (parent_class->encode) { 724 return parent_class->encode(mix, bufin, bufincnt, iovout, 739 //TODO: also we could move some encode Preparation work to here 762 "not H264 video encode Object\n"); 1027 "not H264 video encode Object\n"); [all...] |
/external/guava/guava/src/com/google/common/io/ |
BaseEncoding.java | 58 * BaseEncoding.base32().encode("foo".getBytes(Charsets.US_ASCII))}</pre> 82 * <p>It is guaranteed that {@code encoding.decode(encoding.encode(x))} is always equal to 157 public String encode(byte[] bytes) { method in class:BaseEncoding 158 return encode(checkNotNull(bytes), 0, bytes.length); 165 public final String encode(byte[] bytes, int off, int len) { method in class:BaseEncoding 192 * Returns an {@code OutputSupplier} that supplies streams that encode bytes using this encoding 239 * This is the inverse operation to {@link #encode(byte[])}. 254 * This is the inverse operation to {@link #encode(byte[])}. 533 char encode(int bits) { 647 out.write(alphabet.encode(charIndex)) [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/ |
UrlEncoded.java | 99 /** Encode Hashtable with % encoding. 101 public String encode() method in class:UrlEncoded 103 return encode(ENCODING,false); 107 /** Encode Hashtable with % encoding. 109 public String encode(String charset) method in class:UrlEncoded 111 return encode(charset,false); 115 /** Encode Hashtable with % encoding. 119 public synchronized String encode(String charset, boolean equalsForNullValue) method in class:UrlEncoded 121 return encode(this,charset,equalsForNullValue); 125 /** Encode Hashtable with % encoding 129 public static String encode(MultiMap map, String charset, boolean equalsForNullValue) method in class:UrlEncoded [all...] |
/external/lldb/include/lldb/Core/ |
DataEncoder.h | 25 /// DataEncoder is a class that can encode binary data (swapping if needed) 195 /// Encode unsigned integer values into the data at \a offset. 202 /// The value to encode into the data. 221 /// Encode an unsigned integer of size \a byte_size to \a offset. 223 /// Encode a single integer value at \a offset and return the offset 234 /// The size in byte of the integer to encode. 249 /// Encode an arbitrary number of bytes. 256 /// The buffer that contains the the bytes to encode. 259 /// The number of bytes to encode. 271 /// Encode an address in the existing buffer at \a offset bytes int [all...] |