Searched defs:b2 (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/tools/aapt2/util/
H A DBigBuffer_test.cpp36 char* b2 = buffer.nextBlock<char>(4); local
37 EXPECT_NE(nullptr, b2);
39 EXPECT_EQ(b1 + 8, b2);
H A DStringPiece.h183 const char* b2 = rhs.mData != nullptr ? rhs.mData : &nullStr; local
184 const char* e2 = b2 + rhs.mLength;
186 while (b1 < e1 && b2 < e2) {
187 const int d = static_cast<int>(*b1++) - static_cast<int>(*b2++);
215 const char16_t* b2 = rhs.mData != nullptr ? rhs.mData : &nullStr; local
216 return strzcmp16(b1, mLength, b2, rhs.mLength);
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
H A DBasicNfcEeTest.java111 private static void assertByteArrayEquals(byte[] b1, byte[] b2) { argument
112 assertEquals(b1.length, b2.length);
114 assertEquals(b1[i], b2[i]);
/frameworks/base/core/java/android/content/
H A DPeriodicSync.java138 public static boolean syncExtrasEquals(Bundle b1, Bundle b2) { argument
139 if (b1.size() != b2.size()) {
146 if (!b2.containsKey(key)) {
151 if (!Objects.equals(b1.get(key), b2.get(key))) {
/frameworks/native/opengl/libagl/
H A Dmatrix.h141 GLfixed a2, GLfixed b2,
157 "%r"(a2), "r"(b2),
170 "madd %[a2],%[b2] \r\n"
178 : [a0] "r" (a0),[b0] "r" (b0),[a1] "r" (a1),[b1] "r" (b1),[a2] "r" (a2),[b2] "r" (b2),[c] "r" (c)
187 int64_t(a2)*b2)>>16) + c;
192 // b0, b1, b2 are signed 16-bit quanities
197 GLfixed a2, int32_t b2,
212 "r"(a2), "r"(b2),
226 accum += int64_t(a2)*int16_t(b2) >> 1
139 mla3a( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2, GLfixed c) argument
195 mla3a16( GLfixed a0, int32_t b1b0, GLfixed a1, GLfixed a2, int32_t b2, GLint shift, 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 Ddxt.cpp103 int b2 = (x >> 8) & 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)
251 int r2, g2, b2, r3, g3, b3, a3; local
261 b2 = avg23(b0, b1);
270 b2 = (b0 + b1) >> 1;
276 (b2 << 1) | 0x1;
280 c[2] = (r2 << 11) | (g2 << 5) | b2;
375 int b2 = avg23(b0, b1); local
532 int b2 = avg23(b0, b1); local
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp158 const audio_coef_t b2 = mCoefs[2]; local
166 acc = mac_coef_sample(b2, x2, acc);
205 const audio_coef_t b2 = mCoefs[2]; local
219 acc = mac_coef_sample(b2, x2, acc);
/frameworks/base/core/tests/coretests/src/android/os/
H A DPerformanceCollectorTest.java477 private void assertEqualsBundle(Bundle b1, Bundle b2) { argument
478 assertEquals(b1.keySet(), b2.keySet());
480 assertEquals(b1.get(key), b2.get(key));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindow.java53 boolean b, Configuration configuration, Rect rect7, boolean b2, boolean b3)
52 resized(Rect rect, Rect rect2, Rect rect3, Rect rect4, Rect rect5, Rect rect6, boolean b, Configuration configuration, Rect rect7, boolean b2, boolean b3) argument
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp171 signed b2 = (tmp2 + u_b) / 256; local
183 | (kAdjustedClip[b2] >> 3);
259 signed b2 = (tmp2 + u_b) / 256; local
271 | (kAdjustedClip[b2] >> 3);
332 signed b2 = (tmp2 + u_b) / 256; local
342 ((kAdjustedClip[b2] >> 3) << 11)
406 signed b2 = (tmp2 + u_b) / 256; local
416 ((kAdjustedClip[b2] >> 3) << 11)
476 signed b2 = (tmp2 + u_b) / 256; local
488 | (kAdjustedClip[b2] >>
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCharacteristic.java710 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { argument
712 + (unsignedByteToInt(b2) << 16) + (unsignedByteToInt(b3) << 24);
728 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { argument
731 + (unsignedByteToInt(b2) << 16), 24);
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp203 int r1, r2, g1, g2, b1, b2; local
214 b2 = convertDiff(bBase, high >> 8);
222 b2 = convert4To8(high >> 8);
230 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped);
379 int r1, g1, b1, r2, g2, b2; // 8 bit base colors for sub-blocks local
402 b2 = convert5To8(b51 + db);
420 b2 = convert4To8(b42);
429 pBaseColors[5] = b2;
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java3119 * @param b2 other bundle to compare
3122 public static boolean syncExtrasEquals(Bundle b1, Bundle b2, boolean includeSyncSettings) { argument
3123 if (b1 == b2) {
3127 if (includeSyncSettings && b1.size() != b2.size()) {
3130 Bundle bigger = b1.size() > b2.size() ? b1 : b2;
3131 Bundle smaller = b1.size() > b2.size() ? b2 : b1;
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java606 public int compare(Batch b1, Batch b2) { argument
608 long when2 = b2.start;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 314 milliseconds