Home
last modified time | relevance | path

Searched refs:generator (Results 1 – 25 of 1878) sorted by relevance

12345678910>>...76

/external/vixl/tools/
Dgenerate_tests.py709 def GenerateTest(generator, clang_format, skip_traces): argument
710 template_file = template_files[generator.test_type]
723 'instruction_list_declaration': generator.InstructionListDeclaration(),
726 'operand_list_declaration': generator.OperandDeclarations(),
727 'input_declarations': generator.InputDeclarations(),
730 'input_definitions': generator.InputDefinitions(),
731 'test_case_definitions': generator.TestCaseDefinitions(),
734 'include_trace_files': generator.IncludeTraceFiles(),
737 'macroassembler_method_args': generator.MacroAssemblerMethodArgs(),
740 'macroassembler_set_isa': generator.MacroAssemblerSetISA(),
[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/deqp-deps/SPIRV-Tools/test/val/
Dval_small_type_uses_test.cpp36 CodeGenerator generator; in GetSmallTypesGenerator() local
37 generator.capabilities_ = R"( in GetSmallTypesGenerator()
42 generator.extensions_ = R"( in GetSmallTypesGenerator()
48 generator.memory_model_ = "OpMemoryModel Logical GLSL450\n"; in GetSmallTypesGenerator()
99 generator.entry_points_.push_back( in GetSmallTypesGenerator()
101 generator.before_types_ = R"( in GetSmallTypesGenerator()
109 generator.types_ = R"( in GetSmallTypesGenerator()
137 generator.after_types_ = R"( in GetSmallTypesGenerator()
152 generator.add_at_the_end_ = R"( in GetSmallTypesGenerator()
170 return generator; in GetSmallTypesGenerator()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_small_type_uses_test.cpp36 CodeGenerator generator; in GetSmallTypesGenerator() local
37 generator.capabilities_ = R"( in GetSmallTypesGenerator()
42 generator.extensions_ = R"( in GetSmallTypesGenerator()
48 generator.memory_model_ = "OpMemoryModel Logical GLSL450\n"; in GetSmallTypesGenerator()
99 generator.entry_points_.push_back( in GetSmallTypesGenerator()
101 generator.before_types_ = R"( in GetSmallTypesGenerator()
109 generator.types_ = R"( in GetSmallTypesGenerator()
137 generator.after_types_ = R"( in GetSmallTypesGenerator()
152 generator.add_at_the_end_ = R"( in GetSmallTypesGenerator()
170 return generator; in GetSmallTypesGenerator()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_small_type_uses_test.cpp36 CodeGenerator generator; in GetSmallTypesGenerator() local
37 generator.capabilities_ = R"( in GetSmallTypesGenerator()
42 generator.extensions_ = R"( in GetSmallTypesGenerator()
48 generator.memory_model_ = "OpMemoryModel Logical GLSL450\n"; in GetSmallTypesGenerator()
99 generator.entry_points_.push_back( in GetSmallTypesGenerator()
101 generator.before_types_ = R"( in GetSmallTypesGenerator()
109 generator.types_ = R"( in GetSmallTypesGenerator()
137 generator.after_types_ = R"( in GetSmallTypesGenerator()
152 generator.add_at_the_end_ = R"( in GetSmallTypesGenerator()
170 return generator; in GetSmallTypesGenerator()
[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 …]
DTestTemplates.java68 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testTemplateConstructor() local
69 g.setCodeGenerator(generator); in testTemplateConstructor()
70 generator.genRecognizer(); // forces load of templates in testTemplateConstructor()
72 new ActionTranslator(generator, in testTemplateConstructor()
105 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testTemplateConstructorNoArgs() local
106 g.setCodeGenerator(generator); in testTemplateConstructorNoArgs()
107 generator.genRecognizer(); // forces load of templates in testTemplateConstructorNoArgs()
109 new ActionTranslator(generator, in testTemplateConstructorNoArgs()
143 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testIndirectTemplateConstructor() local
144 g.setCodeGenerator(generator); in testIndirectTemplateConstructor()
[all …]
/external/javaparser/javaparser-core-serialization/src/main/java/com/github/javaparser/serialization/
DJavaParserJsonSerializer.java50 public void serialize(Node node, JsonGenerator generator) { in serialize() argument
54 serialize(null, node, generator); in serialize()
56 generator.close(); in serialize()
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()
85 generator.writeStartArray(name); in serialize()
87 serialize(null, n, generator); in serialize()
[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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DPBE.java76 PBEParametersGenerator generator; in makePBEGenerator() local
89 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
94 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
111 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
116 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
131 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA256()); in makePBEGenerator()
140 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA224()); in makePBEGenerator()
145 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA384()); in makePBEGenerator()
150 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA512()); in makePBEGenerator()
186 generator = new PKCS12ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
[all …]
/external/pdfium/third_party/agg23/
Dagg_conv_stroke.h38 base_type::generator().line_cap(lc); in line_cap()
42 base_type::generator().line_join(lj); in line_join()
46 base_type::generator().inner_join(ij); in inner_join()
50 return base_type::generator().line_cap(); in line_cap()
54 return base_type::generator().line_join(); in line_join()
58 return base_type::generator().inner_join(); in inner_join()
62 base_type::generator().width(w); in width()
66 base_type::generator().miter_limit(ml); in miter_limit()
70 base_type::generator().miter_limit_theta(t); in miter_limit_theta()
74 base_type::generator().inner_miter_limit(ml); in inner_miter_limit()
[all …]
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc192 OneofGenerator* generator = new OneofGenerator(descriptor_->oneof_decl(i)); in MessageGenerator() local
193 oneof_generators_.emplace_back(generator); in MessageGenerator()
197 EnumGenerator* generator = new EnumGenerator(descriptor_->enum_type(i)); in MessageGenerator() local
198 enum_generators_.emplace_back(generator); in MessageGenerator()
202 MessageGenerator* generator = in MessageGenerator() local
206 nested_message_generators_.emplace_back(generator); in MessageGenerator()
214 for (const auto& generator : extension_generators_) { in GenerateStaticVariablesInitialization() local
215 generator->GenerateStaticVariablesInitialization(printer); in GenerateStaticVariablesInitialization()
218 for (const auto& generator : nested_message_generators_) { in GenerateStaticVariablesInitialization() local
219 generator->GenerateStaticVariablesInitialization(printer); in GenerateStaticVariablesInitialization()
[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
93 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
98 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
115 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
120 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
135 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA256()); in makePBEGenerator()
144 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA224()); in makePBEGenerator()
149 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA384()); in makePBEGenerator()
154 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA512()); in makePBEGenerator()
190 generator = new PKCS12ParametersGenerator(AndroidDigestFactory.getMD5()); 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
93 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
98 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
115 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
120 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
135 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA256()); in makePBEGenerator()
144 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA224()); in makePBEGenerator()
149 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA384()); in makePBEGenerator()
154 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA512()); in makePBEGenerator()
190 generator = new PKCS12ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
[all …]
/external/libtextclassifier/native/utils/intents/
Dzlib-utils.cc30 for (auto& generator : intent_model->generator) { in CompressIntentModel() local
31 generator->compressed_lua_template_generator.reset(new CompressedBufferT); in CompressIntentModel()
34 generator->lua_template_generator.data()), in CompressIntentModel()
35 generator->lua_template_generator.size()), in CompressIntentModel()
36 generator->compressed_lua_template_generator.get()); in CompressIntentModel()
37 generator->lua_template_generator.clear(); in CompressIntentModel()
50 for (std::unique_ptr<IntentFactoryModel_::IntentGeneratorT>& generator : in DecompressIntentModel()
51 intent_model->generator) { in DecompressIntentModel()
52 if (generator->compressed_lua_template_generator == nullptr) { in DecompressIntentModel()
58 generator->compressed_lua_template_generator.get(), in DecompressIntentModel()
[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
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
48 ( cd $DEST/generator-bin; strip *.so *.so.* )
Dmake_mac_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
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
/external/grpc-grpc/third_party/nanopb/tools/
Dmake_mac_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
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
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dtest_data_generation_unittest.py87 generator = generators_factory.GetInstance(
91 generator.Generate(
97 self._CheckGeneratedPairsListSizes(generator)
98 self._CheckGeneratedPairsSignalDurations(generator, input_signal)
99 self._CheckGeneratedPairsOutputPaths(generator)
126 generator = factory.GetInstance(
129 self.assertEqual(copy_with_identity, generator.copy_with_identity)
133 generator.Generate(
138 GetNoiseReferenceFilePaths(generator))
148 def _CheckGeneratedPairsListSizes(self, generator): argument
[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/protobuf/src/google/protobuf/
Dtext_format.cc1544 StringBaseTextGenerator generator; \
1545 delegate_.fn(__VA_ARGS__, &generator); \
1546 return std::move(generator).Consume()
1549 StringBaseTextGenerator generator; \
1550 delegate_.fn(__VA_ARGS__, &generator); \
1551 return generator.Get()
1609 bool val, BaseTextGenerator* generator) const { in PrintBool()
1611 generator->PrintLiteral("true"); in PrintBool()
1613 generator->PrintLiteral("false"); in PrintBool()
1617 int32 val, BaseTextGenerator* generator) const { in PrintInt32()
[all …]
/external/webrtc/test/
Dframe_generator_unittest.cc113 std::unique_ptr<FrameGeneratorInterface> generator( in TEST_F() local
117 CheckFrameAndMutate(generator->NextFrame(), 255, 255, 255); in TEST_F()
118 CheckFrameAndMutate(generator->NextFrame(), 255, 255, 255); in TEST_F()
122 std::unique_ptr<FrameGeneratorInterface> generator( in TEST_F() local
126 CheckFrameAndMutate(generator->NextFrame(), 0, 0, 0); in TEST_F()
127 CheckFrameAndMutate(generator->NextFrame(), 127, 127, 127); in TEST_F()
128 CheckFrameAndMutate(generator->NextFrame(), 0, 0, 0); in TEST_F()
136 std::unique_ptr<FrameGeneratorInterface> generator( in TEST_F() local
138 CheckFrameAndMutate(generator->NextFrame(), 0, 0, 0); in TEST_F()
139 CheckFrameAndMutate(generator->NextFrame(), 127, 127, 127); in TEST_F()
[all …]
/external/llvm-project/polly/lib/External/isl/interface/
Dgenerator.cc63 if (!generator::is_isl_type(type)) in is_static()
65 return generator::extract_type(type) != name; in is_static()
72 bool generator::is_static(const isl_class &clazz, FunctionDecl *method) in is_static()
81 bool generator::is_mutator(const isl_class &clazz, FunctionDecl *fd) in is_mutator()
105 FunctionDecl *generator::find_by_name(const string &name, bool required) in find_by_name()
120 const std::set<std::string> generator::automatic_conversion_functions = {
133 void generator::extract_automatic_conversion(FunctionDecl *fd) in extract_automatic_conversion()
153 void generator::extract_class_automatic_conversions(const isl_class &clazz) in extract_class_automatic_conversions()
169 void generator::extract_automatic_conversions() in extract_automatic_conversions()
184 void generator::add_subclass(RecordDecl *decl, const string &super_name, in add_subclass()
[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 …]

12345678910>>...76