Searched refs:encode (Results 1 - 25 of 50) sorted by relevance

12

/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/unittests/
H A DLEB128Test.cpp52 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_
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioCodec.h31 virtual int encode(void *payload, int16_t *samples) = 0;
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
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DCharsets.java55 return US_ASCII.encode(cb).array();
65 return ISO_8859_1.encode(cb).array();
75 return UTF_8.encode(cb).array();
/frameworks/compile/mclinker/lib/Target/
H A DELFAttributeData.cpp69 leb128::encode<uint32_t>(pBuf, pTag);
73 leb128::encode<uint32_t>(pBuf, pValue.getIntValue());
/frameworks/base/core/java/android/util/
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 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 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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java156 byte []encodedSms = BearerData.encode(bearerData);
165 revBearerData = BearerData.decode(BearerData.encode(bearerData));
168 revBearerData = BearerData.decode(BearerData.encode(bearerData));
171 revBearerData = BearerData.decode(BearerData.encode(bearerData));
186 byte []encodedSms = BearerData.encode(bearerData);
195 revBearerData = BearerData.decode(BearerData.encode(bearerData));
198 revBearerData = BearerData.decode(BearerData.encode(bearerData));
204 revBearerData = BearerData.decode(BearerData.encode(bearerData));
207 revBearerData = BearerData.decode(BearerData.encode(bearerData));
210 revBearerData = BearerData.decode(BearerData.encode(bearerDat
[all...]
/frameworks/base/core/java/android/net/
H A DMailTo.java157 sb.append(Uri.encode(header.getKey()));
159 sb.append(Uri.encode(header.getValue()));
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/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/jni/android/graphics/
H A DYuvToJpegEncoder.h33 bool encode(SkWStream* stream, void* inYuv, int width,
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 DSipAudioCall.java418 String answer = createAnswer(sessionDescription).encode();
545 createOffer().encode(), TRANSFER_TIMEOUT);
547 String answer = createAnswer(sessionDescription).encode();
635 sipSession.makeCall(peerProfile, createOffer().encode(),
679 mSipSession.changeCall(createHoldOffer().encode(), timeout);
705 mSipSession.answerCall(createAnswer(mPeerSd).encode(), timeout);
729 mSipSession.changeCall(createContinueOffer().encode(), timeout);
/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/volley/src/com/android/volley/
H A DRequest.java447 encodedParams.append(URLEncoder.encode(entry.getKey(), paramsEncoding));
449 encodedParams.append(URLEncoder.encode(entry.getValue(), paramsEncoding));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceCategoryProgramHandler.java154 byte[] encodedBearerData = BearerData.encode(bData);
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java220 Uri.withAppendedPath(Email.CONTENT_LOOKUP_URI, Uri.encode(mContactEmail)),
294 Uri.withAppendedPath(Email.CONTENT_LOOKUP_URI, Uri.encode(mContactEmail)),
/frameworks/base/core/java/com/android/internal/util/
H A DFastPrintWriter.java344 CoderResult result = mCharset.encode(charBuffer, mBytes, true);
350 result = mCharset.encode(charBuffer, mBytes, true);
/frameworks/base/media/java/android/media/tv/
H A DTvInputInfo.java667 builder.append(Uri.encode(inputId));
695 builder.append(Uri.encode(entry.getKey()));
697 builder.append(Uri.encode(entry.getValue()));

Completed in 652 milliseconds

12