Home
last modified time | relevance | path

Searched refs:mutator (Results 1 – 9 of 9) sorted by relevance

/build/blueprint/
Dprovider.go49 mutator string member
79 func NewMutatorProvider(exampleValue interface{}, mutator string) ProviderKey {
89 mutator: mutator,
102 for _, mutator := range c.mutatorInfo {
103 if mutator.name == provider.mutator {
104 c.providerMutators[provider.id] = mutator
117 if provider.mutator == "" {
129 provider.typ, provider.mutator))
132 provider.typ, provider.mutator))
135 provider.typ, provider.mutator))
[all …]
Dcontext.go571 func (c *Context) RegisterTopDownMutator(name string, mutator TopDownMutator) MutatorHandle {
579 topDownMutator: mutator,
598 func (c *Context) RegisterBottomUpMutator(name string, mutator BottomUpMutator) MutatorHandle {
606 bottomUpMutator: mutator,
623 func (mutator *mutatorInfo) Parallel() MutatorHandle {
624 mutator.parallel = true
625 return mutator
643 func (c *Context) RegisterEarlyMutator(name string, mutator EarlyMutator) {
652 mutator(mctx)
2415 for _, mutator := range mutators {
[all …]
/build/soong/android/
Dmutator.go437 mutator := &mutator{name: x.mutatorName(name), bottomUpMutator: f}
438 x.mutators = append(x.mutators, mutator)
439 return mutator
443 mutator := &mutator{name: name, bottomUpMutator: m}
444 x.mutators = append(x.mutators, mutator)
445 return mutator
465 mutator := &mutator{name: x.mutatorName(name), topDownMutator: f}
466 x.mutators = append(x.mutators, mutator)
467 return mutator
470 func (mutator *mutator) componentName() string {
[all …]
Dfixture.go210 func FixtureCustomPreparer(mutator func(fixture Fixture)) FixturePreparer {
212 mutator(f)
217 func FixtureModifyConfig(mutator func(config Config)) FixturePreparer {
219 mutator(f.config)
224 func FixtureModifyConfigAndContext(mutator func(config Config, ctx *TestContext)) FixturePreparer {
226 mutator(f.config, f.ctx)
231 func FixtureModifyContext(mutator func(ctx *TestContext)) FixturePreparer {
233 mutator(f.ctx)
242 func FixtureModifyMockFS(mutator func(fs MockFS)) FixturePreparer {
244 mutator(f.mockFS)
[all …]
Dregister.go97 type mutator struct { struct
104 var _ sortableComponent = &mutator{}
DAndroid.bp51 "mutator.go",
Dbazel_paths.go296 This may be due a mutator skipped during bp2build.`, dep, ctx.Module().Name()))
Dmodule.go1594 func (m *ModuleBase) getVariationByMutatorName(mutator string) string {
1596 if v == mutator {
/build/soong/bp2build/
Dbuild_conversion_test.go1138 for mutator, f := range testCase.bp2buildMutatorsUnderTest {
1139 ctx.RegisterBp2BuildMutator(mutator, f)