/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/ |
H A D | BasicNfcEeTest.java | 111 private static void assertByteArrayEquals(byte[] b1, byte[] b2) { argument 112 assertEquals(b1.length, b2.length); 113 for (int i = 0; i < b1.length; i++) { 114 assertEquals(b1[i], b2[i]);
|
/frameworks/base/core/java/android/content/ |
H A D | PeriodicSync.java | 136 public static boolean syncExtrasEquals(Bundle b1, Bundle b2) { argument 137 if (b1.size() != b2.size()) { 140 if (b1.isEmpty()) { 143 for (String key : b1.keySet()) { 147 if (!b1.get(key).equals(b2.get(key))) {
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.h | 111 GLfixed a1, GLfixed b1, 125 "%r"(a1), "r"(b1), 134 int64_t(a1)*b1)>>16) + c; 140 GLfixed a1, GLfixed b1, 156 "%r"(a1), "r"(b1), 169 "madd %[a1],%[b1] \r\n" 178 : [a0] "r" (a0),[b0] "r" (b0),[a1] "r" (a1),[b1] "r" (b1),[a2] "r" (a2),[b2] "r" (b2),[c] "r" (c) 186 int64_t(a1)*b1 + 192 // b0, b1, b 110 mla2a( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed c) argument 139 mla3a( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2, GLfixed c) argument 316 mla3( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2) argument 347 mla4( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2, GLfixed a3, GLfixed b3) argument [all...] |
H A D | dxt.cpp | 102 int b1 = (x >> 16) & 0xff; local 106 return (uint32_t)((b3 << 24) | (b2 << 16) | (b1 << 8) | b0); 167 // bits: b31 b30 b29 ... b3 b2 b1 b0 168 // bits >> 1: b31 b31 b30 ... b4 b3 b2 b1 169 // &: b31 (b31 & b30) (b29 & b28) ... (b2 & b1) (b1 & b0) 170 // & 0x55..: 0 (b31 & b30) 0 ... 0 (b1 & b0) 241 int b1 = blue(color1); local 245 c[1] = (r1 << 11) | ((g1 >> 1) << 6) | (b1 << 1) | 0x1; 261 b2 = avg23(b0, b1); 371 int b1 = blue(color1); local 528 int b1 = blue(color1); local [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.cpp | 157 const audio_coef_t b1 = mCoefs[1]; local 165 acc = mac_coef_sample(b1, x1, acc); 204 const audio_coef_t b1 = mCoefs[1]; local 218 acc = mac_coef_sample(b1, x1, acc);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PerformanceCollectorTest.java | 477 private void assertEqualsBundle(Bundle b1, Bundle b2) { argument 478 assertEquals(b1.keySet(), b2.keySet()); 479 for (String key : b1.keySet()) { 480 assertEquals(b1.get(key), b2.get(key));
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 166 signed b1 = (tmp1 + u_b) / 256; local 178 | (kAdjustedClip[b1] >> 3); 254 signed b1 = (tmp1 + u_b) / 256; local 266 | (kAdjustedClip[b1] >> 3); 327 signed b1 = (tmp1 + u_b) / 256; local 337 ((kAdjustedClip[b1] >> 3) << 11) 401 signed b1 = (tmp1 + u_b) / 256; local 411 ((kAdjustedClip[b1] >> 3) << 11) 471 signed b1 = (tmp1 + u_b) / 256; local 483 | (kAdjustedClip[b1] >> [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_reconstruct.c | 1223 i32 *ptrC, *ptrV, *b1; local 1247 b1 = table; 1272 *b1++ = tmp6; 1282 *b1++ = tmp5; 1292 *b1++ = tmp4; 1302 *b1++ = tmp3; 1410 i32 *ptrC, *ptrV, *ptrInt, *b1; local 1434 b1 = table; 1457 *b1++ = tmp6; 1467 *b1 [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattCharacteristic.java | 643 private int unsignedBytesToInt(byte b0, byte b1) { argument 644 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); 650 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { argument 651 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) 658 private float bytesToFloat(byte b0, byte b1) { argument 660 + ((unsignedByteToInt(b1) & 0x0F) << 8), 12); 661 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); 668 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { argument 670 + (unsignedByteToInt(b1) << 8)
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 203 int r1, r2, g1, g2, b1, b2; local 213 b1 = convert5To8(bBase); 221 b1 = convert4To8(high >> 12); 229 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped); 379 int r1, g1, b1, r2, g2, b2; // 8 bit base colors for sub-blocks local 391 b1 = convert5To8(b51); 417 b1 = convert4To8(b41); 426 pBaseColors[2] = b1;
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AlarmManagerService.java | 369 public int compare(Batch b1, Batch b2) { argument 370 long when1 = b1.start;
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 3176 * @param b1 bundle to compare 3180 public static boolean syncExtrasEquals(Bundle b1, Bundle b2, boolean includeSyncSettings) { argument 3181 if (b1 == b2) { 3185 if (includeSyncSettings && b1.size() != b2.size()) { 3188 Bundle bigger = b1.size() > b2.size() ? b1 : b2; 3189 Bundle smaller = b1.size() > b2.size() ? b2 : b1;
|