| /prebuilts/go/linux-x86/misc/cgo/testsanitizers/src/ |
| tsan9.go | 22 int diff; 32 diff = (tvnow.tv_sec - tvstart.tv_sec) * 1000 * 1000 + (tvnow.tv_usec - tvstart.tv_usec); 36 if (diff > 50 * 1000) {
|
| /external/deqp/framework/common/ |
| tcuImageCompare.cpp | 124 const UVec4 diff = abs(refPix - cmpPix).cast<deUint32>(); local 125 const bool isOk = boolAll(lessThanEqual(diff, threshold)); 143 const UVec4 diff = abs(refPix - deviatedCmpPix).cast<deUint32>(); local 144 const bool isOk = boolAll(lessThanEqual(diff, threshold)); 166 const UVec4 diff = abs(cmpPix - deviatedRefPix).cast<deUint32>(); local 167 const bool isOk = boolAll(lessThanEqual(diff, threshold)); 305 IVec4 diff = abs(a - b); local 306 int sum = diff.x() + diff.y() + diff.z() + diff.w() 509 const UVec4 diff = computeFlushRelaxedULPDiff(refPix, cmpPix); local 596 Vec4 diff = abs(refPix - cmpPix); local 680 const Vec4 diff = abs(reference - cmpPix); local 765 UVec4 diff = abs(refPix - cmpPix).cast<deUint32>(); local [all...] |
| /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
| MapsTest.java | 287 MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY); local 288 assertTrue(diff.areEqual()); 289 assertEquals(EMPTY, diff.entriesOnlyOnLeft()); 290 assertEquals(EMPTY, diff.entriesOnlyOnRight()); 291 assertEquals(EMPTY, diff.entriesInCommon()); 292 assertEquals(EMPTY, diff.entriesDiffering()); 293 assertEquals("equal", diff.toString()); 297 MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, SINGLETON); local 298 assertFalse(diff.areEqual()); 299 assertEquals(EMPTY, diff.entriesOnlyOnLeft()) 307 MapDifference<Integer, Integer> diff = Maps.difference(SINGLETON, EMPTY); local 419 SortedMapDifference<Integer, Integer> diff = local 430 SortedMapDifference<Integer, Integer> diff = local 441 SortedMapDifference<Integer, Integer> diff = local [all...] |
| /external/guava/guava-tests/test/com/google/common/hash/ |
| HashTestUtils.java | 253 int diff = 0x0; // bitset for output bits with different values local 257 while (same != 0xffffffff || diff != 0xffffffff) { 267 diff |= (hash1 ^ hash2); 275 "as follows: " + ~(same & diff) + ". This was " + 294 int[] diff = new int[hashBits]; local 307 diff[k] += 1; 313 double prob = (double) diff[j] / (double) (diff[j] + same[j]); 338 boolean diff = false; 340 while (!diff) { 384 int[] diff = new int[hashBits]; local [all...] |
| /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...] |
| /bionic/libc/upstream-openbsd/lib/libc/time/ |
| wcsftime.c | 455 int diff; local 460 diff = t->tm_gmtoff; 461 if (diff < 0) { 463 diff = -diff; 467 diff /= SECSPERMIN; 468 diff = (diff / MINSPERHOUR) * 100 + 469 (diff % MINSPERHOUR); 470 pt = _conv(diff, L"%04d", pt, ptlim) [all...] |
| /toolchain/binutils/binutils-2.27/bfd/ |
| coff-i386.c | 74 symvalue diff; local 95 diff = symbol->value + reloc_entry->addend; 98 diff = reloc_entry->addend; 120 diff = -(1 << howto->size); 122 diff = reloc_entry->addend - symbol->value; 124 diff = -reloc_entry->addend; 128 diff = reloc_entry->addend; 136 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase; 140 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask)) 142 if (diff != 0 [all...] |
| coff-x86_64.c | 73 symvalue diff; local 94 diff = symbol->value + reloc_entry->addend; 97 diff = reloc_entry->addend; 119 diff = -(1 << howto->size); 121 diff = reloc_entry->addend - symbol->value; 123 diff = -reloc_entry->addend; 127 diff = reloc_entry->addend; 135 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase; 139 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask)) 141 if (diff != 0 [all...] |
| /prebuilts/go/darwin-x86/src/cmd/gofmt/ |
| gofmt.go | 142 data, err := diff(src, res, filename) 144 return fmt.Errorf("computing diff: %s", err) 146 fmt.Printf("diff -u %s %s\n", filepath.ToSlash(filename+".orig"), filepath.ToSlash(filename)) 244 func diff(b1, b2 []byte, filename string) (data []byte, err error) { func 257 cmd := "diff" 259 cmd = "/bin/ape/diff" 264 // diff exits with a non-zero status when the files don't match. 271 // replaceTempFilename replaces temporary filenames in diff with actual one. 280 func replaceTempFilename(diff []byte, filename string) ([]byte, error) { 281 bs := bytes.SplitN(diff, []byte{'\n'}, 3 [all...] |
| /prebuilts/go/linux-x86/src/cmd/gofmt/ |
| gofmt.go | 142 data, err := diff(src, res, filename) 144 return fmt.Errorf("computing diff: %s", err) 146 fmt.Printf("diff -u %s %s\n", filepath.ToSlash(filename+".orig"), filepath.ToSlash(filename)) 244 func diff(b1, b2 []byte, filename string) (data []byte, err error) { func 257 cmd := "diff" 259 cmd = "/bin/ape/diff" 264 // diff exits with a non-zero status when the files don't match. 271 // replaceTempFilename replaces temporary filenames in diff with actual one. 280 func replaceTempFilename(diff []byte, filename string) ([]byte, error) { 281 bs := bytes.SplitN(diff, []byte{'\n'}, 3 [all...] |
| /external/pcre/dist2/src/sljit/ |
| sljitNativeARM_T2_32.c | 226 sljit_sw diff; local 235 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)) >> 1; 239 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1; 244 if (diff <= 127 && diff >= -128) { 248 if (diff <= 524287 && diff >= -524288) { 253 diff--; 254 if (diff <= 8388607 && diff >= -8388608) 282 sljit_sw diff; local 980 sljit_sw diff; local 1006 sljit_sw diff; local [all...] |
| /external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
| NodeSorter.java | 178 double diff; local 182 diff = 0.0; 184 diff = -1; 187 diff = 1; 189 diff = n1Num - n2Num; 192 result = (int) ((diff < 0.0) 194 : (diff > 0.0) ? (k.m_descending ? -1 : 1) : 0);
|
| /external/compiler-rt/lib/tsan/rtl/ |
| tsan_mman.cc | 49 uptr diff = RoundUp(p, kPageSize) - p; local 50 if (diff != 0) { 51 p += diff; 52 size -= diff; 54 diff = p + size - RoundDown(p + size, kPageSize); 55 if (diff != 0) 56 size -= diff;
|
| /external/libnl/lib/route/link/ |
| bridge.c | 168 int diff = 0; local 171 diff |= BRIDGE_DIFF(PORT_STATE, a->b_port_state != b->b_port_state); 172 diff |= BRIDGE_DIFF(PRIORITY, a->b_priority != b->b_priority); 173 diff |= BRIDGE_DIFF(COST, a->b_cost != b->b_cost); 176 diff |= BRIDGE_DIFF(FLAGS, 179 diff |= BRIDGE_DIFF(FLAGS, a->b_flags != b->b_flags); 182 return diff;
|
| /external/opencv/cv/src/ |
| cvposit.cpp | 119 float diff = (float)criteria.epsilon; local 159 diff = 0; 175 diff = MAX( diff, (float) fabs( imgVectors[i] - old )); 180 diff = MAX( diff, (float) fabs( imgVectors[N + i] - old )); 233 converged = ((criteria.type & CV_TERMCRIT_EPS) && (diff < criteria.epsilon));
|
| /frameworks/av/media/libnblog/ |
| PerformanceAnalysis.cpp | 127 bool PerformanceAnalysis::detectAndStorePeak(msInterval diff, timestamp ts) { 136 (mOutlierData.size() - 1) + diff) / mOutlierData.size(); 140 mOutlierDistribution.mMean = diff; 148 if ((fabs(diff - mOutlierDistribution.mMean) < 151 fabs(diff - mOutlierDistribution.mMean) < 157 const double kDelta = diff - mOutlierDistribution.mMean; 159 const double kDelta2 = diff - mOutlierDistribution.mMean;
|
| /external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
| ResTable_config.java | 940 int diff = imsi() - o.imsi(); local 2044 int diff = isLocaleMoreSpecificThan(o); local [all...] |
| /cts/tests/tests/os/src/android/os/cts/ |
| WorkSourceTest.java | 405 private void doTestRemoveUids(int[] lhs, int[] rhs, int[] result, boolean diff) throws Exception { 409 if (diffres != diff) { 411 sb.append("Expected diff "); 412 sb.append(diff); 425 String[] resultnames, boolean diff) throws Exception { 432 if (diffres != diff) { 434 sb.append("Expected diff "); 435 sb.append(diff); 448 int[] result, String[] resultnames, boolean diff) throws Exception { 452 if (diffres != diff) { 474 makeStringArray(result), diff); local [all...] |
| /external/aac/libDRCdec/src/ |
| drcDec_selectionProcess.cpp | 265 int diff = 0; local 266 if (*dest != src) diff = 1; 268 return diff; 272 int diff = 0; local 273 if (*dest != src) diff = 1; 275 return diff; 279 int diff = 0; local 280 if (*dest != src) diff = 1; 282 return diff; 286 int diff = 0 local 293 int diff = 0; local 300 int diff = 0; local 307 int diff = 0; local 314 int diff = 0; local 491 int i, diff = 0; local [all...] |
| /development/tools/etc1tool/ |
| etc1tool.cpp | 378 int diff = *pSrc++ - *pDest; local 379 diff *= diff; 380 diff <<= 3; 381 if (diff < 0) { 382 diff = 0; 383 } else if (diff > 255) { 384 diff = 255; 386 *pDest++ = (png_byte) diff;
|
| /external/adhd/cras/src/dsp/tests/ |
| dsp_util_test.c | 262 uint64_t diff; local 302 diff = (BILLION * (end.tv_sec - start.tv_sec) + 305 samples, (long long unsigned int) diff); 314 diff = (BILLION * (end.tv_sec - start.tv_sec) + 317 samples, (long long unsigned int) diff); 338 diff = (BILLION * (end.tv_sec - start.tv_sec) + 342 samples, (long long unsigned int) diff); 351 diff = (BILLION * (end.tv_sec - start.tv_sec) + 354 samples, (long long unsigned int) diff);
|
| /frameworks/base/core/java/android/text/format/ |
| TimeFormatter.java | 363 int diff = wallTime.getGmtOffset(); local 365 if (diff < 0) { 367 diff = -diff; 372 diff /= SECSPERMIN; 373 diff = (diff / MINSPERHOUR) * 100 + (diff % MINSPERHOUR); 374 numberFormatter.format(getFormat(modifier, "%04d", "%4d", "%d", "%04d"), diff); local
|
| /bionic/libc/arch-arm64/generic/bionic/ |
| strncmp.S | 51 #define diff x6 define 90 eor diff, data1, data2 /* Non-zero if differences found. */ 91 csinv endloop, diff, xzr, pl /* Last Dword or differences. */ 97 /* Not reached the limit, must have found the end or a diff. */ 118 orr syndrome, diff, has_nul 155 orr syndrome, diff, has_nul
|
| /cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/ |
| SustainedPerformanceHostTest.java | 149 double diff = (max - min)*100/max; local 153 appResultsWithMode.add(2, diff); 157 appResultsWithoutMode.add(2, diff); 216 double diff = (dhryMax - dhryMin)*100/dhryMax; local 219 dhrystoneResultsWithMode.add(2, diff);
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| 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])
157 '<h2>Context (first diff within numlines=5(default))</h2>',
159 '<h2>Context (first diff after numlines=5(default))</h2>',
223 # Per the diff spec at http://www.unix.org/single_unix_specification/
240 # Per the diff spec at http://www.unix.org/single_unix_specification/
|