Searched refs:Diff (Results 1 - 25 of 31) sorted by relevance

12

/external/clang/test/CodeGen/
H A D2005-01-02-PointerDifference.c4 int Diff(int *P, int *Q) { return P-Q; } function
/external/google-diff-match-patch/name/fraser/neil/plaintext/
H A Ddiff_match_patch_test.java33 import name.fraser.neil.plaintext.diff_match_patch.Diff;
126 // First check that Diff equality works.
127 assertTrue("diff_charsToLines:", new Diff(EQUAL, "a").equals(new Diff(EQUAL, "a")));
129 assertEquals("diff_charsToLines:", new Diff(EQUAL, "a"), new Diff(EQUAL, "a"));
132 LinkedList<Diff> diffs = diffList(new Diff(EQUAL, "\u0001\u0002\u0001"), new Diff(INSERT, "\u0002\u0001\u0002"));
138 assertEquals("diff_charsToLines:", diffList(new Diff(EQUA
[all...]
H A Ddiff_match_patch.java2 * Diff Match and Patch
118 * The data structure representing a diff is a Linked list of Diff objects:
119 * {Diff(Operation.DELETE, "Hello"), Diff(Operation.INSERT, "Goodbye"),
120 * Diff(Operation.EQUAL, " world.")}
135 * @return Linked List of Diff objects.
137 public LinkedList<Diff> diff_main(String text1, String text2) {
149 * @return Linked List of Diff objects.
151 public LinkedList<Diff> diff_main(String text1, String text2,
159 LinkedList<Diff> diff
2289 public static class Diff { class in class:diff_match_patch
2304 public Diff(Operation operation, String text) { method in class:diff_match_patch.Diff
[all...]
/external/llvm/tools/llvm-diff/
H A DDiffLog.cpp35 Diff.push_back(DiffRecord(L, R));
39 Diff.push_back(DiffRecord(L, DiffRecord::second_type(0)));
43 Diff.push_back(DiffRecord(DiffRecord::first_type(0), R));
46 unsigned DiffLogBuilder::getNumLines() const { return Diff.size(); }
49 return (Diff[I].first ? (Diff[I].second ? DC_match : DC_left)
52 Instruction *DiffLogBuilder::getLeft(unsigned I) const { return Diff[I].first; }
53 Instruction *DiffLogBuilder::getRight(unsigned I) const { return Diff[I].second; }
H A DDiffLog.h59 SmallVector<DiffRecord, 20> Diff; member in class:llvm::DiffLogBuilder
H A DDifferenceEngine.cpp551 DiffLogBuilder Diff(Engine.getConsumer());
572 Diff.addMatch(L, R);
579 Diff.addLeft(&*LI);
585 Diff.addRight(&*RI);
/external/llvm/tools/bugpoint/
H A DFindBugs.cpp92 bool Diff = diffProgram(Program, Filename, "", false, &Error); local
93 if (Error.empty() && Diff) {
H A DBugDriver.cpp200 // Diff the output of the raw program against the reference output. If it
204 bool Diff = diffProgram(Program, "", "", false, &Error); local
209 if (!Diff) {
H A DMiscompilation.cpp80 bool Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", local
84 if (Diff) {
118 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", false, &Error);
121 if (Diff) {
159 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "",
163 if (Diff) {
H A DExecutionDriver.cpp449 if (int Diff = DiffFilesWithTolerance(sys::Path(ReferenceOutputFile),
452 if (Diff == 2) {
/external/libvpx/vp8/common/ppc/
H A Drecon_altivec.asm16 .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/lib/Support/
H A DFileUtilities.cpp142 double Diff; local
144 Diff = std::abs(V1/V2 - 1.0);
146 Diff = std::abs(V2/V1 - 1.0);
148 Diff = 0; // Both zero.
149 if (Diff > RelTolerance) {
153 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n'
/external/jdiff/src/jdiff/
H A DMethodAPI.java99 if (Diff.showAllChanges &&
103 if (Diff.showAllChanges &&
H A DMergeChanges.java107 ctorDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, removedCtor.doc_, addedCtor.doc_, id, title);
167 methodDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, removedMethod.doc_, addedMethod.doc_, id, title);
244 methodDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, removedMethod.doc_, addedMethod.doc_, id, title);
275 if (Diff.showAllChanges &&
285 if (Diff.showAllChanges &&
324 fieldDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, removedField.doc_, addedField.doc_, id, title);
H A DAPIComparator.java144 Diff.closeDiffFile();
218 pkgDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, null, oldPkg.doc_, newPkg.doc_, id, title);
222 // Only add to the parent Diff object if some difference has been found
283 classDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_,
398 memberDiff.documentationChange_ = Diff.saveDocDiffs(
605 if (Diff.showAllChanges &&
616 if (Diff.showAllChanges &&
645 methodDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, oldMethod.doc_, newMethod.doc_, id, title);
759 memberDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, oldField.doc_, newField.doc_, id, title);
H A DDiff.java12 class Diff { class
343 if (!Diff.noDocDiffs) {
344 diffFile.println(" <TD BGCOLOR=\"#EEEEFF\" CLASS=\"NavBarCell1\"> <A HREF=\"" + Diff.diffFileName + "index" + HTMLReportGenerator.reportFileExt + "\"><FONT CLASS=\"NavBarFont1\"><B>Text Changes</B></FONT></A>&nbsp;</TD>");
475 if (!Diff.noDocDiffs) {
516 String link = "<a href=\"" + Diff.diffFileName + diffOutput.pkgName_ + HTMLReportGenerator.reportFileExt + "#" + diffOutput.id_ + "\">";
H A DHTMLFiles.java147 if (!Diff.noDocDiffs) {
148 h_.writeText(" <TD BGCOLOR=\"#EEEEFF\" CLASS=\"NavBarCell1\"> <A HREF=\"" + Diff.diffFileName + "index" + h_.reportFileExt + "\"><FONT CLASS=\"NavBarFont1\"><B>Text Changes</B></FONT></A>&nbsp;</TD>");
H A DOptions.java310 Diff.noDocDiffs = false;
318 Diff.showAllChanges = true;
/external/libvpx/examples/includes/geshi/geshi/
H A Ddiff.php10 * Diff-output language file for GeSHi.
47 'LANG_NAME' => 'Diff',
/external/libvpx/vp8/common/arm/neon/
H A Drecon16x16mb_neon.asm50 vadd.s16 q0, q0, q8 ;add Diff data and Pred data together
97 vadd.s16 q0, q0, q8 ;add Diff data and Pred data together
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1434 int Diff = ShAmt-C1; local
1435 if (Diff < 0) {
1436 Diff = -Diff;
1441 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType());
1498 int Diff = ShAmt-C1; local
1499 if (Diff < 0) {
1500 Diff = -Diff;
1505 TLO.DAG.getConstant(Diff, O
[all...]
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1354 const MCExpr *Diff = local
1360 OutStreamer.EmitValue(Diff, Size, 0/*AddrSpace*/);
1366 OutStreamer.EmitAssignment(SetLabel, Diff);
1385 const MCExpr *Diff = local
1391 OutStreamer.EmitValue(Diff, 4, 0/*AddrSpace*/);
1395 OutStreamer.EmitAssignment(SetLabel, Diff);
/external/libvpx/vp8/common/arm/armv6/
H A Drecon_v6.asm29 ; Loop through the block adding the Pred and Diff together. Clamp and then
/external/llvm/lib/CodeGen/
H A DRegAllocGreedy.cpp1560 float Diff = EstWeight - MaxGap;
1561 if (Diff > BestDiff) {
1563 BestDiff = Hysteresis * Diff;
/external/v8/src/
H A Dplatform-win32.cc298 int64_t Diff(Time* other);
435 int64_t Time::Diff(Time* other) { function in class:v8::internal::Time
525 return localtime.Diff(&rounded_to_second);

Completed in 488 milliseconds

12