Searched defs:diff (Results 376 - 400 of 623) sorted by relevance

<<11121314151617181920>>

/external/ltrace/
H A Doutput.c79 struct timeval diff; local
87 diff.tv_sec = tv.tv_sec - old_tv.tv_sec;
89 diff.tv_usec = tv.tv_usec - old_tv.tv_usec;
91 diff.tv_sec--;
92 diff.tv_usec = 1000000 + tv.tv_usec - old_tv.tv_usec;
97 (unsigned long)diff.tv_sec,
98 (int)diff.tv_usec);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dapi_filters.c276 VGfloat diff = current - shift; local
278 return diff / width;
/external/opencv/cv/src/
H A Dcvsubdivision2d.cpp719 icvIsRightOf2( const CvPoint2D32f& pt, const CvPoint2D32f& org, const CvPoint2D32f& diff )
722 cw_area.f = (org.x - pt.x)*diff.y - (org.y - pt.y)*diff.x;
732 CvPoint2D32f diff; local
764 diff.x = pt.x - start.x;
765 diff.y = pt.y - start.y;
778 if( icvIsRightOf2( t, start, diff ) >= 0 )
789 if( icvIsRightOf2( t, start, diff ) < 0 )
/external/ppp/pppd/
H A Dchap_ms.c200 int diff; local
224 diff = memcmp(&rmd->LANManResp, &md.LANManResp,
228 diff = memcmp(&rmd->NTResp, &md.NTResp, sizeof(md.NTResp));
230 if (diff == 0) {
H A Dtty.c1233 int diff; local
1237 diff = (now.tv_sec - tp->tv_sec) * 10 + (now.tv_usec - tp->tv_usec);
1238 if (diff > 0) {
1239 if (diff > 255) {
1241 putc(diff >> 24, f);
1242 putc(diff >> 16, f);
1243 putc(diff >> 8, f);
1244 putc(diff, f);
1247 putc(diff, f);
/external/qemu/telephony/
H A Dsysdeps_posix.c440 SysTime diff = first->when - now; local
441 timeout->tv_sec = diff / 1000;
442 timeout->tv_usec = (diff - timeout->tv_sec*1000) * 1000;
/external/skia/src/effects/gradients/
H A DSkTwoPointConicalGradient.cpp302 SkPoint diff = fCenter2 - fCenter1; local
309 diffLen = diff.length();
315 matrix->setSinCos(-SkScalarMul(invDiffLen, diff.fY),
316 SkScalarMul(invDiffLen, diff.fX));
/external/skia/src/views/
H A DSkView.cpp31 uint32_t diff = fFlags ^ flags; local
33 if (diff & kVisible_Mask)
38 if (diff & kVisible_Mask)
/external/skia/tests/
H A DMathTest.cpp175 float diff = sk_float_abs(f1 - r1); local
176 diff = sk_float_abs(diff - 0.5f);
177 if (diff > (1 / 255.f)) {
H A DMatrix44Test.cpp13 double diff = a - b; local
14 if (diff < 0)
15 diff = -diff;
16 return diff <= tolerance;
H A DMatrixTest.cpp377 SkScalar diff = SkScalarAbs(a - b); local
378 if (diff < tolerance) {
387 if (diff <= largest*tolerance) {
/external/speex/libspeex/
H A Dnb_celp.c339 int diff = st->windowSize-st->frameSize; local
365 SPEEX_COPY(st->sw, st->winBuf, diff);
366 SPEEX_COPY(st->sw+diff, in, st->frameSize-diff);
398 SPEEX_COPY(st->exc, st->winBuf, diff);
399 SPEEX_COPY(st->exc+diff, in, st->frameSize-diff);
/external/valgrind/main/VEX/switchback/
H A Dswitchback.c419 Long diff = ((Long)where_to_go) - ((Long)addr_of_nop); local
424 printf("diff = 0x%llx\n", diff);
427 if (diff < -0x8000000LL || diff >= 0x8000000LL) {
436 /* branch to diff */
437 p[0] = 0x14000000 | ((diff >> 2) & 0x3FFFFFF);
/external/webrtc/src/common_audio/vad/
H A Dvad_core.c339 WebRtc_Word16 diff, nr, pos; local
635 // diff = "global" speech mean - "global" noise mean
636 diff = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(smid, 9);
638 diff -= tmp16;
640 if (diff < kMinimumDifference[n])
643 tmp16 = kMinimumDifference[n] - diff; // Q5
645 // tmp16_1 = ~0.8 * (kMinimumDifference - diff) in Q7
646 // tmp16_2 = ~0.2 * (kMinimumDifference - diff) in Q7
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Ddecode_plc.c187 WebRtc_Word16 resOut, i, j, relativePos, diff; /* */ local
229 diff = in[ j + 1 ] - in[ j ];
230 out[ i ] = in[ j ] + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( diff, relativePos, RESAMP_RES_BIT );
/external/wpa_supplicant_8/wpa_supplicant/
H A Dibss_rsn.c837 struct os_reltime now, diff; local
839 os_reltime_sub(&now, &peer->own_auth_tx, &diff);
840 if (diff.sec == 0 && diff.usec < 500000) {
842 (int) diff.usec);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.databinding_1.3.100.I20100601-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/aac/libAACdec/src/
H A Dconceal.cpp1475 FIXP_SGL diff = fixp_abs((pFactor[i]>>1) - referenceVal); local
1476 if (diff < minDiff) {
1477 minDiff = diff;
/external/aac/libSBRenc/src/
H A Dmh_det.cpp148 static void diff(FIXP_DBL *RESTRICT pTonalityOrig, function
313 diff(pQuotaBuffer[est+move],
H A Dps_encode.cpp231 quantErr += (fixp_abs(input[band]-quantTable[idx])>>PS_QUANT_SCALE); /* don't scale before subtraction; diff smaller (64-25)/64 */
521 INT diff = 0; local
531 diff = fixp_abs(psData->iidIdx[env][b] - psData->iidIdxLast[b]);
532 sumDiff += diff;
533 if ( (diff > diffThr) /* more than x quantization steps in any band */
553 INT diff = 0; local
563 diff = fixp_abs(psData->iccIdx[env][b] - psData->iccIdxLast[b]);
564 sumDiff += diff;
565 if ( (diff > diffThr) /* more than x quantisation step in any band */
/external/chromium_org/ash/shelf/
H A Dshelf_layout_manager.cc893 float diff = fabsf(gesture_drag_amount_) - resistance_free_region; local
894 diff = std::min(diff, sqrtf(diff));
896 translate = -resistance_free_region - diff;
898 translate = resistance_free_region + diff;
/external/chromium_org/chrome/browser/apps/
H A Dweb_view_interactive_browsertest.cc461 gfx::Vector2d diff = popup_bounds.origin() - embedder_bounds.origin(); local
462 LOG(INFO) << "DIFF: x = " << diff.x() << ", y = " << diff.y();
472 EXPECT_LE(std::abs(diff.x() - left_spacing), threshold_px);
473 EXPECT_LE(std::abs(diff.y() - top_spacing), threshold_px);
/external/chromium_org/components/cloud_devices/common/
H A Dprinter_description.cc350 int32 diff = std::max(std::abs(width_um - kMediaDefinitions[i].width_um), local
352 if (diff < kSizeTrasholdUm)
/external/chromium_org/content/browser/download/
H A Dsave_package.cc956 base::TimeDelta diff = base::TimeTicks::Now() - start_tick_; local
957 int64 diff_ms = diff.InMilliseconds();
/external/chromium_org/media/audio/android/
H A Daudio_android_unittest.cc318 const int diff = (now_time - previous_time_).InMilliseconds(); variable
328 if (diff > 1000) {

Completed in 661 milliseconds

<<11121314151617181920>>