Home
last modified time | relevance | path

Searched refs:LicenseConditionSet (Results 1 – 15 of 15) sorted by relevance

/build/make/tools/compliance/
Dconditionset.go23 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 …]
Dpolicy_policy.go59 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 …]
Dpolicy_resolve.go20 …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) {
Dresolution.go35 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
Dpolicy_walk.go35 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
Dconditionset_test.go286 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 {
Dresolutionset.go130 type ActionSet map[*TargetNode]LicenseConditionSet
Dreadgraph.go204 licenseConditions LicenseConditionSet
207 resolution LicenseConditionSet
Dpolicy_policy_test.go240 otn.licenseConditions = LicenseConditionSet(RecognizedConditionNames[otherCondition])
Dtest_util.go137 func newTestConditionSet(conditionName []string) LicenseConditionSet {
329 cs LicenseConditionSet
Dgraph.go352 func (tn *TargetNode) LicenseConditions() LicenseConditionSet {
Dpolicy_walk_test.go38 condition LicenseConditionSet
619 condition LicenseConditionSet
/build/make/tools/compliance/cmd/listshare/
Dlistshare.go150 presolution := make(map[string]compliance.LicenseConditionSet)
/build/make/tools/compliance/cmd/rtrace/
Drtrace.go206 …aceTopDownConditions(licenseGraph, func(tn *compliance.TargetNode) compliance.LicenseConditionSet {
/build/make/tools/compliance/cmd/dumpresolutions/
Ddumpresolutions_test.go946 …estCondition(lg *compliance.LicenseGraph, conditionName ...string) compliance.LicenseConditionSet {