| /external/skia/tests/ |
| MathTest.cpp | 213 float diff = sk_float_abs(f1 - r1); local 214 diff = sk_float_abs(diff - 0.5f); 215 if (diff > (1 / 255.f)) {
|
| /external/skia/third_party/lua/src/ |
| lstrlib.c | 920 lua_Number diff = n - (lua_Number)ni; local 921 luaL_argcheck(L, -1 < diff && diff < 1, arg, 930 lua_Number diff = n - (lua_Number)ni; local 931 luaL_argcheck(L, -1 < diff && diff < 1, arg,
|
| /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;
|
| sonic.c | 619 unsigned long diff, minDiff = 1, maxDiff = 0; local 623 diff = 0; 629 diff += sVal >= pVal? (unsigned short)(sVal - pVal) : 632 /* Note that the highest number of samples we add into diff will be less 633 than 256, since we skip samples. Thus, diff is a 24 bit number, and 635 if(diff*bestPeriod < minDiff*period) { 636 minDiff = diff; 639 if(diff*worstPeriod > maxDiff*period) { 640 maxDiff = diff;
|
| /external/svox/pico/lib/ |
| picospho.c | 418 diff, local 422 diff = j-i; 451 spho->headxWritePos -= diff; 456 "readPos,WritePos are now [%i,%i[, returning shift amount %i",*from, spho->headxWritePos, diff 458 return diff; [all...] |
| /external/swiftshader/third_party/LLVM/lib/CodeGen/ |
| RegAllocLinearScan.cpp | 925 float diff = w1 - w2; local [all...] |
| /external/syslinux/com32/lua/src/ |
| lstrlib.c | 920 lua_Number diff = n - (lua_Number)ni; local 921 luaL_argcheck(L, -1 < diff && diff < 1, arg, 930 lua_Number diff = n - (lua_Number)ni; local 931 luaL_argcheck(L, -1 < diff && diff < 1, arg,
|
| /external/syslinux/gpxe/src/drivers/net/ |
| via-velocity.c | 1228 u8 diff; local [all...] |
| /external/v8/src/heap/ |
| mark-compact.h | 279 unsigned int diff = new_cell_index - cell_index_; local 281 cell_base_ += diff * (Bitmap::kBitsPerCell * kPointerSize);
|
| /external/valgrind/callgrind/ |
| dump.c | 474 int diff = curr->addr - last->addr; local 476 (diff > -100) && (diff < 100)) { 477 if (diff >0) 478 VG_(fprintf)(fp, "+%d ", diff); 479 else if (diff==0) 482 VG_(fprintf)(fp, "%d ", diff); 489 int diff = curr->bb_addr - last->bb_addr; local 491 (diff > -100) && (diff < 100)) 504 int diff = curr->line - last->line; local [all...] |
| /external/valgrind/exp-dhat/ |
| dh_main.c | 849 IRTemp diff = newIRTemp(sbOut->tyenv, tyAddr); local 852 assign(diff, 863 ? binop(Iop_CmpLT32U, mkU32(THRESH), mkexpr(diff)) 864 : binop(Iop_CmpLT64U, mkU64(THRESH), mkexpr(diff))) [all...] |
| /external/webp/src/enc/ |
| histogram_enc.c | 827 const uint32_t diff = local 830 idx2 = (idx1 + diff + 1) % image_histo_size; [all...] |
| /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
| defines.h | 167 size_t diff; member in struct:IlbcEncoder_
|
| /external/webrtc/webrtc/modules/audio_device/win/ |
| audio_device_wave_win.cc | 2782 int diff,y; local [all...] |
| /external/webrtc/webrtc/modules/video_coding/ |
| jitter_buffer.cc | 164 uint32_t diff = timestamp - ss_map_.begin()->first; 165 return diff / kVideoPayloadTypeFrequency >= kSsCleanupIntervalSec; 402 int64_t diff = now - time_last_incoming_frame_count_; local 403 if (diff < 1000 && incoming_frame_rate_ > 0 && incoming_bit_rate_ > 0) { 412 if (diff <= 0) { 413 diff = 1; 416 float rate = 0.5f + ((incoming_frame_count_ * 1000.0f) / diff); 435 10 * ((100 * incoming_bit_count_) / static_cast<unsigned int>(diff)); [all...] |
| /external/wpa_supplicant_8/src/ap/ |
| ieee802_1x.c | 2506 struct os_reltime diff; local [all...] |
| /frameworks/av/cmds/stagefright/ |
| stagefright.cpp | 256 int64_t diff = timestampUs - seekTimeUs; local 258 if (diff < 0) { 259 diff = -diff; 262 if ((gReproduceBug == 4 && diff > 500000) [all...] |
| /frameworks/av/media/libstagefright/codecs/aacenc/src/ |
| adj_thr.c | 889 Word16 diff; local 896 diff = currPe - *peMax ; 898 if (diff > 0) { 899 *peMin = *peMin + ((diff * minFacHi) / 100); 900 *peMax = *peMax + ((diff * maxFacHi) / 100); 902 diff = *peMin - currPe; 904 if (diff > 0) { 905 *peMin = *peMin - ((diff * minFacLo) / 100); 906 *peMax = *peMax - ((diff * maxFacLo) / 100); [all...] |
| /frameworks/av/media/mtp/ |
| MtpServer.cpp | 817 std::chrono::duration<double> diff = end - start; local 822 diff.count(), finalsize, ((double) finalsize) / diff.count()); 1096 std::chrono::duration<double> diff = end - start; local [all...] |
| /frameworks/base/core/java/android/text/ |
| DynamicLayout.java | 215 int diff = where - find; local 216 before += diff; 217 after += diff; 218 where -= diff; 252 int diff = where - st; local 253 before += diff; 254 after += diff; 255 where -= diff; 261 int diff = en - (where + after); local 262 before += diff; [all...] |
| /frameworks/base/core/java/android/text/format/ |
| Time.java | 1010 int diff = julianDay - approximateDay; local 1034 int diff = THURSDAY - firstDayOfWeek; local 1210 int diff = aObject.wallTime.getYear() - bObject.wallTime.getYear(); local 1247 long diff = am - bm; local [all...] |
| /frameworks/base/core/tests/coretests/src/android/content/pm/ |
| AppCacheTest.java | 152 long diff = (blks1-blks2-2); local 153 if (!invokePMFreeApplicationCache(diff * st.getBlockSize())) {
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
| KeyguardAffordanceView.java | 350 float diff = circleRadius - mMinBackgroundRadius; local 352 values[0].setFloatValues(mCircleStartValue + diff, circleRadius);
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
| StackStateAnimator.java | 283 float diff = index - shelfIndex; local 284 diff = (float) Math.pow(diff, 0.7f); 285 result += (long) (diff * ANIMATION_DELAY_PER_ELEMENT_GO_TO_FULL_SHADE * 0.25);
|
| /frameworks/base/services/usage/java/com/android/server/usage/ |
| UsageStatsDatabase.java | 474 long diff = Math.abs(mSortedStatFiles[i].keyAt(index) - beginTimeStamp); local 475 if (diff < smallestDiff) { 476 smallestDiff = diff;
|