Home
last modified time | relevance | path

Searched full:packageverificationcode (Results 1 – 25 of 60) sorted by relevance

123

/aosp_15_r20/external/spdx-tools/licensediff/
H A Dlicensediff_test.go130 PackageVerificationCode: common.PackageVerificationCode{Value: "abc123abc123"},
152 PackageVerificationCode: common.PackageVerificationCode{Value: "def456def456"},
369 PackageVerificationCode: common.PackageVerificationCode{Value: "abc123abc123"},
391 PackageVerificationCode: common.PackageVerificationCode{Value: "def456def456"},
652 PackageVerificationCode: common.PackageVerificationCode{Value: "abc123abc123"},
674 PackageVerificationCode: common.PackageVerificationCode{Value: "def456def456"},
923 PackageVerificationCode: common.PackageVerificationCode{Value: "abc123abc123"},
945 PackageVerificationCode: common.PackageVerificationCode{Value: "def456def456"},
1206 PackageVerificationCode: &common.PackageVerificationCode{Value: "abc123abc123"},
1228 PackageVerificationCode: &common.PackageVerificationCode{Value: "def456def456"},
[all …]
/aosp_15_r20/external/spdx-tools/utils/
H A Dverification.go21 func GetVerificationCode2_1(files []*v2_1.File, excludeFile string) (common.PackageVerificationCode
26 return common.PackageVerificationCode{}, fmt.Errorf("got nil file for identifier %v", i)
49 code := common.PackageVerificationCode{
60 func GetVerificationCode2_2(files []*v2_2.File, excludeFile string) (common.PackageVerificationCode
65 return common.PackageVerificationCode{}, fmt.Errorf("got nil file for identifier %v", i)
88 code := common.PackageVerificationCode{
99 func GetVerificationCode2_3(files []*v2_3.File, excludeFile string) (common.PackageVerificationCode
104 return common.PackageVerificationCode{}, fmt.Errorf("got nil file for identifier %v", i)
127 code := common.PackageVerificationCode{
H A Dverification_test.go45 wantCode := common.PackageVerificationCode{Value: "ac924b375119c81c1f08c3e2722044bfbbdcd3dc"}
86 wantCode := common.PackageVerificationCode{Value: "17fab1bd18fe5c13b5d3983f1c17e5f88b8ff266"}
174 wantCode := common.PackageVerificationCode{Value: "ac924b375119c81c1f08c3e2722044bfbbdcd3dc"}
240 wantCode := common.PackageVerificationCode{Value: "17fab1bd18fe5c13b5d3983f1c17e5f88b8ff266"}
338 wantCode := common.PackageVerificationCode{Value: "ac924b375119c81c1f08c3e2722044bfbbdcd3dc"}
404 wantCode := common.PackageVerificationCode{Value: "17fab1bd18fe5c13b5d3983f1c17e5f88b8ff266"}
/aosp_15_r20/external/spdx-tools/tvsaver/saver2v3/
H A Dsave_package.go64 …if pkg.PackageVerificationCode != nil && pkg.PackageVerificationCode.Value != "" && pkg.FilesAnaly…
65 if len(pkg.PackageVerificationCode.ExcludedFiles) == 0 {
66 fmt.Fprintf(w, "PackageVerificationCode: %s\n", pkg.PackageVerificationCode.Value)
68 …mt.Fprintf(w, "PackageVerificationCode: %s (excludes: %s)\n", pkg.PackageVerificationCode.Value, s…
H A Dsave_package_test.go62 PackageVerificationCode: &common.PackageVerificationCode{
120 PackageVerificationCode: 0123456789abcdef0123456789abcdef01234567 (excludes: p1-0.1.0.spdx)
177PackageVerificationCode: &common.PackageVerificationCode{Value: "0123456789abcdef0123456789abcde…
217 PackageVerificationCode: 0123456789abcdef0123456789abcdef01234567
270PackageVerificationCode: &common.PackageVerificationCode{Value: "0123456789abcdef0123456789abcdef0…
/aosp_15_r20/external/spdx-tools/tvsaver/saver2v1/
H A Dsave_package.go52 if pkg.PackageVerificationCode.Value != "" && pkg.FilesAnalyzed == true {
53 if len(pkg.PackageVerificationCode.ExcludedFiles) == 0 {
54 fmt.Fprintf(w, "PackageVerificationCode: %s\n", pkg.PackageVerificationCode.Value)
56 …mt.Fprintf(w, "PackageVerificationCode: %s (excludes: %s)\n", pkg.PackageVerificationCode.Value, s…
H A Dsave_package_test.go54 PackageVerificationCode: common.PackageVerificationCode{
102 PackageVerificationCode: 0123456789abcdef0123456789abcdef01234567 (excludes: p1-0.1.0.spdx)
157PackageVerificationCode: common.PackageVerificationCode{Value: "0123456789abcdef0123456789abcdef…
196 PackageVerificationCode: 0123456789abcdef0123456789abcdef01234567
247PackageVerificationCode: common.PackageVerificationCode{Value: "0123456789abcdef0123456789abcdef01…
/aosp_15_r20/external/spdx-tools/tvsaver/saver2v2/
H A Dsave_package.go52 if pkg.PackageVerificationCode.Value != "" && pkg.FilesAnalyzed == true {
53 if len(pkg.PackageVerificationCode.ExcludedFiles) == 0 {
54 fmt.Fprintf(w, "PackageVerificationCode: %s\n", pkg.PackageVerificationCode.Value)
56 …mt.Fprintf(w, "PackageVerificationCode: %s (excludes: %s)\n", pkg.PackageVerificationCode.Value, s…
H A Dsave_package_test.go62 PackageVerificationCode: common.PackageVerificationCode{
112 PackageVerificationCode: 0123456789abcdef0123456789abcdef01234567 (excludes: p1-0.1.0.spdx)
169PackageVerificationCode: common.PackageVerificationCode{Value: "0123456789abcdef0123456789abcdef…
209 PackageVerificationCode: 0123456789abcdef0123456789abcdef01234567
262PackageVerificationCode: common.PackageVerificationCode{Value: "0123456789abcdef0123456789abcdef01…
/aosp_15_r20/external/spdx-tools/rdfloader/parser2v2/
H A Dparse_package_test.go152 <spdx.PackageVerificationCode>
156 </spdx.PackageVerificationCode>
167 <spdx.PackageVerificationCode>
170 </spdx.PackageVerificationCode>
179 if pkg.PackageVerificationCode.Value != expectedValue {
180 t.Errorf("expected %v, got %v", expectedValue, pkg.PackageVerificationCode)
183 if pkg.PackageVerificationCode.ExcludedFiles[0] != expectedExcludedFile {
184 t.Errorf("expected %v, got %v", expectedExcludedFile, pkg.PackageVerificationCode.ExcludedFiles)
506 <spdx:packageVerificationCode>
507 <spdx.PackageVerificationCode>
[all …]
/aosp_15_r20/external/spdx-tools/rdfloader/parser2v3/
H A Dparse_package_test.go152 <spdx.PackageVerificationCode>
156 </spdx.PackageVerificationCode>
167 <spdx.PackageVerificationCode>
170 </spdx.PackageVerificationCode>
179 if pkg.PackageVerificationCode.Value != expectedValue {
180 t.Errorf("expected %v, got %v", expectedValue, pkg.PackageVerificationCode)
183 if pkg.PackageVerificationCode.ExcludedFiles[0] != expectedExcludedFile {
184 t.Errorf("expected %v, got %v", expectedExcludedFile, pkg.PackageVerificationCode.ExcludedFiles)
526 <spdx:packageVerificationCode>
527 <spdx.PackageVerificationCode>
[all …]
H A Dparse_package.go234 if pkg.PackageVerificationCode == nil {
235 pkg.PackageVerificationCode = &common.PackageVerificationCode{}
241 pkg.PackageVerificationCode.Value = subTriple.Object.ID
244 …pkg.PackageVerificationCode.ExcludedFiles = append(pkg.PackageVerificationCode.ExcludedFiles, subT…
/aosp_15_r20/external/spdx-tools/tvloader/parser2v2/
H A Dparse_package_test.go699 err := parser.parsePairFromPackage2_2("PackageVerificationCode", fullCodeValue)
703 if parser.pkg.PackageVerificationCode.Value != code {
704 t.Errorf("got %v for PackageVerificationCode", parser.pkg.PackageVerificationCode)
706 …if len(parser.pkg.PackageVerificationCode.ExcludedFiles) != 1 || parser.pkg.PackageVerificationCod…
707 …t.Errorf("got %v for PackageVerificationCodeExcludedFile", parser.pkg.PackageVerificationCode.Excl…
722 err := parser.parsePairFromPackage2_2("PackageVerificationCode", code)
726 if parser.pkg.PackageVerificationCode.Value != code {
727 t.Errorf("got %v for PackageVerificationCode", parser.pkg.PackageVerificationCode)
729 if len(parser.pkg.PackageVerificationCode.ExcludedFiles) != 0 {
730 …t.Errorf("got %v for PackageVerificationCodeExcludedFile", parser.pkg.PackageVerificationCode.Excl…
H A Dparse_package.go103 case "PackageVerificationCode":
104 parser.pkg.PackageVerificationCode = extractCodeAndExcludes(value)
200 func extractCodeAndExcludes(value string) common.PackageVerificationCode {
206 return common.PackageVerificationCode{Value: value, ExcludedFiles: []string{}}
214 return common.PackageVerificationCode{Value: code, ExcludedFiles: []string{fileName}}
/aosp_15_r20/external/spdx-tools/tvloader/parser2v3/
H A Dparse_package_test.go700 err := parser.parsePairFromPackage2_3("PackageVerificationCode", fullCodeValue)
704 if parser.pkg.PackageVerificationCode.Value != code {
705 t.Errorf("got %v for PackageVerificationCode", parser.pkg.PackageVerificationCode)
707 …if len(parser.pkg.PackageVerificationCode.ExcludedFiles) != 1 || parser.pkg.PackageVerificationCod…
708 …t.Errorf("got %v for PackageVerificationCodeExcludedFile", parser.pkg.PackageVerificationCode.Excl…
723 err := parser.parsePairFromPackage2_3("PackageVerificationCode", code)
727 if parser.pkg.PackageVerificationCode.Value != code {
728 t.Errorf("got %v for PackageVerificationCode", parser.pkg.PackageVerificationCode)
730 if len(parser.pkg.PackageVerificationCode.ExcludedFiles) != 0 {
731 …t.Errorf("got %v for PackageVerificationCodeExcludedFile", parser.pkg.PackageVerificationCode.Excl…
H A Dparse_package.go103 case "PackageVerificationCode":
104 parser.pkg.PackageVerificationCode = extractCodeAndExcludes(value)
216 func extractCodeAndExcludes(value string) *common.PackageVerificationCode {
222 return &common.PackageVerificationCode{Value: value, ExcludedFiles: []string{}}
230 return &common.PackageVerificationCode{Value: code, ExcludedFiles: []string{fileName}}
/aosp_15_r20/external/spdx-tools/tvloader/parser2v1/
H A Dparse_package_test.go678 err := parser.parsePairFromPackage2_1("PackageVerificationCode", fullCodeValue)
682 if parser.pkg.PackageVerificationCode.Value != code {
683 t.Errorf("got %v for PackageVerificationCode", parser.pkg.PackageVerificationCode)
685 …if len(parser.pkg.PackageVerificationCode.ExcludedFiles) != 1 || parser.pkg.PackageVerificationCod…
686 …t.Errorf("got %v for PackageVerificationCodeExcludedFile", parser.pkg.PackageVerificationCode.Excl…
701 err := parser.parsePairFromPackage2_1("PackageVerificationCode", code)
705 if parser.pkg.PackageVerificationCode.Value != code {
706 t.Errorf("got %v for PackageVerificationCode", parser.pkg.PackageVerificationCode)
708 if len(parser.pkg.PackageVerificationCode.ExcludedFiles) != 0 {
709 …t.Errorf("got %v for PackageVerificationCodeExcludedFile", parser.pkg.PackageVerificationCode.Excl…
H A Dparse_package.go99 case "PackageVerificationCode":
100 parser.pkg.PackageVerificationCode = extractCodeAndExcludes(value)
186 func extractCodeAndExcludes(value string) common.PackageVerificationCode {
192 return common.PackageVerificationCode{Value: value, ExcludedFiles: []string{}}
200 return common.PackageVerificationCode{Value: code, ExcludedFiles: []string{fileName}}
/aosp_15_r20/build/soong/tests/
H A Dsbom_test.sh194 if grep -q 'PackageVerificationCode' <<<"$line"
206 done <<< "$(grep -E 'PackageVerificationCode|FileChecksum' $sbom_file)"
210 …actual_package_verification_code=$(grep PackageVerificationCode $sbom_file | sed 's/PackageVerific…
/aosp_15_r20/external/spdx-tools/spdx/v2_1/
H A Dpackage.go46 PackageVerificationCode common.PackageVerificationCode `json:"packageVerificationCode"` member
/aosp_15_r20/external/spdx-tools/spdx/v2_2/
H A Dpackage.go51 PackageVerificationCode common.PackageVerificationCode `json:"packageVerificationCode"` member
/aosp_15_r20/external/spdx-tools/spdx/v2_3/
H A Dpackage.go52 PackageVerificationCode *common.PackageVerificationCode `json:"packageVerificationCode,omitempty"` member
/aosp_15_r20/external/spdx-tools/builder/builder2v2/
H A Dbuild_package_test.go16 …wantVerificationCode := common.PackageVerificationCode{Value: "fc9ac4a370af0a471c2e52af66d6b4cf4e2…
41 if pkg.PackageVerificationCode.Value != wantVerificationCode.Value {
42 t.Errorf("expected %v, got %v", wantVerificationCode, pkg.PackageVerificationCode)
/aosp_15_r20/external/spdx-tools/builder/builder2v3/
H A Dbuild_package_test.go16 …wantVerificationCode := common.PackageVerificationCode{Value: "fc9ac4a370af0a471c2e52af66d6b4cf4e2…
41 if pkg.PackageVerificationCode.Value != wantVerificationCode.Value {
42 t.Errorf("expected %v, got %v", wantVerificationCode, pkg.PackageVerificationCode)
/aosp_15_r20/external/spdx-tools/builder/builder2v1/
H A Dbuild_package_test.go16 …wantVerificationCode := common.PackageVerificationCode{Value: "fc9ac4a370af0a471c2e52af66d6b4cf4e2…
41 if pkg.PackageVerificationCode.Value != wantVerificationCode.Value {
42 t.Errorf("expected %v, got %v", wantVerificationCode, pkg.PackageVerificationCode)

123