| /external/opencv/ml/src/ |
| mlnbayes.cpp | 293 CvMat diff; local 334 diff = cvMat( 1, var_count, CV_64FC1, buffer ); 350 diff.data.db[j] = avg_data[j] - x[vidx ? vidx[j] : j]; 352 CV_CALL(cvGEMM( &diff, u, 1, 0, 0, &diff, CV_GEMM_B_T )); 355 double d = diff.data.db[j];
|
| /external/ppp/pppd/plugins/rp-pppoe/ |
| discovery.c | 44 static int time_left(struct timeval *diff, struct timeval *exp) 57 diff->tv_sec = exp->tv_sec - now.tv_sec; 58 diff->tv_usec = exp->tv_usec - now.tv_usec; 59 if (diff->tv_usec < 0) { 60 diff->tv_usec += 1000000; 61 --diff->tv_sec;
|
| /external/skia/src/utils/ |
| SkCamera.cpp | 272 SkPoint3D diff; local 275 diff.fX = quilt.fOrigin.fX - fLocation.fX; 276 diff.fY = quilt.fOrigin.fY - fLocation.fY; 277 diff.fZ = quilt.fOrigin.fZ - fLocation.fZ; 279 dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&diff), 282 // This multiplies fOrientation by the matrix [quilt.fU quilt.fV diff] -- U, V, and diff are 283 // column vectors in the matrix -- then divides by the length of the projection of diff onto 301 patchPtr = (const SkScalar*)(const void*)&diff;
|
| /external/skqp/src/utils/ |
| SkCamera.cpp | 272 SkPoint3D diff; local 275 diff.fX = quilt.fOrigin.fX - fLocation.fX; 276 diff.fY = quilt.fOrigin.fY - fLocation.fY; 277 diff.fZ = quilt.fOrigin.fZ - fLocation.fZ; 279 dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&diff), 282 // This multiplies fOrientation by the matrix [quilt.fU quilt.fV diff] -- U, V, and diff are 283 // column vectors in the matrix -- then divides by the length of the projection of diff onto 301 patchPtr = (const SkScalar*)(const void*)&diff;
|
| /external/sonic/ |
| Sonic.java | 526 int diff = 0; local 530 diff += sVal >= pVal? sVal - pVal : pVal - sVal; 532 /* Note that the highest number of samples we add into diff will be less 533 than 256, since we skip samples. Thus, diff is a 24 bit number, and 535 if(diff*bestPeriod < minDiff*period) { 536 minDiff = diff; 539 if(diff*worstPeriod > maxDiff*period) { 540 maxDiff = diff;
|
| /external/tensorflow/tensorflow/contrib/tensor_forest/kernels/ |
| tree_utils.cc | 409 double diff = (lambda1 + 2.0 * mu1[i]) / (2.0 - 2.0 * lambda3) - mu1[i]; local 410 dist += diff * diff; 411 diff = (lambda2 + 2.0 * mu2[i]) / (2.0 + 2.0 * lambda3) - mu2[i]; 412 dist += diff * diff;
|
| /external/tensorflow/tensorflow/python/client/ |
| tf_session_helper.cc | 303 string diff; local 304 return EqualGraphDef(actual_def, expected_def, &diff) ? "" : diff; 318 string diff; local 320 diff = strings::Printf( 325 return diff;
|
| /external/tensorflow/tensorflow/python/kernel_tests/random/ |
| random_ops_test.py | 90 diff = rnd2 - rnd1 91 self.assertTrue(np.linalg.norm(diff.eval()) > 0.1) 175 diff = rnd2 - rnd1 176 self.assertTrue(np.linalg.norm(diff.eval()) > 0.1) 280 diff = (rnd2 - rnd1).eval() 281 self.assertTrue(np.linalg.norm(diff) > 0.1)
|
| /external/webrtc/talk/media/base/ |
| videoadapter.cc | 107 float diff = target_num_pixels - test_num_pixels; local 111 if (diff < 0) { 112 diff = diff * kUpBias; 114 if (diff < best_distance) { 115 best_distance = diff;
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
| SSLSessionTest.java | 121 long diff = currentTime - sessionTime; local 122 assertTrue("diff between " + currentTime + " and " + sessionTime + " should be < 10000", 123 diff < 10000); 133 long diff = currentTime - sessionTime; local 134 assertTrue("diff between " + currentTime + " and " + sessionTime + " should be < 10000", 135 diff < 10000); 136 assertTrue ("diff should be < 10000 but is " + diff, diff < 10000);
|
| /libcore/ojluni/src/main/java/java/util/concurrent/ |
| ScheduledThreadPoolExecutor.java | 249 long diff = time - x.time; local 250 if (diff < 0) 252 else if (diff > 0) 259 long diff = getDelay(NANOSECONDS) - other.getDelay(NANOSECONDS); local 260 return (diff < 0) ? -1 : (diff > 0) ? 1 : 0; [all...] |
| /packages/apps/Dialer/java/com/android/contacts/common/model/ |
| AccountTypeManager.java | 203 int diff = a.name.compareTo(b.name); 204 if (diff != 0) { 205 return diff; 207 diff = a.type.compareTo(b.type); 208 if (diff != 0) { 209 return diff;
|
| /prebuilts/go/darwin-x86/src/image/png/ |
| writer_test.go | 16 func diff(m0, m1 image.Image) error { func 72 err = diff(m0, m2) 116 err = diff(m0, m1)
|
| /prebuilts/go/darwin-x86/src/internal/poll/ |
| fd_poll_runtime.go | 137 diff := int64(time.Until(t)) 138 d := runtimeNano() + diff 139 if d <= 0 && diff > 0 {
|
| /prebuilts/go/linux-x86/src/image/png/ |
| writer_test.go | 16 func diff(m0, m1 image.Image) error { func 72 err = diff(m0, m2) 116 err = diff(m0, m1)
|
| /prebuilts/go/linux-x86/src/internal/poll/ |
| fd_poll_runtime.go | 137 diff := int64(time.Until(t)) 138 d := runtimeNano() + diff 139 if d <= 0 && diff > 0 {
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
| AndroidContentAssistTest.java | 953 String diff = getDiff(beforeWithCaret, actual); local [all...] |
| /toolchain/binutils/binutils-2.27/bfd/ |
| pe-mips.c | 63 symvalue diff; local 82 diff = symbol->value + reloc_entry->addend; 85 diff = reloc_entry->addend; 93 diff = reloc_entry->addend; 96 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + (diff >> howto->rightshift)) & howto->dst_mask)) 98 if (diff != 0)
|
| /external/deqp/modules/gles2/functional/ |
| es2fColorClearTest.cpp | 257 RGBA diff = computeAbsDiffMasked(refRGBA, resRGBA, colMask); local 258 bool isPixelOk = diff.isBelowThreshold(colorThreshold); 263 maxDiff = max(maxDiff, diff); 274 m_testCtx.getLog() << tcu::TestLog::Message << "Image comparison failed, max diff = " << maxDiff << ", threshold = " << colorThreshold << tcu::TestLog::EndMessage;
|
| /external/deqp/modules/gles3/functional/ |
| es3fColorClearTest.cpp | 257 RGBA diff = computeAbsDiffMasked(refRGBA, resRGBA, colMask); local 258 bool isPixelOk = diff.isBelowThreshold(colorThreshold); 263 maxDiff = max(maxDiff, diff); 274 m_testCtx.getLog() << tcu::TestLog::Message << "Image comparison failed, max diff = " << maxDiff << ", threshold = " << colorThreshold << tcu::TestLog::EndMessage;
|
| /external/icu/icu4c/source/tools/tzcode/ |
| icuzdump.cpp | 155 int32_t diff = (int32_t)(hit - lot); local 156 if (diff <= tick) { 159 UDate medt = lot + ((diff / 2) / tick) * tick;
|
| /external/libmpeg2/common/arm/ |
| ideint_cac_a9.s | 127 @ Compute absolute diff between top and bottom row sums 137 @ q10 now contains 8 absolute diff of sums above the threshold 168 @ d0 now contains 8 absolute diff of sums above the threshold
|
| /external/libopus/silk/ |
| stereo_LR_to_MS.c | 51 opus_int32 sum, diff, smooth_coef_Q16, pred_Q13[ 2 ], pred0_Q13, pred1_Q13; local 65 diff = x1[ n - 2 ] - (opus_int32)x2[ n - 2 ]; 67 side[ n ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( diff, 1 ) );
|
| /external/libvncserver/test/ |
| encodingstest.c | 77 unsigned int total=0,diff=0; local 93 diff+=(s>cl?s-cl:cl-s); 97 if(maxDelta>0 && diff/total>=maxDelta)
|
| /external/libvpx/libvpx/test/ |
| temporal_filter_test.cc | 52 int diff = a.TopLeftPixel()[height * a.stride() + width] - local 54 diff_sq.TopLeftPixel()[height * diff_sq.stride() + width] = diff * diff;
|