Searched refs:diff (Results 1 – 5 of 5) sorted by relevance
/system/extras/tests/bionic/libc/common/ |
D | test_drand48.c | 12 double diff = a -b; in double_eq() local 13 if (diff < 0) diff = -diff; in double_eq() 25 return diff < a*1e-8; in double_eq()
|
/system/core/toolbox/grep/ |
D | file.c | 145 ptrdiff_t diff; in grep_fgetln() local 184 diff = p - bufpos; in grep_fgetln() 185 len += diff; in grep_fgetln() 188 memcpy(lnbuf + off, bufpos, diff); in grep_fgetln() 189 bufrem -= diff; in grep_fgetln()
|
/system/core/libcutils/ |
D | tzstrftime.c | 545 int diff; local 551 diff = t->TM_GMTOFF; 574 diff = -timezone; 580 diff = -altzone; 585 if (diff < 0) { 587 diff = -diff; 590 diff /= SECSPERMIN; 591 diff = (diff / MINSPERHOUR) * 100 + 592 (diff % MINSPERHOUR); 593 pt = _conv(diff,
|
/system/core/libpixelflinger/codeflinger/ |
D | blending.cpp | 444 integer_t diff(fragment.flags & CORRUPTIBLE ? in build_blendFOneMinusF() local 447 if (shift>0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift)); in build_blendFOneMinusF() 448 else if (shift<0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift)); in build_blendFOneMinusF() 449 else RSB(AL, 0, diff.reg, fb.reg, fragment.reg); in build_blendFOneMinusF() 450 mul_factor_add(temp, diff, factor, component_t(fb)); in build_blendFOneMinusF() 462 integer_t diff(fb.flags & CORRUPTIBLE ? in build_blendOneMinusFF() local 465 if (shift>0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift)); in build_blendOneMinusFF() 466 else if (shift<0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift)); in build_blendOneMinusFF() 467 else SUB(AL, 0, diff.reg, fb.reg, fragment.reg); in build_blendOneMinusFF() 468 mul_factor_add(temp, diff, factor, component_t(fragment)); in build_blendOneMinusFF()
|
/system/security/keystore/ |
D | test-keystore | 62 diff $baseline_file $log_file || (log $tag FAILED && exit 1)
|