Home
last modified time | relevance | path

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

12345678910>>...77

/third_party/skia/third_party/externals/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 …]
Dval_builtins_test.cpp87 CodeGenerator generator = CodeGenerator::GetDefaultShaderCodeGenerator(); in GetInMainCodeGenerator() local
90 generator.capabilities_ += capabilities; in GetInMainCodeGenerator()
93 generator.extensions_ += extensions; in GetInMainCodeGenerator()
96 generator.before_types_ = "OpMemberDecorate %built_in_type 0 BuiltIn "; in GetInMainCodeGenerator()
97 generator.before_types_ += built_in; in GetInMainCodeGenerator()
98 generator.before_types_ += "\n"; in GetInMainCodeGenerator()
115 generator.after_types_ = after_types.str(); in GetInMainCodeGenerator()
149 generator.entry_points_.push_back(std::move(entry_point)); in GetInMainCodeGenerator()
151 return generator; in GetInMainCodeGenerator()
162 CodeGenerator generator = GetInMainCodeGenerator( in TEST_P() local
[all …]
/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 …]
Dval_builtins_test.cpp87 CodeGenerator generator = CodeGenerator::GetDefaultShaderCodeGenerator(); in GetInMainCodeGenerator() local
90 generator.capabilities_ += capabilities; in GetInMainCodeGenerator()
93 generator.extensions_ += extensions; in GetInMainCodeGenerator()
96 generator.before_types_ = "OpMemberDecorate %built_in_type 0 BuiltIn "; in GetInMainCodeGenerator()
97 generator.before_types_ += built_in; in GetInMainCodeGenerator()
98 generator.before_types_ += "\n"; in GetInMainCodeGenerator()
115 generator.after_types_ = after_types.str(); in GetInMainCodeGenerator()
149 generator.entry_points_.push_back(std::move(entry_point)); in GetInMainCodeGenerator()
151 return generator; in GetInMainCodeGenerator()
162 CodeGenerator generator = GetInMainCodeGenerator( in TEST_P() local
[all …]
/third_party/skia/third_party/externals/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 …]
Dval_builtins_test.cpp87 CodeGenerator generator = CodeGenerator::GetDefaultShaderCodeGenerator(); in GetInMainCodeGenerator() local
90 generator.capabilities_ += capabilities; in GetInMainCodeGenerator()
93 generator.extensions_ += extensions; in GetInMainCodeGenerator()
96 generator.before_types_ = "OpMemberDecorate %built_in_type 0 BuiltIn "; in GetInMainCodeGenerator()
97 generator.before_types_ += built_in; in GetInMainCodeGenerator()
98 generator.before_types_ += "\n"; in GetInMainCodeGenerator()
115 generator.after_types_ = after_types.str(); in GetInMainCodeGenerator()
149 generator.entry_points_.push_back(std::move(entry_point)); in GetInMainCodeGenerator()
151 return generator; in GetInMainCodeGenerator()
162 CodeGenerator generator = GetInMainCodeGenerator( in TEST_P() local
[all …]
/third_party/boost/boost/numeric/odeint/external/viennacl/
Dviennacl_operations.hpp55 static generator::symbolic_vector <0, T1> sym_v1; in operator ()()
56 static generator::symbolic_vector <1, T2> sym_v2; in operator ()()
57 static generator::symbolic_vector <2, T3> sym_v3; in operator ()()
58 static generator::cpu_symbolic_scalar<3, Fac1> sym_a1; in operator ()()
59 static generator::cpu_symbolic_scalar<4, Fac2> sym_a2; in operator ()()
61 static generator::custom_operation op( in operator ()()
94 static generator::symbolic_vector <0, T1> sym_v1; in operator ()()
95 static generator::symbolic_vector <1, T2> sym_v2; in operator ()()
96 static generator::symbolic_vector <2, T3> sym_v3; in operator ()()
97 static generator::symbolic_vector <3, T4> sym_v4; in operator ()()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc189 OneofGenerator* generator = new OneofGenerator(descriptor_->oneof_decl(i)); in MessageGenerator() local
190 oneof_generators_.emplace_back(generator); in MessageGenerator()
194 EnumGenerator* generator = new EnumGenerator(descriptor_->enum_type(i)); in MessageGenerator() local
195 enum_generators_.emplace_back(generator); in MessageGenerator()
199 MessageGenerator* generator = in MessageGenerator() local
203 nested_message_generators_.emplace_back(generator); in MessageGenerator()
211 for (const auto& generator : extension_generators_) { in GenerateStaticVariablesInitialization() local
212 generator->GenerateStaticVariablesInitialization(printer); in GenerateStaticVariablesInitialization()
215 for (const auto& generator : nested_message_generators_) { in GenerateStaticVariablesInitialization() local
216 generator->GenerateStaticVariablesInitialization(printer); in GenerateStaticVariablesInitialization()
[all …]
Dobjectivec_file.cc194 EnumGenerator *generator = new EnumGenerator(file_->enum_type(i)); in FileGenerator() local
195 enum_generators_.emplace_back(generator); in FileGenerator()
198 MessageGenerator *generator = in FileGenerator() local
200 message_generators_.emplace_back(generator); in FileGenerator()
203 ExtensionGenerator *generator = in FileGenerator() local
205 extension_generators_.emplace_back(generator); in FileGenerator()
268 for (const auto& generator : message_generators_) { in GenerateHeader() local
269 generator->DetermineForwardDeclarations(&fwd_decls); in GenerateHeader()
284 for (const auto& generator : enum_generators_) { in GenerateHeader() local
285 generator->GenerateHeader(printer); in GenerateHeader()
[all …]
/third_party/boost/libs/locale/src/shared/
Dgenerator.cpp21 struct generator::data {
50 generator::generator(localization_backend_manager const &mgr) : in generator() function in boost::locale::generator
51 d(new generator::data(mgr)) in generator()
54 generator::generator() : in generator() function in boost::locale::generator
55 d(new generator::data(localization_backend_manager::global())) in generator()
58 generator::~generator() in ~generator()
62 locale_category_type generator::categories() const in categories()
66 void generator::categories(locale_category_type t) in categories()
71 void generator::characters(character_facet_type t) in characters()
76 character_facet_type generator::characters() const in characters()
[all …]
/third_party/protobuf/src/google/protobuf/
Dtext_format.cc1548 StringBaseTextGenerator generator; \
1549 delegate_.fn(__VA_ARGS__, &generator); \
1550 return std::move(generator).Consume()
1553 StringBaseTextGenerator generator; \
1554 delegate_.fn(__VA_ARGS__, &generator); \
1555 return generator.Get()
1613 bool val, BaseTextGenerator* generator) const { in PrintBool()
1615 generator->PrintLiteral("true"); in PrintBool()
1617 generator->PrintLiteral("false"); in PrintBool()
1621 int32 val, BaseTextGenerator* generator) const { in PrintInt32()
[all …]
/third_party/boost/tools/build/src/tools/
Dunix.jam19 class unix-linking-generator : linking-generator
26 composing ? : # Specify if generator is composing. The generator will be
28 # not given. To make generator non-composing, pass empty
34 generator.__init__ $(id) $(composing) : $(source-types) : $(target-types) :
40 local result = [ linking-generator.run $(project) $(name) : $(property-set)
66 return [ linking-generator.generated-targets $(sources) : $(property-set)
72 class unix-archive-generator : archive-generator
80 archive-generator.__init__ $(id) $(composing) : $(source-types) : $(target-types) :
86 local result = [ archive-generator.run $(project) $(name) : $(property-set)
96 class unix-searched-lib-generator : searched-lib-generator
[all …]
Dpch.jam47 # Base PCH generator. The 'run' method has the logic to prevent this generator
49 class pch-generator : generator
62 # Unless this generator is invoked as the top-most generator for a
64 # this generator, while preventing B2 to try this generator
67 # One bad example is msvc, where pch generator produces both PCH
69 # bison, or by msidl), we'd try to use pch generator to get OBJ from
70 # that H, which is completely wrong. By restricting this generator
90 # NOTE: requirements are empty, default pch generator can be applied when
93 [ new dummy-generator pch.default-c-pch-generator : : C_PCH ] ;
95 [ new dummy-generator pch.default-cpp-pch-generator : : CPP_PCH ] ;
/third_party/typescript/tests/baselines/reference/
DgeneratorExplicitReturnType.symbols4 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
16 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
24 declare const generator: Generator<number, symbol, string>;
25 >generator : Symbol(generator, Decl(generatorExplicitReturnType.ts, 12, 13))
26 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
30 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
32 const x: number = yield* generator; // error
34 >generator : Symbol(generator, Decl(generatorExplicitReturnType.ts, 12, 13))
41 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
43 const x = yield* generator;
[all …]
DasyncFunctionsAcrossFiles.js19 var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
22 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
23 … function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
25 step((generator = generator.apply(thisArg, _arguments || [])).next());
35 var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
38 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
39 … function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41 step((generator = generator.apply(thisArg, _arguments || [])).next());
/third_party/boost/libs/spirit/doc/karma/
Doperator.qbk18 yields a new generator type which is a composite of its operands, `a` and
22 overloaded operators is used with more primitive generator constructs. It
63 failed generator stops the execution of the entire
113 [:The overall complexity of the sequence generator is defined by the sum of the
165 failed generator forces the alternative generator to
197 generator (i.e. what is stored in the variant). The attribute type supplied at
204 [:The overall complexity of the alternative generator is defined by the sum of
222 `double_` generator is chosen for output formatting because the supplied
241 Kleene star generators are used to repeat the execution of an embedded generator
242 zero or more times. Regardless of the success of the embedded generator, the
[all …]
Ddirective.qbk11 This module includes different generator directives. It includes alignment
33 an arbitrary generator to create the padding.
68 [[`a`] [A generator object]]
69 [[`pad`] [A generator object, or a __karma_lazy_argument__ that
70 evaluates to a generator object]]
87 the necessary padding. This generator succeeds as
88 long as its embedded generator `a` does not
93 the necessary padding. This generator succeeds as
94 long as its embedded generator `a` does not
100 (default: 10), while using the generator `pad`
[all …]
Dchar.qbk30 The `char_` generator emits single characters. The `char_` generator has an
62 generator emits a single character that is in the range, including both
69 ISO-8859-1) to the `char_` generator to eliminate such ambiguities.
108 general, a char generator is created when you pass in a
109 character, a string generator is created when you pass in a string, and a
110 numeric generator is created when you use a numeric literal. The
112 `lit("x")`. In this case, we optimize this to create a char generator
113 instead of a string generator.]
156 [[`cg`] [A char generator, a char range generator, or a char set generator.]]]
165 [[`ch`] [Generate the character literal `ch`. This generator
[all …]
/third_party/qrcodegen/c/
Dqrcodegen-test.c53 void reedSolomonComputeRemainder(const uint8_t data[], int dataLen, const uint8_t generator[], int …
118 uint8_t *generator = malloc(blockEccLen * sizeof(uint8_t)); in addEccAndInterleaveReference() local
119 reedSolomonComputeDivisor((int)blockEccLen, generator); in addEccAndInterleaveReference()
124 …reedSolomonComputeRemainder(&data[k], (int)datLen, generator, (int)blockEccLen, &block[shortBlockL… in addEccAndInterleaveReference()
128 free(generator); in addEccAndInterleaveReference()
239 uint8_t generator[30]; in testReedSolomonComputeDivisor() local
241 reedSolomonComputeDivisor(1, generator); in testReedSolomonComputeDivisor()
242 assert(generator[0] == 0x01); in testReedSolomonComputeDivisor()
245 reedSolomonComputeDivisor(2, generator); in testReedSolomonComputeDivisor()
246 assert(generator[0] == 0x03); in testReedSolomonComputeDivisor()
[all …]
/third_party/boost/libs/random/example/
Drandom_demo.cpp28 void experiment(base_generator_type & generator) in experiment() argument
34 gen_type die_gen(generator, distribution_type(1, 6)); in experiment()
47 base_generator_type generator(42); in main() local
54 boost::variate_generator<base_generator_type&, boost::uniform_real<> > uni(generator, uni_dist); in main()
77 generator.seed(static_cast<unsigned int>(std::time(0))); in main()
82 base_generator_type saved_generator = generator; in main()
89 experiment(generator); in main()
95 assert(generator == saved_generator); in main()
99 boost::variate_generator<base_generator_type&, boost::uniform_int<> > deg(generator, degen_dist); in main()
106 file << generator; in main()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java247 final int tag, final Object value, final TextGenerator generator) throws IOException { in printUnknownFieldValue() argument
250 generator.print(unsignedToString((Long) value)); in printUnknownFieldValue()
253 generator.print(String.format((Locale) null, "0x%08x", (Integer) value)); in printUnknownFieldValue()
256 generator.print(String.format((Locale) null, "0x%016x", (Long) value)); in printUnknownFieldValue()
262 generator.print("{"); in printUnknownFieldValue()
263 generator.eol(); in printUnknownFieldValue()
264 generator.indent(); in printUnknownFieldValue()
265 Printer.printUnknownFields(message, generator); in printUnknownFieldValue()
266 generator.outdent(); in printUnknownFieldValue()
267 generator.print("}"); in printUnknownFieldValue()
[all …]
/third_party/gn/src/gn/
Dtarget_generator.cc102 BundleDataTargetGenerator generator(target.get(), scope, function_call, in GenerateTarget() local
104 generator.Run(); in GenerateTarget()
106 CreateBundleTargetGenerator generator(target.get(), scope, function_call, in GenerateTarget() local
108 generator.Run(); in GenerateTarget()
110 CopyTargetGenerator generator(target.get(), scope, function_call, err); in GenerateTarget() local
111 generator.Run(); in GenerateTarget()
113 ActionTargetGenerator generator(target.get(), scope, function_call, in GenerateTarget() local
115 generator.Run(); in GenerateTarget()
117 ActionTargetGenerator generator(target.get(), scope, function_call, in GenerateTarget() local
119 generator.Run(); in GenerateTarget()
[all …]
/third_party/skia/third_party/externals/tint/fuzzers/tint_regex_fuzzer/
Dwgsl_mutator.cc125 bool InsertReturnStatement(std::string& wgsl_code, RandomGenerator& generator) { in InsertReturnStatement() argument
136 size_t left_bracket_pos = generator.GetRandomElement(function_body_positions); in InsertReturnStatement()
154 size_t semicolon_position = generator.GetRandomElement(semicolon_positions); in InsertReturnStatement()
165 generator.GetRandomElement(return_values); in InsertReturnStatement()
222 RandomGenerator& generator) { in SwapRandomIntervals() argument
233 uint32_t interval_1_start = generator.GetUInt32( in SwapRandomIntervals()
235 uint32_t interval_1_end = generator.GetUInt32( in SwapRandomIntervals()
238 uint32_t interval_2_start = generator.GetUInt32( in SwapRandomIntervals()
240 uint32_t interval_2_end = generator.GetUInt32( in SwapRandomIntervals()
256 RandomGenerator& generator) { in DeleteRandomInterval() argument
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_cse.cpp41 vec4_instruction *generator; member
184 if (!(entry->generator->dst.is_null() && !inst->dst.is_null()) && in opt_cse_local()
185 instructions_match(inst, entry->generator)) { in opt_cse_local()
200 entry->generator = inst; in opt_cse_local()
208 if (no_existing_temp && !entry->generator->dst.is_null()) { in opt_cse_local()
210 regs_written(entry->generator)), in opt_cse_local()
213 const unsigned width = entry->generator->exec_size; in opt_cse_local()
216 DIV_ROUND_UP(entry->generator->size_written, component_size); in opt_cse_local()
219 MOV(offset(entry->generator->dst, width, i), in opt_cse_local()
222 copy->group = entry->generator->group; in opt_cse_local()
[all …]
/third_party/openssl/crypto/dh/
Ddh_gen.c20 static int dh_builtin_genparams(DH *ret, int prime_len, int generator,
23 int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, in DH_generate_parameters_ex() argument
27 return ret->meth->generate_params(ret, prime_len, generator, cb); in DH_generate_parameters_ex()
28 return dh_builtin_genparams(ret, prime_len, generator, cb); in DH_generate_parameters_ex()
61 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, in dh_builtin_genparams() argument
83 if (generator <= 1) { in dh_builtin_genparams()
87 if (generator == DH_GENERATOR_2) { in dh_builtin_genparams()
93 } else if (generator == DH_GENERATOR_5) { in dh_builtin_genparams()
109 g = generator; in dh_builtin_genparams()

12345678910>>...77