/external/google-diff-match-patch/name/fraser/neil/plaintext/ |
D | diff_match_patch_test.java | 39 private diff_match_patch dmp; field in diff_match_patch_test 46 dmp = new diff_match_patch(); in setUp() 55 assertEquals("diff_commonPrefix: Null case.", 0, dmp.diff_commonPrefix("abc", "xyz")); in testDiffCommonPrefix() 57 …assertEquals("diff_commonPrefix: Non-null case.", 4, dmp.diff_commonPrefix("1234abcdef", "1234xyz"… in testDiffCommonPrefix() 59 assertEquals("diff_commonPrefix: Whole case.", 4, dmp.diff_commonPrefix("1234", "1234xyz")); in testDiffCommonPrefix() 64 assertEquals("diff_commonSuffix: Null case.", 0, dmp.diff_commonSuffix("abc", "xyz")); in testDiffCommonSuffix() 66 …assertEquals("diff_commonSuffix: Non-null case.", 4, dmp.diff_commonSuffix("abcdef1234", "xyz1234"… in testDiffCommonSuffix() 68 assertEquals("diff_commonSuffix: Whole case.", 4, dmp.diff_commonSuffix("1234", "xyz1234")); in testDiffCommonSuffix() 73 assertNull("diff_halfMatch: No match.", dmp.diff_halfMatch("1234567890", "abcdef")); in testDiffHalfmatch() 75 …alfMatch: Single Match #1.", new String[]{"12", "90", "a", "z", "345678"}, dmp.diff_halfMatch("123… in testDiffHalfmatch() [all …]
|
/external/blktrace/btt/ |
D | devmap.c | 33 struct devmap *dmp; in dev_map_add() local 38 dmp = malloc(sizeof(struct devmap)); in dev_map_add() 39 if (sscanf(line, "%s %s", dmp->device, dmp->devno) != 2) { in dev_map_add() 40 free(dmp); in dev_map_add() 44 list_add_tail(&dmp->head, &all_devmaps); in dev_map_add() 55 struct devmap *dmp = list_entry(p, struct devmap, head); in dev_map_find() local 57 if (!strcmp(this, dmp->devno)) in dev_map_find() 58 return dmp->device; in dev_map_find() 87 struct devmap *dmp = list_entry(p, struct devmap, head); in dev_map_exit() local 89 list_del(&dmp->head); in dev_map_exit() [all …]
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
D | MapModel3D.java | 177 double dmp = NavCalculator.computeDMPClarkeSpheroid(centre.getLatitude(), in toWorldUnit() local 193 z = zCentre - (int) ((dmp) / minutesPerWorldUnit); in toWorldUnit() 196 z = zCentre + (int) ((dmp) / minutesPerWorldUnit); in toWorldUnit() 199 z = zCentre - (int) ((dmp) / minutesPerWorldUnit); in toWorldUnit() 202 z = zCentre + (int) ((dmp) / minutesPerWorldUnit); in toWorldUnit() 205 z = zCentre - (int) ((dmp) / minutesPerWorldUnit); in toWorldUnit() 208 z = zCentre + (int) ((dmp) / minutesPerWorldUnit); in toWorldUnit()
|
D | MapModel2D.java | 148 double dmp = NavCalculator.computeDMPClarkeSpheroid(centre.getLatitude(), in toPixel() local 164 y = yCentre + (int) ((dmp) / minutesPerPixel); in toPixel() 167 y = yCentre - (int) ((dmp) / minutesPerPixel); in toPixel() 170 y = yCentre + (int) ((dmp) / minutesPerPixel); in toPixel() 173 y = yCentre - (int) ((dmp) / minutesPerPixel); in toPixel() 176 y = yCentre + (int) ((dmp) / minutesPerPixel); in toPixel() 179 y = yCentre - (int) ((dmp) / minutesPerPixel); in toPixel()
|
D | NavCalculator.java | 96 double dmp = (float) computeDMPClarkeSpheroid(p1.getLatitude(), p2.getLatitude()); in mercatorSailing() local 98 trueCourse = (float) Math.toDegrees(Math.atan(dLong / dmp)); in mercatorSailing()
|
/external/skia/tools/ |
D | skdiff_utils.h | 48 DiffMetricProc dmp,
|
D | skdiff_utils.cpp | 137 DiffMetricProc dmp, in create_and_write_diff_image() argument 154 compute_diff(drp, dmp, colorThreshold); in create_and_write_diff_image()
|
D | skdiff_image.cpp | 19 static void create_diff_images (DiffMetricProc dmp, in create_diff_images() argument 70 create_and_write_diff_image(drp, dmp, colorThreshold, outputDir, outputFilename); in create_diff_images()
|
D | skdiff_main.cpp | 313 static void create_diff_images (DiffMetricProc dmp, in create_diff_images() argument 429 create_and_write_diff_image(drp, dmp, colorThreshold, in create_diff_images()
|
/external/webkit/PerformanceTests/Parser/resources/ |
D | final-url-en | 34601 http://www.cra.org/Activities/craw/dmp/awards/2004/Clodfelter/summerlog.htm
|