| /external/fio/ |
| eta.c | 284 unsigned long long diff; local 286 diff = io_bytes[i] - prev_io_bytes[i]; 289 rate[0] += ((1000 * diff) / mtime) / 1024; 291 rate[i] = ((1000 * diff) / mtime) / 1024; 304 unsigned long long diff; local 306 diff = io_iops[i] - prev_io_iops[i]; 309 iops[0] += (diff * 1000) / mtime; 311 iops[i] = (diff * 1000) / mtime;
|
| /external/google-breakpad/src/testing/test/ |
| gmock-generated-matchers_test.cc | 231 const int diff = get<0>(value) - get<1>(value); local 232 if (diff > 0) { 233 *listener << "where the first value is " << diff local 236 return diff < 0; 264 const int diff = lhs - rhs_; local 265 if (diff > 0) { 266 *listener << "which is " << diff << " more than " << rhs_; 267 } else if (diff == 0) { 270 *listener << "which is " << -diff << " less than " << rhs_; 632 *result_listener->stream() << "diff == " << (x + y - arg) [all...] |
| /external/googletest/googlemock/test/ |
| gmock-generated-matchers_test.cc | 233 const int diff = get<0>(value) - get<1>(value); local 234 if (diff > 0) { 235 *listener << "where the first value is " << diff local 238 return diff < 0; 266 const int diff = lhs - rhs_; local 267 if (diff > 0) { 268 *listener << "which is " << diff << " more than " << rhs_; 269 } else if (diff == 0) { 272 *listener << "which is " << -diff << " less than " << rhs_; 764 *result_listener->stream() << "diff == " << (x + y - arg) [all...] |
| /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
| MultisetsTest.java | 163 Multiset<String> diff = Multisets.difference(ms1, ms2); local 164 assertThat(diff).has().item("a"); 165 assertEquals(0, diff.count("b")); 166 assertEquals(1, diff.count("a")); 167 assertFalse(diff.contains("b")); 168 assertTrue(diff.contains("a"));
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| MultisetsTest.java | 165 Multiset<String> diff = Multisets.difference(ms1, ms2); local 166 assertThat(diff).has().item("a"); 167 assertEquals(0, diff.count("b")); 168 assertEquals(1, diff.count("a")); 169 assertFalse(diff.contains("b")); 170 assertTrue(diff.contains("a"));
|
| /external/icu/icu4c/source/common/ |
| ucnvbocu.cpp | 214 /* Faster versions of packDiff() for single-byte-encoded diff values. */ 216 /** Is a diff value encodable in a single byte? */ 217 #define DIFF_IS_SINGLE(diff) (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1) 219 /** Encode a diff value in a single byte. */ 220 #define PACK_SINGLE_DIFF(diff) (BOCU1_MIDDLE+(diff)) 222 /** Is a diff value encodable in two bytes? */ 223 #define DIFF_IS_DOUBLE(diff) (BOCU1_REACH_NEG_2<=(diff) && (diff)<=BOCU1_REACH_POS_2 400 int32_t prev, c, diff; local 660 int32_t prev, c, diff; local 884 int32_t diff, count; local 964 int32_t prev, count, diff, c; local 1186 int32_t prev, count, diff, c; local [all...] |
| /external/icu/icu4c/source/tools/tzcode/ |
| icuzdump.cpp | 154 int32_t diff = (int32_t)(hit - lot); local 155 if (diff <= tick) { 158 UDate medt = lot + ((diff / 2) / tick) * tick;
|
| /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
| CharsetBOCU1.java | 207 /* Faster versions of packDiff() for single-byte-encoded diff values. */ 209 /** Is a diff value encodable in a single byte? */ 210 private static boolean DIFF_IS_SINGLE(int diff){ 211 return (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1); 214 /** Encode a diff value in a single byte. */ 215 private static int PACK_SINGLE_DIFF(int diff){ 216 return (BOCU1_MIDDLE+(diff)); 219 /** Is a diff value encodable in two bytes? */ 220 private static boolean DIFF_IS_DOUBLE(int diff){ 237 int prev, c , diff; field in class:CharsetBOCU1.CharsetEncoderBOCU [all...] |
| /external/iputils/ |
| clockdiff.c | 133 long min1, min2, diff; local 236 diff = recvtime - sendtime; 238 * diff can be less than 0 aroud midnight 240 if (diff < 0) 242 rtt = (rtt * 3 + diff)/4; 243 rtt_sigma = (rtt_sigma *3 + abs(diff-rtt))/4; 286 if (diff < RANGE) { 310 long min1, min2, diff; local 452 diff = recvtime - sendtime; 454 * diff can be less than 0 aroud midnigh [all...] |
| tracepath6.c | 258 int diff = (tv.tv_sec-rettv->tv_sec)*1000000+(tv.tv_usec-rettv->tv_usec); local 259 printf("%3d.%03dms ", diff/1000, diff%1000);
|
| /external/libnl/lib/ |
| cache.c | 1212 int diff = nl_object_match_filter(obj, filter); local 1215 obj, filter, diff); 1217 if (!diff)
|
| /external/libnl/lib/route/ |
| rule.c | 253 int diff = 0; local 257 diff |= RULE_DIFF(FAMILY, a->r_family != b->r_family); 258 diff |= RULE_DIFF(TABLE, a->r_table != b->r_table); 259 diff |= RULE_DIFF(ACTION, a->r_action != b->r_action); 260 diff |= RULE_DIFF(IIFNAME, strcmp(a->r_iifname, b->r_iifname)); 261 diff |= RULE_DIFF(OIFNAME, strcmp(a->r_oifname, b->r_oifname)); 262 diff |= RULE_DIFF(PRIO, a->r_prio != b->r_prio); 263 diff |= RULE_DIFF(MARK, a->r_mark != b->r_mark); 264 diff |= RULE_DIFF(MASK, a->r_mask != b->r_mask); 265 diff |= RULE_DIFF(GOTO, a->r_goto != b->r_goto) [all...] |
| /external/libopus/silk/fixed/ |
| pitch_analysis_core_FIX.c | 117 opus_int32 contour_bias_Q15, diff; local 547 diff = silk_int16_MAX - silk_MUL( contour_bias_Q15, j ); /* Q15 */ 548 silk_assert( diff == silk_SAT16( diff ) ); 549 CCmax_new = silk_SMULWB( CCmax_new, diff ); /* Q14 */ [all...] |
| /external/libvpx/libvpx/test/ |
| fdct8x8_test.cc | 170 const int diff = abs(count_sign_block[j][0] - count_sign_block[j][1]); local 172 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) 177 << " count1: " << count_sign_block[j][1] << " diff: " << diff; local 201 const int diff = abs(count_sign_block[j][0] - count_sign_block[j][1]); local 203 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) 208 << " count1: " << count_sign_block[j][1] << " diff: " << diff; local 266 const int diff = local 269 const int diff = dst[j] - src[j] 349 const int diff = local 422 const int diff = local 456 const int32_t diff = coeff[j] - coeff_r[j]; local 508 const int diff = local [all...] |
| /external/libvpx/libvpx/tools/ |
| tiny_ssim.c | 91 int diff; local 95 diff = orig[col] - recon[col]; 96 total_sse += diff * diff;
|
| /external/libvpx/libvpx/vp8/encoder/ |
| denoising.c | 32 * pixel adjustments vs. pixel diff value ahead of time. 34 * = (filter_coefficient * diff + 128) >> 8 42 * The adjustment vs. diff curve becomes flat very quick when diff increases. 47 * diff adjustment w/o motion correction adjustment w/ motion correction 51 * [-3, 3] diff diff 86 int diff = 0; local 90 diff = mc_running_avg_y[c] - sig[c]; 91 absdiff = abs(diff); 170 int diff = mc_running_avg_y[c] - sig[c]; local 258 int diff = 0; local 321 int diff = mc_running_avg_uv[c] - sig[c]; local [all...] |
| /external/libvpx/libvpx/vp9/encoder/ |
| vp9_denoiser.c | 78 int diff, adj, absdiff, delta; local 98 diff = mc_avg[c] - sig[c]; 99 absdiff = abs(diff); 103 total_adj += diff; 120 if (diff > 0) { 153 diff = mc_avg[c] - sig[c]; 154 adj = abs(diff); 158 if (diff > 0) { 159 // Diff positive means we made positive adjustment above 165 // Diff negative means we made negative adjustment abov [all...] |
| /external/libvpx/libvpx/vp9/encoder/x86/ |
| vp9_diamond_search_sad_avx.c | 51 const int_mv diff = local 54 (unsigned)mv_cost(diff, x->nmvjointsadcost, x->nmvsadcost) * sad_per_bit,
|
| /external/libvpx/libvpx/vpx_dsp/arm/ |
| avg_neon.c | 161 // ref, src = [0, 510] - max diff = 16-bits 174 const int16x8_t diff = vsubq_s16(r, s); // [-510, 510], 10 bits. local 175 const int16x4_t diff_lo = vget_low_s16(diff); 176 const int16x4_t diff_hi = vget_high_s16(diff); 179 total = vaddq_s16(total, diff); // dynamic range 16 bits.
|
| /external/libvpx/libvpx/vpx_dsp/mips/ |
| variance_msa.c | 36 #define VARIANCE_WxH(sse, diff, shift) sse - (((uint32_t)diff * diff) >> shift) 38 #define VARIANCE_LARGE_WxH(sse, diff, shift) \ 39 sse - (((int64_t)diff * diff) >> shift) 43 int32_t height, int32_t *diff) { 64 *diff = HADD_SW_S32(vec); 71 int32_t height, int32_t *diff) { 91 *diff = HADD_SW_S32(vec) 551 int32_t diff; local 561 int32_t diff; local 571 int32_t diff; local [all...] |
| /external/llvm/tools/llvm-diff/ |
| DifferenceEngine.cpp | 177 bool Result = diff(L, R, true, true); 187 diff(Pair.first, Pair.second); 191 void diff(BasicBlock *L, BasicBlock *R) { function in class:__anon26140::FunctionDifferenceEngine 201 // If the instructions differ, start the more sophisticated diff 203 if (diff(LeftI, RightI, false, false)) { 246 bool diff(Instruction *L, Instruction *R, bool Complain, bool TryUnify) { function in class:__anon26140::FunctionDifferenceEngine 459 void diff(Function *L, Function *R) { function in class:__anon26140::FunctionDifferenceEngine 484 return !diff(L, R, false, false); 547 DiffLogBuilder Diff(Engine.getConsumer()); 570 Diff.addMatch(L, R) 636 void DifferenceEngine::diff(Function *L, Function *R) { function in class:DifferenceEngine 654 void DifferenceEngine::diff(Module *L, Module *R) { function in class:DifferenceEngine [all...] |
| /external/ltp/lib/ |
| random_range.c | 549 long long med, half, diff; local 566 diff = max - min; 568 if (diff <= 2147483647) 571 half = diff / (long long)2; /* half the distance between min and max */ 577 printf(" diff = %lld, half = %lld, med = %lld\n", diff, half, med);
|
| /external/ltp/testcases/kernel/sched/tool/ |
| time-schedule.c | 218 signed long diff; local 234 diff = 1000000 * (after.tv_sec - before.tv_sec); 235 diff += after.tv_usec - before.tv_usec; 236 diffs[count] = diff; 237 total_diffs += diff; 238 if (diff < min_diff) 239 min_diff = diff; 240 if (diff > max_diff) 241 max_diff = diff;
|
| /external/mesa3d/src/gallium/drivers/softpipe/ |
| sp_quad_blend.c | 313 float diff[4], temp[4]; local 314 VEC4_SUB(diff, one, dest[3]); 315 VEC4_MIN(temp, alpha, diff); 568 float diff[4], temp[4]; local 569 VEC4_SUB(diff, one, blend_dest[3]); 570 VEC4_MIN(temp, alpha, diff); [all...] |
| /external/mesa3d/src/gallium/state_trackers/vega/ |
| api_filters.c | 276 VGfloat diff = current - shift; local 278 return diff / width;
|