Home
last modified time | relevance | path

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

12

/aosp12/build/blueprint/
H A Dprovider.go49 mutator string member
89 mutator: mutator,
103 if mutator.name == provider.mutator {
117 if provider.mutator == "" {
129 provider.typ, provider.mutator))
164 if provider.mutator == "" {
187 if c.finishedMutators[mutator] {
192 if c.startedMutator == mutator {
202 if c.finishedMutators[mutator] {
207 if c.startedMutator == mutator {
[all …]
H A Dcontext.go579 topDownMutator: mutator,
606 bottomUpMutator: mutator,
624 mutator.parallel = true
625 return mutator
652 mutator(mctx)
2452 mutator.bottomUpMutator(ctx)
2466 mutator.topDownMutator(ctx)
2526 name: mutator.name,
2544 direction.run(mutator, mctx)
2597 c.startedMutator = mutator
[all …]
/aosp12/build/soong/android/
H A Dmutator.go437 mutator := &mutator{name: x.mutatorName(name), bottomUpMutator: f}
439 return mutator
443 mutator := &mutator{name: name, bottomUpMutator: m}
445 return mutator
465 mutator := &mutator{name: x.mutatorName(name), topDownMutator: f}
467 return mutator
470 func (mutator *mutator) componentName() string {
471 return mutator.name
474 func (mutator *mutator) register(ctx *Context) {
491 func (mutator *mutator) Parallel() MutatorHandle {
[all …]
H A Dfixture.go210 func FixtureCustomPreparer(mutator func(fixture Fixture)) FixturePreparer {
212 mutator(f)
217 func FixtureModifyConfig(mutator func(config Config)) FixturePreparer {
219 mutator(f.config)
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)
321 mutator(config.env)
[all …]
H A Dregister.go97 type mutator struct { struct
104 var _ sortableComponent = &mutator{}
H A DAndroid.bp51 "mutator.go",
H A Dbazel_paths.go296 This may be due a mutator skipped during bp2build.`, dep, ctx.Module().Name()))
H A Dmodule.go1594 func (m *ModuleBase) getVariationByMutatorName(mutator string) string {
1596 if v == mutator {
/aosp12/art/runtime/
H A Dmutator_gc_coord.md5 mutator Java threads. But in certain places, for example while tracing from
12 Logically, the collector and mutator share a reader-writer lock on the Java
26 mutator lock in shared mode, it is expected to regularly execute such a suspend
33 logically releases the mutator lock. When the garbage collector needs mutator
34 cooperation, and the thread is not runnable, it is assured that the mutator is
36 action itself, on the mutator thread's behalf.
72 released the mutator exclusive lock, and then returns to runnable state,
73 re-acquiring the mutator lock.
94 the mutator mutex, e.g. as part of `ScopedObjectAccess` construction.
101 Logically the mutator lock is held in shared/reader mode if ***either*** the
[all …]
H A Dalloc_instrumentation.md18 require the mutator lock is not held.
24 all other threads are suspended, and is only accessed with the mutator lock logically held,
30 2. Make sure that we hold the mutator lock when accessing it.
31 3. Not trust kInstrumented once we've given up the mutator lock, since it could have changed in the
H A Dcommon_runtime_test.h87 bool MutateDexFile(File* output_dex, const std::string& input_jar, const Mutator& mutator) { in MutateDexFile() argument
101 mutator(dex_file); in MutateDexFile()
/aosp12/art/tools/dexfuzz/src/dexfuzz/program/
H A DProgram.java239 private void registerMutator(CodeMutator mutator) { in registerMutator() argument
240 if (mutator.canBeTriggered()) { in registerMutator()
241 Log.debug("Registering mutator " + mutator.getClass().getSimpleName()); in registerMutator()
242 mutators.add(mutator); in registerMutator()
245 mutatorsLookupByClass.put(mutator.getClass(), mutator); in registerMutator() local
412 CodeMutator mutator = mutators.get(mutatorIdx); in mutateAMutatableCode() local
413 Log.info("Running mutator " + mutator.getClass().getSimpleName()); in mutateAMutatableCode()
414 if (mutator.attemptToMutate(mutatableCode)) { in mutateAMutatableCode()
527 CodeMutator mutator = mutatorsLookupByClass.get(mutation.mutatorClass); in applyMutationsFromList() local
530 mutator.forceMutate(mutation); in applyMutationsFromList()
/aosp12/packages/modules/Connectivity/tests/common/java/android/net/
H A DCaptivePortalDataTest.kt182 private fun CaptivePortalData.mutate(mutator: (CaptivePortalData.Builder) -> Unit) =
183 CaptivePortalData.Builder(this).apply { mutator(this) }.build()
185 private fun assertNotEqualsAfterChange(mutator: (CaptivePortalData.Builder) -> Unit) {
186 assertNotEquals(data, data.mutate(mutator))
/aosp12/bionic/libc/private/
H A DWriteProtected.h67 void mutate(Mutator mutator) { in mutate() argument
69 mutator(&contents.value); in mutate()
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
H A DInitialConfigurationTest.java82 private void assertNotEqualsAfterChange(Consumer<InitialConfiguration> mutator) { in assertNotEqualsAfterChange() argument
84 mutator.accept(newConfig); in assertNotEqualsAfterChange()
H A DProvisioningConfigurationTest.java204 private void assertNotEqualsAfterChange(Consumer<ProvisioningConfiguration> mutator) { in assertNotEqualsAfterChange() argument
206 mutator.accept(newConfig); in assertNotEqualsAfterChange()
/aosp12/art/compiler/optimizing/
H A Dreference_type_propagation_test.cc120 void RunVisitListTest(Func mutator);
168 void RunVisitListTest(Func mutator);
264 void LoopReferenceTypePropagationTestGroup::RunVisitListTest(Func mutator) { in RunVisitListTest() argument
344 mutator(ins, maybe_null_val); in RunVisitListTest()
366 void NonLoopReferenceTypePropagationTestGroup::RunVisitListTest(Func mutator) { in RunVisitListTest() argument
430 mutator(ins); in RunVisitListTest()
/aosp12/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
H A DREADME.md32 * libprotobuf-mutator:
33 https://github.com/google/libprotobuf-mutator#libprotobuf-mutator
155 because it uses `libprotobuf-mutator`, so it’s fine to inspect the file to get
204 library called [`libprotobuf-mutator`][9] to handle the conversions from the
207 straightforward and efficient. As another useful utility, `libprotobuf-mutator`
296 `libprotobuf-mutator`) converge slower when the amount of randomly generated
309 [9]: https://cs.android.com/android/platform/superproject/+/master:external/libprotobuf-mutator/
H A DAndroid.bp60 "libprotobuf-mutator",
/aosp12/packages/services/Car/cpp/computepipe/tests/fuzz/
H A DAndroid.bp97 "libprotobuf-mutator",
112 "libprotobuf-mutator",
/aosp12/art/libartbase/base/
H A Dcommon_art_test.h164 bool MutateDexFile(File* output_dex, const std::string& input_jar, const Mutator& mutator) { in MutateDexFile() argument
178 mutator(dex_file); in MutateDexFile()
/aosp12/packages/modules/NetworkStack/src/com/android/networkstack/
H A DNetworkStackNotifier.java188 @NonNull Consumer<TrackedNetworkStatus> mutator) { in updateNetworkStatus() argument
191 mutator.accept(status); in updateNetworkStatus()
/aosp12/system/core/fs_mgr/libsnapshot/
H A DAndroid.bp376 "libprotobuf-mutator",
/aosp12/build/soong/bp2build/
H A Dbuild_conversion_test.go1138 for mutator, f := range testCase.bp2buildMutatorsUnderTest {
1139 ctx.RegisterBp2BuildMutator(mutator, f)
/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestValidateOperations.cpp960 TensorRankMutator mutator{TensorRankConstraint::AtLeast(2), {0, 2}}; in TEST() local
962 const auto mutationSet = mutator.ValidInputsMutations({operand0, operand1, operand2}); in TEST()
1008 TensorRankMutator mutator{TensorRankConstraint::AtLeast(2), {0, 2}}; in TEST() local
1010 const auto mutationSet = mutator.InvalidInputsMutations({operand0, operand1, operand2}); in TEST()

12