Home
last modified time | relevance | path

Searched refs:conditions (Results 1 – 25 of 65) sorted by relevance

123

/build/make/tools/compliance/cmd/listshare/
Dlistshare_test.go40 conditions []string
116 conditions: []string{"reciprocal"},
120 conditions: []string{
133 conditions: []string{"reciprocal"},
137 conditions: []string{
150 conditions: []string{"reciprocal"},
161 conditions: []string{
167 conditions: []string{
186 conditions: []string{"restricted"},
190 conditions: []string{"restricted_if_statically_linked"},
[all …]
/build/soong/licenses/
DAndroid.bp36 conditions: [
45 conditions: ["permissive"],
51 conditions: ["by_exception_only"],
57 conditions: ["by_exception_only"],
63 conditions: ["by_exception_only"],
69 conditions: ["notice"],
75 conditions: ["notice"],
81 conditions: [
90 conditions: [
99 conditions: [
[all …]
DLICENSE10 "License" shall mean the terms and conditions for use, reproduction,
67 2. Grant of Copyright License. Subject to the terms and conditions of
74 3. Grant of Patent License. Subject to the terms and conditions of
93 meet the following conditions:
125 may provide additional or different license terms and conditions
129 the conditions stated in this License.
133 by You to the Licensor shall be under the terms and conditions of
134 this License, without any additional terms or conditions.
148 implied, including, without limitation, any warranties or conditions
/build/make/tools/compliance/
Dconditionset.go30 func NewLicenseConditionSet(conditions ...LicenseCondition) LicenseConditionSet {
32 for _, lc := range conditions {
40 func (cs LicenseConditionSet) Plus(conditions ...LicenseCondition) LicenseConditionSet {
42 for _, lc := range conditions {
59 func (cs LicenseConditionSet) MatchingAny(conditions ...LicenseCondition) LicenseConditionSet {
61 for _, lc := range conditions {
78 func (cs LicenseConditionSet) HasAny(conditions ...LicenseCondition) bool {
79 for _, lc := range conditions {
99 func (cs LicenseConditionSet) HasAll(conditions ...LicenseCondition) bool {
100 for _, lc := range conditions {
[all …]
Dresolution.go107 func (rl ResolutionList) Matching(conditions LicenseConditionSet) ResolutionList {
108 result := make(ResolutionList, 0, rl.CountMatching(conditions))
110 if r.Resolves().MatchesAnySet(conditions) {
111 result = append(result, Resolution{r.attachesTo, r.actsOn, r.cs.MatchingAnySet(conditions)})
119 func (rl ResolutionList) CountMatching(conditions LicenseConditionSet) int {
122 if r.Resolves().MatchesAnySet(conditions) {
Dconditionset_test.go25 conditions []string
33 conditions: []string{},
44 conditions: []string{},
55 conditions: []string{},
66 conditions: []string{"notice"},
76 conditions: []string{"notice"},
87 conditions: []string{},
98conditions: []string{"unencumbered", "permissive", "notice", "reciprocal", "restricted", "propriet…
126 conditions: []string{
159conditions: []string{"unencumbered", "permissive", "notice", "reciprocal", "restricted", "propriet…
[all …]
Dpolicy_walk.go139 func WalkResolutionsForCondition(lg *LicenseGraph, conditions LicenseConditionSet) ResolutionSet {
150 …WalkTopDown(ApplicableConditionsContext{conditions}, lg, func(lg *LicenseGraph, tn *TargetNode, pa…
151 universe := conditions
249 func WalkActionsForCondition(lg *LicenseGraph, conditions LicenseConditionSet) ActionSet {
256 if cs := conditions.Intersection(tn.resolution); !cs.IsEmpty() {
/build/make/tools/compliance/cmd/dumpresolutions/
Ddumpresolutions_test.go90 conditions: []compliance.LicenseCondition{compliance.NoticeCondition},
113 conditions: compliance.ImpliesShared.AsList(),
123 conditions: compliance.ImpliesPrivate.AsList(),
133 conditions: append(compliance.ImpliesPrivate.AsList(), compliance.ImpliesShared.AsList()...),
248 conditions: []compliance.LicenseCondition{compliance.NoticeCondition},
271 conditions: compliance.ImpliesShared.AsList(),
281 conditions: compliance.ImpliesPrivate.AsList(),
291 conditions: append(compliance.ImpliesShared.AsList(), compliance.ImpliesPrivate.AsList()...),
406 conditions: []compliance.LicenseCondition{compliance.NoticeCondition},
424 conditions: compliance.ImpliesShared.AsList(),
[all …]
Ddumpresolutions.go38 conditions []compliance.LicenseCondition member
101 If one or more '-c condition' conditions are given, outputs the
102 resolution for the union of the conditions. Otherwise, outputs the
103 resolution for all conditions.
106 and Origin have colon-separated license conditions appended:
114conditions := newMultiString(flags, "c", "License condition to resolve. (may be given multiple tim…
157 lcs := make([]compliance.LicenseCondition, 0, len(*conditions))
158 for _, name := range *conditions {
162 conditions: lcs,
202 if len(ctx.conditions) > 0 {
[all …]
/build/soong/android/
Dlicense_test.go47 conditions: ["notice"],
98 conditions: ["by_exception_only"],
104 conditions: ["by_exception_only"],
142 conditions: ["by_exception_only"],
172 conditions: ["notice"],
177 conditions: ["by_exception_only"],
Dlicense_kind_test.go33 conditions: ["notice"],
51 conditions: ["by_exception_only"],
71 conditions: ["notice"],
76 conditions: ["by_exception_only"],
Dlicenses_test.go47 conditions: ["shownotice"],
107 conditions: ["notice"],
131 conditions: ["notice"],
735 conditions, ok := actualConditions[moduleName]
737 conditions = []string{}
739 if !compareUnorderedStringArrays(expectedConditions, conditions) {
740 …ditions mismatch for module %q: expected %q, found %q", moduleName, expectedConditions, conditions)
/build/blueprint/proptools/
Dconfigurable.go385 conditions []ConfigurableCondition
392 func NewConfigurable[T ConfigurableElements](conditions []ConfigurableCondition, cases []Configurab…
394 if len(c.patterns) != len(conditions) {
395 …erns as the configurable has conditions. Expected: %d, found: %d", len(conditions), len(c.patterns…
399 conditions = slices.Clone(conditions)
404 conditions: conditions,
466 if len(c.conditions) != len(case_.patterns) {
467 …rns as conditions. conditions: %d, len(cases[%d].patterns): %d", len(c.conditions), i, len(case_.p…
471 if len(c.conditions) == 0 {
481 values := make([]ConfigurableValue, len(c.conditions))
[all …]
/build/bazel/rules/cc/
Dstl.bzl38 "//conditions:default": [],
82 … "//conditions:default": ["//external/libcxx:libc++"], # libc++ is used by host variants
90 "//conditions:default": [],
97 "//conditions:default": [],
106 "//conditions:default": [],
116 …"//conditions:default": ["//external/libcxx:libc++_static"], # libc++_static is used by host vari…
123 "//conditions:default": [],
134 "//conditions:default": ["//external/libcxx:libc++"], # libc++ is used by host variants
143 "//conditions:default": [],
158 …"//conditions:default": ["//external/libcxx:libc++_static"], # libc++_static is used by host vari…
[all …]
/build/bazel/product_config/config_settings/
Dsoong_config_variable_config_settings.bzl58 # "//conditions:default": [],
64 # "//conditions:default": [],
70 "//conditions:default": "//build/bazel/utils:always_on_config_setting",
106 "//conditions:default": "//build/bazel/utils:always_on_config_setting",
156 # "//conditions:default": [],
159 # "//conditions:default": [],
163 # "//conditions:default": [],
DBUILD.bazel53 # attribute value for the same conditions product_variable.<var>, for most
66 # "//conditions:default": [],
97 "//conditions:default": "//build/bazel/utils:always_on_config_setting",
130 # "//conditions:default": [],
/build/soong/third_party/zip/
DLICENSE5 modification, are permitted provided that the following conditions are
9 notice, this list of conditions and the following disclaimer.
11 copyright notice, this list of conditions and the following
/build/soong/finder/fs/
DLICENSE5 modification, are permitted provided that the following conditions are
9 notice, this list of conditions and the following disclaimer.
11 copyright notice, this list of conditions and the following
/build/make/core/
DWINPTHREADS_COPYING8 Software is furnished to do so, subject to the following conditions:
35 * are permitted provided that the following conditions are met:
39 * this list of conditions and the following disclaimer.
41 * this list of conditions and the following disclaimer in the documentation
/build/bazel/examples/rust/
DBUILD.bazel10 "//conditions:default": [],
/build/make/tools/compliance/cmd/dumpgraph/
Ddumpgraph.go199 conditions := target.LicenseConditions().Names()
200 sort.Strings(conditions)
201 if len(conditions) > 0 {
202 tOut += sep + strings.Join(conditions, sep)
/build/bazel/toolchains/clang/host/linux-x86/
Dcc_toolchain_features_memtag_test.bzl69 "//conditions:default": [],
103 "//conditions:default": [],
139 "//conditions:default": [],
/build/make/tools/compliance/cmd/testdata/
DREADME.md22 licenses, and each subsequent directory introduces more restrictive conditions:
24 * `notice/` starts with `firstparty/` adds third-party notice conditions
25 * `reciprocal/` starts with `notice/` and adds some reciprocal conditions
26 * `restricted/` starts with `reciprocal/` and adds some restricted conditions
27 * `proprietary/` starts with `restricted/` and add some privacy conditions
192 ### notice/ testdata introduces third-party notice conditions
226 ### reciprocal/ testdata introduces third-party reciprocal sharing conditions
260 ### restricted/ testdata introduces restricted source sharing conditions
294 ### proprietary/ testdata introduces privacy conditions
/build/blueprint/
DLICENSE10 "License" shall mean the terms and conditions for use, reproduction,
67 2. Grant of Copyright License. Subject to the terms and conditions of
74 3. Grant of Patent License. Subject to the terms and conditions of
93 meet the following conditions:
125 may provide additional or different license terms and conditions
129 the conditions stated in this License.
133 by You to the Licensor shall be under the terms and conditions of
134 this License, without any additional terms or conditions.
148 implied, including, without limitation, any warranties or conditions
/build/soong/compliance/build_license_metadata/
Dbuild_license_metadata.go72 conditions := newMultiString(flags, "c", "license conditions")
93 metadata.LicenseConditions = *conditions

123