/external/linux-kselftest/tools/testing/selftests/timers/ |
rtcpie.c | 33 struct timeval start, end, diff; local 103 timersub(&end, &start, &diff); 104 if (diff.tv_sec > 0 || 105 diff.tv_usec > ((1000000L / tmp) * 1.10)) { 107 diff.tv_sec, diff.tv_usec,
|
/external/ltp/testcases/kernel/fs/lftest/ |
lftest.c | 49 int writecnt = 0, seekcnt = 0, diff; local 87 diff = time2 - time1; 91 writecnt, seekcnt, diff / 60, diff % 60);
|
/external/python/cpython2/Demo/pdist/ |
rrcs.py | 35 print " diff # diff rcs file and work file" 97 def diff(x, copts, fn): function 108 print 'diff %s -r%s %s' % (flags, x.head(fn), fn) 109 sts = os.system('diff %s %s %s' % (flags, tf.name, fn)) 156 'diff': ('c', diff),
|
/external/skia/tests/ |
CubicMapTest.cpp | 54 SkScalar diff = SkScalarAbs(yy - y); local 55 REPORTER_ASSERT(reporter, diff < MAX_SOLVER_ERR);
|
/external/skqp/tests/ |
CubicMapTest.cpp | 54 SkScalar diff = SkScalarAbs(yy - y); local 55 REPORTER_ASSERT(reporter, diff < MAX_SOLVER_ERR);
|
/external/slf4j/slf4j-log4j12/src/test/java/org/slf4j/impl/ |
RecursiveInitializationTest.java | 39 int diff = new Random().nextInt(10000); field in class:RecursiveInitializationTest 52 Logger logger = LoggerFactory.getLogger("x" + diff);
|
/external/syzkaller/vendor/github.com/google/go-cmp/cmp/internal/diff/ |
debug_enable.go | 7 package diff package
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/ |
trt_allocator.cc | 47 const uintptr_t diff = aligned_ptr_val - ptr_val; local 48 space -= diff;
|
/external/tensorflow/tensorflow/contrib/coder/kernels/ |
pmf_to_cdf_op_test.cc | 81 const int32 diff = cdf_slice(j) - cdf_slice(j - 1); local 82 EXPECT_GT(diff, 0);
|
/external/tensorflow/tensorflow/core/kernels/ |
fractional_pool_common.cc | 23 std::vector<int64> diff(output_length, 0); 75 diff[i] = cum_seq[i + 1] - cum_seq[i]; 78 return diff; 85 std::vector<int64> diff(output_length, k); 88 diff[i] += 1; 92 auto local_gen = generator->ReserveSamples32(diff.size()); 95 RandomShuffle(diff.begin(), diff.end(), uniform); 97 return diff; 103 std::vector<int64> diff; local [all...] |
/external/tensorflow/tensorflow/lite/testing/kernel_test/ |
diff_analyzer.cc | 27 float diff = 0; local 32 diff = std::max(diff, std::abs(base[i] - test[i])); 36 return diff / base_max; 46 float diff = base[i] - test[i]; local 47 l2_error += diff * diff; 101 << "Normalized Max Diff"
|
/external/u-boot/arch/arm/cpu/arm920t/imx/ |
timer.c | 52 signed long diff; local 56 diff = endtime - now; 57 } while (diff >= 0);
|
/external/u-boot/arch/arm/mach-at91/arm920t/ |
timer.c | 94 signed long diff; local 104 diff = endtime - now; 105 } while (diff >= 0);
|
/external/u-boot/arch/m68k/lib/ |
time.c | 156 unsigned short now, diff; local 160 diff = -(now - lastinc); 162 timestamp += diff;
|
/external/v8/src/compiler/ |
pipeline-statistics.cc | 32 CompilationStatistics::BasicStats* diff) { 34 diff->function_name_ = pipeline_stats->function_name_; 35 diff->delta_ = timer_.Elapsed(); 38 diff->max_allocated_bytes_ = outer_zone_diff + scope_->GetMaxAllocatedBytes(); 39 diff->absolute_max_allocated_bytes_ = 40 diff->max_allocated_bytes_ + allocated_bytes_at_start_; 41 diff->total_allocated_bytes_ = 68 CompilationStatistics::BasicStats diff; local 69 total_stats_.End(this, &diff); 70 compilation_stats_->RecordTotalStats(source_size_, diff); 84 CompilationStatistics::BasicStats diff; local 99 CompilationStatistics::BasicStats diff; local [all...] |
/external/webp/src/utils/ |
random_utils.h | 41 int diff; local 43 diff = rg->tab_[rg->index1_] - rg->tab_[rg->index2_]; 44 if (diff < 0) diff += (1u << 31); 45 rg->tab_[rg->index1_] = diff; 49 diff = (int)((uint32_t)diff << 1) >> (32 - num_bits); 50 diff = (diff * amp) >> VP8_RANDOM_DITHER_FIX; // restrict range 51 diff += 1 << (num_bits - 1); // shift back to 0.5-cente [all...] |
/external/webrtc/webrtc/common_audio/signal_processing/ |
resample_by_2_internal.c | 34 int32_t tmp0, tmp1, diff; local 43 diff = tmp0 - state[1]; 45 diff = (diff + (1 << 13)) >> 14; 46 tmp1 = state[0] + diff * kResampleAllpass[1][0]; 48 diff = tmp1 - state[2]; 50 diff = diff >> 14; 51 if (diff < 0) 52 diff += 1 129 int32_t tmp0, tmp1, diff; local 203 int32_t tmp0, tmp1, diff; local 273 int32_t tmp0, tmp1, diff; local 343 int32_t tmp0, tmp1, diff; local 422 int32_t tmp0, tmp1, diff; local 555 int32_t tmp0, tmp1, diff; local [all...] |
splitting_filter.c | 69 int32_t diff; local 76 // "diff" should be safe from wrap around since max values are 2^25 77 // diff = (x[0] - y_1[-1]) 78 diff = WebRtcSpl_SubSatW32(in_data[0], filter_state[1]); 80 out_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, filter_state[0]); 85 // diff = (x[n] - y_1[n-1]) 86 diff = WebRtcSpl_SubSatW32(in_data[k], out_data[k - 1]); 88 out_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, in_data[k - 1]); 96 // diff = (y_1[0] - y_2[-1]) 97 diff = WebRtcSpl_SubSatW32(out_data[0], filter_state[3]) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
decode_residual.c | 44 size_t meml_gotten, diff, start_pos; local 50 diff = STATE_LEN - iLBCdec_inst->state_short_len; 55 start_pos = (iLBC_encbits->startIdx-1)*SUBL + diff; 79 ST_MEM_L_TBL, diff); 97 ST_MEM_L_TBL, diff 103 reverseDecresidual, diff);
|
/external/webrtc/webrtc/modules/utility/source/ |
process_thread_impl_unittest.cc | 185 uint32_t diff = called_time - start_time; local 186 EXPECT_GE(diff, milliseconds - 15); 187 EXPECT_LT(diff, milliseconds + 15); 288 uint32_t diff = called_time - start_time; local 290 EXPECT_LE(diff, 100u);
|
/external/webrtc/webrtc/modules/video_processing/util/ |
denoiser_filter_c.cc | 51 const int diff = a[j] - b[j]; local 52 sum += diff; 53 *sse += diff * diff; 88 int diff = 0; local 92 diff = mc_running_avg_y[c] - sig[c]; 93 absdiff = abs(diff); 95 // When |diff| <= |3 + shift_inc1|, use pixel value from 99 col_sum[c] += diff; 108 if (diff > 0) 151 int diff = mc_running_avg_y[c] - sig[c]; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
c_g_aver.cpp | 284 Word16 cbGainMix, diff, tmp_diff, bgMix, cbGainMean; 320 diff = tmp[0]; 322 diff = add(diff, tmp[i]); // Q13 326 if (sub(diff, 5325) > 0) // 0.65 in Q11 352 // bgMix = min(0.25, max(0.0, diff-0.55)) / 0.25; 353 tmp_diff = sub(diff, 4506); // 0.55 in Q13 355 // max(0.0, diff-0.55) 377 // bgMix = min(0.25, max(0.0, diff-0.40)) / 0.25; 378 tmp_diff = sub(diff, 3277); // 0.4 in Q1 480 Word16 diff; local [all...] |
/frameworks/base/cmds/incident_helper/src/parsers/ |
CpuInfoParser.cpp | 52 int diff = 0; local 131 diff = record.size() - header.size(); 132 if (diff < 0) { 133 fprintf(stderr, "[%s]Line %d has %d missing fields\n%s\n", this->name.string(), nline, -diff, line.c_str()); 136 } else if (diff > 0) { 137 fprintf(stderr, "[%s]Line %d has %d extra fields\n%s\n", this->name.string(), nline, diff, line.c_str());
|
PsParser.cpp | 33 int diff = 0; local 61 diff = record.size() - header.size(); 62 if (diff < 0) { 64 fprintf(stderr, "[%s]Line %d has %d missing fields\n%s\n", this->name.string(), nline, -diff, line.c_str()); 67 } else if (diff > 0) { 69 fprintf(stderr, "[%s]Line %d has %d extra fields\n%s\n", this->name.string(), nline, diff, line.c_str());
|
/art/dex2oat/linker/mips64/ |
relative_patcher_mips64_test.cc | 49 0x34, 0x12, 0x5E, 0xEE, // auipc s2, high(diff); placeholder = 0x1234 50 0x78, 0x56, 0x52, 0x66, // daddiu s2, s2, low(diff); placeholder = 0x5678 51 0x78, 0x56, 0x52, 0x9E, // lwu s2, (low(diff))(s2) ; placeholder = 0x5678 68 uint32_t diff = target_offset - (result.second + kAnchorOffset); local 69 diff += (diff & 0x8000) << 1; // Account for sign extension in daddiu/lwu. 72 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 24), 0x5E, 0xEE, 73 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8), 0x52, 0x66 [all...] |