Home
last modified time | relevance | path

Searched refs:predicate (Results 1 – 16 of 16) sorted by relevance

/build/blueprint/proptools/
Dfilter.go40 predicate FilterFieldPredicate) (filteredFieldsShards [][]reflect.StructField, filtered bool) {
73 if keep, field = predicate(field, prefix); !keep {
102 nestedTypes, subFiltered := filterPropertyStruct(typ, subPrefix, subMaxTypeNameSize, predicate)
144 func FilterPropertyStruct(prop reflect.Type, predicate FilterFieldPredicate) (filteredProp reflect.…
145 filteredFieldsShards, filtered := filterPropertyStruct(prop, "", -1, predicate)
157 predicate FilterFieldPredicate) (filteredProp []reflect.Type, filtered bool) {
170 …ilteredFieldsShards, filtered := filterPropertyStructFields(fields, prefix, maxNameSize, predicate)
208 func FilterPropertyStructSharded(prop reflect.Type, maxTypeNameSize int, predicate FilterFieldPredi…
209 return filterPropertyStruct(prop, "", maxTypeNameSize, predicate)
/build/bazel/rules/
Dcommon.bzl17 def get_dep_targets(attrs, *, predicate = lambda _: True):
24 predicate (function(Target) -> bool): a function used to filter out
25 unwanted targets; if predicate(target) == False, then do not include
29 predicate returns True
40 if type(item) == "Target" and predicate(item):
/build/soong/bazel/
Dproperties_test.go429 predicate func(label Label) bool
442 predicate: func(label Label) bool {
457 predicate: func(label Label) bool {
475 predicate: func(label Label) bool {
493 predicate: func(label Label) bool {
511 predicate: func(label Label) bool {
520 predicate: func(label Label) bool {
528 predicated, unpredicated := tc.input.Partition(tc.predicate)
Dproperties.go174 func (ll *LabelList) Partition(predicate func(label Label) bool) (LabelList, LabelList) {
178 if predicate(include) {
185 if predicate(exclude) {
971 func (lla LabelListAttribute) Partition(predicate func(label Label) bool) (LabelListAttribute, Labe…
975 valuePartitionTrue, valuePartitionFalse := lla.Value.Partition(predicate)
981 configPredicated, configUnpredicated := labelList.Partition(predicate)
/build/make/tools/aconfig/aconfig/src/
Ddump.rs303 let predicate = create_filter_predicate($filter).unwrap(); in test_create_filter_predicate() localVariable
307 .filter(predicate) in test_create_filter_predicate()
/build/soong/cmd/soong_build/
Dmain.go135 predicate := func(j *blueprint.JsonModule) (prioritized bool, weight int) {
165 outputsMap := ctx.Context.GetWeightedOutputsFromPredicate(predicate)
/build/soong/android/
Dmutator.go818 func (b *bottomUpMutatorContext) ReplaceDependenciesIf(name string, predicate blueprint.ReplaceDepe…
822 b.bp.ReplaceDependenciesIf(name, predicate)
Dpaths.go948 func FilterPathListPredicate(list []Path, predicate func(Path) bool) (remainder []Path, filtered []…
950 if predicate(l) {
/build/bazel/rules/apex/
Dapex_available.bzl104 predicate = lambda target: ApexAvailableInfo in target,
Dapex_deps_validation.bzl97 …for attr, attr_deps in get_dep_targets(ctx.rule.attr, predicate = lambda target: ApexDepsInfo in t…
Dapex.bzl734 …for _, attr_deps in get_dep_targets(ctx.attr, predicate = lambda target: ApexAvailableInfo in targ…
Dapex_test.bzl2222 …for attr_deps in get_dep_targets(ctx.rule.attr, predicate = lambda target: _MarchInfo in target).v…
/build/blueprint/
Dmodule_ctx.go1195 func (mctx *mutatorContext) ReplaceDependenciesIf(name string, predicate ReplaceDependencyPredicate…
1207 mctx.replace = append(mctx.replace, replace{target, mctx.module, predicate})
Dcontext.go2607 func (c *Context) GetWeightedOutputsFromPredicate(predicate func(*JsonModule) (bool, int)) map[stri…
2611 if ok, weight := predicate(jmWithActions); ok {
3468 predicate ReplaceDependencyPredicate member
3523 if replace.predicate == nil || replace.predicate(m.logicModule, d.tag, d.module.logicModule) {
/build/bazel/rules/cc/
Dclang_tidy.bzl340 …for attr_deps in get_dep_targets(ctx.attr, predicate = lambda target: ClangTidyInfo in target).val…
Dcc_library_static.bzl358 …for attr, attr_targets in get_dep_targets(ctx.attr, predicate = lambda t: ClangTidyInfo in t).item…