Searched refs:predicate (Results 1 – 16 of 16) sorted by relevance
/build/blueprint/proptools/ |
D | filter.go | 40 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/ |
D | common.bzl | 17 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/ |
D | properties_test.go | 429 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)
|
D | properties.go | 174 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/ |
D | dump.rs | 303 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/ |
D | main.go | 135 predicate := func(j *blueprint.JsonModule) (prioritized bool, weight int) { 165 outputsMap := ctx.Context.GetWeightedOutputsFromPredicate(predicate)
|
/build/soong/android/ |
D | mutator.go | 818 func (b *bottomUpMutatorContext) ReplaceDependenciesIf(name string, predicate blueprint.ReplaceDepe… 822 b.bp.ReplaceDependenciesIf(name, predicate)
|
D | paths.go | 948 func FilterPathListPredicate(list []Path, predicate func(Path) bool) (remainder []Path, filtered []… 950 if predicate(l) {
|
/build/bazel/rules/apex/ |
D | apex_available.bzl | 104 predicate = lambda target: ApexAvailableInfo in target,
|
D | apex_deps_validation.bzl | 97 …for attr, attr_deps in get_dep_targets(ctx.rule.attr, predicate = lambda target: ApexDepsInfo in t…
|
D | apex.bzl | 734 …for _, attr_deps in get_dep_targets(ctx.attr, predicate = lambda target: ApexAvailableInfo in targ…
|
D | apex_test.bzl | 2222 …for attr_deps in get_dep_targets(ctx.rule.attr, predicate = lambda target: _MarchInfo in target).v…
|
/build/blueprint/ |
D | module_ctx.go | 1195 func (mctx *mutatorContext) ReplaceDependenciesIf(name string, predicate ReplaceDependencyPredicate… 1207 mctx.replace = append(mctx.replace, replace{target, mctx.module, predicate})
|
D | context.go | 2607 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/ |
D | clang_tidy.bzl | 340 …for attr_deps in get_dep_targets(ctx.attr, predicate = lambda target: ClangTidyInfo in target).val…
|
D | cc_library_static.bzl | 358 …for attr, attr_targets in get_dep_targets(ctx.attr, predicate = lambda t: ClangTidyInfo in t).item…
|