Home
last modified time | relevance | path

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

12345678910>>...58

/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/v8/src/builtins/
Dbuiltins-async-generator-gen.cc41 inline Node* LoadGeneratorState(Node* const generator) { in LoadGeneratorState() argument
42 return LoadObjectField(generator, JSGeneratorObject::kContinuationOffset); in LoadGeneratorState()
48 inline TNode<BoolT> IsGeneratorClosed(Node* const generator) { in IsGeneratorClosed() argument
49 return IsGeneratorStateClosed(LoadGeneratorState(generator)); in IsGeneratorClosed()
56 inline TNode<BoolT> IsGeneratorSuspended(Node* const generator) { in IsGeneratorSuspended() argument
57 return IsGeneratorStateSuspended(LoadGeneratorState(generator)); in IsGeneratorSuspended()
70 inline TNode<BoolT> IsGeneratorNotExecuting(Node* const generator) { in IsGeneratorNotExecuting() argument
71 return IsGeneratorStateNotExecuting(LoadGeneratorState(generator)); in IsGeneratorNotExecuting()
74 inline TNode<BoolT> IsGeneratorAwaiting(Node* const generator) { in IsGeneratorAwaiting() argument
76 LoadObjectField(generator, JSAsyncGeneratorObject::kIsAwaitingOffset); in IsGeneratorAwaiting()
[all …]
Dbuiltins-async-function-gen.cc21 void AsyncFunctionAwait(Node* const context, Node* const generator,
24 void AsyncFunctionAwaitOptimized(Node* const context, Node* const generator,
52 Node* const generator = in AsyncFunctionAwaitResumeClosure() local
54 CSA_SLOW_ASSERT(this, HasInstanceType(generator, JS_GENERATOR_OBJECT_TYPE)); in AsyncFunctionAwaitResumeClosure()
64 generator, JSGeneratorObject::kContinuationOffset)), in AsyncFunctionAwaitResumeClosure()
68 StoreObjectFieldNoWriteBarrier(generator, in AsyncFunctionAwaitResumeClosure()
74 CallStub(callable, context, sent_value, generator); in AsyncFunctionAwaitResumeClosure()
111 Node* const context, Node* const generator, Node* const awaited, in AsyncFunctionAwait() argument
113 CSA_SLOW_ASSERT(this, HasInstanceType(generator, JS_GENERATOR_OBJECT_TYPE)); in AsyncFunctionAwait()
118 generator); in AsyncFunctionAwait()
[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/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 …]
DClassInstrumentor.java144 RobolectricGeneratorAdapter generator = new RobolectricGeneratorAdapter(defaultConstructor); in addNoArgsConstructor() local
145 generator.loadThis(); in addNoArgsConstructor()
146generator.visitMethodInsn(Opcodes.INVOKESPECIAL, mutableClass.classNode.superName, "<init>", "()V"… in addNoArgsConstructor()
147 generator.loadThis(); in addNoArgsConstructor()
148 generator.invokeVirtual(mutableClass.classType, new Method(ROBO_INIT_METHOD_NAME, "()V")); in addNoArgsConstructor()
149 generator.returnValue(); in addNoArgsConstructor()
168 RobolectricGeneratorAdapter generator = new RobolectricGeneratorAdapter(initMethodNode); in addRoboInitMethod() local
170 generator.loadThis(); // this in addRoboInitMethod()
171generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addRoboInitMethod()
172 generator.ifNonNull(alreadyInitialized); in addRoboInitMethod()
[all …]
/external/webrtc/webrtc/modules/audio_processing/test/
Ddebug_dump_test.cc473 DebugDumpGenerator generator(config); in TEST_F() local
474 generator.StartRecording(); in TEST_F()
475 generator.Process(100); in TEST_F()
476 generator.StopRecording(); in TEST_F()
477 VerifyDebugDump(generator.dump_file_name()); in TEST_F()
482 DebugDumpGenerator generator(config); in TEST_F() local
483 generator.StartRecording(); in TEST_F()
484 generator.Process(100); in TEST_F()
485 generator.SetInputRate(48000); in TEST_F()
487 generator.ForceInputMono(true); in TEST_F()
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/
DFreshValueGeneratorTest.java155 FreshValueGenerator generator = new FreshValueGenerator(); in testStringArray() local
156 String[] a1 = generator.generate(String[].class); in testStringArray()
157 String[] a2 = generator.generate(String[].class); in testStringArray()
162 FreshValueGenerator generator = new FreshValueGenerator(); in testPrimitiveArray() local
163 int[] a1 = generator.generate(int[].class); in testPrimitiveArray()
164 int[] a2 = generator.generate(int[].class); in testPrimitiveArray()
217 FreshValueGenerator generator = new FreshValueGenerator(); in testImmutableMap() local
219 ImmutableMap.of(generator.generate(String.class), generator.generate(int.class)), in testImmutableMap()
225 FreshValueGenerator generator = new FreshValueGenerator(); in testImmutableSortedMap() local
227 ImmutableSortedMap.of(generator.generate(String.class), generator.generate(int.class)), in testImmutableSortedMap()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DPBE.java73 PBEParametersGenerator generator; in makePBEGenerator() local
86 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
91 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
108 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
113 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
128 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA256()); in makePBEGenerator()
137 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA224()); in makePBEGenerator()
142 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA384()); in makePBEGenerator()
147 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA512()); in makePBEGenerator()
180 generator = new PKCS12ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_builtins_test.cpp205 CodeGenerator generator; in GetDefaultShaderCodeGenerator() local
206 generator.capabilities_ = GetDefaultShaderCapabilities(); in GetDefaultShaderCodeGenerator()
207 generator.memory_model_ = "OpMemoryModel Logical GLSL450\n"; in GetDefaultShaderCodeGenerator()
208 generator.types_ = GetDefaultShaderTypes(); in GetDefaultShaderCodeGenerator()
209 return generator; in GetDefaultShaderCodeGenerator()
219 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_P() local
220 generator.before_types_ = "OpMemberDecorate %built_in_type 0 BuiltIn "; in TEST_P()
221 generator.before_types_ += built_in; in TEST_P()
222 generator.before_types_ += "\n"; in TEST_P()
232 generator.after_types_ = after_types.str(); in TEST_P()
[all …]
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_builtins_test.cpp205 CodeGenerator generator; in GetDefaultShaderCodeGenerator() local
206 generator.capabilities_ = GetDefaultShaderCapabilities(); in GetDefaultShaderCodeGenerator()
207 generator.memory_model_ = "OpMemoryModel Logical GLSL450\n"; in GetDefaultShaderCodeGenerator()
208 generator.types_ = GetDefaultShaderTypes(); in GetDefaultShaderCodeGenerator()
209 return generator; in GetDefaultShaderCodeGenerator()
219 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_P() local
220 generator.before_types_ = "OpMemberDecorate %built_in_type 0 BuiltIn "; in TEST_P()
221 generator.before_types_ += built_in; in TEST_P()
222 generator.before_types_ += "\n"; in TEST_P()
232 generator.after_types_ = after_types.str(); in TEST_P()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DPBE.java77 PBEParametersGenerator generator; in makePBEGenerator() local
90 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
95 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
112 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getMD5()); in makePBEGenerator()
117 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA1()); in makePBEGenerator()
132 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA256()); in makePBEGenerator()
141 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA224()); in makePBEGenerator()
146 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA384()); in makePBEGenerator()
151 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA512()); in makePBEGenerator()
184 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/tensorflow/tensorflow/python/data/kernel_tests/
Dfrom_generator_test.py37 def _testFromGenerator(self, generator, elem_sequence, num_repeats, argument
42 generator, output_types=output_types).repeat(num_repeats).prefetch(5)
49 def _testFromGeneratorOneShot(self, generator, elem_sequence, num_repeats): argument
51 generator, output_types=dtypes.int64).repeat(num_repeats).prefetch(5)
56 def generator(): function
59 elem_sequence = list(generator())
60 self._testFromGenerator(generator, elem_sequence, 1)
61 self._testFromGenerator(generator, elem_sequence, 5)
62 self._testFromGeneratorOneShot(generator, elem_sequence, 1)
63 self._testFromGeneratorOneShot(generator, elem_sequence, 5)
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcurand_10_0.inc5 curandCreateGenerator(curandGenerator_t *generator, curandRngType_t rng_type) {
9 return func_ptr(generator, rng_type);
13 curandCreateGeneratorHost(curandGenerator_t *generator, curandRngType_t rng_type) {
17 return func_ptr(generator, rng_type);
21 curandDestroyGenerator(curandGenerator_t generator) {
25 return func_ptr(generator);
45 curandSetStream(curandGenerator_t generator, cudaStream_t stream) {
49 return func_ptr(generator, stream);
53 curandSetPseudoRandomGeneratorSeed(curandGenerator_t generator, unsigned long long seed) {
57 return func_ptr(generator, seed);
[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/syzkaller/pkg/ifuzz/
Dpseudo.go16 generator: func(cfg *Config, r *rand.Rand) []byte {
29 generator: func(cfg *Config, r *rand.Rand) []byte {
45 generator: func(cfg *Config, r *rand.Rand) []byte {
58 generator: func(cfg *Config, r *rand.Rand) []byte {
72 generator: func(cfg *Config, r *rand.Rand) []byte {
84 generator: func(cfg *Config, r *rand.Rand) []byte {
97 generator: func(cfg *Config, r *rand.Rand) []byte {
118 generator: func(cfg *Config, r *rand.Rand) []byte {
133 generator: func(cfg *Config, r *rand.Rand) []byte {
156 generator: func(cfg *Config, r *rand.Rand) []byte {
[all …]
/external/v8/src/runtime/
Druntime-generator.cc29 Handle<JSGeneratorObject> generator = in RUNTIME_FUNCTION() local
31 generator->set_function(*function); in RUNTIME_FUNCTION()
32 generator->set_context(isolate->context()); in RUNTIME_FUNCTION()
33 generator->set_receiver(*receiver); in RUNTIME_FUNCTION()
34 generator->set_parameters_and_registers(*parameters_and_registers); in RUNTIME_FUNCTION()
35 generator->set_continuation(JSGeneratorObject::kGeneratorExecuting); in RUNTIME_FUNCTION()
36 if (generator->IsJSAsyncGeneratorObject()) { in RUNTIME_FUNCTION()
37 Handle<JSAsyncGeneratorObject>::cast(generator)->set_is_awaiting(0); in RUNTIME_FUNCTION()
39 return *generator; in RUNTIME_FUNCTION()
51 CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0); in RUNTIME_FUNCTION()
[all …]
/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
Dmake_linux_package.sh19 make -BC $DEST/generator/proto
22 cp $DEST/generator/nanopb_generator.py $DEST/generator/protoc-gen-nanopb.py
25 ( cd $DEST/generator; bbfreeze nanopb_generator.py protoc-gen-nanopb.py )
26 mv $DEST/generator/dist $DEST/generator-bin
29 rm $DEST/generator/protoc-gen-nanopb.py
32 cp `which protoc` $DEST/generator-bin/protoc.bin
35 cp $LIBPROTOC $LIBPROTOBUF $DEST/generator-bin/
36 cat > $DEST/generator-bin/protoc << EOF
43 chmod +x $DEST/generator-bin/protoc
/external/webrtc/webrtc/test/
Dframe_generator_unittest.cc91 rtc::scoped_ptr<FrameGenerator> generator(FrameGenerator::CreateFromYuvFile( in TEST_F() local
94 CheckFrameAndMutate(generator->NextFrame(), 255, 255, 255); in TEST_F()
95 CheckFrameAndMutate(generator->NextFrame(), 255, 255, 255); in TEST_F()
99 rtc::scoped_ptr<FrameGenerator> generator(FrameGenerator::CreateFromYuvFile( in TEST_F() local
102 CheckFrameAndMutate(generator->NextFrame(), 0, 0, 0); in TEST_F()
103 CheckFrameAndMutate(generator->NextFrame(), 127, 127, 127); in TEST_F()
104 CheckFrameAndMutate(generator->NextFrame(), 0, 0, 0); in TEST_F()
112 rtc::scoped_ptr<FrameGenerator> generator( in TEST_F() local
114 CheckFrameAndMutate(generator->NextFrame(), 0, 0, 0); in TEST_F()
115 CheckFrameAndMutate(generator->NextFrame(), 127, 127, 127); in TEST_F()
[all …]
/external/catch2/include/internal/
Dcatch_generators_generic.hpp21 TakeGenerator(size_t target, GeneratorWrapper<T>&& generator): in TakeGenerator() argument
22 m_generator(std::move(generator)), in TakeGenerator()
47 GeneratorWrapper<T> take(size_t target, GeneratorWrapper<T>&& generator) { in take() argument
48 return GeneratorWrapper<T>(pf::make_unique<TakeGenerator<T>>(target, std::move(generator))); in take()
58 FilterGenerator(P&& pred, GeneratorWrapper<T>&& generator): in FilterGenerator() argument
59 m_generator(std::move(generator)), in FilterGenerator()
88 GeneratorWrapper<T> filter(Predicate&& pred, GeneratorWrapper<T>&& generator) { in filter() argument
89 …:make_unique<FilterGenerator<T, Predicate>>(std::forward<Predicate>(pred), std::move(generator)))); in filter()
100 RepeatGenerator(size_t repeats, GeneratorWrapper<T>&& generator): in RepeatGenerator() argument
101 m_generator(std::move(generator)), in RepeatGenerator()
[all …]

12345678910>>...58