Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 55) sorted by relevance

123

/build/soong/cmd/diff_target_files/
Dcompare_test.go48 diff zipDiff
54 diff: zipDiff{nil, nil, nil},
60 diff: zipDiff{nil, []*ZipArtifactFile{x0}, nil},
66 diff: zipDiff{nil, []*ZipArtifactFile{y0}, nil},
72 diff: zipDiff{nil, []*ZipArtifactFile{z0}, nil},
79 diff: zipDiff{nil, nil, []*ZipArtifactFile{x0}},
85 diff: zipDiff{nil, nil, []*ZipArtifactFile{y0}},
91 diff: zipDiff{nil, nil, []*ZipArtifactFile{z0}},
98 diff: zipDiff{[][2]*ZipArtifactFile{{x0, x1}}, nil, nil},
104 diff: zipDiff{[][2]*ZipArtifactFile{{x0, x1}}, []*ZipArtifactFile{y0}, []*ZipArtifactFile{z0}},
[all …]
Dcompare.go46 diff := diffTargetFilesLists(refZipFiles, priZipFiles)
48 return applyAllowLists(diff, allowLists)
104 diff := zipDiff{}
109 diff.modified = append(diff.modified, [2]*ZipArtifactFile{a[i], b[j]})
115 diff.onlyInA = append(diff.onlyInA, a[i])
119 diff.onlyInB = append(diff.onlyInB, b[j])
124 diff.onlyInA = append(diff.onlyInA, a[i])
128 diff.onlyInB = append(diff.onlyInB, b[j])
132 return diff
Ddiff_target_files.go70 diff, err := compareTargetFiles(priZip, refZip, targetFilesPattern, allowLists, *filters)
76 fmt.Print(diff.String())
78 if len(diff.modified) > 0 || len(diff.onlyInA) > 0 || len(diff.onlyInB) > 0 {
Dallow_list.go195 func applyAllowLists(diff zipDiff, allowLists []allowList) (zipDiff, error) {
198 diff.modified, err = filterModifiedPaths(diff.modified, allowLists)
200 return diff, err
202 diff.onlyInA, err = filterNewPaths(diff.onlyInA, allowLists)
204 return diff, err
206 diff.onlyInB, err = filterNewPaths(diff.onlyInB, allowLists)
208 return diff, err
211 return diff, nil
Dallow_list_test.go62 diff zipDiff
74 diff: zipDiff{
86 diff: zipDiff{
96 diff: zipDiff{
106 diff: zipDiff{
116 got, err := applyAllowLists(tt.args.diff, tt.args.allowLists)
/build/bazel/tests/apex/
Dapex_diff_test.bzl41 # Make our own diff to compare against the expected one
48 outs = [name + ".apex1.apex2.diff.txt"],
49 # Expected to generate a diff (and return a failing exit status)
50 cmd_bash = "diff $(SRCS) > $@ || true",
54 file1 = name + ".apex1.apex2.diff.txt",
/build/bazel/rules/
Dstaging_dir_builder_test.sh172 diff ${input_dir}/file1 ${output_dir}/dir1/file1
173 diff ${input_dir}/file2 ${output_dir}/dir2/dir3/file2
174 diff ${input_dir}/file1 ${output_dir}/dir4/one_level_sym
175 diff ${input_dir}/file2 ${output_dir}/dir5/two_level_sym_in_execroot
177 diff ${input_dir}/file2 ${output_dir}/dir7/three_level_sym_in_execroot
/build/bazel/mkcompare/
Dmkdiff_test.go66 if diff := cmp.Diff(got_missing, tt.want_missing); diff != "" {
67 t.Errorf("missing items differ: %s", diff)
69 if diff := cmp.Diff(got_extra, tt.want_extra); diff != "" {
70 t.Errorf("extra items differ: %s", diff)
/build/bazel/mkcompare/cmd/
Dmkcompare.go123 diff := Diff{RefPath: refMkFile.Path, OurPath: ourMkFile.Path}
136 diff.MissingModules = append(diff.MissingModules,
150 diff.ExtraModules = append(diff.ExtraModules,
155 filesAreEqual := len(diff.MissingModules)+len(diff.ExtraModules) == 0
177 diff.DiffModules = append(diff.DiffModules, diffMod{
217 enc.Encode(diff)
/build/make/tools/fs_config/end_to_end_test/
Drun_test.sh12 diff system_fs_config_files result_system_fs_config_files 1>/dev/null && echo 'Success system_fs_co…
24 diff system_fs_config_dirs result_system_fs_config_dirs 1>/dev/null && echo 'Success system_fs_conf…
35 diff vendor_fs_config_files result_vendor_fs_config_files 1>/dev/null && echo 'Success vendor_fs_co…
46 diff vendor_fs_config_dirs result_vendor_fs_config_dirs 1>/dev/null && echo 'Success vendor_fs_conf…
57 diff product_fs_config_files result_product_fs_config_files 1>/dev/null && echo 'Success product_fs…
68 diff product_fs_config_dirs result_product_fs_config_dirs 1>/dev/null && echo 'Success product_fs_c…
/build/make/tools/droiddoc/test/stubs/
Drun.sh32 diff -r $DIR/expected $A_STUBS
34 diff -r $A_STUBS $B_STUBS
/build/bazel/scripts/difftool/diffs/
Dcontext.py19 from diffs.diff import Diff, ExtractInfo
27 def diff(self, left_path: pathlib.Path, right_path: pathlib.Path) -> list[str]: member in ContextDiff
Ddiff.py26 def diff(left_path: pathlib.Path, right_path: pathlib.Path) -> list[str]: member in Diff
Dnm.py20 from diffs.diff import Diff, ExtractInfo
70 def diff(self, left_path: pathlib.Path, right_path: pathlib.Path) -> list[str]: member in NmSymbolDiff
Dbloaty.py20 from diffs.diff import Diff, ExtractInfo
101 def diff(self, left_path: pathlib.Path, right_path: pathlib.Path) -> list[str]: member in BloatyDiff
/build/bazel/rules/partitions/diff/
Dpartition_diff.bzl27 "//build/bazel/rules/partitions/diff:partition_inspector",
32 …cmd = "$(location //build/bazel/rules/partitions/diff:partition_inspector) --debugfs-path=$(locati…
38 "//build/bazel/rules/partitions/diff:partition_inspector",
43 …cmd = "$(location //build/bazel/rules/partitions/diff:partition_inspector) --debugfs-path=$(locati…
/build/make/tools/finalization/
Dfinalize-sdk-rel.sh7 …/soong" --input=../../build/make/tools/finalization/build_soong_java_droidstubs.go.revert_hack.diff
13 …="$top/frameworks/base" --input=../../build/make/tools/finalization/frameworks_base.apply_hack.diff
/build/make/tools/
Dstub_diff_analyzer.py113 diff = list(d.compare(first_file_contents, second_file_contents))
117 while idx < len(diff):
118 line = diff[idx]
128 if (idx < len(diff) - 1 and
129 (next_line_code := diff[idx + 1][:DIFFER_CODE_LEN])
132 line_to_compare = diff[idx + delta]
317 instead of printing only diff lines.")
/build/soong/ui/status/
Dstatus.go271 func (s *Status) updateTotalActions(diff int) {
275 s.counts.TotalActions += diff
333 diff := 0
337 diff = total - d.counts.TotalActions
342 if diff != 0 {
343 d.status.updateTotalActions(diff)
/build/bazel/scripts/difftool/
Dclangcompile.py25 from diffs.diff import ExtractInfo
209 return NmSymbolDiff(_external_tool("nm"), "symbol tables").diff(
224 return ContextDiff(_external_tool("readelf", "-h"), "elf headers").diff(
261 ).diff(left_path, right_path)
264 ).diff(left_path, right_path)
267 ).diff(left_path, right_path)
Daction_diff_notebook.py182 diff = difftool.file_differences( variable
187 for row in diff:
/build/bazel/rules/java/
Dwrapper_test.sh39 diff <(echo "${private_providers}") <(echo "${wrapper_providers}")
/build/make/tools/releasetools/
Dnon_ab_ota.py98 assert all(isinstance(diff, common.BlockDifference)
99 for diff in device_specific_diffs), \
102 for diff in device_specific_diffs:
103 if diff.partition in block_diff_dict:
106 " script.", diff.partition)
107 block_diff_dict[diff.partition] = diff
404 required_cache_sizes = [diff.required_cache for diff in
435 for diff in block_diff_dict.values():
436 diff.WriteVerifyScript(script, touched_blocks_only=True)
/build/soong/jar/
Djar.go43 diff := index(filepathA) - index(filepathB)
44 if diff == 0 {
47 return diff < 0
/build/make/core/
Ddupcheck.sh95 diff -u "${TMP_FILE1}" "${TMP_FILE2}" | sed "1d;2d;3d"; \
102 diff -u "${TMP_FILE1}" "${TMP_FILE2}" | sed "1d;2d;3d"; \

123