/frameworks/base/tools/aapt2/util/ |
H A D | BigBuffer_test.cpp | 33 char* b1 = buffer.NextBlock<char>(8); local 34 EXPECT_NE(nullptr, b1); 39 EXPECT_EQ(b1 + 8, b2); 52 uint32_t* b1 = buffer.NextBlock<uint32_t>(); local 53 ASSERT_NE(nullptr, b1); 54 *b1 = 33; 58 b1 = buffer2.NextBlock<uint32_t>(); 59 ASSERT_NE(nullptr, b1); 60 *b1 = 44;
|
/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 | 138 public static boolean syncExtrasEquals(Bundle b1, Bundle b2) { argument 139 if (b1.size() != b2.size()) { 142 if (b1.isEmpty()) { 145 for (String key : b1.keySet()) { 151 if (!Objects.equals(b1.get(key), b2.get(key))) {
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
H A D | HTTPResponse.java | 173 private static boolean equals(byte[] b1, int offset, byte[] pattern) { argument 175 if (b1[n + offset] != pattern[n]) {
|
/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/base/libs/androidfw/include/androidfw/ |
H A D | StringPiece.h | 184 const char* b1 = data_ != nullptr ? data_ : &nullStr; local 185 const char* e1 = b1 + length_; 189 while (b1 < e1 && b2 < e2) { 190 const int d = static_cast<int>(*b1++) - static_cast<int>(*b2++); 225 const char16_t* b1 = data_ != nullptr ? data_ : &nullStr; local 227 return strzcmp16(b1, length_, b2, rhs.length_);
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 174 signed b1 = (tmp1 + u_b) / 256; local 186 | (kAdjustedClip[b1] >> 3); 290 signed b1 = (tmp1 + u_b) / 256; local 302 | (kAdjustedClip[b1] >> 3); 363 signed b1 = (tmp1 + u_b) / 256; local 373 ((kAdjustedClip[b1] >> 3) << 11) 437 signed b1 = (tmp1 + u_b) / 256; local 447 ((kAdjustedClip[b1] >> 3) << 11) 507 signed b1 = (tmp1 + u_b) / 256; local 519 | (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 | 711 private int unsignedBytesToInt(byte b0, byte b1) { argument 712 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); 718 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { argument 719 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) 726 private float bytesToFloat(byte b0, byte b1) { argument 728 + ((unsignedByteToInt(b1) & 0x0F) << 8), 12); 729 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); 736 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { argument 738 + (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/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
H A D | ShortcutManagerTestUtils.java | 995 public static void assertBundlesEqual(BaseBundle b1, BaseBundle b2) { argument 996 if (b1 == null && b2 == null) { 999 assertNotNull("b1 is null but b2 is not", b1); 1000 assertNotNull("b2 is null but b1 is not", b2); 1003 assertEquals(set(b1.keySet()), set(b2.keySet())); 1005 for (String key : b1.keySet()) { 1006 final Object v1 = b1.get(key); 1018 + " b1=" + b1 [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 3331 * @param b1 bundle to compare 3335 public static boolean syncExtrasEquals(Bundle b1, Bundle b2, boolean includeSyncSettings) { argument 3336 if (b1 == b2) { 3340 if (includeSyncSettings && b1.size() != b2.size()) { 3343 Bundle bigger = b1.size() > b2.size() ? b1 : b2; 3344 Bundle smaller = b1.size() > b2.size() ? b2 : b1;
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AlarmManagerService.java | 609 public int compare(Batch b1, Batch b2) { argument 610 long when1 = b1.start;
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |