| /prebuilts/gdb/darwin-x86/lib/python2.7/unittest/ |
| case.py | 161 * maxDiff: sets the maximum length of a diff in failure messages 728 def _truncateMessage(self, message, diff): 730 if max_diff is None or len(diff) <= max_diff: 731 return message + diff 732 return message + (DIFF_OMITTED % len(diff)) 833 diff = ('\n' + '\n'.join(difflib.ndiff( 836 standardMsg = self._truncateMessage(standardMsg, diff) [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/unittest/test/ |
| test_case.py | 598 diff = '\n'.join(difflib.ndiff(pprint.pformat(seq1).splitlines(), 601 omitted = unittest.case.DIFF_OMITTED % (len(diff) + 1,) 603 self.maxDiff = len(diff)//2 610 self.assertTrue(len(msg) < len(diff)) 613 self.maxDiff = len(diff) * 2 620 self.assertTrue(len(msg) > len(diff)) 630 self.assertTrue(len(msg) > len(diff)) 649 def truncate(msg, diff): 661 def truncate(msg, diff): 674 # disable madDiff to get diff marker [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/unittest/ |
| case.py | 161 * maxDiff: sets the maximum length of a diff in failure messages 728 def _truncateMessage(self, message, diff): 730 if max_diff is None or len(diff) <= max_diff: 731 return message + diff 732 return message + (DIFF_OMITTED % len(diff)) 833 diff = ('\n' + '\n'.join(difflib.ndiff( 836 standardMsg = self._truncateMessage(standardMsg, diff) [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/unittest/test/ |
| test_case.py | 598 diff = '\n'.join(difflib.ndiff(pprint.pformat(seq1).splitlines(), 601 omitted = unittest.case.DIFF_OMITTED % (len(diff) + 1,) 603 self.maxDiff = len(diff)//2 610 self.assertTrue(len(msg) < len(diff)) 613 self.maxDiff = len(diff) * 2 620 self.assertTrue(len(msg) > len(diff)) 630 self.assertTrue(len(msg) > len(diff)) 649 def truncate(msg, diff): 661 def truncate(msg, diff): 674 # disable madDiff to get diff marker [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
| case.py | 161 * maxDiff: sets the maximum length of a diff in failure messages 728 def _truncateMessage(self, message, diff): 730 if max_diff is None or len(diff) <= max_diff: 731 return message + diff 732 return message + (DIFF_OMITTED % len(diff)) 833 diff = ('\n' + '\n'.join(difflib.ndiff( 836 standardMsg = self._truncateMessage(standardMsg, diff) [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
| test_case.py | 598 diff = '\n'.join(difflib.ndiff(pprint.pformat(seq1).splitlines(), 601 omitted = unittest.case.DIFF_OMITTED % (len(diff) + 1,) 603 self.maxDiff = len(diff)//2 610 self.assertTrue(len(msg) < len(diff)) 613 self.maxDiff = len(diff) * 2 620 self.assertTrue(len(msg) > len(diff)) 630 self.assertTrue(len(msg) > len(diff)) 649 def truncate(msg, diff): 661 def truncate(msg, diff): 674 # disable madDiff to get diff marker [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
| case.py | 161 * maxDiff: sets the maximum length of a diff in failure messages 728 def _truncateMessage(self, message, diff): 730 if max_diff is None or len(diff) <= max_diff: 731 return message + diff 732 return message + (DIFF_OMITTED % len(diff)) 833 diff = ('\n' + '\n'.join(difflib.ndiff( 836 standardMsg = self._truncateMessage(standardMsg, diff) [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
| test_case.py | 598 diff = '\n'.join(difflib.ndiff(pprint.pformat(seq1).splitlines(), 601 omitted = unittest.case.DIFF_OMITTED % (len(diff) + 1,) 603 self.maxDiff = len(diff)//2 610 self.assertTrue(len(msg) < len(diff)) 613 self.maxDiff = len(diff) * 2 620 self.assertTrue(len(msg) > len(diff)) 630 self.assertTrue(len(msg) > len(diff)) 649 def truncate(msg, diff): 661 def truncate(msg, diff): 674 # disable madDiff to get diff marker [all...] |
| /external/python/cpython3/Modules/ |
| _datetimemodule.c | 1880 int diff = GET_TD_DAYS(self) - GET_TD_DAYS(other); local 1894 int diff = delta_cmp(self, other); local 2800 int diff = memcmp(((PyDateTime_Date *)self)->data, local 3789 int diff; local 4846 int diff; local [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
| CollationTest.java | 391 UnicodeSet diff = new UnicodeSet(expectedLccc); local 392 diff.removeAll(lccc); 393 diff.remove(0x10000, 0x10ffff); // hasLccc() only works for the BMP 398 diffString = diff.toPattern(true); 401 diff = lccc; 402 diff.removeAll(expectedLccc); 403 diffString = diff.toPattern(true); 417 diff = new UnicodeSet(expectedTccc); 418 diff.removeAll(tccc); 419 diff.remove(0x10000, 0x10ffff); // hasTccc() only works for the BM [all...] |
| /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
| CollationTest.java | 388 UnicodeSet diff = new UnicodeSet(expectedLccc); local 389 diff.removeAll(lccc); 390 diff.remove(0x10000, 0x10ffff); // hasLccc() only works for the BMP 395 diffString = diff.toPattern(true); 398 diff = lccc; 399 diff.removeAll(expectedLccc); 400 diffString = diff.toPattern(true); 414 diff = new UnicodeSet(expectedTccc); 415 diff.removeAll(tccc); 416 diff.remove(0x10000, 0x10ffff); // hasTccc() only works for the BM [all...] |
| AlphabeticIndexTest.java | 692 Collection<String> diff = new TreeSet<String>(firstCharacters); local [all...] |
| /external/libvpx/libvpx/vp9/encoder/ |
| vp9_encoder.c | 136 int diff = 0; local 142 diff += (int)counts->y_mode[i][j] * 148 diff += (int)counts->y_mode[i][INTRA_MODES - 1] * 155 diff += (int)counts->uv_mode[i][j] * 161 diff += (int)counts->uv_mode[i][INTRA_MODES - 1] * 168 diff += (int)counts->partition[i][j] * 174 diff += (int)counts->partition[i][PARTITION_TYPES - 1] * 185 diff += (int)counts->coef[i][j][k][l][m][n] * 197 diff += (int)counts->coef[i][j][k][l][m][UNCONSTRAINED_NODES] * 208 diff += (int)counts->switchable_interp[i][j] 4021 const int diff = compute_context_model_diff(cm); local [all...] |
| /external/icu/icu4c/source/tools/tzcode/ |
| zdump.c | 748 time_t diff = hit - lot; local 749 if (diff < 2) 752 t += diff / 2; 930 long diff; local 943 diff = (long) (hit - lot); 944 if (diff < 2) 947 t += diff / 2;
|
| /external/sonic/ |
| sonic.c | 619 unsigned long diff, minDiff = 1, maxDiff = 0; local 623 diff = 0; 629 diff += sVal >= pVal? (unsigned short)(sVal - pVal) : 632 /* Note that the highest number of samples we add into diff will be less 633 than 256, since we skip samples. Thus, diff is a 24 bit number, and 635 if(diff*bestPeriod < minDiff*period) { 636 minDiff = diff; 639 if(diff*worstPeriod > maxDiff*period) { 640 maxDiff = diff;
|
| /external/toybox/toys/pending/ |
| diff.c | 0 /* diff.c - compare files line by line 8 USE_DIFF(NEWTOY(diff, "<2>2B(ignore-blank-lines)d(minimal)b(ignore-space-change)ut(expand-tabs)w(ignore-all-space)i(ignore-case)T(initial-tab)s(report-identical-files)q(brief)a(text)L(label)*S(starting-file):N(new-file)r(recursive)U(unified)#<0=3", TOYFLAG_USR|TOYFLAG_BIN)) 10 config DIFF 11 bool "diff" 14 usage: diff [-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2 58 struct diff { struct 366 static int *diff(char **files) function 372 TT.is_binary = 0; //loop calls to diff 517 struct diff *d; 522 J = diff(files) [all...] |
| /frameworks/layoutlib/bridge/src/android/graphics/ |
| Matrix_Delegate.java | 566 float diff; local 569 diff = dst.width() - src.width() * sy; 571 diff = dst.height() - src.height() * sy; 575 diff = diff / 2; 579 tx += diff; 581 ty += diff; [all...] |
| /frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
| ObjectAdapterTest.java | 177 Bundle diff = new Bundle(); local 179 diff.putInt(ID, newItem.getId()); 183 diff.putString(STRING_MEMBER_ONE, newItem.getStringMemberOne()); 187 diff.putString(STRING_MEMBER_TWO, newItem.getStringMemberTwo()); 191 diff.putString(NOT_RELATED_STRING_MEMBER, newItem.getNotRelatedStringMember()); 194 if (diff.size() == 0) { 197 return diff; 257 // the diff callback without calculating the payload [all...] |
| /external/aac/libSBRdec/src/ |
| sbr_dec.cpp | 1400 int adapt_lb = 0, diff = 0, local [all...] |
| /external/google-breakpad/src/testing/test/ |
| gmock-generated-matchers_test.cc | 231 const int diff = get<0>(value) - get<1>(value); local 232 if (diff > 0) { 233 *listener << "where the first value is " << diff local 236 return diff < 0; 264 const int diff = lhs - rhs_; local 265 if (diff > 0) { 266 *listener << "which is " << diff << " more than " << rhs_; 267 } else if (diff == 0) { 270 *listener << "which is " << -diff << " less than " << rhs_; 632 *result_listener->stream() << "diff == " << (x + y - arg) [all...] |
| /external/googletest/googlemock/test/ |
| gmock-generated-matchers_test.cc | 232 const int diff = get<0>(value) - get<1>(value); local 233 if (diff > 0) { 234 *listener << "where the first value is " << diff local 237 return diff < 0; 265 const int diff = lhs - rhs_; local 266 if (diff > 0) { 267 *listener << "which is " << diff << " more than " << rhs_; 268 } else if (diff == 0) { 271 *listener << "which is " << -diff << " less than " << rhs_; 763 *result_listener->stream() << "diff == " << (x + y - arg) [all...] |
| /external/v8/testing/gmock/test/ |
| gmock-generated-matchers_test.cc | 233 const int diff = get<0>(value) - get<1>(value); local 234 if (diff > 0) { 235 *listener << "where the first value is " << diff local 238 return diff < 0; 266 const int diff = lhs - rhs_; local 267 if (diff > 0) { 268 *listener << "which is " << diff << " more than " << rhs_; 269 } else if (diff == 0) { 272 *listener << "which is " << -diff << " less than " << rhs_; 764 *result_listener->stream() << "diff == " << (x + y - arg) [all...] |
| /development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
| ExpandingListView.java | 480 float diff = i > index ? -yTranslateBottom : yTranslateTop; 481 animations.add(getAnimation(v, diff, diff));
|
| /external/autotest/client/common_lib/ |
| control_data.py | 46 diff = REQUIRED_VARS - set(control_file_vars) 47 if diff: 50 '%s.') % (control_file_path, ', '.join(diff))
|
| /external/deqp/scripts/ |
| run_nightly.py | 200 diff = [] 203 diff.append(result) 204 return diff
|