/external/chromium_org/third_party/smhasher/src/ |
AvalancheTest.h | 168 double b2 = double(bins[(out1 * hashbits + out2) * 4 + b]) / double(reps / 2); local 169 b2 = fabs(b2 * 2 - 1); 171 if(b2 > bias) bias = b2; 303 double b2 = double(bins[b]) / double(reps / 2); local 304 b2 = fabs(b2 * 2 - 1); 306 if(b2 > bias) bias = b2; 391 double b2 = double(bins[b]) \/ double(reps \/ 2); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PorterDuffColorFilterTest.java | 36 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); local 37 b2.eraseColor(Color.BLUE); 48 canvas.drawBitmap(b2, 0, height / 2, p); 61 canvas.drawBitmap(b2, 0, height / 2, p); 71 canvas.drawBitmap(b2, 0, height / 2, p);
|
PorterDuffXfermodeTest.java | 39 Bitmap b2 = Bitmap.createBitmap(WIDTH, HEIGHT / 2, Config.ARGB_8888); local 40 b2.eraseColor(Color.BLUE); 46 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); 55 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); 64 canvas.drawBitmap(b2, 0, HEIGHT / 2, p);
|
PixelXorXfermodeTest.java | 34 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); local 35 b2.eraseColor(Color.CYAN); 43 canvas.drawBitmap(b2, 0, height / 2, p);
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
dct.c | 68 int a2, b2, c2, d2; local 99 b2 = b1 + c1; 104 b2 += b2<0; 109 op[4] = (b2+3) >> 3;
|
/external/libvpx/libvpx/vp8/encoder/ |
dct.c | 68 int a2, b2, c2, d2; local 99 b2 = b1 + c1; 104 b2 += b2<0; 109 op[4] = (b2+3) >> 3;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
dct.c | 68 int a2, b2, c2, d2; local 99 b2 = b1 + c1; 104 b2 += b2<0; 109 op[4] = (b2+3) >> 3;
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/detail/ |
call_traits.hpp | 47 template <typename T, bool isp, bool b1, bool b2> 53 template <typename T, bool isp, bool b2> 54 struct ct_imp<T, isp, true, b2> 65 template <typename T, bool b1, bool b2> 66 struct ct_imp<T, true, b1, b2>
|
/external/clang/test/CXX/drs/ |
dr5xx.cpp | 141 template<typename T> void b2(volatile T * const *); 142 template<typename T> void b2(volatile T * const S::*); 143 template<typename T> void b2(volatile T * const S::* const *); 159 b2(p); 160 b2(pm); 161 b2(a); 162 b2(am);
|
dr9xx.cpp | 27 B b2 { 1 }; // expected-error {{no viable conversion from 'int' to 'dr990::A'}}
|
/external/chromium_org/third_party/skia/tests/ |
CachedDecodingPixelRefTest.cpp | 54 const SkBitmap& b1, const SkBitmap& b2, 56 REPORTER_ASSERT(reporter, b1.empty() == b2.empty()); 57 REPORTER_ASSERT(reporter, b1.width() == b2.width()); 58 REPORTER_ASSERT(reporter, b1.height() == b2.height()); 59 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull()); 61 SkAutoLockPixels autoLockPixels2(b2); 62 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull()); 67 REPORTER_ASSERT(reporter, NULL != b2.getPixels()); 68 if ((!(b1.getPixels())) || (!(b2.getPixels()))) { 71 if ((b1.width() != b2.width()) | [all...] |
/external/skia/tests/ |
CachedDecodingPixelRefTest.cpp | 54 const SkBitmap& b1, const SkBitmap& b2, 56 REPORTER_ASSERT(reporter, b1.empty() == b2.empty()); 57 REPORTER_ASSERT(reporter, b1.width() == b2.width()); 58 REPORTER_ASSERT(reporter, b1.height() == b2.height()); 59 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull()); 61 SkAutoLockPixels autoLockPixels2(b2); 62 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull()); 67 REPORTER_ASSERT(reporter, NULL != b2.getPixels()); 68 if ((!(b1.getPixels())) || (!(b2.getPixels()))) { 71 if ((b1.width() != b2.width()) | [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
idnaref.cpp | 136 char* b2 = b2Stack; local 161 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); 166 b2 = (char*) uprv_malloc( b2Len * sizeof(char)); 167 if(b2==NULL){ 174 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); 182 convertASCIIToUChars(b2,dest,b2Len); 191 if(b2Stack != b2){ 192 uprv_free(b2); 209 uint32_t* b2 = b2Stack; local 212 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags) 259 UChar *b1 = b1Stack, *b2 = b2Stack; local 430 UChar *b1 = b1Stack, *b2 = b2Stack, *b1Prime=NULL, *b3=b3Stack; local 997 UChar *b1 = b1Stack, *b2 = b2Stack; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
idnaref.cpp | 136 char* b2 = b2Stack; local 161 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); 166 b2 = (char*) uprv_malloc( b2Len * sizeof(char)); 167 if(b2==NULL){ 174 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); 182 convertASCIIToUChars(b2,dest,b2Len); 191 if(b2Stack != b2){ 192 uprv_free(b2); 209 uint32_t* b2 = b2Stack; local 212 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags) 259 UChar *b1 = b1Stack, *b2 = b2Stack; local 432 UChar *b1 = b1Stack, *b2 = b2Stack, *b1Prime=NULL, *b3=b3Stack; local 999 UChar *b1 = b1Stack, *b2 = b2Stack; local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
uidna.cpp | 205 UChar *b1 = b1Stack, *b2 = b2Stack; local 336 b2Len = u_strToPunycode(b1,b1Len,b2,b2Capacity,caseFlags, status); 341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); 342 if(b2 == NULL){ 349 b2Len = u_strToPunycode(b1,b1Len,b2,b2Len,caseFlags, status); 357 // toASCIILower(b2,b2Len); 366 //Step 6: copy the contents in b2 into dest 367 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); 385 if(b2 != b2Stack){ 386 uprv_free(b2); 410 UChar *b1 = b1Stack, *b2 = b2Stack, *b1Prime=NULL, *b3=b3Stack; local 871 UChar *b1 = b1Stack, *b2 = b2Stack; local [all...] |
/external/icu/icu4c/source/common/ |
uidna.cpp | 205 UChar *b1 = b1Stack, *b2 = b2Stack; local 336 b2Len = u_strToPunycode(b1,b1Len,b2,b2Capacity,caseFlags, status); 341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); 342 if(b2 == NULL){ 349 b2Len = u_strToPunycode(b1,b1Len,b2,b2Len,caseFlags, status); 357 // toASCIILower(b2,b2Len); 366 //Step 6: copy the contents in b2 into dest 367 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); 385 if(b2 != b2Stack){ 386 uprv_free(b2); 410 UChar *b1 = b1Stack, *b2 = b2Stack, *b1Prime=NULL, *b3=b3Stack; local 871 UChar *b1 = b1Stack, *b2 = b2Stack; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/X11/ |
Xpoll.h | 137 #define XFD_ANDSET(dst,b1,b2) { \ 140 __XFDS_BITS((dst), __i__) = ((__XFDS_BITS((b1), __i__)) & (__XFDS_BITS((b2), __i__))); \ 142 #define XFD_ORSET(dst,b1,b2) { \ 145 __XFDS_BITS((dst), __i__) = ((__XFDS_BITS((b1), __i__)) | (__XFDS_BITS((b2), __i__))); \ 180 #define XFD_ANDSET(dst,b1,b2) { \ 184 if (FD_ISSET(XFD_FD(b1,__i), b2)) \ 189 #define XFD_ORSET(dst,b1,b2) { \ 192 for (__i = 0; __i < XFD_SETCOUNT(b2) ; __i++) { \ 193 if (!FD_ISSET(XFD_FD(b2,__i), dst)) \ 194 FD_SET(XFD_FD(b2,__i), dst); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xpoll.h | 137 #define XFD_ANDSET(dst,b1,b2) { \ 140 __XFDS_BITS((dst), __i__) = ((__XFDS_BITS((b1), __i__)) & (__XFDS_BITS((b2), __i__))); \ 142 #define XFD_ORSET(dst,b1,b2) { \ 145 __XFDS_BITS((dst), __i__) = ((__XFDS_BITS((b1), __i__)) | (__XFDS_BITS((b2), __i__))); \ 180 #define XFD_ANDSET(dst,b1,b2) { \ 184 if (FD_ISSET(XFD_FD(b1,__i), b2)) \ 189 #define XFD_ORSET(dst,b1,b2) { \ 192 for (__i = 0; __i < XFD_SETCOUNT(b2) ; __i++) { \ 193 if (!FD_ISSET(XFD_FD(b2,__i), dst)) \ 194 FD_SET(XFD_FD(b2,__i), dst); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncOperationTest.java | 60 Bundle b2 = new Bundle(); local 61 b2.putBoolean("b2", true); 115 b2, 142 Bundle b2 = new Bundle(); local 143 b2.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); 145 "authority1", b2, -1, soonFlex, mUnimportantLong, mUnimportantLong, true);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
nfsprep.c | 51 UChar *b1 = b1Stack, *b2 = b2Stack; local 92 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Capacity, USPREP_DEFAULT, parseError, status); 95 b2 = (UChar*) malloc(b2Len * U_SIZEOF_UCHAR); 96 if(b2== NULL){ 100 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Len, USPREP_DEFAULT, parseError, status); 104 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); 113 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); 125 if(b2!=b2Stack){ 126 free(b2);
|
/external/clang/test/CXX/class/class.mem/ |
p1b.cpp | 33 void b2(int a = second); // expected-error{{use of undeclared identifier 'second'}}
|
/external/clang/test/CodeGenCXX/ |
microsoft-abi-rtti.cpp | 27 struct B2 : virtual A2 { B2() {} virtual void f() {} } b2; variable in typeref:struct:B2 32 // CHECK: @"\01??_R2B2@@8" = linkonce_odr constant [5 x %rtti.BaseClassDescriptor*] [%rtti.BaseClassDescriptor* @"\01??_R1A@?0A@EA@B2@@8", %rtti.BaseClassDescriptor* @"\01??_R1A@A@3FA@A2@@8", %rtti.BaseClassDescriptor* @"\01??_R1A@A@3EA@Z2@@8", %rtti.BaseClassDescriptor* @"\01??_R13A@3EA@Y2@@8", %rtti.BaseClassDescriptor* null] 33 // CHECK: @"\01??_R1A@?0A@EA@B2@@8" = linkonce_odr constant %rtti.BaseClassDescriptor { i8* bitcast (%rtti.TypeDescriptor8* @"\01??_R0?AUB2@@@8" to i8*), i32 3, i32 0, i32 -1, i32 0, i32 64, %rtti.ClassHierarchyDescriptor* @"\01??_R3B2@@8" } 152 // X64: @"\01??_R2B2@@8" = linkonce_odr constant [5 x i32] [i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1A@?0A@EA@B2@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1A@A@3FA@A2@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R1A@A@3EA@Z2@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.BaseClassDescriptor* @"\01??_R17A@3EA@Y2@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 0] 153 // X64: @"\01??_R1A@?0A@EA@B2@@8" = linkonce_odr constant %rtti.BaseClassDescriptor { i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor8* @"\01??_R0?AUB2@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32), i32 3, i32 0, i32 -1, i32 0, i32 64, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.ClassHierarchyDescriptor* @"\01??_R3B2@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) } [all...] |
/external/clang/test/Parser/ |
cxx0x-member-initializers.cpp | 35 T2<0,0> b1 = T2<0,0>(), b2 = T2<0,0>(), b3; member in struct:A
|
/external/icu/icu4c/source/test/cintltst/ |
nfsprep.c | 51 UChar *b1 = b1Stack, *b2 = b2Stack; local 92 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Capacity, USPREP_DEFAULT, parseError, status); 95 b2 = (UChar*) malloc(b2Len * U_SIZEOF_UCHAR); 96 if(b2== NULL){ 100 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Len, USPREP_DEFAULT, parseError, status); 104 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); 113 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); 125 if(b2!=b2Stack){ 126 free(b2);
|
/external/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/ |
atomic_is_lock_free.pass.cpp | 30 bool b2 = std::atomic_is_lock_free(static_cast<const volatile A*>(&vt)); local
|