/frameworks/compile/mclinker/include/mcld/Support/ |
D | LEB128.h | 26 IntType decode(const ByteType* pBuf, size_t& pSize); 29 IntType decode(const ByteType*& pBuf); 72 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize); 79 uint64_t decode<uint64_t>(const ByteType*& pBuf); 85 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize); 88 int64_t decode<int64_t>(const ByteType*& pBuf); 101 IntType decode(const char* pBuf, size_t& pSize) { in decode() function 102 return decode<IntType>(reinterpret_cast<const ByteType*>(pBuf), pSize); in decode() 106 IntType decode(const char*& pBuf) { in decode() function 107 return decode<IntType>(reinterpret_cast<const ByteType*&>(pBuf)); in decode()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
D | CdmaSmsTest.java | 120 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitGsm() 127 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAscii() 134 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAsciiTwo() 141 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserDataIa5() 157 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitAsciiFeedback() 165 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback() 168 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback() 171 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback() 187 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitGsmFeedback() 195 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | LEB128Test.cpp | 199 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 2); in TEST_F() 204 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 127); in TEST_F() 209 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 128); in TEST_F() 214 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 129); in TEST_F() 219 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 130); in TEST_F() 224 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 12857); in TEST_F() 234 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 2); in TEST_F() 239 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), -2); in TEST_F() 244 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 127); in TEST_F() 249 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), -127); in TEST_F() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 33 byte[] out = Base64.decode(in, 0); in decodeString() 51 byte[] out = Base64.decode(in, 0); in assertBad() 128 assertEquals(BYTES, 0, Base64.decode("", 0)); in testBinaryDecode() 129 assertEquals(BYTES, 1, Base64.decode("/w==", 0)); in testBinaryDecode() 130 assertEquals(BYTES, 2, Base64.decode("/+4=", 0)); in testBinaryDecode() 131 assertEquals(BYTES, 3, Base64.decode("/+7d", 0)); in testBinaryDecode() 132 assertEquals(BYTES, 4, Base64.decode("/+7dzA==", 0)); in testBinaryDecode() 133 assertEquals(BYTES, 5, Base64.decode("/+7dzLs=", 0)); in testBinaryDecode() 134 assertEquals(BYTES, 6, Base64.decode("/+7dzLuq", 0)); in testBinaryDecode() 135 assertEquals(BYTES, 7, Base64.decode("/+7dzLuqmQ==", 0)); in testBinaryDecode() [all …]
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | G711Codec.cpp | 42 int decode(int16_t *samples, int count, void *payload, int length); 67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() function in __anonf095142f0111::UlawCodec 93 int decode(int16_t *samples, int count, void *payload, int length); 117 int AlawCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() function in __anonf095142f0111::AlawCodec
|
D | AmrCodec.cpp | 55 int decode(int16_t *samples, int count, void *payload, int length); 131 int AmrCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() function in __anona83fb3cf0111::AmrCodec 216 int decode(int16_t *samples, int count, void *payload, int length); 242 int GsmEfrCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() function in __anona83fb3cf0111::GsmEfrCodec
|
D | GsmCodec.cpp | 47 int decode(int16_t *samples, int count, void *payload, int length); 60 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() function in __anond9eb4df60111::GsmCodec
|
D | AudioCodec.h | 33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
|
/frameworks/compile/mclinker/lib/Support/ |
D | LEB128.cpp | 96 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize) { in decode() function 136 uint64_t decode<uint64_t>(const ByteType*& pBuf) { in decode() function 184 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize) { in decode() function 205 int64_t decode<int64_t>(const ByteType*& pBuf) { in decode() function
|
/frameworks/base/tools/preload/ |
D | Record.java | 132 processName = decode(parts[3]).intern(); in Record() 135 className = vmTypeToLanguage(decode(parts[5])).intern(); in Record() 148 String decode(String rawField) { in decode() method in Record
|
/frameworks/base/core/tests/coretests/src/android/net/netlink/ |
D | RtNetlinkNeighborMessageTest.java | 77 HexEncoding.decode(RTM_DELNEIGH_HEX.toCharArray(), false); 116 HexEncoding.decode(RTM_NEWNEIGH_HEX.toCharArray(), false); 136 HexEncoding.decode(RTM_GETNEIGH_RESPONSE_HEX.replaceAll(" ", "").toCharArray(), false); 246 HexEncoding.decode(expectedNewNeighHex.toCharArray(), false); in testCreateRtmNewNeighMessage()
|
/frameworks/base/core/java/android/util/ |
D | Base64.java | 117 public static byte[] decode(String str, int flags) { in decode() method in Base64 118 return decode(str.getBytes(), flags); in decode() 135 public static byte[] decode(byte[] input, int flags) { in decode() method in Base64 136 return decode(input, 0, input.length, flags); in decode() 155 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() method in Base64
|
/frameworks/base/docs/html/tools/help/ |
D | etc1tool.jd | 8 images to the ETC1 compression standard and decode ETC1 compressed images back to PNG.</p> 11 <pre>etc1tool infile [--help | --encode | --encodeNoHeader | --decode] [--showDifference 47 <td><code>--decode</code></td>
|
/frameworks/compile/mclinker/lib/Target/ |
D | ELFAttributeData.cpp | 24 leb128::decode<uint64_t>(pBuf, size)); in ReadTag() 41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); in ReadValue()
|
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 273 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( in testOffer1() 304 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( in testOffer2() 337 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( in testBadHwaddrLength() 414 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( in testPadAndOverloadedOptionsOffer() 447 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( in testBug2111() 478 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( in testBug2136()
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
D | SystemProperties_Delegate.java | 56 return Integer.decode(value); in native_get_int() 67 return Long.decode(value); in native_get_long()
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | load-bitmap.jd | 51 the most appropriate decode method based on your image data source. These methods attempt to 53 exception. Each type of decode method has additional signatures that let you specify decoding 132 <p>To use this method, first decode with {@link 134 through and then decode again using the new {@link 143 // First decode with inJustDecodeBounds=true to check dimensions 166 <p>You can follow a similar process to decode bitmaps from other sources, by substituting the 169 BitmapFactory.decode*} method as needed.</p>
|
/frameworks/base/core/java/android/net/ |
D | MailTo.java | 87 m.mHeaders.put(Uri.decode(nameval[0]).toLowerCase(Locale.ROOT), in parse() 88 nameval.length > 1 ? Uri.decode(nameval[1]) : null); in parse()
|
D | Uri.java | 1099 return decode(encodedHost); in parseHost() 1125 String portString = decode(authority.substring(portSeparator + 1)); in parsePort() 1587 names.add(decode(name)); in getQueryParameterNames() 1642 values.add(decode(query.substring(separator + 1, end))); in getQueryParameters() 1699 return UriCodec.decode(encodedValue, true, StandardCharsets.UTF_8, false); in getQueryParameter() 1934 public static String decode(String s) { in decode() method in Uri 1938 return UriCodec.decode(s, false, StandardCharsets.UTF_8, false); in decode() 1968 return hasDecoded ? decoded : (decoded = decode(encoded)); in getDecoded() 2154 = decode(path.substring(previous, current)); in getPathSegments() 2162 segmentBuilder.add(decode(path.substring(previous))); in getPathSegments()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 112 return decode(); in doInBackground() 115 public ReusableBitmap decode() { in decode() method in DecodeTask 381 decodeResult = decode(fd, in); in decode() 389 decodeResult = decode(fd, in); in decode() 488 private Bitmap decode(ParcelFileDescriptor fd, InputStream in) { in decode() method in DecodeTask
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ComprehensionTlv.java | 93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex); in decodeMany() 114 public static ComprehensionTlv decode(byte[] data, int startIndex) in decode() method in ComprehensionTlv
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
D | ConfigBuilder.java | 55 byte[] b64 = Base64.decode(new String(data, StandardCharsets.ISO_8859_1), Base64.DEFAULT); in buildConfig() 70 byte[] wrappedContent = Base64.decode(mimeContainer.getText(), Base64.DEFAULT); in buildConfig() 104 byte[] octets = Base64.decode(subContainer.getText(), Base64.DEFAULT); in parse() 116 byte[] octets = Base64.decode(subContainer.getText(), Base64.DEFAULT); in parse() 129 byte[] octets = Base64.decode(subContainer.getText(), Base64.DEFAULT); in parse()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 140 byte[] derKey = Base64.decode(TEST_KEY.getBytes(), Base64.DEFAULT); in createKey() 147 byte[] derCert = Base64.decode(TEST_CERT.getBytes(), Base64.DEFAULT); in createCertificate() 180 return signer.verify(Base64.decode(signature.getBytes(), Base64.DEFAULT)); in verifySignature()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | BasicBitmapDrawable.java | 285 decode(null); in loadFileDescriptorFactory() 300 decode(factory); in fileDescriptorFactoryCreated() 314 protected void decode(final FileDescriptorFactory factory) { in decode() method in BasicBitmapDrawable
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
D | Event.java | 213 data.add(Integer.decode(mReader.nextString())); in readData() 234 return Integer.decode(val); in readInt()
|