Searched defs:b1 (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/tools/aapt2/util/
H A DBigBuffer_test.cpp33 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;
H A DStringPiece.h181 const char* b1 = mData != nullptr ? mData : &nullStr; local
182 const char* e1 = b1 + mLength;
186 while (b1 < e1 && b2 < e2) {
187 const int d = static_cast<int>(*b1++) - static_cast<int>(*b2++);
214 const char16_t* b1 = mData != nullptr ? 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);
113 for (int i = 0; i < b1.length; i++) {
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()) {
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 DHTTPResponse.java177 private static boolean equals(byte[] b1, int offset, byte[] pattern) { argument
179 if (b1[n + offset] != pattern[n]) {
/frameworks/native/opengl/libagl/
H A Dmatrix.h111 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 Ddxt.cpp102 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 DAudioBiquadFilter.cpp157 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 DPerformanceCollectorTest.java477 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 DColorConverter.cpp166 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 Dh264bsd_reconstruct.c1223 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 DBluetoothGattCharacteristic.java703 private int unsignedBytesToInt(byte b0, byte b1) { argument
704 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8));
710 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { argument
711 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8))
718 private float bytesToFloat(byte b0, byte b1) { argument
720 + ((unsignedByteToInt(b1) & 0x0F) << 8), 12);
721 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4);
728 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { argument
730 + (unsignedByteToInt(b1) << 8)
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp203 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/content/
H A DSyncManager.java3118 * @param b1 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
607 long when1 = b1.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 5144 milliseconds