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

12345

/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:__anon1948::GsmCodec
H A DG711Codec.cpp41 int encode(void *payload, int16_t *samples);
47 int UlawCodec::encode(void *payload, int16_t *samples) function in class:__anon1947::UlawCodec
92 int encode(void *payload, int16_t *samples);
98 int AlawCodec::encode(void *payload, int16_t *samples) function in class:__anon1947::AlawCodec
H A DAmrCodec.cpp54 int encode(void *payload, int16_t *samples);
100 int AmrCodec::encode(void *payload, int16_t *samples) function in class:__anon1943::AmrCodec
215 int encode(void *payload, int16_t *samples);
224 int GsmEfrCodec::encode(void *payload, int16_t *samples) function in class:__anon1943::GsmEfrCodec
/frameworks/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/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DActivityCompat.java57 view.encode(encoder);
/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/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareClientState.java217 HexEncoding.encode(mac)) + ", mLastDiscoveryInterfaceMac="
218 + String.valueOf(HexEncoding.encode(mLastDiscoveryInterfaceMac)));
248 HexEncoding.encode(mac)) + ", currentDiscoveryInterfaceMac="
249 + String.valueOf(HexEncoding.encode(currentDiscoveryInterfaceMac))
251 HexEncoding.encode(mLastDiscoveryInterfaceMac)));
H A DWifiAwareNativeCallback.java355 + String.valueOf(HexEncoding.encode(event.addr)));
406 + event.peerId + ", addr=" + String.valueOf(HexEncoding.encode(event.addr))
441 HexEncoding.encode(event.addr)) + ", serviceSpecificInfo=" + Arrays.toString(
470 HexEncoding.encode(event.peerDiscMacAddr)) + ", ndpInstanceId="
483 + ", peerNdiMacAddr=" + String.valueOf(HexEncoding.encode(event.peerNdiMacAddr))
502 HexEncoding.encode(event.V1_0.peerNdiMacAddr)) + ", dataPathSetupSuccess="
/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()));
/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/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DNativeUtil.java59 ByteBuffer encoded = encoder.encode(CharBuffer.wrap(str));
147 sb.append(new String(HexEncoding.encode(macArray, i, 1)));
338 return new String(HexEncoding.encode(bytes)).toLowerCase();
348 String y = new String(HexEncoding.encode(Arrays.copyOfRange(devType, 2, 6)));
/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/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/wifi/java/android/net/wifi/aware/
H A DPublishConfig.java103 HexEncoding.encode(mServiceName))) + ", mServiceName.length=" + (
106 HexEncoding.encode(mServiceSpecificInfo)))
H A DSubscribeConfig.java114 : String.valueOf(HexEncoding.encode(mServiceName))) + ", mServiceName.length=" + (
117 HexEncoding.encode(mServiceSpecificInfo)))

Completed in 6655 milliseconds

12345