Searched refs:LicenseConditionSet (Results 1 – 15 of 15) sorted by relevance
/build/make/tools/compliance/ |
D | conditionset.go | 23 type LicenseConditionSet LicenseCondition type 26 const AllLicenseConditions = LicenseConditionSet(LicenseConditionMask) 30 func NewLicenseConditionSet(conditions ...LicenseCondition) LicenseConditionSet { 31 cs := LicenseConditionSet(0x00) 33 cs |= LicenseConditionSet(lc) 40 func (cs LicenseConditionSet) Plus(conditions ...LicenseCondition) LicenseConditionSet { 43 result |= LicenseConditionSet(lc) 50 func (cs LicenseConditionSet) Union(other ...LicenseConditionSet) LicenseConditionSet { argument 59 func (cs LicenseConditionSet) MatchingAny(conditions ...LicenseCondition) LicenseConditionSet { 60 result := LicenseConditionSet(0x00) [all …]
|
D | policy_policy.go | 59 ImpliesUnencumbered = LicenseConditionSet(UnencumberedCondition) 62 ImpliesPermissive = LicenseConditionSet(PermissiveCondition) 65 …ImpliesNotice = LicenseConditionSet(UnencumberedCondition | PermissiveCondition | NoticeCondition … 69 ImpliesReciprocal = LicenseConditionSet(ReciprocalCondition) 72 ImpliesRestricted = LicenseConditionSet(RestrictedCondition | WeaklyRestrictedCondition) 75 ImpliesProprietary = LicenseConditionSet(ProprietaryCondition) 78 ImpliesByExceptionOnly = LicenseConditionSet(ProprietaryCondition | ByExceptionOnlyCondition) 81 ImpliesPrivate = LicenseConditionSet(ProprietaryCondition) 84 …ImpliesShared = LicenseConditionSet(ReciprocalCondition | RestrictedCondition | WeaklyRestrictedCo… 117 func LicenseConditionSetFromNames(names ...string) LicenseConditionSet { [all …]
|
D | policy_resolve.go | 20 …AllResolutions = TraceConditions(func(tn *TargetNode) LicenseConditionSet { return tn.licenseCondi… 25 type TraceConditions func(tn *TargetNode) LicenseConditionSet 52 var walk func(target *TargetNode, treatAsAggregate bool) LicenseConditionSet 54 walk = func(target *TargetNode, treatAsAggregate bool) LicenseConditionSet { 55 priorWalkResults := func() (LicenseConditionSet, bool) { 124 var walk func(fnode *TargetNode, cs LicenseConditionSet, treatAsAggregate bool) 126 walk = func(fnode *TargetNode, cs LicenseConditionSet, treatAsAggregate bool) {
|
D | resolution.go | 35 cs LicenseConditionSet 51 func (r Resolution) Resolves() LicenseConditionSet { 97 func (rl ResolutionList) AllConditions() LicenseConditionSet { 107 func (rl ResolutionList) Matching(conditions LicenseConditionSet) ResolutionList { argument 119 func (rl ResolutionList) CountMatching(conditions LicenseConditionSet) int { argument
|
D | policy_walk.go | 35 universe LicenseConditionSet 42 universe = path[len(path)-1].ctx.(LicenseConditionSet) 134 cs LicenseConditionSet 139 func WalkResolutionsForCondition(lg *LicenseGraph, conditions LicenseConditionSet) ResolutionSet { argument 153 universe = path[len(path)-1].ctx.(LicenseConditionSet) 249 func WalkActionsForCondition(lg *LicenseGraph, conditions LicenseConditionSet) ActionSet { argument
|
D | conditionset_test.go | 286 populate := func() LicenseConditionSet { 296 populateSet := func() LicenseConditionSet { 306 populatePlusSet := func() LicenseConditionSet { 316 populateMinusSet := func() LicenseConditionSet { 326 checkMatching := func(cs LicenseConditionSet, t *testing.T) { 367 checkMatchingSet := func(cs LicenseConditionSet, t *testing.T) { 409 checkExpected := func(actual LicenseConditionSet, t *testing.T) bool { 509 checkExpectedSet := func(actual LicenseConditionSet, t *testing.T) bool {
|
D | resolutionset.go | 130 type ActionSet map[*TargetNode]LicenseConditionSet
|
D | readgraph.go | 204 licenseConditions LicenseConditionSet 207 resolution LicenseConditionSet
|
D | policy_policy_test.go | 240 otn.licenseConditions = LicenseConditionSet(RecognizedConditionNames[otherCondition])
|
D | test_util.go | 137 func newTestConditionSet(conditionName []string) LicenseConditionSet { 329 cs LicenseConditionSet
|
D | graph.go | 352 func (tn *TargetNode) LicenseConditions() LicenseConditionSet {
|
D | policy_walk_test.go | 38 condition LicenseConditionSet 619 condition LicenseConditionSet
|
/build/make/tools/compliance/cmd/listshare/ |
D | listshare.go | 150 presolution := make(map[string]compliance.LicenseConditionSet)
|
/build/make/tools/compliance/cmd/rtrace/ |
D | rtrace.go | 206 …aceTopDownConditions(licenseGraph, func(tn *compliance.TargetNode) compliance.LicenseConditionSet {
|
/build/make/tools/compliance/cmd/dumpresolutions/ |
D | dumpresolutions_test.go | 946 …estCondition(lg *compliance.LicenseGraph, conditionName ...string) compliance.LicenseConditionSet {
|