Home
last modified time | relevance | path

Searched refs:hunk (Results 1 – 25 of 26) 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/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/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/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/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/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/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/mesa3d/src/gtest/src/
Dgtest.cc1227 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1); in CreateUnifiedDiff() local
1229 hunk.PushLine(' ', left[l_i - i].c_str()); in CreateUnifiedDiff()
1252 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str()); in CreateUnifiedDiff()
1255 hunk.PushLine('+', right[r_i].c_str()); in CreateUnifiedDiff()
1263 if (!hunk.has_edits()) { in CreateUnifiedDiff()
1268 hunk.PrintTo(&ss); in CreateUnifiedDiff()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc1356 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1); in CreateUnifiedDiff() local
1358 hunk.PushLine(' ', left[l_i - i].c_str()); in CreateUnifiedDiff()
1381 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str()); in CreateUnifiedDiff()
1384 hunk.PushLine('+', right[r_i].c_str()); in CreateUnifiedDiff()
1392 if (!hunk.has_edits()) { in CreateUnifiedDiff()
1397 hunk.PrintTo(&ss); in CreateUnifiedDiff()
/external/googletest/googletest/src/
Dgtest.cc1349 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1); in CreateUnifiedDiff() local
1351 hunk.PushLine(' ', left[l_i - i].c_str()); in CreateUnifiedDiff()
1374 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str()); in CreateUnifiedDiff()
1377 hunk.PushLine('+', right[r_i].c_str()); in CreateUnifiedDiff()
1385 if (!hunk.has_edits()) { in CreateUnifiedDiff()
1390 hunk.PrintTo(&ss); in CreateUnifiedDiff()
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c1494 char hunk[8192]; in TestConvertSafeCloneCallback() local
1523 conv2 = ucnv_safeClone(conv1, hunk, &hunkSize, &err); in TestConvertSafeCloneCallback()
/external/libffi/
DChangeLog.libffi171 * src/sh/ffi.c: Apply missing hunk from Alexandre Oliva's patch of
/external/python/cpython2/Modules/_ctypes/libffi/
DChangeLog.libffi171 * src/sh/ffi.c: Apply missing hunk from Alexandre Oliva's patch of
DChangeLog787 Remove stray hunk that shouldn't have been included in this patch.
4129 * src/sh/ffi.c: Apply missing hunk from Alexandre Oliva's patch of
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt9268 "hunk",
21833 "hunk",
/external/jline/src/src/test/resources/jline/example/
Denglish.gz1Aarhus 2Aaron 3Ababa 4aback 5abaft 6abandon 7abandoned 8abandoning 9abandonment 10 ...
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dospd.txt.gz
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt94249 hunk %21924 həŋk

12