Home
last modified time | relevance | path

Searched refs:param_type (Results 1 – 25 of 68) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/scripts/
Dgenerate_entry_points.py1337 def make_param(param_type, param_name): argument
1339 def insert_name(param_type, param_name, pos): argument
1340 return param_type[:pos] + " " + param_name + param_type[pos:]
1343 left_paren = param_type.find("(")
1345 right_paren = param_type.index(")")
1346 return insert_name(param_type, param_name, right_paren)
1349 brackets = param_type.find("[")
1351 return insert_name(param_type, param_name, brackets)
1354 return param_type + " " + param_name
1480 param_type = just_the_type(param)
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Duniform_real_distribution_test.cc82 using param_type = in TYPED_TEST() typedef
83 typename absl::uniform_real_distribution<TypeParam>::param_type; in TYPED_TEST()
90 param_type(), in TYPED_TEST()
91 param_type(TypeParam(2.0), TypeParam(2.0)), // Same in TYPED_TEST()
92 param_type(TypeParam(-0.1), TypeParam(0.1)), in TYPED_TEST()
93 param_type(TypeParam(0.05), TypeParam(0.12)), in TYPED_TEST()
94 param_type(TypeParam(-0.05), TypeParam(0.13)), in TYPED_TEST()
95 param_type(TypeParam(-0.05), TypeParam(-0.02)), in TYPED_TEST()
98 param_type(a, TypeParam(1152921504606847040)), in TYPED_TEST()
100 param_type(a, TypeParam(1152921504606847104)), in TYPED_TEST()
[all …]
Dzipf_distribution.h55 class param_type {
64 explicit param_type(result_type k = (std::numeric_limits<IntType>::max)(),
71 friend bool operator==(const param_type& a, const param_type& b) {
74 friend bool operator!=(const param_type& a, const param_type& b) {
108 explicit zipf_distribution(const param_type& p) : param_(p) {} in zipf_distribution()
119 const param_type& p);
125 param_type param() const { return param_; } in param()
126 void param(const param_type& p) { param_ = p; } in param()
141 param_type param_;
149 zipf_distribution<IntType>::param_type::param_type( in param_type() function
[all …]
Ddiscrete_distribution.h56 class param_type {
60 param_type() { init(); } in param_type() function
63 explicit param_type(InputIterator begin, InputIterator end) in param_type() function
68 explicit param_type(std::initializer_list<double> weights) : p_(weights) { in param_type() function
73 explicit param_type(size_t nw, double xmin, double xmax, in param_type() function
90 friend bool operator==(const param_type& a, const param_type& b) {
94 friend bool operator!=(const param_type& a, const param_type& b) {
113 explicit discrete_distribution(const param_type& p) : param_(p) {} in discrete_distribution()
137 const param_type& p);
139 const param_type& param() const { return param_; } in param()
[all …]
Dexponential_distribution.h40 class param_type {
44 explicit param_type(result_type lambda = 1) : lambda_(lambda) { in lambda_()
51 friend bool operator==(const param_type& a, const param_type& b) {
55 friend bool operator!=(const param_type& a, const param_type& b) {
75 explicit exponential_distribution(const param_type& p) : param_(p) {} in exponential_distribution()
87 const param_type& p);
89 param_type param() const { return param_; } in param()
90 void param(const param_type& p) { param_ = p; } in param()
109 param_type param_;
122 const param_type& p) { in operator()
[all …]
Dpoisson_distribution.h58 class param_type {
61 explicit param_type(double mean = 1.0);
65 friend bool operator==(const param_type& a, const param_type& b) {
69 friend bool operator!=(const param_type& a, const param_type& b) {
92 explicit poisson_distribution(const param_type& p) : param_(p) {} in poisson_distribution()
104 const param_type& p);
106 param_type param() const { return param_; } in param()
107 void param(const param_type& p) { param_ = p; } in param()
124 param_type param_;
133 poisson_distribution<IntType>::param_type::param_type(double mean) in param_type() function
[all …]
Dbeta_distribution.h53 class param_type {
57 explicit param_type(result_type alpha, result_type beta) in param_type() function
123 friend bool operator==(const param_type& a, const param_type& b) {
127 friend bool operator!=(const param_type& a, const param_type& b) {
207 explicit beta_distribution(const param_type& p) : param_(p) {} in beta_distribution()
219 const param_type& p);
221 param_type param() const { return param_; } in param()
222 void param(const param_type& p) { param_ = p; } in param()
242 const param_type& p);
246 const param_type& p);
[all …]
Duniform_real_distribution.h68 class param_type {
72 explicit param_type(result_type lo = 0, result_type hi = 1)
87 friend bool operator==(const param_type& a, const param_type& b) {
91 friend bool operator!=(const param_type& a, const param_type& b) {
109 explicit uniform_real_distribution(const param_type& param) : param_(param) {} in uniform_real_distribution()
124 const param_type& p);
129 param_type param() const { return param_; } in param()
130 void param(const param_type& params) { param_ = params; } in param()
145 param_type param_;
156 URBG& gen, const param_type& p) { // NOLINT(runtime/references) in operator()
[all …]
Dlog_uniform_int_distribution_test.cc48 using param_type = in TYPED_TEST() typedef
49 typename absl::log_uniform_int_distribution<TypeParam>::param_type; in TYPED_TEST()
55 param_type(0, 1), // in TYPED_TEST()
56 param_type(0, 2), // in TYPED_TEST()
57 param_type(0, 2, 10), // in TYPED_TEST()
58 param_type(9, 32, 4), // in TYPED_TEST()
59 param_type(1, 101, 10), // in TYPED_TEST()
60 param_type(1, Limits::max() / 2), // in TYPED_TEST()
61 param_type(0, Limits::max() - 1), // in TYPED_TEST()
62 param_type(0, Limits::max(), 2), // in TYPED_TEST()
[all …]
Dbernoulli_distribution.h39 class param_type {
43 explicit param_type(double p = 0.5) : prob_(p) { in prob_()
49 friend bool operator==(const param_type& p1, const param_type& p2) {
52 friend bool operator!=(const param_type& p1, const param_type& p2) {
64 explicit bernoulli_distribution(param_type p) : param_(p) {} in bernoulli_distribution()
76 const param_type& param) { in operator()
80 param_type param() const { return param_; } in param()
81 void param(const param_type& param) { param_ = param; } in param()
104 param_type param_;
124 x.param(bernoulli_distribution::param_type(p));
Dlog_uniform_int_distribution.h52 class param_type {
56 explicit param_type(
96 friend bool operator==(const param_type& a, const param_type& b) {
100 friend bool operator!=(const param_type& a, const param_type& b) {
129 explicit log_uniform_int_distribution(const param_type& p) : param_(p) {} in log_uniform_int_distribution()
141 const param_type& p) { in operator()
149 param_type param() const { return param_; } in param()
150 void param(const param_type& p) { param_ = p; } in param()
166 const param_type& p);
168 param_type param_;
[all …]
Dgaussian_distribution.h91 class param_type {
95 explicit param_type(result_type mean = 0, result_type stddev = 1)
105 friend bool operator==(const param_type& a, const param_type& b) {
109 friend bool operator!=(const param_type& a, const param_type& b) {
128 explicit gaussian_distribution(const param_type& p) : param_(p) {} in gaussian_distribution()
140 const param_type& p);
142 param_type param() const { return param_; } in param()
143 void param(const param_type& p) { param_ = p; } in param()
165 param_type param_;
177 const param_type& p) { in operator()
[all …]
Duniform_int_distribution.h66 class param_type {
70 explicit param_type(
85 friend bool operator==(const param_type& a, const param_type& b) {
89 friend bool operator!=(const param_type& a, const param_type& b) {
112 explicit uniform_int_distribution(const param_type& param) : param_(param) {} in uniform_int_distribution()
127 URBG& gen, const param_type& param) { // NOLINT(runtime/references) in operator()
134 param_type param() const { return param_; } in param()
135 void param(const param_type& params) { param_ = params; } in param()
154 param_type param_;
176 using param_type = typename uniform_int_distribution<IntType>::param_type; variable
[all …]
Duniform_int_distribution_test.cc47 using param_type = in TYPED_TEST() typedef
48 typename absl::uniform_int_distribution<TypeParam>::param_type; in TYPED_TEST()
55 param_type(), in TYPED_TEST()
56 param_type(2, 2), // Same in TYPED_TEST()
57 param_type(9, 32), in TYPED_TEST()
58 param_type(kMin, 115), in TYPED_TEST()
59 param_type(kNegOneOrZero, Limits::max()), in TYPED_TEST()
60 param_type(Limits::min(), Limits::max()), in TYPED_TEST()
61 param_type(Limits::lowest(), Limits::max()), in TYPED_TEST()
62 param_type(Limits::min() + 1, Limits::max() - 1), in TYPED_TEST()
[all …]
Dzipf_distribution_test.cc50 using param_type = typename absl::zipf_distribution<TypeParam>::param_type; in TYPED_TEST() typedef
55 param_type(), in TYPED_TEST()
56 param_type(32), in TYPED_TEST()
57 param_type(100, 3, 2), in TYPED_TEST()
58 param_type(std::numeric_limits<TypeParam>::max(), 4, 3), in TYPED_TEST()
59 param_type(std::numeric_limits<TypeParam>::max() / 2), in TYPED_TEST()
212 class ZipfTest : public testing::TestWithParam<zipf_u64::param_type>,
323 std::vector<zipf_u64::param_type> GenParams() { in GenParams()
324 using param = zipf_u64::param_type; in GenParams()
329 return std::vector<zipf_u64::param_type>{ in GenParams()
[all …]
/third_party/skia/third_party/externals/tint/src/transform/
Dmodule_scope_var_to_entry_point_param.cc203 auto* param_type = ctx.dst->ty.pointer( in Process() local
206 ctx.dst->Param(new_var_symbol, param_type, attributes); in Process()
249 auto* param_type = store_type(); in Process() local
252 param_type = ctx.dst->ty.pointer( in Process()
253 param_type, sc, var->Declaration()->declared_access); in Process()
265 ctx.dst->Param(new_var_symbol, param_type, attributes)); in Process()
299 auto* param_type = ctx.dst->ty.pointer(ctx.dst->ty.Of(str), in Process() local
304 ctx.dst->Param(workgroup_param(), param_type, {disable_validation}); in Process()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_permute_function_parameters.cpp92 std::vector<uint32_t> param_id, param_type; in Apply() local
94 [&param_id, &param_type](const opt::Instruction* param) { in Apply()
96 param_type.push_back(param->type_id()); in Apply()
103 permuted_param_type.push_back(param_type[index]); in Apply()
Dfuzzer_pass_add_function_calls.cpp138 const auto* param_type = in ChooseFunctionCallArguments() local
140 assert(param_type && "Parameter has invalid type"); in ChooseFunctionCallArguments()
142 if (!param_type->AsPointer()) { in ChooseFunctionCallArguments()
172 auto storage_class = param_type->AsPointer()->storage_class(); in ChooseFunctionCallArguments()
/third_party/spirv-tools/source/fuzz/
Dtransformation_permute_function_parameters.cpp92 std::vector<uint32_t> param_id, param_type; in Apply() local
94 [&param_id, &param_type](const opt::Instruction* param) { in Apply()
96 param_type.push_back(param->type_id()); in Apply()
103 permuted_param_type.push_back(param_type[index]); in Apply()
Dfuzzer_pass_add_function_calls.cpp138 const auto* param_type = in ChooseFunctionCallArguments() local
140 assert(param_type && "Parameter has invalid type"); in ChooseFunctionCallArguments()
142 if (!param_type->AsPointer()) { in ChooseFunctionCallArguments()
172 auto storage_class = param_type->AsPointer()->storage_class(); in ChooseFunctionCallArguments()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_permute_function_parameters.cpp92 std::vector<uint32_t> param_id, param_type; in Apply() local
94 [&param_id, &param_type](const opt::Instruction* param) { in Apply()
96 param_type.push_back(param->type_id()); in Apply()
103 permuted_param_type.push_back(param_type[index]); in Apply()
Dfuzzer_pass_add_function_calls.cpp138 const auto* param_type = in ChooseFunctionCallArguments() local
140 assert(param_type && "Parameter has invalid type"); in ChooseFunctionCallArguments()
142 if (!param_type->AsPointer()) { in ChooseFunctionCallArguments()
172 auto storage_class = param_type->AsPointer()->storage_class(); in ChooseFunctionCallArguments()
/third_party/openssl/crypto/asn1/
Dx_algor.c76 int param_type; in X509_ALGOR_set_md() local
79 param_type = V_ASN1_UNDEF; in X509_ALGOR_set_md()
81 param_type = V_ASN1_NULL; in X509_ALGOR_set_md()
83 X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_MD_get_type(md)), param_type, NULL); in X509_ALGOR_set_md()
/third_party/node/deps/openssl/openssl/crypto/asn1/
Dx_algor.c76 int param_type; in X509_ALGOR_set_md() local
79 param_type = V_ASN1_UNDEF; in X509_ALGOR_set_md()
81 param_type = V_ASN1_NULL; in X509_ALGOR_set_md()
83 X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_MD_get_type(md)), param_type, NULL); in X509_ALGOR_set_md()
/third_party/libcoap/src/oscore/
Doscore.c53 oscore_cs_params(int8_t param, int8_t param_type, size_t *len) { in oscore_cs_params() argument
61 *len += oscore_cbor_put_number(&pt, &rem_size, param_type); in oscore_cs_params()
63 *len += oscore_cbor_put_number(&pt, &rem_size, param_type); in oscore_cs_params()
74 oscore_cs_key_params(cose_curve_t param, int8_t param_type, size_t *len) { in oscore_cs_key_params() argument
81 *len += oscore_cbor_put_number(&pt, &rem_size, param_type); in oscore_cs_key_params()

123