Home
last modified time | relevance | path

Searched refs:hunk (Results 1 – 25 of 31) sorted by relevance

12

/external/jdiff/src/jdiff/
DDiff.java122 DiffMyers.change hunk = script; in mergeDiffs()
125 for (; hunk != null; hunk = hunk.link) { in mergeDiffs()
126 int deletes = hunk.deleted; in mergeDiffs()
127 int inserts = hunk.inserted; in mergeDiffs()
131 lasthunk = hunk; in mergeDiffs()
135 int first0 = hunk.line0; // Index of first deleted word in mergeDiffs()
136 int first1 = hunk.line1; // Index of first inserted word in mergeDiffs()
145 lasthunk.link = hunk.link; in mergeDiffs()
166 DiffMyers.change hunk = script; in addDiffs() local
181 for (; hunk != null; hunk = hunk.link) { in addDiffs()
[all …]
/external/libvpx/libvpx/tools/
Ddiff.py81 hunk = None
87 if hunk is None:
118 hunk = DiffHunk(header, a, b, start_a, len_a, start_b, len_b)
121 hunk.Append(line)
125 if hunk.Complete():
126 yield hunk
127 hunk = None
130 assert hunk is None
Dintersect-diffs.py28 for hunk in hunks:
29 this_header = hunk.header[0:2]
31 r.extend(hunk.header)
34 r.extend(hunk.header[2])
35 r.extend(hunk.lines)
Dlint-hunks.py98 for hunk in diff.ParseDiffHunks(StringIO.StringIO(stdout)):
99 filename = hunk.right.filename[2:]
102 file_affected_line_map[filename].update(hunk.right.delta_line_nums)
/external/libaom/libaom/tools/
Ddiff.py83 hunk = None
89 if hunk is None:
120 hunk = DiffHunk(header, a, b, start_a, len_a, start_b, len_b)
123 hunk.Append(line)
127 if hunk.Complete():
128 yield hunk
129 hunk = None
132 assert hunk is None
Dintersect-diffs.py30 for hunk in hunks:
31 this_header = hunk.header[0:2]
33 r.extend(hunk.header)
36 r.extend(hunk.header[2])
37 r.extend(hunk.lines)
Dlint-hunks.py100 for hunk in diff.ParseDiffHunks(StringIO.StringIO(stdout)):
101 filename = hunk.right.filename[2:]
104 file_affected_line_map[filename].update(hunk.right.delta_line_nums)
/external/skqp/tools/bookmaker/
DparserCommon.cpp89 const char* hunk = p.c_str(); in parseFile() local
90 if (!SkStrEndsWith(hunk, suffix)) { in parseFile()
93 if (!this->parseFromFile(hunk)) { in parseFile()
94 SkDebugf("failed to parse %s\n", hunk); in parseFile()
110 const char* hunk = p.c_str(); in parseStatus() local
111 if (!this->parseFromFile(hunk)) { in parseStatus()
112 SkDebugf("failed to parse %s\n", hunk); in parseStatus()
DmdOut.cpp658 const char* hunk = p.c_str(); in buildStatus() local
660 if (!this->buildRefFromFile(hunk, outDir)) { in buildStatus()
661 SkDebugf("failed to parse %s\n", hunk); in buildStatus()
DincludeParser.cpp3493 const char* hunk = p.c_str(); in RemoveFile() local
3494 if (!SkStrEndsWith(hunk, ".h")) { in RemoveFile()
3497 IncludeParser::RemoveOneFile(docs, hunk); in RemoveFile()
/external/skia/tools/bookmaker/
DparserCommon.cpp89 const char* hunk = p.c_str(); in parseFile() local
90 if (!SkStrEndsWith(hunk, suffix)) { in parseFile()
93 if (!this->parseFromFile(hunk)) { in parseFile()
94 SkDebugf("failed to parse %s\n", hunk); in parseFile()
110 const char* hunk = p.c_str(); in parseStatus() local
111 if (!this->parseFromFile(hunk)) { in parseStatus()
112 SkDebugf("failed to parse %s\n", hunk); in parseStatus()
DmdOut.cpp659 const char* hunk = p.c_str(); in buildStatus() local
661 if (!this->buildRefFromFile(hunk, outDir)) { in buildStatus()
662 SkDebugf("failed to parse %s\n", hunk); in buildStatus()
DincludeParser.cpp3494 const char* hunk = p.c_str(); in RemoveFile() local
3495 if (!SkStrEndsWith(hunk, ".h")) { in RemoveFile()
3498 IncludeParser::RemoveOneFile(docs, hunk); in RemoveFile()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/Reviewing/
Dfind_interesting_reviews.py492 for hunk in change.hunks:
493 for start_line, end_line in hunk.actual_lines_changed_offset:
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc1221 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1); in CreateUnifiedDiff() local
1223 hunk.PushLine(' ', left[l_i - i].c_str()); in CreateUnifiedDiff()
1245 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str()); in CreateUnifiedDiff()
1248 hunk.PushLine('+', right[r_i].c_str()); in CreateUnifiedDiff()
1256 if (!hunk.has_edits()) { in CreateUnifiedDiff()
1261 hunk.PrintTo(&ss); in CreateUnifiedDiff()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest.cc1220 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1); in CreateUnifiedDiff() local
1222 hunk.PushLine(' ', left[l_i - i].c_str()); in CreateUnifiedDiff()
1244 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str()); in CreateUnifiedDiff()
1247 hunk.PushLine('+', right[r_i].c_str()); in CreateUnifiedDiff()
1255 if (!hunk.has_edits()) { in CreateUnifiedDiff()
1260 hunk.PrintTo(&ss); in CreateUnifiedDiff()
/external/mesa3d/src/gtest/src/
Dgtest.cc1220 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1); in CreateUnifiedDiff() local
1222 hunk.PushLine(' ', left[l_i - i].c_str()); in CreateUnifiedDiff()
1244 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str()); in CreateUnifiedDiff()
1247 hunk.PushLine('+', right[r_i].c_str()); in CreateUnifiedDiff()
1255 if (!hunk.has_edits()) { in CreateUnifiedDiff()
1260 hunk.PrintTo(&ss); in CreateUnifiedDiff()
/external/curl/m4/
Dxc-am-iface.m4123 # Build Makefile specific patch hunk.
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc1264 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1); in CreateUnifiedDiff() local
1266 hunk.PushLine(' ', left[l_i - i].c_str()); in CreateUnifiedDiff()
1288 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str()); in CreateUnifiedDiff()
1291 hunk.PushLine('+', right[r_i].c_str()); in CreateUnifiedDiff()
1299 if (!hunk.has_edits()) { in CreateUnifiedDiff()
1304 hunk.PrintTo(&ss); in CreateUnifiedDiff()
/external/guava/guava/lib/
Djdiff.jarMETA-INF/ META-INF/MANIFEST.MF jdiff/ jdiff/API.class API ...
/external/guice/lib/build/jdiff/
Djdiff.jarMETA-INF/ META-INF/MANIFEST.MF jdiff/ jdiff/API.class API ...
/external/googletest/googletest/src/
Dgtest.cc1241 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1); in CreateUnifiedDiff() local
1243 hunk.PushLine(' ', left[l_i - i].c_str()); in CreateUnifiedDiff()
1265 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str()); in CreateUnifiedDiff()
1268 hunk.PushLine('+', right[r_i].c_str()); in CreateUnifiedDiff()
1276 if (!hunk.has_edits()) { in CreateUnifiedDiff()
1281 hunk.PrintTo(&ss); in CreateUnifiedDiff()
/external/epid-sdk/ext/gtest/
Dgtest-all.cc2668 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1); in CreateUnifiedDiff() local
2670 hunk.PushLine(' ', left[l_i - i].c_str()); in CreateUnifiedDiff()
2692 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str()); in CreateUnifiedDiff()
2695 hunk.PushLine('+', right[r_i].c_str()); in CreateUnifiedDiff()
2703 if (!hunk.has_edits()) { in CreateUnifiedDiff()
2708 hunk.PrintTo(&ss); in CreateUnifiedDiff()
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c1482 char hunk[8192]; in TestConvertSafeCloneCallback() local
1511 conv2 = ucnv_safeClone(conv1, hunk, &hunkSize, &err); in TestConvertSafeCloneCallback()
/external/python/cpython2/Modules/_ctypes/libffi/
DChangeLog.libffi171 * src/sh/ffi.c: Apply missing hunk from Alexandre Oliva's patch of

12