Home
last modified time | relevance | path

Searched refs:b1 (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/opengl/libagl/
Dmatrix.h111 GLfixed a1, GLfixed b1, in mla2a() argument
125 "%r"(a1), "r"(b1), in mla2a()
134 int64_t(a1)*b1)>>16) + c; in mla2a()
140 GLfixed a1, GLfixed b1, in mla3a() argument
156 "%r"(a1), "r"(b1), in mla3a()
178 …: [a0] "r" (a0),[b0] "r" (b0),[a1] "r" (a1),[b1] "r" (b1),[a2] "r" (a2),[b2] "r" (b2),[c] "r" (c) in mla3a()
186 int64_t(a1)*b1 + in mla3a()
223 int16_t b1 = (b1b0 >> 16) & 0xffff; in mla3a16()
225 accum += int64_t(a1)*int16_t(b1) >> 16; in mla3a16()
264 int16_t b1 = (b1b0 >> 16) & 0xffff; in mla3a16_btb()
[all …]
Ddxt.cpp102 int b1 = (x >> 16) & 0xff; in swap() local
106 return (uint32_t)((b3 << 24) | (b2 << 16) | (b1 << 8) | b0); in swap()
241 int b1 = blue(color1); in decodeDXT1() local
245 c[1] = (r1 << 11) | ((g1 >> 1) << 6) | (b1 << 1) | 0x1; in decodeDXT1()
261 b2 = avg23(b0, b1); in decodeDXT1()
265 b3 = avg23(b1, b0); in decodeDXT1()
270 b2 = (b0 + b1) >> 1; in decodeDXT1()
371 int b1 = blue(color1); in decodeDXT3() local
375 int b2 = avg23(b0, b1); in decodeDXT3()
379 int b3 = avg23(b1, b0); in decodeDXT3()
[all …]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DBase64.java75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64()
98 b1 = base64Alphabet[base64Data[dataIndex]]; in decodeBase64()
106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java643 private int unsignedBytesToInt(byte b0, byte b1) { in unsignedBytesToInt() argument
644 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); in unsignedBytesToInt()
650 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { in unsignedBytesToInt() argument
651 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) in unsignedBytesToInt()
658 private float bytesToFloat(byte b0, byte b1) { in bytesToFloat() argument
660 + ((unsignedByteToInt(b1) & 0x0F) << 8), 12); in bytesToFloat()
661 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); in bytesToFloat()
668 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { in bytesToFloat() argument
670 + (unsignedByteToInt(b1) << 8) in bytesToFloat()
/frameworks/base/core/java/android/content/
DPeriodicSync.java136 public static boolean syncExtrasEquals(Bundle b1, Bundle b2) { in syncExtrasEquals() argument
137 if (b1.size() != b2.size()) { in syncExtrasEquals()
140 if (b1.isEmpty()) { in syncExtrasEquals()
143 for (String key : b1.keySet()) { in syncExtrasEquals()
147 if (!b1.get(key).equals(b2.get(key))) { in syncExtrasEquals()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java59 Bundle b1 = new Bundle(); in testToKey() local
67 b1, in testToKey()
79 b1, in testToKey()
91 b1, in testToKey()
103 b1, in testToKey()
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
DBasicNfcEeTest.java111 private static void assertByteArrayEquals(byte[] b1, byte[] b2) { in assertByteArrayEquals() argument
112 assertEquals(b1.length, b2.length); in assertByteArrayEquals()
113 for (int i = 0; i < b1.length; i++) { in assertByteArrayEquals()
114 assertEquals(b1[i], b2[i]); in assertByteArrayEquals()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java420 Bitmap b1; in transform() local
423 b1 = Bitmap.createBitmap(source, 0, 0, in transform()
426 b1 = source; in transform()
429 if (recycle && b1 != source) { in transform()
433 int dx1 = Math.max(0, b1.getWidth() - targetWidth); in transform()
434 int dy1 = Math.max(0, b1.getHeight() - targetHeight); in transform()
437 b1, in transform()
443 if (b2 != b1) { in transform()
444 if (recycle || b1 != source) { in transform()
445 b1.recycle(); in transform()
/frameworks/base/core/java/android/net/
DSntpClient.java166 byte b1 = buffer[offset+1]; in read32()
172 int i1 = ((b1 & 0x80) == 0x80 ? (b1 & 0x7F) + 0x80 : b1); in read32()
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp166 signed b1 = (tmp1 + u_b) / 256; in convertCbYCrY() local
178 | (kAdjustedClip[b1] >> 3); in convertCbYCrY()
254 signed b1 = (tmp1 + u_b) / 256; in convertYUV420Planar() local
266 | (kAdjustedClip[b1] >> 3); in convertYUV420Planar()
327 signed b1 = (tmp1 + u_b) / 256; in convertQCOMYUV420SemiPlanar() local
337 ((kAdjustedClip[b1] >> 3) << 11) in convertQCOMYUV420SemiPlanar()
401 signed b1 = (tmp1 + u_b) / 256; in convertYUV420SemiPlanar() local
411 ((kAdjustedClip[b1] >> 3) << 11) in convertYUV420SemiPlanar()
471 signed b1 = (tmp1 + u_b) / 256; in convertTIYUV420PackedSemiPlanar() local
483 | (kAdjustedClip[b1] >> 3); in convertTIYUV420PackedSemiPlanar()
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp203 int r1, r2, g1, g2, b1, b2; in etc1_decode_block() local
213 b1 = convert5To8(bBase); in etc1_decode_block()
221 b1 = convert4To8(high >> 12); in etc1_decode_block()
229 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped); in etc1_decode_block()
379 int r1, g1, b1, r2, g2, b2; // 8 bit base colors for sub-blocks in etc_encodeBaseColors() local
391 b1 = convert5To8(b51); in etc_encodeBaseColors()
417 b1 = convert4To8(b41); in etc_encodeBaseColors()
426 pBaseColors[2] = b1; in etc_encodeBaseColors()
/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp157 const audio_coef_t b1 = mCoefs[1]; in process_normal_mono() local
165 acc = mac_coef_sample(b1, x1, acc); in process_normal_mono()
204 const audio_coef_t b1 = mCoefs[1]; in process_normal_multi() local
218 acc = mac_coef_sample(b1, x1, acc); in process_normal_multi()
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java171 int b0, b1, b2, b3; in unpackInt() local
174 b1 = ((int) buf[offset+1]) & 0xFF; in unpackInt()
177 return (b0 << 24) | (b1 << 16) | (b2 << 8) | b3; in unpackInt()
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java289 boolean[] b1 = new boolean[]{false, true}; in testArrays()
291 boolean[] br = mRemote.booleanArray(b0, b1, b2); in testArrays()
296 assertTrue(b1[0]); in testArrays()
297 assertFalse(b1[1]); in testArrays()
DPerformanceCollectorTest.java477 private void assertEqualsBundle(Bundle b1, Bundle b2) { in assertEqualsBundle() argument
478 assertEquals(b1.keySet(), b2.keySet()); in assertEqualsBundle()
479 for (String key : b1.keySet()) { in assertEqualsBundle()
480 assertEquals(b1.get(key), b2.get(key)); in assertEqualsBundle()
/frameworks/base/services/core/java/com/android/server/
DAssetAtlasService.java159 public int compare(Bitmap b1, Bitmap b2) { in AssetAtlasService()
160 if (b1.getWidth() == b2.getWidth()) { in AssetAtlasService()
161 return b2.getHeight() - b1.getHeight(); in AssetAtlasService()
163 return b2.getWidth() - b1.getWidth(); in AssetAtlasService()
DAlarmManagerService.java369 public int compare(Batch b1, Batch b2) { in compare() argument
370 long when1 = b1.start; in compare()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapTest.java222 int b1 = Color.blue(c1); in testSetPixelsWithNonOpaqueAlpha() local
224 assertTrue("blue", Math.abs(bb - b1) <= tolerance); in testSetPixelsWithNonOpaqueAlpha()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_reconstruct.c1223 i32 *ptrC, *ptrV, *b1; in h264bsdInterpolateMidHalf() local
1247 b1 = table; in h264bsdInterpolateMidHalf()
1272 *b1++ = tmp6; in h264bsdInterpolateMidHalf()
1282 *b1++ = tmp5; in h264bsdInterpolateMidHalf()
1292 *b1++ = tmp4; in h264bsdInterpolateMidHalf()
1302 *b1++ = tmp3; in h264bsdInterpolateMidHalf()
1410 i32 *ptrC, *ptrV, *ptrInt, *b1; in h264bsdInterpolateMidVerQuarter() local
1434 b1 = table; in h264bsdInterpolateMidVerQuarter()
1457 *b1++ = tmp6; in h264bsdInterpolateMidVerQuarter()
1467 *b1++ = tmp5; in h264bsdInterpolateMidVerQuarter()
[all …]
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3180 public static boolean syncExtrasEquals(Bundle b1, Bundle b2, boolean includeSyncSettings) { in syncExtrasEquals() argument
3181 if (b1 == b2) { in syncExtrasEquals()
3185 if (includeSyncSettings && b1.size() != b2.size()) { in syncExtrasEquals()
3188 Bundle bigger = b1.size() > b2.size() ? b1 : b2; in syncExtrasEquals()
3189 Bundle smaller = b1.size() > b2.size() ? b2 : b1; in syncExtrasEquals()
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr41 ��w�&��C��[�<{s6g����{(��Z�1��W�X~m�����<"/�mu����؟jR�Ӧi6f|�{T�b��E�<yl>{5�p�Y��̗�*���b1���…