| /external/openfst/src/script/ |
| encode.cc | 19 #include <fst/encode.h> 20 #include <fst/script/encode.h> 25 void Encode(MutableFstClass *ofst, uint32 flags, bool reuse_encoder, 29 Apply<Operation<EncodeArgs> >("Encode", ofst->ArcType(), &args); 32 REGISTER_FST_OPERATION(Encode, StdArc, EncodeArgs); 33 REGISTER_FST_OPERATION(Encode, LogArc, EncodeArgs); 34 REGISTER_FST_OPERATION(Encode, Log64Arc, EncodeArgs);
|
| /libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
| CharsetEncoderTest.java | 261 * methods which can change internal states are two encode, flush, two canEncode, reset 273 encoder.encode(CharBuffer.wrap("aaa")); 275 encoder.encode(CharBuffer.wrap("aaa"), ByteBuffer.allocate(3), false); 277 encoder.encode(CharBuffer.wrap("aaa"), ByteBuffer.allocate(3), true); 285 // Normal case: after encode with endOfInput is true 287 encoder.encode(in, out, true); 299 // Illegal state: flush after encode with endOfInput is false 301 encoder.encode(in, out, false); 323 // test illegal states for encode facade 325 // encode facade can be execute in anywher [all...] |
| /external/chromium_org/third_party/skia/src/utils/ |
| SkBase64.cpp | 112 size_t SkBase64::Encode(const void* srcPtr, size_t length, void* dstPtr, const char* encodeMap) { 113 const char* encode; 115 encode = default_encode; 117 encode = encodeMap; 132 *dst++ = encode[a]; 133 *dst++ = encode[b]; 134 *dst++ = encode[c]; 135 *dst++ = encode[d]; 147 *dst++ = encode[a >> 2]; 148 *dst++ = encode[(k1 | a << 4) & 0x3F] [all...] |
| /external/lzma/CPP/7zip/Compress/ |
| CodecExports.cpp | 33 static HRESULT SetClassID(CMethodId id, bool encode, PROPVARIANT *value)
38 if (encode)
43 static HRESULT FindCodecClassId(const GUID *clsID, UInt32 isCoder2, bool isFilter, bool &encode, int &index)
50 encode = (clsID->Data3 != kDecodeId);
57 if (id != codec.Id || encode && !codec.CreateEncoder || !encode && !codec.CreateDecoder)
68 STDAPI CreateCoder2(bool encode, UInt32 index, const GUID *iid, void **outObject)
79 if (encode)
109 bool encode;
111 HRESULT res = FindCodecClassId(clsid, isCoder2, isFilter, encode, codecIndex); [all...] |
| /external/skia/src/utils/ |
| SkBase64.cpp | 112 size_t SkBase64::Encode(const void* srcPtr, size_t length, void* dstPtr, const char* encodeMap) { 113 const char* encode; 115 encode = default_encode; 117 encode = encodeMap; 132 *dst++ = encode[a]; 133 *dst++ = encode[b]; 134 *dst++ = encode[c]; 135 *dst++ = encode[d]; 147 *dst++ = encode[a >> 2]; 148 *dst++ = encode[(k1 | a << 4) & 0x3F] [all...] |
| /frameworks/compile/mclinker/unittests/ |
| LEB128Test.cpp | 52 size = leb128::encode<uint32_t>(result, 2); 58 size = leb128::encode<uint32_t>(result, 127); 64 size = leb128::encode<uint32_t>(result, 128); 71 size = leb128::encode<uint32_t>(result, 129); 78 size = leb128::encode<uint32_t>(result, 130); 85 size = leb128::encode<uint32_t>(result, 12857); 98 size = leb128::encode<uint64_t>(result, 2); 104 size = leb128::encode<uint64_t>(result, 127); 110 size = leb128::encode<uint64_t>(result, 128); 117 size = leb128::encode<uint64_t>(result, 129) [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_multibytecodec.py | 35 self.assertEqual(u''.encode(enc), '') 39 self.assertEqual('abcd'.encode(enc), 'abcd') 66 self.assertEqual(encoder.encode(u'\ud30c\uc774\uc36c \ub9c8\uc744'), 69 self.assertEqual(encoder.encode(u'\u2606\u223c\u2606', True), 72 self.assertEqual(encoder.encode(u'', True), '') 73 self.assertEqual(encoder.encode(u'', False), '') 83 self.assertEqual(encoder.encode(u'\u00e6\u0300'), '\xab\xc4') 84 self.assertEqual(encoder.encode(u'\u00e6'), '') 85 self.assertEqual(encoder.encode(u'\u0300'), '\xab\xc4') 86 self.assertEqual(encoder.encode(u'\u00e6', True), '\xa9\xdc' [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_multibytecodec.py | 35 self.assertEqual(u''.encode(enc), '') 39 self.assertEqual('abcd'.encode(enc), 'abcd') 66 self.assertEqual(encoder.encode(u'\ud30c\uc774\uc36c \ub9c8\uc744'), 69 self.assertEqual(encoder.encode(u'\u2606\u223c\u2606', True), 72 self.assertEqual(encoder.encode(u'', True), '') 73 self.assertEqual(encoder.encode(u'', False), '') 83 self.assertEqual(encoder.encode(u'\u00e6\u0300'), '\xab\xc4') 84 self.assertEqual(encoder.encode(u'\u00e6'), '') 85 self.assertEqual(encoder.encode(u'\u0300'), '\xab\xc4') 86 self.assertEqual(encoder.encode(u'\u00e6', True), '\xa9\xdc' [all...] |
| /dalvik/vm/compiler/codegen/x86/libenc/ |
| encoder.inl | 113 return (char*)EncoderBase::encode(stream, Mnemonic_PUSH, args); 124 return EncoderBase::encode(stream, Mnemonic_PUSH, args); 130 return (char*)EncoderBase::encode(stream, Mnemonic_POP, args); 140 return (char*)EncoderBase::encode(stream, Mnemonic_CMPXCHG, args); 147 return (char*)EncoderBase::encode(stream, Mnemonic_XCHG, args); 154 return (char*)EncoderBase::encode(stream, Mnemonic_INC, args); 160 return (char*)EncoderBase::encode(stream, Mnemonic_DEC, args); 166 return (char*)EncoderBase::encode(stream, Mnemonic_NOT, args); 172 return (char*)EncoderBase::encode(stream, Mnemonic_NEG, args); 177 return (char*)EncoderBase::encode(stream, Mnemonic_NOP, args) [all...] |
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
| DERNull.java | 34 void encode( method in class:DERNull
|
| DEROutputStream.java | 24 obj.toASN1Primitive().toDERObject().encode(this);
|
| DLOutputStream.java | 24 obj.toASN1Primitive().toDLObject().encode(this);
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
| DSAEncoder.java | 8 byte[] encode(BigInteger r, BigInteger s) method in interface:DSAEncoder
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
| Encoder.java | 7 * Encode and decode byte arrays (typically from binary to 7-bit ASCII 12 int encode(byte[] data, int off, int length, OutputStream out) throws IOException; method in interface:Encoder
|
| /external/doclava/src/com/google/doclava/ |
| CodeTagInfo.java | 20 private static String encode(String t) { method in class:CodeTagInfo 30 //super("@code", "@code", encode(text), sp);
|
| /external/smack/src/org/jivesoftware/smack/util/ |
| Base64Encoder.java | 34 public String encode(String s) { method in class:Base64Encoder
|
| /frameworks/opt/net/voip/src/jni/rtp/ |
| AudioCodec.h | 31 virtual int encode(void *payload, int16_t *samples) = 0;
|
| /packages/apps/Contacts/src/com/android/contacts/util/ |
| StructuredPostalUtils.java | 31 return Uri.parse("geo:0,0?q=" + Uri.encode(postalAddress));
|
| /external/nist-sip/java/gov/nist/javax/sip/address/ |
| Authority.java | 58 public String encode() { method in class:Authority 59 return encode(new StringBuffer()).toString(); 62 public StringBuffer encode(StringBuffer buffer) { method in class:Authority 64 userInfo.encode(buffer); 66 hostPort.encode(buffer); 68 hostPort.encode(buffer); 234 return this.hostPort.encode().hashCode();
|
| TelURLImpl.java | 158 return this.scheme + ":" + telephoneNumber.encode(); 161 public String encode() { method in class:TelURLImpl 162 return encode(new StringBuffer()).toString(); 165 public StringBuffer encode(StringBuffer buffer) { method in class:TelURLImpl 167 telephoneNumber.encode(buffer);
|
| /external/chromium/sdch/open-vcdiff/src/ |
| vcdiff_test.sh | 45 # vcdiff with three arguments but without "encode" or "decode" 55 encode -dictionary $DICTIONARY_FILE \ 58 || { echo "Encode with three arguments failed"; \ 75 encode -dictionary $DICTIONARY_FILE \ 78 || { echo "Encode using stdin/stdout failed"; \ 95 encode -dictionary $DICTIONARY_FILE \ 98 || { echo "Encode with mixed arguments failed"; \ 114 encode -dictionary $DICTIONARY_FILE \ 117 || { echo "Encode with mixed arguments failed"; \ 158 encode -dictionary $TEST_TMPDIR/nonexistent_file [all...] |
| /external/chromium_org/sdch/open-vcdiff/src/ |
| vcdiff_test.sh | 45 # vcdiff with three arguments but without "encode" or "decode" 55 encode -dictionary $DICTIONARY_FILE \ 58 || { echo "Encode with three arguments failed"; \ 75 encode -dictionary $DICTIONARY_FILE \ 78 || { echo "Encode using stdin/stdout failed"; \ 95 encode -dictionary $DICTIONARY_FILE \ 98 || { echo "Encode with mixed arguments failed"; \ 114 encode -dictionary $DICTIONARY_FILE \ 117 || { echo "Encode with mixed arguments failed"; \ 158 encode -dictionary $TEST_TMPDIR/nonexistent_file [all...] |
| /external/elfutils/libelf/ |
| version_xlate.h | 58 elf_cvt_Verdef (void *dest, const void *src, size_t len, int encode) 62 them one after the other. The ENCODE parameter specifies whether 93 if (! encode) 120 if (encode) 126 if (! encode) 131 /* Encode now if necessary. */ 132 if (encode) 152 elf_cvt_Verneed (void *dest, const void *src, size_t len, int encode) 156 them one after the other. The ENCODE parameter specifies whether 187 if (! encode) [all...] |
| /external/open-vcdiff/src/ |
| vcdiff_test.sh | 45 # vcdiff with three arguments but without "encode" or "decode" 55 encode -dictionary $DICTIONARY_FILE \ 58 || { echo "Encode with three arguments failed"; \ 75 encode -dictionary $DICTIONARY_FILE \ 78 || { echo "Encode using stdin/stdout failed"; \ 95 encode -dictionary $DICTIONARY_FILE \ 98 || { echo "Encode with mixed arguments failed"; \ 114 encode -dictionary $DICTIONARY_FILE \ 117 || { echo "Encode with mixed arguments failed"; \ 158 encode -dictionary $TEST_TMPDIR/nonexistent_file [all...] |
| /external/apache-http/src/org/apache/commons/codec/net/ |
| BCodec.java | 102 public String encode(final String value, final String charset) throws EncoderException { method in class:BCodec 123 public String encode(String value) throws EncoderException { method in class:BCodec 127 return encode(value, getDefaultCharset()); 163 public Object encode(Object value) throws EncoderException { method in class:BCodec 167 return encode((String) value);
|