/external/google-diff-match-patch/name/fraser/neil/plaintext/ |
D | diff_match_patch_test.java | 33 import name.fraser.neil.plaintext.diff_match_patch.Diff; 127 assertTrue("diff_charsToLines:", new Diff(EQUAL, "a").equals(new Diff(EQUAL, "a"))); in testDiffCharsToLines() 129 assertEquals("diff_charsToLines:", new Diff(EQUAL, "a"), new Diff(EQUAL, "a")); in testDiffCharsToLines() 132 …LinkedList<Diff> diffs = diffList(new Diff(EQUAL, "\u0001\u0002\u0001"), new Diff(INSERT, "\u0002\… in testDiffCharsToLines() 138 …assertEquals("diff_charsToLines:", diffList(new Diff(EQUAL, "alpha\nbeta\nalpha\n"), new Diff(INSE… in testDiffCharsToLines() 155 diffs = diffList(new Diff(DELETE, chars)); in testDiffCharsToLines() 157 assertEquals("diff_charsToLines: More than 256.", diffList(new Diff(DELETE, lines)), diffs); in testDiffCharsToLines() 162 LinkedList<Diff> diffs = diffList(); in testDiffCleanupMerge() 166 diffs = diffList(new Diff(EQUAL, "a"), new Diff(DELETE, "b"), new Diff(INSERT, "c")); in testDiffCleanupMerge() 168 …("diff_cleanupMerge: No change case.", diffList(new Diff(EQUAL, "a"), new Diff(DELETE, "b"), new D… in testDiffCleanupMerge() [all …]
|
D | diff_match_patch.java | 137 public LinkedList<Diff> diff_main(String text1, String text2) { in diff_main() 151 public LinkedList<Diff> diff_main(String text1, String text2, in diff_main() 159 LinkedList<Diff> diffs; in diff_main() 161 diffs = new LinkedList<Diff>(); in diff_main() 162 diffs.add(new Diff(Operation.EQUAL, text1)); in diff_main() 183 diffs.addFirst(new Diff(Operation.EQUAL, commonprefix)); in diff_main() 186 diffs.addLast(new Diff(Operation.EQUAL, commonsuffix)); in diff_main() 204 protected LinkedList<Diff> diff_compute(String text1, String text2, in diff_compute() 206 LinkedList<Diff> diffs = new LinkedList<Diff>(); in diff_compute() 210 diffs.add(new Diff(Operation.INSERT, text2)); in diff_compute() [all …]
|
/external/llvm/tools/llvm-diff/ |
D | DiffLog.cpp | 34 Diff.push_back(DiffRecord(L, R)); in addMatch() 38 Diff.push_back(DiffRecord(L, DiffRecord::second_type(0))); in addLeft() 42 Diff.push_back(DiffRecord(DiffRecord::first_type(0), R)); in addRight() 45 unsigned DiffLogBuilder::getNumLines() const { return Diff.size(); } in getNumLines() 48 return (Diff[I].first ? (Diff[I].second ? DC_match : DC_left) in getLineKind() 51 Instruction *DiffLogBuilder::getLeft(unsigned I) const { return Diff[I].first; } in getLeft() 52 Instruction *DiffLogBuilder::getRight(unsigned I) const { return Diff[I].second; } in getRight()
|
D | DiffLog.h | 59 SmallVector<DiffRecord, 20> Diff; variable
|
D | DifferenceEngine.cpp | 549 DiffLogBuilder Diff(Engine.getConsumer()); in runBlockDiff() local 570 Diff.addMatch(L, R); in runBlockDiff() 577 Diff.addLeft(&*LI); in runBlockDiff() 583 Diff.addRight(&*RI); in runBlockDiff()
|
/external/llvm/test/Transforms/EarlyCSE/ |
D | basic.ll | 40 %Diff = sub i32 %V1, %V2 41 ret i32 %Diff 55 %Diff = sub i32 %V1, %V2 56 ret i32 %Diff 73 %Diff = sub i32 %V1, %V2 74 ret i32 %Diff 76 ; CHECK: ret i32 %Diff 86 %Diff = sub i32 %V1, %V2 87 ret i32 %Diff 116 %Diff = sub i32 %V1, %V2 [all …]
|
/external/llvm/lib/Support/ |
D | FileUtilities.cpp | 142 double Diff; in CompareNumbers() local 144 Diff = std::abs(V1/V2 - 1.0); in CompareNumbers() 146 Diff = std::abs(V2/V1 - 1.0); in CompareNumbers() 148 Diff = 0; // Both zero. in CompareNumbers() 149 if (Diff > RelTolerance) { in CompareNumbers() 153 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n' in CompareNumbers()
|
/external/libvpx/libvpx/vp8/common/ppc/ |
D | recon_altivec.asm | 16 .macro row_of16 Diff Pred Dst Stride 20 lvx v3, 0, \Diff ;# v3 = d0..d7 23 lvx v3, r8, \Diff ;# v3 = d8..d15 24 addi \Diff, \Diff, 32 ;# next diff 56 .macro two_rows_of8 Diff Pred Dst Stride write_first_four_pels 59 lvx v3, 0, \Diff ;# v3 = d0..d7 62 lvx v3, r8, \Diff ;# v2 = d8..d15
|
/external/llvm/test/Analysis/BasicAA/ |
D | 2003-09-19-LocalArgument.ll | 13 %Diff = sub i32 %V1, %V2 14 ret i32 %Diff
|
/external/llvm/tools/bugpoint/ |
D | FindBugs.cpp | 93 bool Diff = diffProgram(Program, Filename, "", false, &Error); in runManyPasses() local 94 if (Error.empty() && Diff) { in runManyPasses()
|
D | BugDriver.cpp | 204 bool Diff = diffProgram(Program, "", "", false, &Error); in run() local 209 if (!Diff) { in run()
|
D | Miscompilation.cpp | 80 bool Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest() local 84 if (Diff) { in doTest() 118 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", false, &Error); in doTest() 121 if (Diff) { in doTest() 159 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest() 163 if (Diff) { in doTest()
|
/external/jdiff/src/jdiff/ |
D | MergeChanges.java | 107 …ctorDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, removedCtor.doc_… in mergeRemoveAddCtor() 167 …methodDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, removedMethod.… in mergeSingleMethods() 244 …methodDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, removedMethod.… in mergeMultipleMethods() 275 if (Diff.showAllChanges && in diffMethods() 285 if (Diff.showAllChanges && in diffMethods() 324 …fieldDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, removedField.do… in mergeRemoveAddField()
|
D | MethodAPI.java | 99 if (Diff.showAllChanges && in compareTo() 103 if (Diff.showAllChanges && in compareTo()
|
D | APIComparator.java | 144 Diff.closeDiffFile(); in compareAPIs() 218 …pkgDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, null, oldPkg.doc_, newPkg.doc_, id… in comparePackages() 283 classDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, in compareClasses() 398 memberDiff.documentationChange_ = Diff.saveDocDiffs( in compareAllCtors() 605 if (Diff.showAllChanges && in compareMethods() 616 if (Diff.showAllChanges && in compareMethods() 645 …methodDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, oldMethod.doc_… in compareMethods() 759 …memberDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, oldField.doc_,… in compareAllFields()
|
D | Diff.java | 12 class Diff { class 343 if (!Diff.noDocDiffs) { in emitDocDiffs() 344 …intln(" <TD BGCOLOR=\"#EEEEFF\" CLASS=\"NavBarCell1\"> <A HREF=\"" + Diff.diffFileName + "ind… in emitDocDiffs() 475 if (!Diff.noDocDiffs) { in emitDocDiffIndex() 516 …String link = "<a href=\"" + Diff.diffFileName + diffOutput.pkgName_ + HTMLReportGenerator.reportF… in emitDocDiffIndex()
|
/external/clang/test/CodeGen/ |
D | 2005-01-02-PointerDifference.c | 4 int Diff(int *P, int *Q) { return P-Q; } in Diff() function
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
D | bitmap_unittest.py | 79 diff_bmp = file_bmp.Diff(file_bmp) 89 diff_bmp = file_bmp.Diff(file_bmp_2)
|
/external/chromium_org/extensions/common/permissions/ |
D | manifest_permission.h | 56 virtual ManifestPermission* Diff(const ManifestPermission* rhs) const = 0;
|
D | api_permission.cc | 65 virtual APIPermission* Diff(const APIPermission* rhs) const OVERRIDE { in Diff() function in __anon1e2a7d0d0111::SimpleAPIPermission
|
/external/chromium_org/chrome/common/extensions/permissions/ |
D | settings_override_permission.h | 31 virtual APIPermission* Diff(const APIPermission* rhs) const OVERRIDE;
|
D | settings_override_permission.cc | 84 APIPermission* SettingsOverrideAPIPermission::Diff( in Diff() function in extensions::SettingsOverrideAPIPermission
|
/external/eigen/unsupported/Eigen/ |
D | AutoDiff | 16 * \defgroup AutoDiff_Module Auto Diff module
|
/external/chromium_org/chrome/common/extensions/api/sockets/ |
D | sockets_manifest_permission_unittest.cc | 187 static_cast<SocketsManifestPermission*>(permission->Diff(clone.get()))); in TEST() 363 permission1->Diff(permission2.get()))); in TEST() 372 permission1->Diff(union_perm.get()))); in TEST()
|
D | sockets_manifest_permission.h | 50 virtual ManifestPermission* Diff(const ManifestPermission* rhs) const
|