Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/compile/mclinker/unittests/
DLEB128Test.cpp47 size = leb128::encode<uint32_t>(result, 2); in TEST_F()
53 size = leb128::encode<uint32_t>(result, 127); in TEST_F()
59 size = leb128::encode<uint32_t>(result, 128); in TEST_F()
66 size = leb128::encode<uint32_t>(result, 129); in TEST_F()
73 size = leb128::encode<uint32_t>(result, 130); in TEST_F()
80 size = leb128::encode<uint32_t>(result, 12857); in TEST_F()
93 size = leb128::encode<uint64_t>(result, 2); in TEST_F()
99 size = leb128::encode<uint64_t>(result, 127); in TEST_F()
105 size = leb128::encode<uint64_t>(result, 128); in TEST_F()
112 size = leb128::encode<uint64_t>(result, 129); in TEST_F()
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DLEB128.h23 size_t encode(ByteType*& pBuf, IntType pValue);
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);
96 size_t encode(char*& pBuf, IntType pValue) { in encode() function
97 return encode<IntType>(reinterpret_cast<ByteType*&>(pBuf), pValue); in encode()
/frameworks/compile/mclinker/lib/Support/
DLEB128.cpp17 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue) { in encode() function
36 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue) { in encode() function
67 size_t encode<int64_t>(ByteType*& pBuf, int64_t pValue) { in encode() function
89 size_t encode<int32_t>(ByteType*& pBuf, int32_t pValue) { in encode() function
90 return encode<int64_t>(pBuf, static_cast<int64_t>(pValue)); in encode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java166 byte []encodedSms = BearerData.encode(bearerData); in testUserData7bitAsciiFeedback()
175 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
178 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
181 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
196 byte []encodedSms = BearerData.encode(bearerData); in testUserData7bitGsmFeedback()
205 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
208 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
214 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
217 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
220 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
[all …]
/frameworks/opt/net/voip/src/jni/rtp/
DG711Codec.cpp41 int encode(void *payload, int16_t *samples);
47 int UlawCodec::encode(void *payload, int16_t *samples) in encode() function in __anon41fadcdb0111::UlawCodec
92 int encode(void *payload, int16_t *samples);
98 int AlawCodec::encode(void *payload, int16_t *samples) in encode() function in __anon41fadcdb0111::AlawCodec
DAmrCodec.cpp54 int encode(void *payload, int16_t *samples);
100 int AmrCodec::encode(void *payload, int16_t *samples) in encode() function in __anonb27916fb0111::AmrCodec
215 int encode(void *payload, int16_t *samples);
224 int GsmEfrCodec::encode(void *payload, int16_t *samples) in encode() function in __anonb27916fb0111::GsmEfrCodec
DGsmCodec.cpp44 int encode(void *payload, int16_t *samples);
52 int GsmCodec::encode(void *payload, int16_t *samples) in encode() function in __anone424b1220111::GsmCodec
DAudioCodec.h31 virtual int encode(void *payload, int16_t *samples) = 0;
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBytesMatcher.java70 encode(builder); in toString()
74 public void encode(@NonNull StringBuilder builder) { in encode() method in BytesMatcher.Rule
224 public static @NonNull String encode(@NonNull BytesMatcher matcher) { in encode() method in BytesMatcher
229 rule.encode(builder); in encode()
/frameworks/av/media/codecs/m4v_h263/
DTEST_MAPPING11 // between decode and encode AndroidTest.xml files -- except that encode does NOT
/frameworks/compile/mclinker/lib/Target/
DELFAttributeData.cpp68 leb128::encode<uint32_t>(pBuf, pTag); in WriteAttribute()
72 leb128::encode<uint32_t>(pBuf, pValue.getIntValue()); in WriteAttribute()
/frameworks/base/core/java/android/util/
DBase64.java458 return new String(encode(input, flags), "US-ASCII"); in encodeToString()
479 return new String(encode(input, offset, len, flags), "US-ASCII"); in encodeToString()
495 public static byte[] encode(byte[] input, int flags) { in encode() method in Base64
496 return encode(input, 0, input.length, flags); in encode()
511 public static byte[] encode(byte[] input, int offset, int len, int flags) { in encode() method in Base64
DBase64InputStream.java61 public Base64InputStream(InputStream in, int flags, boolean encode) { in Base64InputStream() argument
65 if (encode) { in Base64InputStream()
DBase64OutputStream.java63 public Base64OutputStream(OutputStream out, int flags, boolean encode) { in Base64OutputStream() argument
66 if (encode) { in Base64OutputStream()
/frameworks/native/libs/gralloc/types/tests/
DGralloc4_test.cpp75 void testHelper(const T& input, EncodeFunction<T> encode, DecodeFunction<T> decode) { in testHelper() argument
78 ASSERT_EQ(NO_ERROR, encode(input, &vec)); in testHelper()
84 void testHelperConst(const T& input, EncodeConstFunction<T> encode, DecodeFunction<T> decode) { in testHelperConst() argument
87 ASSERT_EQ(NO_ERROR, encode(input, &vec)); in testHelperConst()
93 void testHelperMetadataType(const T& input, EncodeMetadataTypeFunction<T> encode, DecodeMetadataTyp… in testHelperMetadataType() argument
97 ASSERT_EQ(NO_ERROR, encode(metadataType, input, &vec)); in testHelperMetadataType()
103 void testHelperMetadataTypeConst(const T& input, EncodeMetadataTypeConstFunction<T> encode, DecodeM… in testHelperMetadataTypeConst() argument
107 ASSERT_EQ(NO_ERROR, encode(metadataType, input, &vec)); in testHelperMetadataTypeConst()
113 void testHelperStableAidlType(const T& input, EncodeConstFunction<T> encode, DecodeFunction<T> deco… in testHelperStableAidlType() argument
116 ASSERT_EQ(NO_ERROR, encode(input, &vec)); in testHelperStableAidlType()
[all …]
/frameworks/base/core/java/android/net/
DMailTo.java157 sb.append(Uri.encode(header.getKey())); in toString()
159 sb.append(Uri.encode(header.getValue())); in toString()
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/
DBytesMatcherTest.java74 matcher = BytesMatcher.decode(BytesMatcher.encode(matcher)); in testSerialize_Empty()
96 matcher = BytesMatcher.decode(BytesMatcher.encode(matcher)); in testSerialize_Exact()
117 matcher = BytesMatcher.decode(BytesMatcher.encode(matcher)); in testSerialize_Prefix()
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DMainActivityTest.java30 private byte[] encode(View view) throws ClassNotFoundException, NoSuchMethodException, in encode() method in MainActivityTest
61 byte[] data = encode(mTextView); in testTextView()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbMidiPacketConverter.java107 return mUsbMidiEncoders[encoderId].encode(midiBytes, size); in rawMidiToUsbMidi()
146 public byte[] encode(byte[] midiBytes, int size) { in encode() method in UsbMidiPacketConverter.UsbMidiEncoder
/frameworks/av/media/codecs/amrnb/enc/test/
Damrnb_enc_test.cpp61 int encode(int mode, const char *srcFile, const char *dstFile) { in encode() function
234 retVal = encode(mode, inFileName, outFileName); in main()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java426 String answer = createAnswer(sessionDescription).encode(); in createListener()
553 createOffer().encode(), TRANSFER_TIMEOUT); in createListener()
555 String answer = createAnswer(sessionDescription).encode(); in createListener()
643 sipSession.makeCall(peerProfile, createOffer().encode(),
687 mSipSession.changeCall(createHoldOffer().encode(), timeout);
713 mSipSession.answerCall(createAnswer(mPeerSd).encode(), timeout);
737 mSipSession.changeCall(createContinueOffer().encode(), timeout);
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DLockHook.java236 mHash.update(sFilenameCharset.encode(e.getFileName()).array()); in hashStackTraceElement()
239 mHash.update(sFilenameCharset.encode(e.getClassName()).array()); in hashStackTraceElement()
242 mHash.update(sFilenameCharset.encode(e.getMethodName()).array()); in hashStackTraceElement()
/frameworks/av/media/codecs/amrnb/enc/fuzzer/
DREADME.md24 If the encode operation was successful, the input is advanced by the frame size.
25 If the encode operation was un-successful, the input is still advanced by frame size so
/frameworks/av/media/codecs/amrwb/enc/fuzzer/
DREADME.md24 If the encode operation was successful, the input is advanced by the frame size.
25 If the encode operation was un-successful, the input is still advanced by frame size so
/frameworks/base/services/people/java/com/android/server/people/data/
DContactsQueryHelper.java97 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, Uri.encode(phoneNumber)); in queryWithPhoneNumber()
103 ContactsContract.CommonDataKinds.Email.CONTENT_LOOKUP_URI, Uri.encode(email)); in queryWithEmail()

12345