Searched defs:tmpl (Results 1 - 25 of 46) sorted by relevance

12

/external/clang/test/Misc/
H A Dast-dump-templates.cpp58 void tmpl() { function in namespace:test2
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_resource.c56 const struct pipe_resource *tmpl)
58 switch (tmpl->target) {
60 return nouveau_buffer_create(pscreen, tmpl);
62 return nv30_miptree_create(pscreen, tmpl);
68 const struct pipe_resource *tmpl,
72 if (tmpl->target == PIPE_BUFFER)
75 return nv30_miptree_from_handle(pscreen, tmpl, handle);
55 nv30_resource_create(struct pipe_screen *pscreen, const struct pipe_resource *tmpl) argument
67 nv30_resource_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, struct winsys_handle *handle, unsigned usage) argument
H A Dnv30_texture.c220 const struct pipe_sampler_view *tmpl)
222 const struct nv30_texfmt *fmt = nv30_texfmt(pipe->screen, tmpl->format);
230 so->pipe = *tmpl;
259 so->swz |= swizzle(fmt, 3, tmpl->swizzle_a);
260 so->swz |= swizzle(fmt, 0, tmpl->swizzle_r) << 2;
261 so->swz |= swizzle(fmt, 1, tmpl->swizzle_g) << 4;
262 so->swz |= swizzle(fmt, 2, tmpl->swizzle_b) << 6;
274 switch (tmpl->format) {
219 nv30_sampler_view_create(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_sampler_view *tmpl) argument
H A Dnv30_miptree.c365 const struct pipe_resource *tmpl)
374 switch (tmpl->nr_samples) {
393 *pt = *tmpl;
462 const struct pipe_resource *tmpl,
469 if ((tmpl->target != PIPE_TEXTURE_2D &&
470 tmpl->target != PIPE_TEXTURE_RECT) ||
471 tmpl->last_level != 0 ||
472 tmpl->depth0 != 1 ||
473 tmpl->array_size > 1)
486 mt->base.base = *tmpl;
364 nv30_miptree_create(struct pipe_screen *pscreen, const struct pipe_resource *tmpl) argument
461 nv30_miptree_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, struct winsys_handle *handle) argument
499 nv30_miptree_surface_new(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *tmpl) argument
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_uvd.c43 const struct pipe_video_buffer *tmpl)
57 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
61 array_size = tmpl->interlaced ? 2 : 1;
62 template = *tmpl;
63 template.width = align(tmpl->width, VL_MACROBLOCK_WIDTH);
64 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT);
42 si_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl) argument
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_blit.c33 struct pipe_surface tmpl; local
35 memset(&tmpl, 0, sizeof(tmpl));
36 tmpl.format = prsc->format;
37 tmpl.u.tex.level = level;
38 tmpl.u.tex.first_layer = 0;
39 tmpl.u.tex.last_layer = 0;
41 return pctx->create_surface(pctx, prsc, &tmpl);
/external/skia/experimental/SkV8Example/
H A DDrawingMethods.cpp148 tmpl->Set(v8::String::NewFromUtf8( \
153 void DrawingMethods::addAttributesAndMethods(v8::Handle<v8::ObjectTemplate> tmpl) { argument
157 tmpl->SetAccessor(v8::String::NewFromUtf8(
160 tmpl->SetAccessor(v8::String::NewFromUtf8(
/external/libnl/lib/route/
H A Droute.c108 static int build_route_msg(struct rtnl_route *tmpl, int cmd, int flags, argument
117 if ((err = rtnl_route_build_msg(msg, tmpl)) < 0) {
126 int rtnl_route_build_add_request(struct rtnl_route *tmpl, int flags, argument
129 return build_route_msg(tmpl, RTM_NEWROUTE, NLM_F_CREATE | flags,
149 int rtnl_route_build_del_request(struct rtnl_route *tmpl, int flags, argument
152 return build_route_msg(tmpl, RTM_DELROUTE, flags, result);
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_stubs.c85 const struct pipe_video_buffer *tmpl,
95 const struct pipe_video_buffer *tmpl)
103 const struct pipe_video_buffer *tmpl,
84 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) argument
94 vl_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl) argument
102 vl_video_buffer_create_ex2(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl, struct pipe_resource *resources[VL_NUM_COMPONENTS]) argument
H A Dvl_video_buffer.c236 const struct pipe_video_buffer *tmpl,
249 templ->width0 = tmpl->width;
250 templ->height0 = tmpl->height;
253 templ->bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET | tmpl->bind;
257 tmpl->chroma_format, false);
409 const struct pipe_video_buffer *tmpl)
416 assert(tmpl->width > 0 && tmpl->height > 0);
426 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
430 templat = *tmpl;
235 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) argument
408 vl_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl) argument
453 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) argument
499 vl_video_buffer_create_ex2(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl, struct pipe_resource *resources[VL_NUM_COMPONENTS]) argument
[all...]
/external/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_draw.c232 const struct pipe_rasterizer_state tmpl = { local
239 ctx->clear_rs_state = pctx->create_rasterizer_state(pctx, &tmpl);
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_uvd.c59 const struct pipe_video_buffer *tmpl)
73 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
77 array_size = tmpl->interlaced ? 2 : 1;
78 template = *tmpl;
79 template.width = align(tmpl->width, VL_MACROBLOCK_WIDTH);
80 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT);
83 if (ctx->b.chip_class < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING)
92 if (ctx->b.chip_class < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING)
102 if (ctx->b.chip_class < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING)
58 r600_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl) argument
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_texture.c159 struct pipe_sampler_view tmpl; local
165 tmpl = *sampler_views[unit];
170 tmpl.format = PIPE_FORMAT_RG88_UNORM;
171 tmpl.swizzle_g = PIPE_SWIZZLE_Y; /* tmpl from Y plane is R8 */
174 st->pipe->create_sampler_view(st->pipe, stObj->pt->next, &tmpl);
178 tmpl.format = PIPE_FORMAT_R8_UNORM;
181 st->pipe->create_sampler_view(st->pipe, stObj->pt->next, &tmpl);
184 st->pipe->create_sampler_view(st->pipe, stObj->pt->next->next, &tmpl);
/external/skia/src/opts/
H A DSkBitmapProcState_matrixProcs_neon.cpp65 uint32x4_t tmpl, tmph; local
71 tmpl = vmull_u16(vget_low_u16(res), vdup_n_u16(max+1));
75 res = vuzpq_u16(vreinterpretq_u16_u32(tmpl), vreinterpretq_u16_u32(tmph)).val[1];
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderDiscardTests.cpp333 de::MovePtr<ShaderDiscardCase> makeDiscardCase (tcu::TestContext& testCtx, DiscardTemplate tmpl, DiscardMode mode) argument
335 StringTemplate shaderTemplate(getTemplate(tmpl));
351 std::string name = std::string(getTemplateName(tmpl)) + "_" + getModeName(mode);
352 std::string description = std::string(getModeDesc(mode)) + " in " + getTemplateDesc(tmpl);
381 for (int tmpl = 0; tmpl < DISCARDTEMPLATE_LAST; tmpl++)
383 addChild(makeDiscardCase(m_testCtx, (DiscardTemplate)tmpl, (DiscardMode)mode).release());
/external/deqp/modules/gles2/functional/
H A Des2fShaderDiscardTests.cpp341 ShaderDiscardCase* makeDiscardCase (Context& context, DiscardTemplate tmpl, DiscardMode mode) argument
343 StringTemplate shaderTemplate(getTemplate(tmpl));
359 string name = string(getTemplateName(tmpl)) + "_" + getModeName(mode);
360 string description = string(getModeDesc(mode)) + " in " + getTemplateDesc(tmpl);
362 | (tmpl == DISCARDTEMPLATE_MAIN_DYNAMIC_LOOP ? FLAG_REQUIRES_DYNAMIC_LOOPS : 0);
369 for (int tmpl = 0; tmpl < DISCARDTEMPLATE_LAST; tmpl++)
371 addChild(makeDiscardCase(m_context, (DiscardTemplate)tmpl, (DiscardMode)mode));
/external/deqp/modules/gles3/functional/
H A Des3fShaderDiscardTests.cpp331 ShaderDiscardCase* makeDiscardCase (Context& context, DiscardTemplate tmpl, DiscardMode mode) argument
333 StringTemplate shaderTemplate(getTemplate(tmpl));
349 string name = string(getTemplateName(tmpl)) + "_" + getModeName(mode);
350 string description = string(getModeDesc(mode)) + " in " + getTemplateDesc(tmpl);
357 for (int tmpl = 0; tmpl < DISCARDTEMPLATE_LAST; tmpl++)
359 addChild(makeDiscardCase(m_context, (DiscardTemplate)tmpl, (DiscardMode)mode));
/external/iw/
H A Dbitrate.c117 long tmpl; local
184 tmpl = strtol(argv[i], &end, 0);
187 if (tmpl < 0 || tmpl > 255)
189 mcs[(*n_mcs)++] = tmpl;
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_resource.c303 const struct pipe_resource *tmpl,
314 tmpl->target, util_format_name(tmpl->format), tmpl->width0,
315 tmpl->height0, tmpl->depth0, tmpl->array_size, tmpl->last_level,
316 tmpl->nr_samples, tmpl
302 etna_resource_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, struct winsys_handle *handle, unsigned usage) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_clear.c280 struct pipe_surface tmpl; local
283 memset(&tmpl, 0, sizeof(tmpl));
284 tmpl.format = res->format;
285 tmpl.u.tex.first_layer = box->z;
286 tmpl.u.tex.last_layer = box->z + box->depth - 1;
287 tmpl.u.tex.level = level;
289 surface = pipe->create_surface(pipe, res, &tmpl);
/external/mesa3d/src/gallium/state_trackers/xvmc/
H A Dsurface.c159 struct pipe_video_buffer tmpl; local
177 memset(&tmpl, 0, sizeof(tmpl));
178 tmpl.buffer_format = pipe->screen->get_video_param
185 tmpl.chroma_format = context_priv->decoder->chroma_format;
186 tmpl.width = context_priv->decoder->width;
187 tmpl.height = context_priv->decoder->height;
188 tmpl.interlaced = pipe->screen->get_video_param
196 surface_priv->video_buffer = pipe->create_video_buffer(pipe, &tmpl);
/external/v8/tools/clang/blink_gc_plugin/
H A DCheckTraceVisitor.cpp182 CXXRecordDecl* tmpl = GetDependentTemplatedDecl(expr); local
183 if (!tmpl)
190 if (it->first->getName() == tmpl->getName())
197 tmpl->getName() == kTraceIfNeededName) {
/external/clang/test/SemaCXX/
H A Dconversion.cpp97 void tmpl(char c = NULL, // expected-warning 3 {{implicit conversion of NULL constant to 'char'}} function in namespace:test4
108 tmpl<char>(); // expected-note 2 {{in instantiation of default function argument expression for 'tmpl<char>' required here}}
109 tmpl<int>(); // expected-note 2 {{in instantiation of default function argument expression for 'tmpl<int>' required here}}
110 tmpl<int>();
/external/iproute2/ip/
H A Dxfrm_policy.c89 fprintf(stderr, "TMPL-LIST := [ TMPL-LIST ] tmpl TMPL\n");
177 static int xfrm_tmpl_parse(struct xfrm_user_tmpl *tmpl, argument
187 xfrm_mode_parse(&tmpl->mode, &argc, &argv);
190 xfrm_reqid_parse(&tmpl->reqid, &argc, &argv);
195 tmpl->optional = 0;
197 tmpl->optional = 1;
208 xfrm_id_parse(&tmpl->saddr, &tmpl->id, &tmpl->family,
210 preferred_family = tmpl
330 struct xfrm_user_tmpl *tmpl; local
[all...]
/external/libjpeg-turbo/simd/
H A Djdsample-altivec.c142 tmpl, tmph, outle, outhe, outlo, outho; local
242 tmpl = vec_mladd(thiscolsum_1l, pw_three, pw_zero);
243 outle = vec_add(tmpl, p_lastcolsum_1l);
247 outlo = vec_add(tmpl, p_nextcolsum_1l);
272 tmpl = vec_mladd(thiscolsum1l, pw_three, pw_zero);
273 outle = vec_add(tmpl, p_lastcolsum1l);
277 outlo = vec_add(tmpl, p_nextcolsum1l);

Completed in 5481 milliseconds

12