/third_party/skia/third_party/externals/tint/tools/src/substr/ |
D | substr.go | 28 diffs := dmp.DiffMain(body, substr, false) 29 if len(diffs) == 0 { 33 front := func() diff.Diff { return diffs[0] } 34 back := func() diff.Diff { return diffs[len(diffs)-1] } 39 for len(diffs) > 0 && front().Type == diff.DiffDelete { 41 diffs = diffs[1:] 45 for len(diffs) > 0 && back().Type == diff.DiffDelete { 47 diffs = diffs[:len(diffs)-1]
|
/third_party/gstreamer/gstplugins_bad/gst/videofilters/ |
D | gstscenechange.c | 179 memset (scenechange->diffs, 0, sizeof (double) * SC_N_DIFFS); in gst_scene_change_transform_frame_ip() 201 memmove (scenechange->diffs, scenechange->diffs + 1, in gst_scene_change_transform_frame_ip() 203 scenechange->diffs[SC_N_DIFFS - 1] = score; in gst_scene_change_transform_frame_ip() 206 score_min = scenechange->diffs[0]; in gst_scene_change_transform_frame_ip() 207 score_max = scenechange->diffs[0]; in gst_scene_change_transform_frame_ip() 209 score_min = MIN (score_min, scenechange->diffs[i]); in gst_scene_change_transform_frame_ip() 210 score_max = MAX (score_max, scenechange->diffs[i]); in gst_scene_change_transform_frame_ip() 221 && (score / scenechange->diffs[SC_N_DIFFS - 2] > 1.4)) { in gst_scene_change_transform_frame_ip() 235 memset (scenechange->diffs, 0, sizeof (double) * SC_N_DIFFS); in gst_scene_change_transform_frame_ip()
|
/third_party/skia/tests/ |
D | WrappedSurfaceCopyOnWriteTest.cpp | 123 [&](int x, int y, const float diffs[4]) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 125 diffs[0], diffs[1], diffs[2], diffs[3]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 158 [&](int x, int y, const float diffs[4]) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 160 diffs[0], diffs[1], diffs[2], diffs[3]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | MatrixColorFilterTest.cpp | 41 [reporter](int x, int y, const float diffs[4]) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 43 diffs[0], diffs[1], diffs[2], diffs[3]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ReadWritePixelsGpuTest.cpp | 328 const float diffs[4]) { in gpu_read_pixels_test_driver() 338 diffs[0], diffs[1], diffs[2], diffs[3]); in gpu_read_pixels_test_driver() 896 const float diffs[4]) { in gpu_write_pixels_test_driver() 913 diffs[0], in gpu_write_pixels_test_driver() 914 diffs[1], in gpu_write_pixels_test_driver() 915 diffs[2], in gpu_write_pixels_test_driver() 916 diffs[3]); in gpu_write_pixels_test_driver() 943 [&](int x, int y, const float diffs[4]) { in gpu_write_pixels_test_driver() 961 diffs[0], in gpu_write_pixels_test_driver() 962 diffs[1], in gpu_write_pixels_test_driver() [all …]
|
D | BlendTest.cpp | 27 struct Results { int diffs, diffs_0x00, diffs_0xff, diffs_by_1; }; member 32 r.diffs, r.diffs_0x00, r.diffs_0xff, r.diffs_by_1); in acceptable() 34 return r.diffs_by_1 == r.diffs // never off by more than 1 in acceptable() 47 r.diffs++; in test() 80 for (auto multiply : perfect) { REPORTER_ASSERT(r, test(multiply).diffs == 0); } in DEF_TEST()
|
D | TransferPixelsTest.cpp | 206 [reporter, colorType](int x, int y, const float diffs[4]) { in basic_transfer_to_test() 210 diffs[0], diffs[1], diffs[2], diffs[3]); in basic_transfer_to_test() 401 [reporter, colorType](int x, int y, const float diffs[4]) { in basic_transfer_from_test() 405 diffs[0], diffs[1], diffs[2], diffs[3]); in basic_transfer_from_test()
|
D | ExtendedSkColorTypeTests.cpp | 165 [reporter, ct, label](int x, int y, const float diffs[4]) { in compare_pixmaps() 169 diffs[0], diffs[1], diffs[2], diffs[3]); in compare_pixmaps()
|
D | CompressedBackendAllocationTest.cpp | 29 [reporter, label0, label1, label2](int x, int y, const float diffs[4]) { in check_solid_pixmap() 33 diffs[0], diffs[1], diffs[2], diffs[3]); in check_solid_pixmap()
|
D | TestUtils.cpp | 142 float diffs[4]; in compare_colors() local 145 diffs[i] = rgbaB[i] - rgbaA[i]; in compare_colors() 146 if (std::abs(diffs[i]) > std::abs(tolRGBA[i])) { in compare_colors() 151 error(x, y, diffs); in compare_colors()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | DataDrivenCalendarTest.java | 91 String diffs = diffSet.diffFrom(fromSet); in testConvert() local 93 +", SOURCE calendar was not set: Differences: "+ diffs); in testConvert() 105 String diffs = diffSet.diffFrom(fromSet); in testConvert() local 107 +", SET SOURCE calendar was not set: Differences: "+ diffs); in testConvert() 117 String diffs = diffSet.diffFrom(toSet); in testConvert() local 118 errln((String)"FAIL: "+thisString+", Differences: "+ diffs); in testConvert() 253 String diffs = diffSet.diffFrom(fromSet); in testOps() local 255 +", SET SOURCE calendar was not set: Differences: "+ diffs); in testOps() 303 String diffs = diffSet.diffFrom(toSet); in testOps() local 305 +" Differences: "+ diffs ); in testOps()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
D | DataDrivenCalendarTest.java | 94 String diffs = diffSet.diffFrom(fromSet); in testConvert() local 96 +", SOURCE calendar was not set: Differences: "+ diffs); in testConvert() 108 String diffs = diffSet.diffFrom(fromSet); in testConvert() local 110 +", SET SOURCE calendar was not set: Differences: "+ diffs); in testConvert() 120 String diffs = diffSet.diffFrom(toSet); in testConvert() local 121 errln((String)"FAIL: "+thisString+", Differences: "+ diffs); in testConvert() 256 String diffs = diffSet.diffFrom(fromSet); in testOps() local 258 +", SET SOURCE calendar was not set: Differences: "+ diffs); in testOps() 306 String diffs = diffSet.diffFrom(toSet); in testOps() local 308 +" Differences: "+ diffs ); in testOps()
|
/third_party/icu/tools/multi/proj/provider/ |
D | caldiff.cpp | 49 int diffs = 0; in main() local 99 diffs++; in main() 108 diffs++; in main() 123 if(diffs==0) { in main() 127 printf("%d differences found among provider versions! Provider is working!\n", diffs); in main()
|
D | datediff.cpp | 49 int diffs = 0; in main() 91 diffs++; in main() 115 if(diffs==0) { in main() 119 printf("%d differences found among provider versions!\n", diffs); in main()
|
D | colldiff.cpp | 44 int diffs = 0; in main() local 115 diffs++; in main() 168 if(diffs==0) { in main() 176 printf("%d differences found among provider versions!\n", diffs); in main()
|
/third_party/gstreamer/gstplugins_good/gst/deinterlace/tvtime/tomsmocomp/ |
D | TomsMoCompAll2.inc | 32 RESET_CHROMA // pretend chroma diffs was 255 each 49 RESET_CHROMA // pretend chroma diffs was 255 each 67 RESET_CHROMA // pretend chroma diffs was 255 each 85 RESET_CHROMA // pretend chroma diffs was 255 each 105 RESET_CHROMA // pretend chroma diffs was 255 each 125 RESET_CHROMA // pretend chroma diffs was 255 each 145 RESET_CHROMA // pretend chroma diffs was 255 each 166 RESET_CHROMA // pretend chroma diffs was 255 each 195 RESET_CHROMA // pretend chroma diffs was 255 each 227 RESET_CHROMA // pretend chroma diffs was 255 each
|
/third_party/icu/icu4c/source/test/intltest/ |
D | dadrcal.cpp | 225 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testOps() local 227 +", SET SOURCE calendar was not set: Differences: "+ diffs in testOps() 273 UnicodeString diffs = diffSet.diffFrom(toSet, status); in testOps() local 275 +" Differences: "+ diffs +"', status: " in testOps() 309 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testConvert() local 311 +", SOURCE calendar was not set: Differences: "+ diffs in testConvert() 331 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testConvert() local 333 +", SET SOURCE calendar was not set: Differences: "+ diffs in testConvert() 351 UnicodeString diffs = diffSet.diffFrom(toSet, status); in testConvert() local 352 errln((UnicodeString)"FAIL: "+thisString+", Differences: "+ diffs in testConvert()
|
/third_party/skia/third_party/externals/expat/expat/tests/ |
D | udiffer.py | 55 diffs = list(difflib.unified_diff(first, second, fromfile=config.first, 57 if diffs: 58 sys.stdout.writelines(diffs)
|
/third_party/flutter/skia/tests/ |
D | TransferPixelsTest.cpp | 190 [reporter, colorType](int x, int y, const float diffs[4]) { in basic_transfer_to_test() 193 y, colorType, diffs[0], diffs[1], diffs[2], diffs[3]); in basic_transfer_to_test() 370 [reporter, colorType](int x, int y, const float diffs[4]) { in basic_transfer_from_test() 373 y, colorType, diffs[0], diffs[1], diffs[2], diffs[3]); in basic_transfer_from_test()
|
D | BlendTest.cpp | 33 struct Results { int diffs, diffs_0x00, diffs_0xff, diffs_by_1; }; member 38 r.diffs, r.diffs_0x00, r.diffs_0xff, r.diffs_by_1); in acceptable() 40 return r.diffs_by_1 == r.diffs // never off by more than 1 in acceptable() 53 r.diffs++; in test() 86 for (auto multiply : perfect) { REPORTER_ASSERT(r, test(multiply).diffs == 0); } in DEF_TEST()
|
D | TestUtils.cpp | 220 float diffs[4]; in compare_pixels() local 223 diffs[i] = rgbaB[i] - rgbaA[i]; in compare_pixels() 224 if (std::abs(diffs[i]) > std::abs(tolRGBA[i])) { in compare_pixels() 229 error(x, y, diffs); in compare_pixels()
|
/third_party/ltp/testcases/kernel/sched/tool/ |
D | time-schedule.c | 106 unsigned long diffs[MAX_ITERATIONS]; in main() local 212 memset(diffs, 0, sizeof diffs); in main() 236 diffs[count] = diff; in main() 256 median = compute_median(diffs, max_diff); in main()
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/ |
D | sdlgenaudiocvt.pl | 193 my $diffs = 0; 194 $diffs++ if ($fsize != $tsize); 195 $diffs++ if ($fsigned != $tsigned); 196 $diffs++ if ($ffloat != $tfloat); 197 $diffs++ if ($fendian ne $tendian); 199 return if ($diffs == 0);
|
/third_party/node/deps/npm/lib/ |
D | install.js | 781 const diffs = this.differences 786 if (diffs.some((d) => d[0] === 'remove' && d[1].path === r.path)) return 788 diffs.push(['remove', r]) 800 return this.printInstalledForJSON(diffs, auditResult) 802 return this.printInstalledForParseable(diffs, auditResult) 804 return this.printInstalledForHuman(diffs, auditResult) 809 Installer.prototype.printInstalledForHuman = function (diffs, auditResult) { argument 817 diffs.forEach(function (action) { 920 Installer.prototype.printInstalledForJSON = function (diffs, auditResult) { argument 948 diffs.forEach(function (action) { [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_pullup.c | 119 f->diffs = av_calloc(FFALIGN(s->metric_length, 16), sizeof(*f->diffs)); in alloc_metrics() 123 if (!f->diffs || !f->combs || !f->vars) { in alloc_metrics() 124 av_freep(&f->diffs); in alloc_metrics() 139 av_free(f->diffs); in free_field_queue() 350 l = f2->diffs[i] - f3->diffs[i]; in compute_breaks() 603 compute_metric(s, f->diffs, f, parity, f->prev->prev, parity, s->diff); in pullup_submit_field()
|