Home
last modified time | relevance | path

Searched refs:tmpl (Results 1 - 25 of 278) sorted by relevance

12345678910>>...12

/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_video_buffer.c171 const struct pipe_video_buffer *tmpl, in vl_video_buffer_template()
177 unsigned height = tmpl->height; in vl_video_buffer_template()
187 templ->width0 = tmpl->width; in vl_video_buffer_template()
190 templ->bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET | tmpl->bind; in vl_video_buffer_template()
348 const struct pipe_video_buffer *tmpl) in vl_video_buffer_create()
355 assert(tmpl->width > 0 && tmpl->height > 0); in vl_video_buffer_create()
365 vl_get_video_buffer_formats(pipe->screen, tmpl->buffer_format, resource_formats); in vl_video_buffer_create()
367 templat = *tmpl; in vl_video_buffer_create()
368 templat.width = pot_buffers ? util_next_power_of_two(tmpl in vl_video_buffer_create()
170 vl_video_buffer_template(struct pipe_resource *templ, const struct pipe_video_buffer *tmpl, enum pipe_format resource_format, unsigned depth, unsigned array_size, unsigned usage, unsigned plane, enum pipe_video_chroma_format chroma_format) vl_video_buffer_template() argument
347 vl_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl) vl_video_buffer_create() argument
391 vl_video_buffer_create_ex(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl, const enum pipe_format resource_formats[VL_NUM_COMPONENTS], unsigned depth, unsigned array_size, unsigned usage, enum pipe_video_chroma_format chroma_format) vl_video_buffer_create_ex() argument
441 vl_video_buffer_create_ex2(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl, struct pipe_resource *resources[VL_NUM_COMPONENTS]) vl_video_buffer_create_ex2() argument
471 vl_video_buffer_create_as_resource(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl, const uint64_t *modifiers, int modifiers_count) vl_video_buffer_create_as_resource() argument
[all...]
/third_party/node/src/
H A Dhistogram.cc282 Local<FunctionTemplate> tmpl = env->histogram_ctor_template(); in GetConstructorTemplate() local
283 if (tmpl.IsEmpty()) { in GetConstructorTemplate()
285 tmpl = NewFunctionTemplate(isolate, New); in GetConstructorTemplate()
288 tmpl->SetClassName(classname); in GetConstructorTemplate()
289 tmpl->Inherit(BaseObject::GetConstructorTemplate(env)); in GetConstructorTemplate()
291 tmpl->InstanceTemplate()->SetInternalFieldCount( in GetConstructorTemplate()
293 SetProtoMethodNoSideEffect(isolate, tmpl, "count", GetCount); in GetConstructorTemplate()
294 SetProtoMethodNoSideEffect(isolate, tmpl, "countBigInt", GetCountBigInt); in GetConstructorTemplate()
295 SetProtoMethodNoSideEffect(isolate, tmpl, "exceeds", GetExceeds); in GetConstructorTemplate()
297 isolate, tmpl, "exceedsBigIn in GetConstructorTemplate()
368 Local<FunctionTemplate> tmpl = env->intervalhistogram_constructor_template(); GetConstructorTemplate() local
[all...]
H A Dhandle_wrap.cc159 Local<FunctionTemplate> tmpl = env->handle_wrap_ctor_template(); in GetConstructorTemplate() local
160 if (tmpl.IsEmpty()) { in GetConstructorTemplate()
162 tmpl = NewFunctionTemplate(isolate, nullptr); in GetConstructorTemplate()
163 tmpl->SetClassName(FIXED_ONE_BYTE_STRING(env->isolate(), "HandleWrap")); in GetConstructorTemplate()
164 tmpl->Inherit(AsyncWrap::GetConstructorTemplate(env)); in GetConstructorTemplate()
165 SetProtoMethod(isolate, tmpl, "close", HandleWrap::Close); in GetConstructorTemplate()
166 SetProtoMethodNoSideEffect(isolate, tmpl, "hasRef", HandleWrap::HasRef); in GetConstructorTemplate()
167 SetProtoMethod(isolate, tmpl, "ref", HandleWrap::Ref); in GetConstructorTemplate()
168 SetProtoMethod(isolate, tmpl, "unref", HandleWrap::Unref); in GetConstructorTemplate()
169 env->set_handle_wrap_ctor_template(tmpl); in GetConstructorTemplate()
[all...]
H A Dbase_object.cc150 Local<FunctionTemplate> tmpl = isolate_data->base_object_ctor_template(); in GetConstructorTemplate() local
151 if (tmpl.IsEmpty()) { in GetConstructorTemplate()
152 tmpl = NewFunctionTemplate(isolate_data->isolate(), nullptr); in GetConstructorTemplate()
153 tmpl->SetClassName( in GetConstructorTemplate()
155 isolate_data->set_base_object_ctor_template(tmpl); in GetConstructorTemplate()
157 return tmpl; in GetConstructorTemplate()
H A Dnode_wasi.cc1702 Local<FunctionTemplate> tmpl = NewFunctionTemplate(isolate, WASI::New); in Initialize() local
1703 tmpl->InstanceTemplate()->SetInternalFieldCount(WASI::kInternalFieldCount); in Initialize()
1704 tmpl->Inherit(BaseObject::GetConstructorTemplate(env)); in Initialize()
1706 SetProtoMethod(isolate, tmpl, "args_get", WASI::ArgsGet); in Initialize()
1707 SetProtoMethod(isolate, tmpl, "args_sizes_get", WASI::ArgsSizesGet); in Initialize()
1708 SetProtoMethod(isolate, tmpl, "clock_res_get", WASI::ClockResGet); in Initialize()
1709 SetProtoMethod(isolate, tmpl, "clock_time_get", WASI::ClockTimeGet); in Initialize()
1710 SetProtoMethod(isolate, tmpl, "environ_get", WASI::EnvironGet); in Initialize()
1711 SetProtoMethod(isolate, tmpl, "environ_sizes_get", WASI::EnvironSizesGet); in Initialize()
1712 SetProtoMethod(isolate, tmpl, "fd_advis in Initialize()
[all...]
H A Dstream_wrap.cc138 Local<FunctionTemplate> tmpl = env->libuv_stream_wrap_ctor_template(); in GetConstructorTemplate() local
139 if (tmpl.IsEmpty()) { in GetConstructorTemplate()
141 tmpl = NewFunctionTemplate(isolate, nullptr); in GetConstructorTemplate()
142 tmpl->SetClassName(FIXED_ONE_BYTE_STRING(isolate, "LibuvStreamWrap")); in GetConstructorTemplate()
143 tmpl->Inherit(HandleWrap::GetConstructorTemplate(env)); in GetConstructorTemplate()
144 tmpl->InstanceTemplate()->SetInternalFieldCount( in GetConstructorTemplate()
150 Signature::New(isolate, tmpl)); in GetConstructorTemplate()
151 tmpl->PrototypeTemplate()->SetAccessorProperty( in GetConstructorTemplate()
156 SetProtoMethod(isolate, tmpl, "setBlocking", SetBlocking); in GetConstructorTemplate()
157 StreamBase::AddMethods(env, tmpl); in GetConstructorTemplate()
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_texture.c165 struct pipe_sampler_view tmpl; in st_get_sampler_views() local
171 tmpl = *sampler_views[unit]; in st_get_sampler_views()
184 tmpl.format = PIPE_FORMAT_RG88_UNORM; in st_get_sampler_views()
185 tmpl.swizzle_g = PIPE_SWIZZLE_Y; /* tmpl from Y plane is R8 */ in st_get_sampler_views()
188 pipe->create_sampler_view(pipe, stObj->pt->next, &tmpl); in st_get_sampler_views()
194 tmpl.format = PIPE_FORMAT_RG1616_UNORM; in st_get_sampler_views()
195 tmpl.swizzle_g = PIPE_SWIZZLE_Y; /* tmpl from Y plane is R16 */ in st_get_sampler_views()
198 pipe->create_sampler_view(pipe, stObj->pt->next, &tmpl); in st_get_sampler_views()
[all...]
/third_party/node/deps/openssl/openssl/crypto/crmf/
H A Dcrmf_lib.c262 OSSL_CRMF_CERTTEMPLATE *tmpl = OSSL_CRMF_MSG_get0_tmpl(crm); in OSSL_CRMF_MSG_set0_validity() local
264 if (tmpl == NULL) { /* also crm == NULL implies this */ in OSSL_CRMF_MSG_set0_validity()
273 tmpl->validity = vld; in OSSL_CRMF_MSG_set0_validity()
321 OSSL_CRMF_CERTTEMPLATE *tmpl = OSSL_CRMF_MSG_get0_tmpl(crm); in OSSL_CRMF_MSG_set0_extensions() local
323 if (tmpl == NULL) { /* also crm == NULL implies this */ in OSSL_CRMF_MSG_set0_extensions()
333 sk_X509_EXTENSION_pop_free(tmpl->extensions, X509_EXTENSION_free); in OSSL_CRMF_MSG_set0_extensions()
334 tmpl->extensions = exts; in OSSL_CRMF_MSG_set0_extensions()
343 OSSL_CRMF_CERTTEMPLATE *tmpl = OSSL_CRMF_MSG_get0_tmpl(crm); in OSSL_CRMF_MSG_push0_extension() local
345 if (tmpl == NULL || ext == NULL) { /* also crm == NULL implies this */ in OSSL_CRMF_MSG_push0_extension()
350 if (tmpl in OSSL_CRMF_MSG_push0_extension()
535 OSSL_CRMF_CERTTEMPLATE_get0_serialNumber(const OSSL_CRMF_CERTTEMPLATE *tmpl) OSSL_CRMF_CERTTEMPLATE_get0_serialNumber() argument
541 OSSL_CRMF_CERTTEMPLATE_get0_subject(const OSSL_CRMF_CERTTEMPLATE *tmpl) OSSL_CRMF_CERTTEMPLATE_get0_subject() argument
548 OSSL_CRMF_CERTTEMPLATE_get0_issuer(const OSSL_CRMF_CERTTEMPLATE *tmpl) OSSL_CRMF_CERTTEMPLATE_get0_issuer() argument
554 OSSL_CRMF_CERTTEMPLATE_get0_extensions(const OSSL_CRMF_CERTTEMPLATE *tmpl) OSSL_CRMF_CERTTEMPLATE_get0_extensions() argument
576 OSSL_CRMF_CERTTEMPLATE_fill(OSSL_CRMF_CERTTEMPLATE *tmpl, EVP_PKEY *pubkey, const X509_NAME *subject, const X509_NAME *issuer, const ASN1_INTEGER *serial) OSSL_CRMF_CERTTEMPLATE_fill() argument
[all...]
/third_party/openssl/crypto/crmf/
H A Dcrmf_lib.c262 OSSL_CRMF_CERTTEMPLATE *tmpl = OSSL_CRMF_MSG_get0_tmpl(crm); in OSSL_CRMF_MSG_set0_validity() local
264 if (tmpl == NULL) { /* also crm == NULL implies this */ in OSSL_CRMF_MSG_set0_validity()
273 tmpl->validity = vld; in OSSL_CRMF_MSG_set0_validity()
321 OSSL_CRMF_CERTTEMPLATE *tmpl = OSSL_CRMF_MSG_get0_tmpl(crm); in OSSL_CRMF_MSG_set0_extensions() local
323 if (tmpl == NULL) { /* also crm == NULL implies this */ in OSSL_CRMF_MSG_set0_extensions()
333 sk_X509_EXTENSION_pop_free(tmpl->extensions, X509_EXTENSION_free); in OSSL_CRMF_MSG_set0_extensions()
334 tmpl->extensions = exts; in OSSL_CRMF_MSG_set0_extensions()
343 OSSL_CRMF_CERTTEMPLATE *tmpl = OSSL_CRMF_MSG_get0_tmpl(crm); in OSSL_CRMF_MSG_push0_extension() local
345 if (tmpl == NULL || ext == NULL) { /* also crm == NULL implies this */ in OSSL_CRMF_MSG_push0_extension()
350 if (tmpl in OSSL_CRMF_MSG_push0_extension()
535 OSSL_CRMF_CERTTEMPLATE_get0_serialNumber(const OSSL_CRMF_CERTTEMPLATE *tmpl) OSSL_CRMF_CERTTEMPLATE_get0_serialNumber() argument
541 OSSL_CRMF_CERTTEMPLATE_get0_subject(const OSSL_CRMF_CERTTEMPLATE *tmpl) OSSL_CRMF_CERTTEMPLATE_get0_subject() argument
548 OSSL_CRMF_CERTTEMPLATE_get0_issuer(const OSSL_CRMF_CERTTEMPLATE *tmpl) OSSL_CRMF_CERTTEMPLATE_get0_issuer() argument
554 OSSL_CRMF_CERTTEMPLATE_get0_extensions(const OSSL_CRMF_CERTTEMPLATE *tmpl) OSSL_CRMF_CERTTEMPLATE_get0_extensions() argument
576 OSSL_CRMF_CERTTEMPLATE_fill(OSSL_CRMF_CERTTEMPLATE *tmpl, EVP_PKEY *pubkey, const X509_NAME *subject, const X509_NAME *issuer, const ASN1_INTEGER *serial) OSSL_CRMF_CERTTEMPLATE_fill() argument
[all...]
/third_party/node/src/crypto/
H A Dcrypto_x509.cc68 Local<FunctionTemplate> tmpl = env->x509_constructor_template(); in GetConstructorTemplate() local
69 if (tmpl.IsEmpty()) { in GetConstructorTemplate()
71 tmpl = NewFunctionTemplate(isolate, nullptr); in GetConstructorTemplate()
72 tmpl->InstanceTemplate()->SetInternalFieldCount( in GetConstructorTemplate()
74 tmpl->Inherit(BaseObject::GetConstructorTemplate(env)); in GetConstructorTemplate()
75 tmpl->SetClassName( in GetConstructorTemplate()
77 SetProtoMethod(isolate, tmpl, "subject", Subject); in GetConstructorTemplate()
78 SetProtoMethod(isolate, tmpl, "subjectAltName", SubjectAltName); in GetConstructorTemplate()
79 SetProtoMethod(isolate, tmpl, "infoAccess", InfoAccess); in GetConstructorTemplate()
80 SetProtoMethod(isolate, tmpl, "issue in GetConstructorTemplate()
[all...]
H A Dcrypto_context.cc264 Local<FunctionTemplate> tmpl = env->secure_context_constructor_template(); in GetConstructorTemplate() local
265 if (tmpl.IsEmpty()) { in GetConstructorTemplate()
267 tmpl = NewFunctionTemplate(isolate, New); in GetConstructorTemplate()
268 tmpl->InstanceTemplate()->SetInternalFieldCount( in GetConstructorTemplate()
270 tmpl->Inherit(BaseObject::GetConstructorTemplate(env)); in GetConstructorTemplate()
271 tmpl->SetClassName(FIXED_ONE_BYTE_STRING(env->isolate(), "SecureContext")); in GetConstructorTemplate()
273 SetProtoMethod(isolate, tmpl, "init", Init); in GetConstructorTemplate()
274 SetProtoMethod(isolate, tmpl, "setKey", SetKey); in GetConstructorTemplate()
275 SetProtoMethod(isolate, tmpl, "setCert", SetCert); in GetConstructorTemplate()
276 SetProtoMethod(isolate, tmpl, "addCACer in GetConstructorTemplate()
[all...]
/third_party/skia/third_party/externals/tint/src/transform/
H A Dvectorize_scalar_matrix_constructors_test.cc56 std::string tmpl = R"( in TEST_P() local
62 tmpl = utils::ReplaceAll(tmpl, "${matrix}", mat_type); in TEST_P()
63 auto src = utils::ReplaceAll(tmpl, "${values}", scalar_values); in TEST_P()
64 auto expect = utils::ReplaceAll(tmpl, "${values}", vector_values); in TEST_P()
85 std::string tmpl = R"( in TEST_P() local
91 tmpl = utils::ReplaceAll(tmpl, "${matrix}", mat_type); in TEST_P()
92 auto src = utils::ReplaceAll(tmpl, "${columns}", columns); in TEST_P()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_uvd.c59 const struct pipe_video_buffer *tmpl) in r600_video_buffer_create()
70 pipe_format_to_chroma_format(tmpl->buffer_format); in r600_video_buffer_create()
75 vl_get_video_buffer_formats(pipe->screen, tmpl->buffer_format, resource_formats); in r600_video_buffer_create()
77 array_size = tmpl->interlaced ? 2 : 1; in r600_video_buffer_create()
78 template = *tmpl; in r600_video_buffer_create()
79 template.width = align(tmpl->width, VL_MACROBLOCK_WIDTH); in r600_video_buffer_create()
80 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT); in r600_video_buffer_create()
84 if (ctx->b.gfx_level < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING) in r600_video_buffer_create()
94 if (ctx->b.gfx_level < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING) in r600_video_buffer_create()
105 if (ctx->b.gfx_level < EVERGREEN || tmpl in r600_video_buffer_create()
58 r600_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl) r600_video_buffer_create() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_resource.c192 const struct pipe_resource *tmpl) in is_rs_align()
196 !etna_resource_sampler_only(tmpl)); in is_rs_align()
423 struct pipe_resource tmpl = *templat; in etna_resource_create_modifiers() local
429 return etna_resource_alloc(pscreen, modifier_to_layout(modifier), modifier, &tmpl); in etna_resource_create_modifiers()
465 const struct pipe_resource *tmpl, in etna_resource_from_handle()
475 tmpl->target, util_format_name(tmpl->format), tmpl->width0, in etna_resource_from_handle()
476 tmpl->height0, tmpl in etna_resource_from_handle()
191 is_rs_align(struct etna_screen *screen, const struct pipe_resource *tmpl) is_rs_align() argument
464 etna_resource_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, struct winsys_handle *handle, unsigned usage) etna_resource_from_handle() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_resource.c52 const struct pipe_resource *tmpl) in nv30_resource_create()
54 switch (tmpl->target) { in nv30_resource_create()
56 return nouveau_buffer_create(pscreen, tmpl); in nv30_resource_create()
58 return nv30_miptree_create(pscreen, tmpl); in nv30_resource_create()
73 const struct pipe_resource *tmpl, in nv30_resource_from_handle()
77 if (tmpl->target == PIPE_BUFFER) in nv30_resource_from_handle()
80 return nv30_miptree_from_handle(pscreen, tmpl, handle); in nv30_resource_from_handle()
51 nv30_resource_create(struct pipe_screen *pscreen, const struct pipe_resource *tmpl) nv30_resource_create() argument
72 nv30_resource_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, struct winsys_handle *handle, unsigned usage) nv30_resource_from_handle() argument
H A Dnv30_texture.c220 const struct pipe_sampler_view *tmpl) in nv30_sampler_view_create()
222 const struct nv30_texfmt *fmt = nv30_texfmt(pipe->screen, tmpl->format); in nv30_sampler_view_create()
230 so->pipe = *tmpl; in nv30_sampler_view_create()
260 so->swz |= swizzle(fmt, 3, tmpl->swizzle_a); in nv30_sampler_view_create()
261 so->swz |= swizzle(fmt, 0, tmpl->swizzle_r) << 2; in nv30_sampler_view_create()
262 so->swz |= swizzle(fmt, 1, tmpl->swizzle_g) << 4; in nv30_sampler_view_create()
263 so->swz |= swizzle(fmt, 2, tmpl->swizzle_b) << 6; in nv30_sampler_view_create()
275 switch (tmpl->format) { in nv30_sampler_view_create()
219 nv30_sampler_view_create(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_sampler_view *tmpl) nv30_sampler_view_create() argument
/third_party/node/src/quic/
H A Dlogstream.cc24 auto tmpl = state.logstream_constructor_template(); in GetConstructorTemplate() local
25 if (tmpl.IsEmpty()) { in GetConstructorTemplate()
26 tmpl = FunctionTemplate::New(env->isolate()); in GetConstructorTemplate()
27 tmpl->Inherit(AsyncWrap::GetConstructorTemplate(env)); in GetConstructorTemplate()
28 tmpl->InstanceTemplate()->SetInternalFieldCount( in GetConstructorTemplate()
30 tmpl->SetClassName(state.logstream_string()); in GetConstructorTemplate()
31 StreamBase::AddMethods(env, tmpl); in GetConstructorTemplate()
32 state.set_logstream_constructor_template(tmpl); in GetConstructorTemplate()
34 return tmpl; in GetConstructorTemplate()
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec_backend.c156 static int ec_group_explicit_todata(const EC_GROUP *group, OSSL_PARAM_BLD *tmpl, in ec_group_explicit_todata() argument
186 if (tmpl != NULL || param_p != NULL || param_a != NULL || param_b != NULL) in ec_group_explicit_todata()
201 if (!ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_P, p) in ec_group_explicit_todata()
202 || !ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_A, a) in ec_group_explicit_todata()
203 || !ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_B, b)) { in ec_group_explicit_todata()
210 if (tmpl != NULL || param != NULL) { in ec_group_explicit_todata()
217 if (!ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_ORDER, in ec_group_explicit_todata()
225 if (tmpl != NULL || param != NULL) { in ec_group_explicit_todata()
226 if (!ossl_param_build_set_utf8_string(tmpl, params, in ec_group_explicit_todata()
235 if (tmpl ! in ec_group_explicit_todata()
288 ossl_ec_group_todata(const EC_GROUP *group, OSSL_PARAM_BLD *tmpl, OSSL_PARAM params[], OSSL_LIB_CTX *libctx, const char *propq, BN_CTX *bnctx, unsigned char **genbuf) ossl_ec_group_todata() argument
[all...]
/third_party/openssl/crypto/ec/
H A Dec_backend.c156 static int ec_group_explicit_todata(const EC_GROUP *group, OSSL_PARAM_BLD *tmpl, in ec_group_explicit_todata() argument
186 if (tmpl != NULL || param_p != NULL || param_a != NULL || param_b != NULL) in ec_group_explicit_todata()
201 if (!ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_P, p) in ec_group_explicit_todata()
202 || !ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_A, a) in ec_group_explicit_todata()
203 || !ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_B, b)) { in ec_group_explicit_todata()
210 if (tmpl != NULL || param != NULL) { in ec_group_explicit_todata()
217 if (!ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_ORDER, in ec_group_explicit_todata()
225 if (tmpl != NULL || param != NULL) { in ec_group_explicit_todata()
226 if (!ossl_param_build_set_utf8_string(tmpl, params, in ec_group_explicit_todata()
235 if (tmpl ! in ec_group_explicit_todata()
288 ossl_ec_group_todata(const EC_GROUP *group, OSSL_PARAM_BLD *tmpl, OSSL_PARAM params[], OSSL_LIB_CTX *libctx, const char *propq, BN_CTX *bnctx, unsigned char **genbuf) ossl_ec_group_todata() argument
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderDiscardTests.cpp341 ShaderDiscardCase* makeDiscardCase (Context& context, DiscardTemplate tmpl, DiscardMode mode) in makeDiscardCase() argument
343 StringTemplate shaderTemplate(getTemplate(tmpl)); in makeDiscardCase()
359 string name = string(getTemplateName(tmpl)) + "_" + getModeName(mode); in makeDiscardCase()
360 string description = string(getModeDesc(mode)) + " in " + getTemplateDesc(tmpl); in makeDiscardCase()
362 | (tmpl == DISCARDTEMPLATE_MAIN_DYNAMIC_LOOP ? FLAG_REQUIRES_DYNAMIC_LOOPS : 0); in makeDiscardCase()
369 for (int tmpl = 0; tmpl < DISCARDTEMPLATE_LAST; tmpl++) in init()
371 addChild(makeDiscardCase(m_context, (DiscardTemplate)tmpl, (DiscardMode)mode)); in init()
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dctrl_params_translate.c2516 lookup_translation(struct translation_st *tmpl, in lookup_translation() argument
2539 if (item->optype != -1 && (tmpl->optype & item->optype) == 0) in lookup_translation()
2546 && tmpl->keytype1 != item->keytype1 in lookup_translation()
2547 && tmpl->keytype2 != item->keytype2) in lookup_translation()
2555 if (tmpl->ctrl_num != 0) { in lookup_translation()
2556 if (tmpl->ctrl_num != item->ctrl_num) in lookup_translation()
2558 } else if (tmpl->ctrl_str != NULL) { in lookup_translation()
2575 && OPENSSL_strcasecmp(tmpl->ctrl_str, item->ctrl_str) == 0) in lookup_translation()
2576 ctrl_str = tmpl->ctrl_str; in lookup_translation()
2578 && OPENSSL_strcasecmp(tmpl in lookup_translation()
2621 lookup_evp_pkey_ctx_translation(struct translation_st *tmpl) lookup_evp_pkey_ctx_translation() argument
2628 lookup_evp_pkey_translation(struct translation_st *tmpl) lookup_evp_pkey_translation() argument
2640 struct translation_st tmpl = { 0, }; evp_pkey_ctx_ctrl_to_param() local
2708 struct translation_st tmpl = { 0, }; evp_pkey_ctx_ctrl_str_to_param() local
2775 struct translation_st tmpl = { 0, }; evp_pkey_ctx_setget_params_to_ctrl() local
2838 struct translation_st tmpl = { 0, }; evp_pkey_setget_params_to_ctrl() local
[all...]
/third_party/openssl/crypto/evp/
H A Dctrl_params_translate.c2507 lookup_translation(struct translation_st *tmpl, in lookup_translation() argument
2530 if (item->optype != -1 && (tmpl->optype & item->optype) == 0) in lookup_translation()
2537 && tmpl->keytype1 != item->keytype1 in lookup_translation()
2538 && tmpl->keytype2 != item->keytype2) in lookup_translation()
2546 if (tmpl->ctrl_num != 0) { in lookup_translation()
2547 if (tmpl->ctrl_num != item->ctrl_num) in lookup_translation()
2549 } else if (tmpl->ctrl_str != NULL) { in lookup_translation()
2566 && OPENSSL_strcasecmp(tmpl->ctrl_str, item->ctrl_str) == 0) in lookup_translation()
2567 ctrl_str = tmpl->ctrl_str; in lookup_translation()
2569 && OPENSSL_strcasecmp(tmpl in lookup_translation()
2612 lookup_evp_pkey_ctx_translation(struct translation_st *tmpl) lookup_evp_pkey_ctx_translation() argument
2619 lookup_evp_pkey_translation(struct translation_st *tmpl) lookup_evp_pkey_translation() argument
2631 struct translation_st tmpl = { 0, }; evp_pkey_ctx_ctrl_to_param() local
2699 struct translation_st tmpl = { 0, }; evp_pkey_ctx_ctrl_str_to_param() local
2766 struct translation_st tmpl = { 0, }; evp_pkey_ctx_setget_params_to_ctrl() local
2829 struct translation_st tmpl = { 0, }; evp_pkey_setget_params_to_ctrl() local
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderDiscardTests.cpp331 ShaderDiscardCase* makeDiscardCase (Context& context, DiscardTemplate tmpl, DiscardMode mode) in makeDiscardCase() argument
333 StringTemplate shaderTemplate(getTemplate(tmpl)); in makeDiscardCase()
349 string name = string(getTemplateName(tmpl)) + "_" + getModeName(mode); in makeDiscardCase()
350 string description = string(getModeDesc(mode)) + " in " + getTemplateDesc(tmpl); in makeDiscardCase()
357 for (int tmpl = 0; tmpl < DISCARDTEMPLATE_LAST; tmpl++) in init()
359 addChild(makeDiscardCase(m_context, (DiscardTemplate)tmpl, (DiscardMode)mode)); in init()
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_resource.c581 struct pipe_resource tmpl = rsc->b.b; variable
587 (util_format_get_mask(tmpl.format) & PIPE_MASK_S))
590 tmpl.width0 = box->width;
591 tmpl.height0 = box->height;
595 if (tmpl.array_size > 1) {
596 if (tmpl.target == PIPE_TEXTURE_CUBE)
597 tmpl.target = PIPE_TEXTURE_2D_ARRAY;
598 tmpl.array_size = box->depth;
599 tmpl.depth0 = 1;
601 tmpl
1107 alloc_resource_struct(struct pipe_screen *pscreen, const struct pipe_resource *tmpl) alloc_resource_struct() argument
1150 get_best_layout(struct fd_screen *screen, struct pipe_resource *prsc, const struct pipe_resource *tmpl, const uint64_t *modifiers, int count) get_best_layout() argument
1231 fd_resource_allocate_and_resolve(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, const uint64_t *modifiers, int count, uint32_t *psize) fd_resource_allocate_and_resolve() argument
1311 fd_resource_create_with_modifiers(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, const uint64_t *modifiers, int count) fd_resource_create_with_modifiers() argument
1368 fd_resource_create(struct pipe_screen *pscreen, const struct pipe_resource *tmpl) fd_resource_create() argument
1381 fd_resource_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, struct winsys_handle *handle, unsigned usage) fd_resource_from_handle() argument
1562 fd_resource_from_memobj(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, struct pipe_memory_object *pmemobj, uint64_t offset) fd_resource_from_memobj() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_video_buffer.cpp40 d3d12_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl) in d3d12_video_buffer_create() argument
43 assert(tmpl); in d3d12_video_buffer_create()
50 if (!(tmpl->buffer_format == PIPE_FORMAT_NV12)) { in d3d12_video_buffer_create()
55 if (!(pipe_format_to_chroma_format(tmpl->buffer_format) == PIPE_VIDEO_CHROMA_FORMAT_420)) { in d3d12_video_buffer_create()
57 "[d3d12_video_buffer] tmpl->buffer_format only supported as a PIPE_VIDEO_CHROMA_FORMAT_420 format.\n"); in d3d12_video_buffer_create()
65 pD3D12VideoBuffer->base = *tmpl; in d3d12_video_buffer_create()
66 pD3D12VideoBuffer->base.buffer_format = tmpl->buffer_format; in d3d12_video_buffer_create()
68 pD3D12VideoBuffer->base.width = tmpl->width; in d3d12_video_buffer_create()
69 pD3D12VideoBuffer->base.height = tmpl->height; in d3d12_video_buffer_create()
70 pD3D12VideoBuffer->base.interlaced = tmpl in d3d12_video_buffer_create()
[all...]

Completed in 23 milliseconds

12345678910>>...12