/external/deqp/modules/gles3/performance/ |
H A D | es3pShaderOperatorTests.cpp | 405 const Vec2 diff = data[i] - mid; local 407 slopeNumerator += diff.x()*diff.y(); 408 slopeDenominator += diff.x()*diff.x(); 429 const float diff = estY - data[i].y(); local 430 error += diff*diff; 448 const float diff = meanY - data[i].y(); local 449 error += diff*dif [all...] |
/external/e2fsprogs/misc/ |
H A D | badblocks.c | 182 time_t diff = (tv1->tv_sec - tv2->tv_sec); local 185 sec = diff % 60; 186 diff /= 60; 187 min = diff % 60; 188 hr = diff / 60;
|
/external/e2fsprogs/resize/ |
H A D | resize2fs.c | 1718 long long diff; local 1761 diff = new_blk - old_blk; 1765 printf("Itable move group %d block %llu->%llu (diff %lld)\n", 1766 i, old_blk, new_blk, diff); 1769 if (!diff) 1793 if (n > diff) 1803 if (n > diff) { 1806 diff, (rfs->itable_buf + 1807 (fs->inode_blocks_per_group - diff) *
|
/external/fio/ |
H A D | backend.c | 1174 uint64_t diff; local 1180 diff = limit - ddir_rw_sum(td->io_bytes); 1181 if (diff < td_max_bs(td))
|
H A D | io_u.c | 504 unsigned int diff; local 511 diff = td->o.rwmix[td->rwmix_ddir ^ 1]; 512 td->rwmix_issues = (td->io_issues[td->rwmix_ddir] * diff) / 100;
|
/external/icu/icu4c/source/test/intltest/ |
H A D | tstnorm.cpp | 1379 UnicodeSet diff, skipSets[UNORM_MODE_COUNT], expectSets[UNORM_MODE_COUNT]; local 1406 (diff=skipSets[i]).removeAll(expectSets[i]).toPattern(pattern, TRUE); 1411 (diff=expectSets[i]).removeAll(skipSets[i]).toPattern(pattern, TRUE);
|
H A D | tzfmttst.cpp | 306 int32_t diff = outOffset - inOffset; local 308 diff = (diff / 60000) * 60000; 310 if (diff != 0) { 527 + ", text=" + text + ", time=" + testTimes[testidx] + ", restime=" + parsedDate + ", diff=" + (parsedDate - testTimes[testidx]);
|
/external/icu/icu4c/source/tools/tzcode/ |
H A D | zdump.c | 676 long diff; local 689 diff = (long) (hit - lot); 690 if (diff < 2) 693 t += diff / 2; 874 long diff; local 887 diff = (long) (hit - lot); 888 if (diff < 2) 891 t += diff / 2;
|
/external/javassist/src/main/javassist/bytecode/ |
H A D | Bytecode.java | 279 public void incMaxLocals(int diff) { argument 280 maxLocals += diff; 421 * @param diff the number added to the current stack depth. 423 public void growStack(int diff) { argument 424 setStackDepth(stackDepth + diff);
|
/external/libhevc/decoder/ |
H A D | ihevcd_api.c | 692 UWORD32 diff = mem_rec_ittiam_api[i].e_mem_type local 707 if((diff < 1) || (diff > 3)) 716 if(diff == 1) 724 if((diff != 2) && (diff != 3))
|
/external/libnl/lib/netfilter/ |
H A D | ct_obj.c | 278 int diff = 0; local 287 diff |= CT_DIFF_VAL(FAMILY, ct_family); 288 diff |= CT_DIFF_VAL(PROTO, ct_proto); 289 diff |= CT_DIFF_VAL(TCP_STATE, ct_protoinfo.tcp.state); 290 diff |= CT_DIFF_VAL(TIMEOUT, ct_timeout); 291 diff |= CT_DIFF_VAL(MARK, ct_mark); 292 diff |= CT_DIFF_VAL(USE, ct_use); 293 diff |= CT_DIFF_VAL(ID, ct_id); 294 diff |= CT_DIFF_ADDR(ORIG_SRC, ct_orig.src); 295 diff | [all...] |
/external/libnl/lib/route/ |
H A D | addr.c | 483 int diff = 0; local 487 diff |= ADDR_DIFF(IFINDEX, a->a_ifindex != b->a_ifindex); 488 diff |= ADDR_DIFF(FAMILY, a->a_family != b->a_family); 489 diff |= ADDR_DIFF(SCOPE, a->a_scope != b->a_scope); 490 diff |= ADDR_DIFF(LABEL, strcmp(a->a_label, b->a_label)); 491 diff |= ADDR_DIFF(PEER, nl_addr_cmp(a->a_peer, b->a_peer)); 492 diff |= ADDR_DIFF(LOCAL, nl_addr_cmp(a->a_local, b->a_local)); 493 diff |= ADDR_DIFF(MULTICAST, nl_addr_cmp(a->a_multicast, 495 diff |= ADDR_DIFF(BROADCAST, nl_addr_cmp(a->a_bcast, b->a_bcast)); 496 diff | [all...] |
H A D | link.c | 687 int diff = 0; local 691 diff |= LINK_DIFF(IFINDEX, a->l_index != b->l_index); 692 diff |= LINK_DIFF(MTU, a->l_mtu != b->l_mtu); 693 diff |= LINK_DIFF(LINK, a->l_link != b->l_link); 694 diff |= LINK_DIFF(TXQLEN, a->l_txqlen != b->l_txqlen); 695 diff |= LINK_DIFF(WEIGHT, a->l_weight != b->l_weight); 696 diff |= LINK_DIFF(MASTER, a->l_master != b->l_master); 697 diff |= LINK_DIFF(FAMILY, a->l_family != b->l_family); 698 diff |= LINK_DIFF(OPERSTATE, a->l_operstate != b->l_operstate); 699 diff | [all...] |
H A D | route_obj.c | 363 int i, diff = 0, found; local 367 diff |= ROUTE_DIFF(FAMILY, a->rt_family != b->rt_family); 368 diff |= ROUTE_DIFF(TOS, a->rt_tos != b->rt_tos); 369 diff |= ROUTE_DIFF(TABLE, a->rt_table != b->rt_table); 370 diff |= ROUTE_DIFF(PROTOCOL, a->rt_protocol != b->rt_protocol); 371 diff |= ROUTE_DIFF(SCOPE, a->rt_scope != b->rt_scope); 372 diff |= ROUTE_DIFF(TYPE, a->rt_type != b->rt_type); 373 diff |= ROUTE_DIFF(PRIO, a->rt_prio != b->rt_prio); 374 diff |= ROUTE_DIFF(DST, nl_addr_cmp(a->rt_dst, b->rt_dst)); 375 diff | [all...] |
/external/libopus/src/ |
H A D | opus_multistream_encoder.c | 186 opus_val32 diff; local 197 diff = SUB32(EXTEND32(a),EXTEND32(b)); 200 diff = SUB32(EXTEND32(b),EXTEND32(a)); 202 if (diff >= QCONST16(8.f, DB_SHIFT)) 205 low = SHR32(diff, DB_SHIFT-1); 206 frac = SHL16(diff - SHL16(low, DB_SHIFT-1), 16-DB_SHIFT); 208 low = (int)floor(2*diff); 209 frac = 2*diff - low;
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | pickinter.c | 109 int diff = src_ptr[c] - ref_ptr[c]; local 110 distortion += diff * diff; 263 int diff; local 338 diff = u_p - expected_udc; 339 pred_error[DC_PRED] += diff * diff; 340 diff = v_p - expected_vdc; 341 pred_error[DC_PRED] += diff * diff; [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_ratectrl.c | 1232 const int64_t diff = oxcf->optimal_buffer_level - rc->buffer_level; local 1247 if (diff > 0) { 1249 const int pct_low = (int)MIN(diff / one_pct_bits, oxcf->under_shoot_pct); 1251 } else if (diff < 0) { 1253 const int pct_high = (int)MIN(-diff / one_pct_bits, oxcf->over_shoot_pct);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-diff.c | 2 * builtin-diff.c 4 * Builtin diff command: Analyze two perf.data input files, look up and read 5 * DSOs and symbol information, sort them and produce a diff. 119 .name = "Weighted diff", 231 pair->diff.period_ratio_delta = new_percent - old_percent; 232 pair->diff.computed = true; 233 return pair->diff.period_ratio_delta; 241 pair->diff.computed = true; 242 pair->diff.period_ratio = new_period / old_period; 243 return pair->diff 787 double diff; local [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | evlist.c | 506 int diff = head - old; local 507 if (diff > md->mask / 2 || diff < 0) {
|
H A D | probe-finder.c | 787 int diff; member in struct:find_scope_param 814 if (lno < fsp->line && fsp->diff > fsp->line - lno) { 816 fsp->diff = fsp->line - lno; 831 .diff = INT_MAX,
|
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state.c | 675 boolean diff = TRUE; local 698 diff = FALSE; 703 diff = memcmp(old->data, ibuf->data, ibuf->b.b.width0); 709 diff = i915->current.num_user_constants[shader] != 0; 715 if (diff)
|
/external/opencv/cv/src/ |
H A D | cvemd.cpp | 341 float s_sum = 0, d_sum = 0, diff; local 431 diff = s_sum - d_sum; 432 if( fabs( diff ) >= CV_EMD_EPS * s_sum ) 435 if( diff < 0 ) 437 state->s[ssize] = -diff; 442 state->d[dsize] = diff; 911 float min_delta, diff; local 1024 diff = max_val - cur_v->val; 1026 if( fabs( diff ) < eps ) 1029 delta[cur_u - u][j] += diff; [all...] |
H A D | cvstereobm.cpp | 232 int diff = abs(lval - rptr[d]); local 233 cbuf[d] = (uchar)diff; 234 hsad[d] = (ushort)(hsad[d] + diff); 271 __m128i diff = _mm_adds_epu8(_mm_subs_epu8(lv, rv), _mm_subs_epu8(rv, lv)); local 272 __m128i diff_h = _mm_sub_epi16(_mm_unpackhi_epi8(diff, z), _mm_unpackhi_epi8(cbs, z)); 273 _mm_store_si128((__m128i*)(cbuf + d), diff); 274 diff = _mm_sub_epi16(_mm_unpacklo_epi8(diff, z), _mm_unpacklo_epi8(cbs, z)); 276 hsad_l = _mm_add_epi16(hsad_l, diff); 438 int diff local 472 int diff = abs(lval - rptr[d]); local [all...] |
/external/opencv/ml/src/ |
H A D | mlem.cpp | 224 CvMat diff, expo; local 241 diff = cvMat( 1, dims, CV_64FC1, (double*)buffer + nclusters ); 263 diff.data.db[i] = sample_data[i] - mean_k[i]; 265 cvGEMM( &diff, u, 1, 0, 0, &diff, CV_GEMM_B_T ); 268 double val = diff.data.db[i];
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
H A D | cmscnvrt.c | 341 cmsFloat64Number diff = 0; local 351 diff += fabs(((cmsFloat64Number*)m)[i] - ((cmsFloat64Number*)&Ident)[i]); 354 diff += fabs(((cmsFloat64Number*)off)[i]); 357 return (diff < 0.002);
|