Searched defs:encode (Results 1 - 17 of 17) sorted by relevance

/frameworks/compile/mclinker/include/mcld/Support/
H A DLEB128.h24 size_t encode(ByteType *&pBuf, IntType pValue);
34 * encode it in ULEB128 format.
53 size_t encode<uint64_t>(ByteType *&pBuf, uint64_t pValue);
56 size_t encode<uint32_t>(ByteType *&pBuf, uint32_t pValue);
62 size_t encode<int64_t>(ByteType *&pBuf, int64_t pValue);
65 size_t encode<int32_t>(ByteType *&pBuf, int32_t pValue);
69 * contain the number of bytes used in the buffer to encode the returned
97 size_t encode(char *&pBuf, IntType pValue) { function in namespace:mcld::leb128
98 return encode<IntType>(reinterpret_cast<ByteType*&>(pBuf), pValue);
/frameworks/compile/mclinker/lib/Support/
H A DLEB128.cpp17 size_t encode<uint64_t>(ByteType *&pBuf, uint64_t pValue) { function in namespace:mcld::leb128
36 size_t encode<uint32_t>(ByteType *&pBuf, uint32_t pValue) { function in namespace:mcld::leb128
67 size_t encode<int64_t>(ByteType *&pBuf, int64_t pValue) { function in namespace:mcld::leb128
89 size_t encode<int32_t>(ByteType *&pBuf, int32_t pValue) { function in namespace:mcld::leb128
90 return encode<int64_t>(pBuf, static_cast<int64_t>(pValue));
/frameworks/base/core/java/android/util/
H A DBase64OutputStream.java56 * @param encode true to encode, false to decode
60 public Base64OutputStream(OutputStream out, int flags, boolean encode) { argument
63 if (encode) {
H A DBase64InputStream.java57 * @param encode true to encode, false to decode
61 public Base64InputStream(InputStream in, int flags, boolean encode) { argument
65 if (encode) {
134 * decode/encode it into the empty coder.output, and reset the
H A DBase64.java446 * Base64-encode the given data and return a newly allocated
449 * @param input the data to encode
456 return new String(encode(input, flags), "US-ASCII");
464 * Base64-encode the given data and return a newly allocated
467 * @param input the data to encode
470 * @param len the number of bytes of input to encode
477 return new String(encode(input, offset, len, flags), "US-ASCII");
485 * Base64-encode the given data and return a newly allocated
488 * @param input the data to encode
493 public static byte[] encode(byt method in class:Base64
509 public static byte[] encode(byte[] input, int offset, int len, int flags) { method in class:Base64
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DGsmCodec.cpp46 int encode(void *payload, int16_t *samples);
54 int GsmCodec::encode(void *payload, int16_t *samples) function in class:__anon1457::GsmCodec
H A DG711Codec.cpp41 int encode(void *payload, int16_t *samples);
47 int UlawCodec::encode(void *payload, int16_t *samples) function in class:__anon1456::UlawCodec
92 int encode(void *payload, int16_t *samples);
98 int AlawCodec::encode(void *payload, int16_t *samples) function in class:__anon1456::AlawCodec
H A DAmrCodec.cpp54 int encode(void *payload, int16_t *samples);
100 int AmrCodec::encode(void *payload, int16_t *samples) function in class:__anon1452::AmrCodec
215 int encode(void *payload, int16_t *samples);
224 int GsmEfrCodec::encode(void *payload, int16_t *samples) function in class:__anon1452::GsmEfrCodec
H A DAudioGroup.cpp105 void encode(int tick, AudioStream *chain);
264 void AudioStream::encode(int tick, AudioStream *chain) function in class:__anon1453::AudioStream
351 int length = mCodec->encode(&buffer[3], samples);
727 stream->encode(tick, chain);
/frameworks/base/core/java/android/speech/srec/
H A DUlawEncoderInputStream.java49 public static void encode(byte[] pcmBuf, int pcmOffset, method in class:UlawEncoderInputStream
153 encode(mBuf, 0, buf, offset, n, mMax);
/frameworks/base/core/java/com/android/internal/net/
H A DVpnProfile.java154 public byte[] encode() { method in class:VpnProfile
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c72 int encode( function
182 //###################################### set encode Mode ##################################################
357 r = encode(mode, allow_dtx, frameType, inFileName, outFileName);
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp24 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, function in class:YuvToJpegEncoder
231 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality);
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java40 * <p>Invoking <code>description.encode()</code> will produce a result like the
137 public String encode() { method in class:SimpleSessionDescription
/frameworks/base/core/java/android/net/
H A DUri.java1483 String encodedParameter = encode(key, null) + "="
1484 + encode(value, null);
1615 encodedKey = URLEncoder.encode(key, DEFAULT_ENCODING);
1676 final String encodedKey = encode(key, null);
1804 * @param s string to encode
1808 public static String encode(String s) { method in class:Uri
1809 return encode(s, null);
1819 * @param s string to encode
1825 public static String encode(String s, String allow) { method in class:Uri
1849 // If there's nothing more to encode
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvContract.java893 * Canonical genres are defined in {@link Genres}. Use {@link Genres#encode Genres.encode()}
1109 public static String encode(String... genres) { method in class:TvContract.Programs.Genres
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java38 * An object to encode and decode CDMA SMS bearer data.
534 throw new CodingException("cannot ASCII encode (" + msg.charAt(i) + ")");
542 throw new CodingException("7bit ASCII encode failed: " + ex);
552 throw new CodingException("UTF-16 encode failed: " + ex);
579 * access to the main bitwise stream from encode/decode.
588 throw new CodingException("7bit GSM encode failed: " + ex);
648 throw new CodingException("Shift-JIS encode failed: " + ex);
912 public static byte[] encode(BearerData bData) { method in class:BearerData
969 Rlog.e(LOG_TAG, "BearerData encode failed: " + ex);
971 Rlog.e(LOG_TAG, "BearerData encode faile
[all...]

Completed in 9113 milliseconds