Home
last modified time | relevance | path

Searched full:generator (Results 1 – 25 of 8630) sorted by relevance

12345678910>>...346

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DExpression.java50 @Generated("com.github.javaparser.generator.core.node.MainConstructorGenerator")
57 @Generated("com.github.javaparser.generator.core.node.RemoveMethodGenerator")
65 @Generated("com.github.javaparser.generator.core.node.CloneGenerator")
71 @Generated("com.github.javaparser.generator.core.node.GetMetaModelGenerator")
77 @Generated("com.github.javaparser.generator.core.node.ReplaceMethodGenerator")
84 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
89 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
94 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
99 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
104 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DStatement.java49 @Generated("com.github.javaparser.generator.core.node.MainConstructorGenerator")
56 @Generated("com.github.javaparser.generator.core.node.RemoveMethodGenerator")
64 @Generated("com.github.javaparser.generator.core.node.CloneGenerator")
70 @Generated("com.github.javaparser.generator.core.node.GetMetaModelGenerator")
76 @Generated("com.github.javaparser.generator.core.node.ReplaceMethodGenerator")
83 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
88 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
93 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
98 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
103 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
[all …]
/external/webrtc/modules/audio_processing/test/
Ddebug_dump_test.cc294 DebugDumpGenerator generator(config, AudioProcessing::Config()); in TEST_F() local
295 generator.StartRecording(); in TEST_F()
296 generator.Process(100); in TEST_F()
297 generator.StopRecording(); in TEST_F()
298 VerifyDebugDump(generator.dump_file_name()); in TEST_F()
303 DebugDumpGenerator generator(config, AudioProcessing::Config()); in TEST_F() local
305 generator.StartRecording(); in TEST_F()
306 generator.Process(100); in TEST_F()
307 generator.SetInputRate(48000); in TEST_F()
309 generator.ForceInputMono(true); in TEST_F()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/modules/
DModuleDirective.java27 @Generated("com.github.javaparser.generator.core.node.MainConstructorGenerator")
34 @Generated("com.github.javaparser.generator.core.node.RemoveMethodGenerator")
42 @Generated("com.github.javaparser.generator.core.node.CloneGenerator")
48 @Generated("com.github.javaparser.generator.core.node.ReplaceMethodGenerator")
55 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
60 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
65 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
70 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
75 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
80 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
[all …]
/external/webrtc/rtc_base/
Dunique_id_generator_unittest.cc27 template <typename Generator>
40 typedef TypeParam Generator; in TYPED_TEST() typedef
42 Generator generator; in TYPED_TEST() local
43 std::vector<typename Generator::value_type> values; in TYPED_TEST()
45 values.push_back(generator()); in TYPED_TEST()
50 std::set<typename Generator::value_type> set(values.begin(), values.end()); in TYPED_TEST()
55 typedef TypeParam Generator; in TYPED_TEST() typedef
58 Generator generator1; in TYPED_TEST()
59 std::vector<typename Generator::value_type> known_values; in TYPED_TEST()
66 Generator generator2(known_values); in TYPED_TEST()
[all …]
/external/antlr/tool/src/test/java/org/antlr/test/
DTestAttributes.java59 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testEscapedLessThanInAction() local
61 ActionTranslator translator = new ActionTranslator(generator,"a", in testEscapedLessThanInAction()
84 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testEscaped$InAction() local
85 g.setCodeGenerator(generator); in testEscaped$InAction()
86 generator.genRecognizer(); // forces load of templates in testEscaped$InAction()
88 new ActionTranslator(generator, in testEscaped$InAction()
106 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testArguments() local
107 g.setCodeGenerator(generator); in testArguments()
108 generator.genRecognizer(); // forces load of templates in testArguments()
109 ActionTranslator translator = new ActionTranslator(generator,"a", in testArguments()
[all …]
/external/javaparser/javaparser-core-serialization/src/main/java/com/github/javaparser/serialization/
DJavaParserJsonSerializer.java47 * @param generator the json-p generator for writing the json
50 public void serialize(Node node, JsonGenerator generator) { in serialize() argument
54 serialize(null, node, generator); in serialize()
56 generator.close(); in serialize()
65 * @param generator the json-p generator for writing the json
68 private void serialize(String nodeName, Node node, JsonGenerator generator) { in serialize() argument
73 generator.writeStartObject(); in serialize()
75 generator.writeStartObject(nodeName); in serialize()
77 generator.write(JsonNode.CLASS.propertyKey, node.getClass().getName()); in serialize()
78 this.writeNonMetaProperties(node, generator); in serialize()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DPBE.java76 PBEParametersGenerator generator; in makePBEGenerator() local
84 // generator = new PKCS5S1ParametersGenerator(new MD2Digest()); in makePBEGenerator()
88 // generator = new PKCS5S1ParametersGenerator(DigestFactory.createMD5()); in makePBEGenerator()
89 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
93 // generator = new PKCS5S1ParametersGenerator(DigestFactory.createSHA1()); in makePBEGenerator()
94 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
106 // generator = new PKCS5S2ParametersGenerator(new MD2Digest()); in makePBEGenerator()
110 // generator = new PKCS5S2ParametersGenerator(DigestFactory.createMD5()); in makePBEGenerator()
111 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
115 // generator = new PKCS5S2ParametersGenerator(DigestFactory.createSHA1()); in makePBEGenerator()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DPBE.java80 PBEParametersGenerator generator; in makePBEGenerator() local
88 // generator = new PKCS5S1ParametersGenerator(new MD2Digest()); in makePBEGenerator()
92 // generator = new PKCS5S1ParametersGenerator(DigestFactory.createMD5()); in makePBEGenerator()
93 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
97 // generator = new PKCS5S1ParametersGenerator(DigestFactory.createSHA1()); in makePBEGenerator()
98 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
110 // generator = new PKCS5S2ParametersGenerator(new MD2Digest()); in makePBEGenerator()
114 // generator = new PKCS5S2ParametersGenerator(DigestFactory.createMD5()); in makePBEGenerator()
115 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
119 // generator = new PKCS5S2ParametersGenerator(DigestFactory.createSHA1()); in makePBEGenerator()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/util/
DPBE.java80 PBEParametersGenerator generator; in makePBEGenerator() local
88 // generator = new PKCS5S1ParametersGenerator(new MD2Digest()); in makePBEGenerator()
92 // generator = new PKCS5S1ParametersGenerator(DigestFactory.createMD5()); in makePBEGenerator()
93 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
97 // generator = new PKCS5S1ParametersGenerator(DigestFactory.createSHA1()); in makePBEGenerator()
98 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
110 // generator = new PKCS5S2ParametersGenerator(new MD2Digest()); in makePBEGenerator()
114 // generator = new PKCS5S2ParametersGenerator(DigestFactory.createMD5()); in makePBEGenerator()
115 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
119 // generator = new PKCS5S2ParametersGenerator(DigestFactory.createSHA1()); in makePBEGenerator()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DOldClassInstrumentor.java46 RobolectricGeneratorAdapter generator = new RobolectricGeneratorAdapter(directCallConstructor); in addDirectCallConstructor() local
47 generator.loadThis(); in addDirectCallConstructor()
50 generator.visitMethodInsn(Opcodes.INVOKESPECIAL, superName, "<init>", "()V", false); in addDirectCallConstructor()
52 generator.loadArgs(); in addDirectCallConstructor()
53 generator.visitMethodInsn(Opcodes.INVOKESPECIAL, superName, in addDirectCallConstructor()
56 generator.loadThis(); in addDirectCallConstructor()
57 generator.loadArg(1); in addDirectCallConstructor()
58generator.putField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addDirectCallConstructor()
59 generator.returnValue(); in addDirectCallConstructor()
65 RobolectricGeneratorAdapter generator) { in writeCallToInitializing() argument
[all …]
DShadowDecorator.java45 String originalMethodName, RobolectricGeneratorAdapter generator) { in decorateMethodPreClassHandler() argument
46 boolean isNormalInstanceMethod = !generator.isStatic in decorateMethodPreClassHandler()
50 int exceptionLocalVar = generator.newLocal(THROWABLE_TYPE); in decorateMethodPreClassHandler()
53 generator.loadThis(); // this in decorateMethodPreClassHandler()
54generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in decorateMethodPreClassHandler()
55generator.instanceOf(mutableClass.classType); // __robo_data__, is instance of sam… in decorateMethodPreClassHandler()
56 generator.visitJumpInsn(Opcodes.IFEQ, notInstanceOfThis); // jump if no (is not instance) in decorateMethodPreClassHandler()
58 TryCatch tryCatchForProxyCall = generator.tryStart(THROWABLE_TYPE); in decorateMethodPreClassHandler()
59 generator.loadThis(); // this in decorateMethodPreClassHandler()
60generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in decorateMethodPreClassHandler()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DType.java65 @Generated("com.github.javaparser.generator.core.node.MainConstructorGenerator")
72 @Generated("com.github.javaparser.generator.core.node.PropertyGenerator")
81 @Generated("com.github.javaparser.generator.core.node.PropertyGenerator")
116 @Generated("com.github.javaparser.generator.core.node.RemoveMethodGenerator")
132 @Generated("com.github.javaparser.generator.core.node.CloneGenerator")
138 @Generated("com.github.javaparser.generator.core.node.GetMetaModelGenerator")
144 @Generated("com.github.javaparser.generator.core.node.ReplaceMethodGenerator")
157 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
162 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
167 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DBodyDeclaration.java60 @Generated("com.github.javaparser.generator.core.node.MainConstructorGenerator")
71 @Generated("com.github.javaparser.generator.core.node.PropertyGenerator")
76 @Generated("com.github.javaparser.generator.core.node.PropertyGenerator")
92 @Generated("com.github.javaparser.generator.core.node.RemoveMethodGenerator")
106 @Generated("com.github.javaparser.generator.core.node.CloneGenerator")
112 @Generated("com.github.javaparser.generator.core.node.GetMetaModelGenerator")
118 @Generated("com.github.javaparser.generator.core.node.ReplaceMethodGenerator")
131 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
136 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
141 @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcurand_10_0.inc4 curandStatus_t CURANDAPI curandCreateGenerator(curandGenerator_t *generator,
10 return func_ptr(generator, rng_type);
13 curandStatus_t CURANDAPI curandCreateGeneratorHost(curandGenerator_t *generator,
19 return func_ptr(generator, rng_type);
22 curandStatus_t CURANDAPI curandDestroyGenerator(curandGenerator_t generator) {
26 return func_ptr(generator);
44 curandStatus_t CURANDAPI curandSetStream(curandGenerator_t generator,
49 return func_ptr(generator, stream);
53 curandGenerator_t generator, unsigned long long seed) {
59 return func_ptr(generator, seed);
[all …]
/external/libpcap/
D.appveyor.yml22 GENERATOR: "MinGW Makefiles"
27 GENERATOR: "MinGW Makefiles"
32 GENERATOR: "Visual Studio 14 2015"
36 GENERATOR: "Visual Studio 14 2015 Win64"
40 GENERATOR: "Visual Studio 14 2015"
43 GENERATOR: "Visual Studio 14 2015 Win64"
47 GENERATOR: "Visual Studio 15 2017"
50 GENERATOR: "Visual Studio 15 2017 Win64"
54 GENERATOR: "Visual Studio 15 2017"
58 GENERATOR: "Visual Studio 15 2017 Win64"
[all …]
/external/tensorflow/tensorflow/core/lib/random/
Drandom_distributions.h56 // underlying random integer generator.
58 // Generator: a generator type that returns a number of uint32 upon each
66 template <class Generator, typename RealType>
69 template <class Generator>
70 class UniformDistribution<Generator, Eigen::half> {
73 static constexpr int kResultElementCount = Generator::kResultElementCount;
83 ResultType operator()(Generator* gen) { in operator()
84 typename Generator::ResultType sample = (*gen)(); in operator()
93 template <class Generator>
94 class UniformDistribution<Generator, bfloat16> {
[all …]
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dtest_data_generation_unittest.py60 # Check that there is at least one registered test data generator.
84 # Try each registered test data generator.
86 # Instance test data generator.
87 generator = generators_factory.GetInstance(
91 generator.Generate(
97 self._CheckGeneratedPairsListSizes(generator)
98 self._CheckGeneratedPairsSignalDurations(generator, input_signal)
99 self._CheckGeneratedPairsOutputPaths(generator)
121 # Instance the generator through the factory.
126 generator = factory.GetInstance(
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dcert-msc51-cpp.cpp74 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: random number generator seeded with a constant value w… in f()
76 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: random number generator seeded with a constant value w… in f()
78 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: random number generator seeded with a disallowed sourc… in f()
82 …// CHECK-MESSAGES: :[[@LINE-1]]:30: warning: random number generator seeded with a default argumen… in f()
84 …// CHECK-MESSAGES: :[[@LINE-1]]:30: warning: random number generator seeded with a constant value … in f()
86 …// CHECK-MESSAGES: :[[@LINE-1]]:30: warning: random number generator seeded with a constant value … in f()
88 …// CHECK-MESSAGES: :[[@LINE-1]]:30: warning: random number generator seeded with a disallowed sour… in f()
90 …// CHECK-MESSAGES: :[[@LINE-1]]:11: warning: random number generator seeded with a default argumen… in f()
92 …// CHECK-MESSAGES: :[[@LINE-1]]:11: warning: random number generator seeded with a constant value … in f()
94 …// CHECK-MESSAGES: :[[@LINE-1]]:11: warning: random number generator seeded with a constant value … in f()
[all …]
/external/llvm-project/mlir/include/mlir/TableGen/
DGenInfo.h1 //===- GenInfo.h - Generator info -------------------------------*- C++ -*-===//
22 /// Generator function to invoke.
26 /// Structure to group information about a generator (argument to invoke via
27 /// mlir-tblgen, description, and generator function).
32 GenInfo(StringRef arg, StringRef description, GenFunction generator) in GenInfo() argument
33 : arg(arg), description(description), generator(generator) {} in GenInfo()
35 /// Invokes the generator and returns whether the generator failed.
37 assert(generator && "Cannot call generator with null generator"); in invoke()
38 return generator(recordKeeper, os); in invoke()
42 /// invoke this generator.
[all …]
/external/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/
Dunique.pass.cpp26 template <typename ForwardIt, typename Generator>
29 ForwardIt last2, Generator generator) in operator ()()
33 template <typename ForwardIt, typename Generator>
36 ForwardIt last2, Generator generator) in operator ()()
40 template <typename ForwardIt, typename BinaryPred, typename Generator>
43 ForwardIt last2, BinaryPred pred, Generator generator) in operator ()()
47 template <typename ForwardIt, typename BinaryPred, typename Generator>
50 ForwardIt last2, BinaryPred pred, Generator generator) in operator ()()
55 template <typename Policy, typename ForwardIt, typename Generator>
57 …&& exec, ForwardIt first1, ForwardIt last1, ForwardIt first2, ForwardIt last2, Generator generator) in operator ()()
[all …]
/external/nanopb-c/tools/
Dmake_linux_package.sh21 make -BC $DEST/generator/proto
24 ( cd $DEST/generator; pyinstaller nanopb_generator.py )
25 mv $DEST/generator/dist/nanopb_generator $DEST/generator-bin
28 rm -rf $DEST/generator/dist $DEST/generator/build $DEST/generator/nanopb_generator.spec
30 # Make the nanopb generator available as a protoc plugin
31 cp $DEST/generator-bin/nanopb_generator $DEST/generator-bin/protoc-gen-nanopb
34 cp `which protoc` $DEST/generator-bin/protoc.bin
37 cp $LIBPROTOC $LIBPROTOBUF $DEST/generator-bin/
38 cat > $DEST/generator-bin/protoc << EOF
45 chmod +x $DEST/generator-bin/protoc
[all …]
/external/catch2/include/internal/
Dcatch_generators_generic.hpp22 TakeGenerator(size_t target, GeneratorWrapper<T>&& generator): in TakeGenerator() argument
23 m_generator(std::move(generator)), in TakeGenerator()
38 // If the underlying generator does not contain enough values in next()
48 GeneratorWrapper<T> take(size_t target, GeneratorWrapper<T>&& generator) { in take() argument
49 return GeneratorWrapper<T>(pf::make_unique<TakeGenerator<T>>(target, std::move(generator))); in take()
59 FilterGenerator(P&& pred, GeneratorWrapper<T>&& generator): in FilterGenerator() argument
60 m_generator(std::move(generator)), in FilterGenerator()
68 … Catch::throw_exception(GeneratorException("No valid value found in filtered generator")); in FilterGenerator()
89 GeneratorWrapper<T> filter(Predicate&& pred, GeneratorWrapper<T>&& generator) { in filter() argument
90 …:make_unique<FilterGenerator<T, Predicate>>(std::forward<Predicate>(pred), std::move(generator)))); in filter()
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dfrom_generator_test.py42 def _testFromGenerator(self, generator, elem_sequence, num_repeats, argument
45 generator, output_types=dtypes.int64).repeat(num_repeats).prefetch(5)
59 def generator(): function
63 elem_sequence = list(generator())
65 generator,
76 generator = lambda: [[i] * i for i in range(1, 100)] function
77 elem_sequence = list(generator())
79 generator,
90 generator = lambda: np.arange(100, dtype=np.int64) function
91 elem_sequence = list(generator())
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorGenerator.h18 * \brief Tensor generator class.
23 template<typename Generator, typename XprType>
24 struct traits<TensorGeneratorOp<Generator, XprType> > : public traits<XprType>
36 template<typename Generator, typename XprType>
37 struct eval<TensorGeneratorOp<Generator, XprType>, Eigen::Dense>
39 typedef const TensorGeneratorOp<Generator, XprType>& type;
42 template<typename Generator, typename XprType>
43 struct nested<TensorGeneratorOp<Generator, XprType>, 1, typename eval<TensorGeneratorOp<Generator, …
45 typedef TensorGeneratorOp<Generator, XprType> type;
52 template<typename Generator, typename XprType>
[all …]

12345678910>>...346