| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
| timemodule.c | 106 double diff;
local 118 diff = x - (double)result;
119 if (diff <= -1.0 || diff >= 1.0) {
170 double diff;
local 184 diff = (double)(now.QuadPart - ctrStart.QuadPart);
185 return PyFloat_FromDouble(diff / divisor);
[all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
| timemodule.c | 106 double diff;
local 118 diff = x - (double)result;
119 if (diff <= -1.0 || diff >= 1.0) {
170 double diff;
local 184 diff = (double)(now.QuadPart - ctrStart.QuadPart);
185 return PyFloat_FromDouble(diff / divisor);
[all...] |
| /device/linaro/bootloader/edk2/BaseTools/Scripts/ |
| PatchCheck.py | 237 """Checks the contents of a git diff."""
239 def __init__(self, diff):
242 self.lines = diff.splitlines(True)
262 if line.startswith('diff --git'):
270 if line.startswith('diff --git'):
271 self.format_error('diff found after end of patch')
277 if line.startswith('diff --git'):
281 self.format_error("didn't find diff command")
298 self.format_error("didn't find diff hunk marker (@@)")
376 ^ diff \s+ --git \s+ a/.+ \s+ b/.+ $ [all...] |
| /external/pdfium/core/fxge/ |
| cfx_pathdata.cpp | 48 CFX_PointF diff = end_pos - start_pos; local 49 float ll = FXSYS_sqrt2(diff.x, diff.y); 50 float mx = end_pos.x + hw * diff.x / ll; 51 float my = end_pos.y + hw * diff.y / ll; 52 float dx1 = hw * diff.y / ll; 53 float dy1 = hw * diff.x / ll;
|
| /external/python/cpython2/Modules/ |
| timemodule.c | 106 double diff; local 118 diff = x - (double)result; 119 if (diff <= -1.0 || diff >= 1.0) { 170 double diff; local 184 diff = (double)(now.QuadPart - ctrStart.QuadPart); 185 return PyFloat_FromDouble(diff / divisor);
|
| /external/webrtc/webrtc/modules/audio_processing/utility/ |
| delay_estimator.c | 675 int32_t diff = new_value - *mean_value; local 678 if (diff < 0) { 679 diff = -((-diff) >> factor); 681 diff = (diff >> factor); 683 *mean_value += diff;
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
| RVCVXCheckAnalyzer.java | 637 double diff = 0.0; local 646 diff = ra.get(i).roll - rb.get(i).roll; // they always opposite of each other.. 649 diff = ra.get(i).pitch - rb.get(i).pitch; 652 diff = Math.abs(((4*Math.PI + ra.get(i).yaw - rb.get(i).yaw)%(2*Math.PI)) 656 diff = Math.abs(diff); 657 if (diff>max) { 658 max = diff; 685 double diff = 0.0; local 695 diff = ra.get(i).roll - rb.get(i).roll [all...] |
| /prebuilts/go/darwin-x86/src/cmd/go/ |
| vendor_test.go | 117 // diffSortedOutput prepares a diff of the already sorted outputs haveText and wantText. 118 // The diff shows common lines prefixed by a tab, lines present only in haveText 121 var diff bytes.Buffer 126 fmt.Fprintf(&diff, "unexpected: %s\n", have[0]) 131 fmt.Fprintf(&diff, "missing: %s\n", want[0]) 135 fmt.Fprintf(&diff, "\t%s\n", want[0]) 139 return diff.String()
|
| /prebuilts/go/linux-x86/src/cmd/go/ |
| vendor_test.go | 117 // diffSortedOutput prepares a diff of the already sorted outputs haveText and wantText. 118 // The diff shows common lines prefixed by a tab, lines present only in haveText 121 var diff bytes.Buffer 126 fmt.Fprintf(&diff, "unexpected: %s\n", have[0]) 131 fmt.Fprintf(&diff, "missing: %s\n", want[0]) 135 fmt.Fprintf(&diff, "\t%s\n", want[0]) 139 return diff.String()
|
| /toolchain/binutils/binutils-2.27/ld/testsuite/ld-elfvers/ |
| vers.exp | 69 set diff diff 114 global diff 129 catch "exec sort $srcdir/$subdir/$expect | $diff $tmpdir/nm.out -" exec_output 152 global diff 179 global diff 207 global diff 243 global diff 254 # Now do a line-by-line comparison to effectively diff the darned things 274 verbose "# Diff'ing: $expectfile $tmpdir/objdump.out" [all...] |
| /external/libvpx/libvpx/test/ |
| dct_test.cc | 194 int diff; local 197 diff = dst16.TopLeftPixel()[h * dst16.stride() + w] - 201 diff = dst.TopLeftPixel()[h * dst.stride() + w] - 206 const uint32_t error = diff * diff; 356 int diff; local 359 diff = dst16.TopLeftPixel()[h * dst16.stride() + w] - 363 diff = dst.TopLeftPixel()[h * dst.stride() + w] - 368 const uint32_t error = diff * diff; [all...] |
| /external/opencv/cvaux/src/ |
| cvbgfg_acmmm2003.cpp | 258 int diff = abs( int(*rowStart1) - int(*rowStart2) ); local 259 HISTOGRAM[diff]++; 302 int diff = abs( int(*rowStart1) - int(*rowStart2) ); local 303 if ( diff > bestThres) 500 float diff = 0; local 589 diff = sum1 - stat->Pbcc * sum2; 591 if( diff > model->params.T ) 608 float diff = 0; local 688 diff = sum1 - stat->Pbc * sum2; 692 if( diff > model->params.T [all...] |
| /external/python/cpython3/Objects/ |
| rangeobject.c | 164 PyObject *diff = NULL; local 204 if ((diff = PyNumber_Subtract(tmp1, one)) == NULL) 207 if ((tmp2 = PyNumber_FloorDivide(diff, step)) == NULL) 214 Py_DECREF(diff); 223 Py_XDECREF(diff); 1180 PyObject *one, *sum, *diff, *product; local [all...] |
| /external/tensorflow/tensorflow/python/ops/ |
| check_ops.py | 529 diff = math_ops.abs(x - y) 530 condition = math_ops.reduce_all(math_ops.less(diff, tol)) [all...] |
| /external/webrtc/tools/matlab/ |
| rtpAnalyze.m | 82 length(find(diff(SortSeqNo) > 1))); 83 fprintf('Duplicated packets: %i\n', length(find(diff(SortSeqNo) == 0))); 86 tsdiff = diff(TimeStampUW); 87 tsdiff = tsdiff(diff(SeqNoUW) == 1); 153 SendBitrateKbps = 8 * Size(1:end-1) ./ diff(SendTimeMs);
|
| /system/core/logd/ |
| LogStatistics.cpp | 114 log_time diff = stamp - mNewest[log_id]; local 117 if (diff.tv_sec > hourSec) { 119 diff += mOldest[log_id]; 120 if ((diff > stamp) && ((diff - stamp).tv_sec < hourSec)) { 121 diff = stamp; 123 if (diff <= stamp) { 124 mOldest[log_id] = diff; 125 if (mNewestDropped[log_id] < diff) { 126 mNewestDropped[log_id] = diff; [all...] |
| /external/syslinux/gpxe/src/drivers/net/ |
| via-velocity.c | 1228 u8 diff; local [all...] |
| /external/libxaac/decoder/ |
| ixheaacd_env_calc.c | 515 WORD32 diff = final_e - noise_e; local 517 ixheaacd_noise_level_rescaling(noise_level_mant, diff, bands, 2); 952 WORD32 diff; local 961 diff = (gain_e - filt_buf_exp); 963 if (diff >= 0) { 966 *ptr_filt_buf = (WORD16)(*ptr_filt_buf >> diff); 971 if ((diff + reserve) >= 0) { 972 *ptr_filt_buf = (WORD16)(filt_buf_mant << -diff); 973 *(ptr_filt_buf + 1) = (WORD16)(filt_buf_exp + diff); [all...] |
| /external/brotli/c/enc/ |
| metablock.c | 281 double diff[2] = { 0.0 }; local 297 diff[j] += combined_entropy[jx] - entropy[i] - last_entropy[jx]; 302 diff[0] > self->split_threshold_ && 303 diff[1] > self->split_threshold_) { 323 } else if (diff[1] < diff[0] - 20.0) {
|
| /external/fio/ |
| eta.c | 307 unsigned long long diff, this_rate; local 309 diff = io_bytes[i] - prev_io_bytes[i]; 311 this_rate = ((1000 * diff) / mtime) / 1024; /* KiB/s */ 332 unsigned long long diff, this_iops; local 334 diff = io_iops[i] - prev_io_iops[i]; 336 this_iops = (diff * 1000) / mtime;
|
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| ICUBinary.java | 374 int diff = key.charAt(i) - c2; 375 if (diff != 0) { 376 return diff; 393 int diff = key.charAt(i) - c2; 394 if (diff != 0) { 395 return diff;
|
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| ICUBinary.java | 370 int diff = key.charAt(i) - c2; 371 if (diff != 0) { 372 return diff; 389 int diff = key.charAt(i) - c2; 390 if (diff != 0) { 391 return diff;
|
| /external/libnl/lib/route/ |
| link.c | 905 int diff = 0; local 909 diff |= LINK_DIFF(IFINDEX, a->l_index != b->l_index); 910 diff |= LINK_DIFF(MTU, a->l_mtu != b->l_mtu); 911 diff |= LINK_DIFF(LINK, a->l_link != b->l_link); 912 diff |= LINK_DIFF(TXQLEN, a->l_txqlen != b->l_txqlen); 913 diff |= LINK_DIFF(WEIGHT, a->l_weight != b->l_weight); 914 diff |= LINK_DIFF(MASTER, a->l_master != b->l_master); 915 diff |= LINK_DIFF(FAMILY, a->l_family != b->l_family); 916 diff |= LINK_DIFF(OPERSTATE, a->l_operstate != b->l_operstate); 917 diff |= LINK_DIFF(LINKMODE, a->l_linkmode != b->l_linkmode) [all...] |
| /external/opencv/cv/src/ |
| cvcolor.cpp | 1225 int vmin = b, diff; local 1271 float vmin, diff; local 1461 float vmin, vmax, diff; local [all...] |
| cvsegmentation.cpp | 143 #define c_diff(ptr1,ptr2,diff) \ 148 diff = ws_max(db,dg); \ 149 diff = ws_max(diff,dr); \ 150 assert( 0 <= diff && diff <= 255 ); \
|