/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
D | util.py | 120 diff = _Mismatch(cnt_s, cnt_t, elem) 121 result.append(diff) 131 diff = _Mismatch(0, cnt_t, elem) 132 result.append(diff) 150 diff = _Mismatch(cnt_s, cnt_t, elem) 151 result.append(diff) 154 diff = _Mismatch(0, cnt_t, elem) 155 result.append(diff)
|
D | case.py | 722 def _truncateMessage(self, message, diff): argument 724 if max_diff is None or len(diff) <= max_diff: 725 return message + diff 726 return message + (DIFF_OMITTED % len(diff)) 827 diff = ('\n' + '\n'.join(difflib.ndiff( 830 standardMsg = self._truncateMessage(standardMsg, diff) 893 lines = ['First has %d, Second has %d: %r' % diff for diff in differences] 918 diff = '\n' + ''.join(difflib.ndiff(firstlines, secondlines)) 919 standardMsg = self._truncateMessage(standardMsg, diff)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | diff.py | 38 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 40 diff = difflib.ndiff(fromlines, tolines) 42 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n) 44 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 46 sys.stdout.writelines(diff)
|
D | reindent.py | 230 diff = want - have 231 if diff == 0 or have == 0: 235 if diff > 0: 239 after.append(" " * diff + line) 241 remove = min(getlspace(line), -diff)
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | fgetstr.c | 146 size_t diff; in __fgetstr() local 165 diff = p - fp->_p; in __fgetstr() 166 len += diff; in __fgetstr() 170 diff); in __fgetstr() 171 fp->_r -= (int)diff; in __fgetstr()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
D | strftime.c | 471 int diff; in _fmt() local 477 diff = (int)t->TM_GMTOFF; in _fmt() 501 diff = -timezone; in _fmt() 507 diff = -altzone; in _fmt() 537 diff = (intmax_t)gct - (intmax_t)lct; in _fmt() 541 if (diff < 0) { in _fmt() 543 diff = -diff; in _fmt() 546 diff /= 60; in _fmt() 547 pt = _conv((diff/60)*100 + diff%60, in _fmt()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
D | clockres.py | 30 diff = values[i+1] - values[i] 31 if diff < min_diff: 32 min_diff = diff
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/ |
D | pytree_idempotency.py | 30 if not diff(fn, tree): 49 if diff(fn, tree): 69 if diff(fn, tree): 80 def diff(fn, tree): function
|
D | test_parser.py | 175 if diff(filepath, new, encoding): 217 def diff(fn, result, encoding): function
|
/device/google/dragon/audio/hal/dsp/tests/ |
D | cmpraw.c | 27 double diff = 0; in main() local 48 diff += fabs(data1[i] - data2[i]); in main() 53 diff / n, maxdiff * 32768, changed*100.0f/n); in main()
|
/device/linaro/bootloader/edk2/EdkShellPkg/ |
D | ShellR64.patch | 281 diff --git a/DeviceTree/devicetree.c b/DeviceTree/devicetree.c 303 diff --git a/DeviceTree/devicetree.h b/DeviceTree/devicetree.h 312 diff --git a/DeviceTree/devicetree.inf b/DeviceTree/devicetree.inf 365 diff --git a/EfiCompress/Compress.h b/EfiCompress/Compress.h 376 diff --git a/EfiCompress/CompressMain.c b/EfiCompress/CompressMain.c 389 diff --git a/EfiCompress/compress.c b/EfiCompress/compress.c 402 diff --git a/EfiCompress/compress.inf b/EfiCompress/compress.inf 462 diff --git a/EfiDecompress/Decompress.c b/EfiDecompress/Decompress.c 502 diff --git a/EfiDecompress/Decompress.h b/EfiDecompress/Decompress.h 513 diff --git a/EfiDecompress/Decompress.inf b/EfiDecompress/Decompress.inf [all …]
|
D | ShellR33.patch | 1 diff --ignore-file-name-case -Naur ShellR33/attrib/attrib.c GccShellR33/attrib/attrib.c 22 diff --ignore-file-name-case -Naur ShellR33/attrib/attrib.h GccShellR33/attrib/attrib.h 32 diff --ignore-file-name-case -Naur ShellR33/attrib/attrib.inf GccShellR33/attrib/attrib.inf 72 diff --ignore-file-name-case -Naur ShellR33/cls/cls.c GccShellR33/cls/cls.c 84 diff --ignore-file-name-case -Naur ShellR33/cls/cls.inf GccShellR33/cls/cls.inf 124 diff --ignore-file-name-case -Naur ShellR33/comp/comp.h GccShellR33/comp/comp.h 134 diff --ignore-file-name-case -Naur ShellR33/comp/comp.inf GccShellR33/comp/comp.inf 171 diff --ignore-file-name-case -Naur ShellR33/cp/cp.c GccShellR33/cp/cp.c 201 diff --ignore-file-name-case -Naur ShellR33/cp/cp.h GccShellR33/cp/cp.h 211 diff --ignore-file-name-case -Naur ShellR33/cp/cp.inf GccShellR33/cp/cp.inf [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | double_const.py | 23 diff = abs(x - x2) 26 if x2 + (diff / 8.) != x2:
|
D | test_difflib.py | 64 diff = list(difflib.Differ().compare(["\tI am a buggy"],["\t\tI am a bug"])) 65 self.assertEqual("- \tI am a buggy", diff[0]) 66 self.assertEqual("? --\n", diff[1]) 67 self.assertEqual("+ \t\tI am a bug", diff[2]) 68 self.assertEqual("? +\n", diff[3])
|
/device/asus/fugu/power/ |
D | power.c | 145 uint64_t diff; in fugu_power_hint() local 153 diff = timespec_to_us(&diff_time); in fugu_power_hint() 155 ALOGV("POWER_HINT_INTERACTION: diff=%llu", diff); in fugu_power_hint() 157 if (diff > mod->pulse_duration) { in fugu_power_hint()
|
/device/google/marlin/camera/usbcamcore/src/ |
D | QCameraMjpegDecode.cpp | 478 int diff; in decoder_test() local 480 if (mjpegd_timer_get_elapsed(&os_timer, &diff, 0) < 0) { in decoder_test() 485 … ALOGI("%s: decoder_test: decoding aborted successfully after %d ms", __func__, diff); in decoder_test() 491 "decode time: %d ms", __func__, diff); in decoder_test() 496 total_time += diff; in decoder_test() 498 __func__, diff, i+1, total_time, total_time/(i+1)); in decoder_test() 665 long diff; in mjpegd_timer_get_elapsed() local 671 diff = (long)(now.tv_sec - p_timer->tv_sec) * 1000; in mjpegd_timer_get_elapsed() 672 diff += (long)(now.tv_nsec - p_timer->tv_nsec) / 1000000; in mjpegd_timer_get_elapsed() 673 *elapsed_in_ms = (int)diff; in mjpegd_timer_get_elapsed()
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/OpensslLib/ |
D | EDKII_openssl-1.0.2e.patch | 1 diff U3 crypto/bio/bio.h crypto/bio/bio.h 16 diff U3 crypto/bio/bss_file.c crypto/bio/bss_file.c 43 diff U3 crypto/dh/dh_pmeth.c crypto/dh/dh_pmeth.c 64 diff U3 crypto/pem/pem.h crypto/pem/pem.h 75 diff U3 crypto/pkcs7/pk7_smime.c crypto/pkcs7/pk7_smime.c 128 diff U3 crypto/rand/rand_unix.c crypto/rand/rand_unix.c 149 diff U3 crypto/rsa/rsa_ameth.c crypto/rsa/rsa_ameth.c 223 diff U3 crypto/x509/x509_vfy.c crypto/x509/x509_vfy.c 244 diff U3 crypto/x509/x509_vfy.h crypto/x509/x509_vfy.h 256 diff U3 crypto/x509v3/ext_dat.h crypto/x509v3/ext_dat.h [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Scripts/ |
D | PatchCheck.py | 239 def __init__(self, diff): argument 242 self.lines = diff.splitlines(True) 403 if self.diff is not None: 404 diff_check = GitDiffCheck(self.diff) 449 self.diff = None 452 self.diff = patch 463 self.diff = content[mo.start():]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | timemodule.c | 106 double diff; in _PyTime_DoubleToTimet() local 118 diff = x - (double)result; in _PyTime_DoubleToTimet() 119 if (diff <= -1.0 || diff >= 1.0) { in _PyTime_DoubleToTimet() 170 double diff; in time_clock() local 184 diff = (double)(now.QuadPart - ctrStart.QuadPart); in time_clock() 185 return PyFloat_FromDouble(diff / divisor); in time_clock()
|
D | datetimemodule.c | 1441 diff_to_bool(int diff, int op) in diff_to_bool() argument 1447 case Py_EQ: istrue = diff == 0; break; in diff_to_bool() 1448 case Py_NE: istrue = diff != 0; break; in diff_to_bool() 1449 case Py_LE: istrue = diff <= 0; break; in diff_to_bool() 1450 case Py_GE: istrue = diff >= 0; break; in diff_to_bool() 1451 case Py_LT: istrue = diff < 0; break; in diff_to_bool() 1452 case Py_GT: istrue = diff > 0; break; in diff_to_bool() 1762 int diff = 42; /* nonsense */ in delta_richcompare() local 1765 diff = GET_TD_DAYS(self) - GET_TD_DAYS(other); in delta_richcompare() 1766 if (diff == 0) { in delta_richcompare() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | timemodule.c | 106 double diff; in _PyTime_DoubleToTimet() local 118 diff = x - (double)result; in _PyTime_DoubleToTimet() 119 if (diff <= -1.0 || diff >= 1.0) { in _PyTime_DoubleToTimet() 170 double diff; in time_clock() local 184 diff = (double)(now.QuadPart - ctrStart.QuadPart); in time_clock() 185 return PyFloat_FromDouble(diff / divisor); in time_clock()
|
D | datetimemodule.c | 1441 diff_to_bool(int diff, int op) in diff_to_bool() argument 1447 case Py_EQ: istrue = diff == 0; break; in diff_to_bool() 1448 case Py_NE: istrue = diff != 0; break; in diff_to_bool() 1449 case Py_LE: istrue = diff <= 0; break; in diff_to_bool() 1450 case Py_GE: istrue = diff >= 0; break; in diff_to_bool() 1451 case Py_LT: istrue = diff < 0; break; in diff_to_bool() 1452 case Py_GT: istrue = diff > 0; break; in diff_to_bool() 1762 int diff = 42; /* nonsense */ in delta_richcompare() local 1765 diff = GET_TD_DAYS(self) - GET_TD_DAYS(other); in delta_richcompare() 1766 if (diff == 0) { in delta_richcompare() [all …]
|
/device/lge/bullhead/ |
D | releasetools.py | 100 diff = common.Difference(tf, sf, diff_program="bsdiff") 101 common.ComputeDifferences([diff]) 102 _, _, d = diff.GetPatch()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | rrcs.py | 97 def diff(x, copts, fn): function 156 'diff': ('c', diff),
|
D | rcvs.py | 156 def diff(self, opts = []): member in MyFile 293 def diff(self, files, opts): member in RCVS 295 e.diff(opts) 433 self.cvs.diff(files, opts)
|