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

/frameworks/compile/mclinker/include/mcld/Support/
H A DLEB128.h27 size_t encode(ByteType *&pBuf, IntType pValue);
37 * encode it in ULEB128 format.
56 size_t encode<uint64_t>(ByteType *&pBuf, uint64_t pValue);
59 size_t encode<uint32_t>(ByteType *&pBuf, uint32_t pValue);
65 size_t encode<int64_t>(ByteType *&pBuf, int64_t pValue);
68 size_t encode<int32_t>(ByteType *&pBuf, int32_t pValue);
72 * contain the number of bytes used in the buffer to encode the returned
100 size_t encode(char *&pBuf, IntType pValue) { function in namespace:mcld::leb128
101 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/base/voip/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:__anon1176::GsmCodec
H A DG711Codec.cpp41 int encode(void *payload, int16_t *samples);
47 int UlawCodec::encode(void *payload, int16_t *samples) function in class:__anon1175::UlawCodec
92 int encode(void *payload, int16_t *samples);
98 int AlawCodec::encode(void *payload, int16_t *samples) function in class:__anon1175::AlawCodec
H A DAmrCodec.cpp54 int encode(void *payload, int16_t *samples);
100 int AmrCodec::encode(void *payload, int16_t *samples) function in class:__anon1171::AmrCodec
215 int encode(void *payload, int16_t *samples);
224 int GsmEfrCodec::encode(void *payload, int16_t *samples) function in class:__anon1171::GsmEfrCodec
H A DAudioGroup.cpp105 void encode(int tick, AudioStream *chain);
264 void AudioStream::encode(int tick, AudioStream *chain) function in class:__anon1172::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
232 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality);
/frameworks/base/voip/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.java1480 String encodedParameter = encode(key, null) + "="
1481 + encode(value, null);
1612 encodedKey = URLEncoder.encode(key, DEFAULT_ENCODING);
1673 final String encodedKey = encode(key, null);
1801 * @param s string to encode
1805 public static String encode(String s) { method in class:Uri
1806 return encode(s, null);
1816 * @param s string to encode
1822 public static String encode(String s, String allow) { method in class:Uri
1846 // If there's nothing more to encode
[all...]
/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.
516 throw new CodingException("cannot ASCII encode (" + msg.charAt(i) + ")");
524 throw new CodingException("7bit ASCII encode failed: " + ex);
534 throw new CodingException("UTF-16 encode failed: " + ex);
561 * access to the main bitwise stream from encode/decode.
570 throw new CodingException("7bit GSM encode failed: " + ex);
883 public static byte[] encode(BearerData bData) { method in class:BearerData
940 Log.e(LOG_TAG, "BearerData encode failed: " + ex);
942 Log.e(LOG_TAG, "BearerData encode failed: " + ex);

Completed in 1669 milliseconds