/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/ |
eval.pass.cpp | 66 assert(std::abs(f(u[i], d.m(), d.n()) - double(i)/N) < .01); 84 assert(std::abs(f(u[i], d.m(), d.n()) - double(i)/N) < .01); 102 assert(std::abs(f(u[i], d.m(), d.n()) - double(i)/N) < .01);
|
/pdk/apps/CameraITS/tests/ |
test_param_tonemap_mode.py | 95 assert(abs(rgb_diffs[0]) < THRESHOLD_DIFF_MAX_DIFF) 96 assert(abs(rgb_diffs[1]) < THRESHOLD_DIFF_MAX_DIFF) 97 assert(abs(rgb_diffs[2]) < THRESHOLD_DIFF_MAX_DIFF)
|
/cts/suite/audio_quality/test_description/processing/ |
check_spectrum_playback.py | 53 print "Phh", abs(Phh[iLow:iHigh]) 54 spectrum = np.sqrt(abs(Phh[iLow:iHigh])) 59 positiveMax = abs(max(spectrum)) 60 negativeMin = abs(min(spectrum))
|
/cts/tools/vm-tests-tf/src/dot/junit/ |
DxAbstractMain.java | 35 if(!(Math.abs(expected-actual) <= delta)) throw new RuntimeException("AssertionFailedError: not within delta");
|
/external/chromium_org/chrome/common/metrics/ |
metrics_service_base.cc | 53 std::abs(amount));
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_fs_copy_propagation.cpp | 49 bool has_source_modifiers = entry->src.abs || entry->src.negate; 59 if (!inst->src[arg].abs) { 60 inst->src[arg].abs = entry->src.abs;
|
/external/eigen/bench/btl/libs/blitz/ |
blitz_LU_solve_interface.hh | 100 if( abs( LU( i, j ) )>=big ) big = abs( LU( i, j ) ) ; 124 if( (ImplicitScaling( i )*abs( theSum ))>=big ) { 125 dum = ImplicitScaling( i )*abs( theSum ) ;
|
/external/eigen/bench/btl/libs/gmm/ |
gmm_LU_solve_interface.hh | 100 if( abs( LU( i, j ) )>=big ) big = abs( LU( i, j ) ) ; 124 if( (ImplicitScaling( i )*abs( theSum ))>=big ) { 125 dum = ImplicitScaling( i )*abs( theSum ) ;
|
/external/eigen/bench/btl/libs/mtl4/ |
mtl4_LU_solve_interface.hh | 100 if( abs( LU( i, j ) )>=big ) big = abs( LU( i, j ) ) ; 124 if( (ImplicitScaling( i )*abs( theSum ))>=big ) { 125 dum = ImplicitScaling( i )*abs( theSum ) ;
|
/external/llvm/lib/Support/ |
FileUtilities.cpp | 140 if (AbsTolerance < std::abs(V1-V2)) { 144 Diff = std::abs(V1/V2 - 1.0); 146 Diff = std::abs(V2/V1 - 1.0); 153 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n' 154 << "Out of tolerance: rel/abs: " << RelTolerance << '/'
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_copy_propagation.cpp | 49 bool has_source_modifiers = entry->src.abs || entry->src.negate; 59 if (!inst->src[arg].abs) { 60 inst->src[arg].abs = entry->src.abs;
|
/external/replicaisland/src/com/replica/replicaisland/ |
Utils.java | 28 return Math.abs(a - b) < epsilon;
|
/external/stlport/test/unit/ |
valarray_test.cpp | 33 using std::abs; 38 tmp = abs(darray); 64 tmp = abs(farray); 91 tmp = abs(ldarray);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPDateTimeImpl.java | 139 this.year = Math.min(Math.abs(year), 9999); 215 this.hour = Math.min(Math.abs(hour), 23); 233 this.minute = Math.min(Math.abs(minute), 59); 251 this.second = Math.min(Math.abs(second), 59);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
StraightenFilter.java | 140 float maxWidth = (float) Math.max(Math.abs(p0.x), Math.abs(p1.x)); 141 float maxHeight = (float) Math.max(Math.abs(p0.y), Math.abs(p1.y));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/ |
eval_param.pass.cpp | 41 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
|
/ndk/tests/device/test-gnustl-full/unit/ |
valarray_test.cpp | 33 using std::abs; 38 tmp = abs(darray); 64 tmp = abs(farray); 91 tmp = abs(ldarray);
|
/ndk/tests/device/test-stlport/unit/ |
valarray_test.cpp | 33 using std::abs; 38 tmp = abs(darray); 64 tmp = abs(farray); 91 tmp = abs(ldarray);
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
hwint.h | 239 x = abs (a); 240 y = abs (b); 257 return (abs (a) * abs (b) / gcd (a, b));
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
hwint.h | 239 x = abs (a); 240 y = abs (b); 257 return (abs (a) * abs (b) / gcd (a, b));
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
hwint.h | 239 x = abs (a); 240 y = abs (b); 257 return (abs (a) * abs (b) / gcd (a, b));
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
hwint.h | 239 x = abs (a); 240 y = abs (b); 257 return (abs (a) * abs (b) / gcd (a, b));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
GLFloatProperty.java | 32 return Math.abs(mCurrentValue - mDefaultValue) < 0.000000001;
|
/system/extras/tests/bionic/libstdc++/ |
test_cstdlib.cpp | 69 using ::abs;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SwipeHelper.java | 228 float deltaY = Math.abs(currY - mInitialTouchPosY); 229 float deltaX = Math.abs(currX - mInitialTouchPosX); 240 if (Math.abs(delta) > mPagingTouchSlop) { 298 (int) (Math.abs(newPos - animView.getTranslationX()) * 1000f / Math 299 .abs(velocity))); 371 if (Math.abs(deltaX) < minDistance) { 381 if (Math.abs(deltaX) >= size) { 412 float translation = Math.abs(mCurrAnimView.getTranslationX()); 419 boolean childSwipedFastEnough = (Math.abs(velocity) > escapeVelocity) 420 && (Math.abs(velocity) > Math.abs(perpendicularVelocity) [all...] |