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

123

/frameworks/compile/mclinker/include/mcld/Support/
H A DLEB128.h23 size_t encode(ByteType*& pBuf, IntType pValue);
33 * encode it in ULEB128 format.
52 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue);
55 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue);
61 size_t encode<int64_t>(ByteType*& pBuf, int64_t pValue);
64 size_t encode<int32_t>(ByteType*& pBuf, int32_t pValue);
68 * contain the number of bytes used in the buffer to encode the returned
96 size_t encode(char*& pBuf, IntType pValue) { function in namespace:mcld::leb128
97 return encode<IntType>(reinterpret_cast<ByteType*&>(pBuf), pValue);
/frameworks/compile/mclinker/unittests/
H A DLEB128Test.cpp47 size = leb128::encode<uint32_t>(result, 2);
53 size = leb128::encode<uint32_t>(result, 127);
59 size = leb128::encode<uint32_t>(result, 128);
66 size = leb128::encode<uint32_t>(result, 129);
73 size = leb128::encode<uint32_t>(result, 130);
80 size = leb128::encode<uint32_t>(result, 12857);
93 size = leb128::encode<uint64_t>(result, 2);
99 size = leb128::encode<uint64_t>(result, 127);
105 size = leb128::encode<uint64_t>(result, 128);
112 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:__anon1623::GsmCodec
H A DG711Codec.cpp41 int encode(void *payload, int16_t *samples);
47 int UlawCodec::encode(void *payload, int16_t *samples) function in class:__anon1622::UlawCodec
92 int encode(void *payload, int16_t *samples);
98 int AlawCodec::encode(void *payload, int16_t *samples) function in class:__anon1622::AlawCodec
H A DAmrCodec.cpp54 int encode(void *payload, int16_t *samples);
100 int AmrCodec::encode(void *payload, int16_t *samples) function in class:__anon1618::AmrCodec
215 int encode(void *payload, int16_t *samples);
224 int GsmEfrCodec::encode(void *payload, int16_t *samples) function in class:__anon1618::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.cpp68 leb128::encode<uint32_t>(pBuf, pTag);
72 leb128::encode<uint32_t>(pBuf, pValue.getIntValue());
/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 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/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.java1488 String encodedParameter = encode(key, null) + "="
1489 + encode(value, null);
1620 encodedKey = URLEncoder.encode(key, DEFAULT_ENCODING);
1681 final String encodedKey = encode(key, null);
1809 * @param s string to encode
1813 public static String encode(String s) { method in class:Uri
1814 return encode(s, null);
1824 * @param s string to encode
1830 public static String encode(String s, String allow) { method in class:Uri
1854 // If there's nothing more to encode
[all...]
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DMainActivityTest.java30 private byte[] encode(View view) throws ClassNotFoundException, NoSuchMethodException, method in class:MainActivityTest
35 invokeMethod(View.class, view, "encode", encoder);
61 byte[] data = encode(mTextView);
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.h33 bool encode(SkWStream* stream, void* inYuv, int width,
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
H A Damrnb_enc_test.cpp61 int encode(int mode, const char *srcFile, const char *dstFile) { function
148 // Dump the time taken by encode.
234 retVal = encode(mode, inFileName, outFileName);
/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/opt/net/wifi/service/java/com/android/server/wifi/nan/
H A DWifiNanNative.java249 + String.valueOf(HexEncoding.encode(dest)) + ", messageLength="
559 + String.valueOf(HexEncoding.encode(mac)));
581 + requestorInstanceId + ", mac=" + String.valueOf(HexEncoding.encode(mac))
613 + requestorInstanceId + ", mac=" + String.valueOf(HexEncoding.encode(mac))
H A DWifiNanSessionState.java214 mMacByRequestorInstanceId.put(requestorInstanceId, new String(HexEncoding.encode(peerMac)));
231 mMacByRequestorInstanceId.put(requestorInstanceId, new String(HexEncoding.encode(peerMac)));
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c73 int encode( function
183 //###################################### set encode Mode ##################################################
358 r = encode(mode, allow_dtx, frameType, inFileName, outFileName);
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackageInfo.java164 ShortcutService.writeAttr(out, ATTR_SIGNATURE_HASH, Base64.encode(mSigHashes.get(i)));
239 pw.println(HexEncoding.encode(mSigHashes.get(i)));
/frameworks/volley/src/main/java/com/android/volley/
H A DRequest.java448 encodedParams.append(URLEncoder.encode(entry.getKey(), paramsEncoding));
450 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);

Completed in 6896 milliseconds

123