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

/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/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DTestBase.java96 public final void createBaseTest(ImageProcessingActivity ipact, Bitmap b, Bitmap b2) { argument
102 mInPixelsAllocation2 = Allocation.createFromBitmap(mRS, b2,
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DTestBase.java91 public final void createBaseTest(ImageProcessingActivity2 ipact, Bitmap b, Bitmap b2) { argument
97 mInPixelsAllocation2 = Allocation.createFromBitmap(mRS, b2,
/frameworks/native/opengl/libagl/
H A Dmatrix.h117 GLfixed a2, GLfixed b2,
133 "%r"(a2), "r"(b2),
143 int64_t(a2)*b2)>>16) + c;
148 // b0, b1, b2 are signed 16-bit quanities
153 GLfixed a2, int32_t b2,
168 "r"(a2), "r"(b2),
182 accum += int64_t(a2)*int16_t(b2) >> 16;
221 int16_t b2 = xxb2 & 0xffff;
224 accum += int64_t(a2)*int16_t(b2) >> 16;
262 int16_t b2
115 mla3a( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2, GLfixed c) argument
151 mla3a16( GLfixed a0, int32_t b1b0, GLfixed a1, GLfixed a2, int32_t b2, GLint shift, GLfixed c) argument
272 mla3( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2) argument
303 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/media/libdrm/mobile1/src/objmng/
H A Ddrm_rights_manager.c609 uint8_t *b1 = dbuf, *b2 = b1 + DRM_ONE_AES_BLOCK_LEN, *b3 = b2 + DRM_ONE_AES_BLOCK_LEN, *bt; local
611 for (;;) { /* While some ciphertext remains, prepare to decrypt block b2 */
622 /* Decrypt the b2 block */
623 AES_decrypt((uint8_t *)b2, buf, key);
637 /* Last (DRM_ONE_AES_BLOCK_LEN - len) bytes of C[N-2] in b2 */
664 bt = b1, b1 = b2, b2 = b3, b3 = bt;
/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/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/core/java/android/content/
H A DSyncStorageEngine.java1077 public static boolean equals(Bundle b1, Bundle b2) { argument
1078 if (b1.size() != b2.size()) {
1085 if (!b2.containsKey(key)) {
1088 if (!b1.get(key).equals(b2.get(key))) {

Completed in 6925 milliseconds