Home
last modified time | relevance | path

Searched refs:Generators (Results 1 – 25 of 72) sorted by relevance

123

/external/catch2/include/internal/
Dcatch_generators.hpp34 namespace Generators { namespace
114 class Generators : public IGenerator<T> { class
136 Generators(Gs &&... moreGenerators) { in Generators() function in Catch::Generators::Generators
168 … auto makeGenerators( GeneratorWrapper<T>&& generator, Gs &&... moreGenerators ) -> Generators<T> { in makeGenerators()
169 return Generators<T>(std::move(generator), std::forward<Gs>(moreGenerators)...); in makeGenerators()
172 auto makeGenerators( GeneratorWrapper<T>&& generator ) -> Generators<T> { in makeGenerators()
173 return Generators<T>(std::move(generator)); in makeGenerators()
176 auto makeGenerators( T&& val, Gs &&... moreGenerators ) -> Generators<T> { in makeGenerators()
180 auto makeGenerators( as<T>, U&& val, Gs &&... moreGenerators ) -> Generators<T> { in makeGenerators()
195 … tracker.setGenerator(pf::make_unique<Generators<UnderlyingType>>(generatorExpression())); in generate()
[all …]
Dcatch_interfaces_generatortracker.h15 namespace Generators {
33 virtual auto getGenerator() const -> Generators::GeneratorBasePtr const& = 0;
34 virtual void setGenerator( Generators::GeneratorBasePtr&& generator ) = 0;
Dcatch_generators.cpp23 namespace Generators { namespace
/external/catch2/examples/
D301-Gen-MapTypeConversion.cpp14 class LineGenerator : public Catch::Generators::IGenerator<std::string> {
39 Catch::Generators::GeneratorWrapper<std::string> lines(std::string /* ignored for example */) { in lines()
40 return Catch::Generators::GeneratorWrapper<std::string>( in lines()
41 std::unique_ptr<Catch::Generators::IGenerator<std::string>>( in lines()
D300-Gen-OwnGenerator.cpp12 class RandomIntGenerator : public Catch::Generators::IGenerator<int> {
40 Catch::Generators::GeneratorWrapper<int> random(int low, int high) { in random()
41 …return Catch::Generators::GeneratorWrapper<int>(std::unique_ptr<Catch::Generators::IGenerator<int>… in random()
D311-Gen-CustomCapture.cpp30 auto number = Catch::Generators::generate( CATCH_INTERNAL_LINEINFO,
32 using namespace Catch::Generators; in __anon6bcbf3f30102()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DActivityGenerator.java56 Generators.addGeneratedBaseClassJavadoc(builder, AndroidClassNames.ANDROID_ENTRY_POINT); in generate()
59 Generators.copyConstructors(metadata.baseElement(), builder); in generate()
67 Generators.addComponentOverride(metadata, builder); in generate()
68 Generators.copyLintAnnotations(metadata.element(), builder); in generate()
70 Generators.addInjectionMethods(metadata, builder); in generate()
DFragmentGenerator.java74 Generators.addGeneratedBaseClassJavadoc(builder, AndroidClassNames.ANDROID_ENTRY_POINT); in createTypeSpec()
76 Generators.copyLintAnnotations(metadata.element(), builder); in createTypeSpec()
77 Generators.addSuppressAnnotation(builder, "deprecation"); in createTypeSpec()
78 Generators.copyConstructors(metadata.baseElement(), builder); in createTypeSpec()
84 Generators.addComponentOverride(metadata, builder); in createTypeSpec()
86 Generators.addInjectionMethods(metadata, builder); in createTypeSpec()
DViewGenerator.java70 Generators.addGeneratedBaseClassJavadoc(builder, AndroidClassNames.ANDROID_ENTRY_POINT); in generate()
72 Generators.copyLintAnnotations(metadata.element(), builder); in generate()
78 Generators.addComponentOverride(metadata, builder); in generate()
80 Generators.addInjectionMethods(metadata, builder); in generate()
118 Generators.copyConstructor(constructorElement).toBuilder(); in constructorMethod()
DServiceGenerator.java61 Generators.addGeneratedBaseClassJavadoc(builder, AndroidClassNames.ANDROID_ENTRY_POINT); in generate()
63 Generators.copyLintAnnotations(metadata.element(), builder); in generate()
69 Generators.addInjectionMethods(metadata, builder); in generate()
71 Generators.addComponentOverride(metadata, builder); in generate()
DApplicationGenerator.java61 Generators.addGeneratedBaseClassJavadoc(typeSpecBuilder, AndroidClassNames.HILT_ANDROID_APP); in generate()
68 Generators.copyLintAnnotations(metadata.element(), typeSpecBuilder); in generate()
69 Generators.addComponentOverride(metadata, typeSpecBuilder); in generate()
159 Generators.unsafeCastThisTo(metadata.elementClassName())) in injectCodeBlock()
DBroadcastReceiverGenerator.java71 Generators.addGeneratedBaseClassJavadoc(builder, AndroidClassNames.ANDROID_ENTRY_POINT); in generate()
73 Generators.copyConstructors(metadata.baseElement(), builder); in generate()
79 Generators.addInjectionMethods(metadata, builder); in generate()
80 Generators.copyLintAnnotations(metadata.element(), builder); in generate()
DInjectorEntryPointGenerator.java63 Generators.copyLintAnnotations(metadata.element(), builder); in generate()
DGenerators.java47 final class Generators { class
492 private Generators() {} in Generators() method in Generators
/external/catch2/projects/SelfTest/Baselines/
Dconsole.sw.approved.txt516 Generators.tests.cpp:<line number>
519 Generators.tests.cpp:<line number>: PASSED:
524 Generators.tests.cpp:<line number>: PASSED:
529 Generators.tests.cpp:<line number>: PASSED:
537 Generators.tests.cpp:<line number>
540 Generators.tests.cpp:<line number>: PASSED:
545 Generators.tests.cpp:<line number>: PASSED:
550 Generators.tests.cpp:<line number>: PASSED:
558 Generators.tests.cpp:<line number>
561 Generators.tests.cpp:<line number>: PASSED:
[all …]
Dcompact.sw.approved.txt69 Generators.tests.cpp:<line number>: passed: x < y for: 1 < 4
70 Generators.tests.cpp:<line number>: passed: y < z for: 4 < 7
71 Generators.tests.cpp:<line number>: passed: x < z for: 1 < 7
72 Generators.tests.cpp:<line number>: passed: x < y for: 1 < 4
73 Generators.tests.cpp:<line number>: passed: y < z for: 4 < 8
74 Generators.tests.cpp:<line number>: passed: x < z for: 1 < 8
75 Generators.tests.cpp:<line number>: passed: x < y for: 1 < 4
76 Generators.tests.cpp:<line number>: passed: y < z for: 4 < 9
77 Generators.tests.cpp:<line number>: passed: x < z for: 1 < 9
78 Generators.tests.cpp:<line number>: passed: x < y for: 1 < 5
[all …]
/external/catch2/projects/SelfTest/IntrospectiveTests/
DGeneratorsImpl.tests.cpp5 using namespace Catch::Generators;
285 class TestGen : public Catch::Generators::IGenerator<int> {
310 …auto value2 = GENERATE_REF(Catch::Generators::GeneratorWrapper<int>(std::unique_ptr<Catch::Generat…
331 auto random1 = Catch::Generators::random(0, 1000);
332 auto random2 = Catch::Generators::random(0, 1000);
342 auto random1 = Catch::Generators::random(0., 1000.);
343 auto random2 = Catch::Generators::random(0., 1000.);
/external/catch2/docs/
Dlist-of-examples.md17 - Generators: [Create your own generator](../examples/300-Gen-OwnGenerator.cpp)
18 - Generators: [Use map to convert types in GENERATE expression](../examples/301-Gen-MapTypeConversi…
19 - Generators: [Use variables in generator expressions](../examples/310-Gen-VariablesInGenerators.cp…
20 - Generators: [Use custom variable capture in generator expressions](../examples/311-Gen-CustomCapt…
Dgenerators.md2 # Data Generators
14 TEST_CASE("Generators") {
153 [Generators: Create your own generator](../examples/300-Gen-OwnGenerator.cpp).
DReadme.md15 * [Data Generators](generators.md#top)
/external/angle/src/common/
Dgen_packed_gl_enums.py17 Generators = [ variable
248 for generator in Generators:
266 for generator in Generators:
/external/catch2/projects/SelfTest/UsageTests/
DGenerators.tests.cpp127 using namespace Catch::Generators;
175 using namespace Catch::Generators;
/external/llvm-project/clang-tools-extra/clang-doc/
DCMakeLists.txt11 Generators.cpp
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clang-doc/
DBUILD.gn22 "Generators.cpp",
/external/llvm-project/clang/lib/Tooling/Transformer/
DRewriteRule.cpp95 transformer::flattenVector(SmallVector<EditGenerator, 2> Generators) { in flattenVector() argument
96 if (Generators.size() == 1) in flattenVector()
97 return std::move(Generators[0]); in flattenVector()
99 [Gs = std::move(Generators)]( in flattenVector()

123