Home
last modified time | relevance | path

Searched refs:tmpl (Results 1 – 25 of 119) sorted by relevance

12345

/external/libmojo/mojo/public/tools/bindings/
Dbindings.gyp18 'generators/cpp_templates/enum_macros.tmpl',
19 'generators/cpp_templates/enum_serialization_declaration.tmpl',
20 'generators/cpp_templates/interface_declaration.tmpl',
21 'generators/cpp_templates/interface_definition.tmpl',
22 'generators/cpp_templates/interface_macros.tmpl',
23 'generators/cpp_templates/interface_proxy_declaration.tmpl',
24 'generators/cpp_templates/interface_request_validator_declaration.tmpl',
25 'generators/cpp_templates/interface_response_validator_declaration.tmpl',
26 'generators/cpp_templates/interface_stub_declaration.tmpl',
27 'generators/cpp_templates/module.cc.tmpl',
[all …]
DBUILD.gn10 "$mojom_generator_root/generators/cpp_templates/enum_macros.tmpl",
11 "$mojom_generator_root/generators/cpp_templates/enum_serialization_declaration.tmpl",
12 "$mojom_generator_root/generators/cpp_templates/interface_declaration.tmpl",
13 "$mojom_generator_root/generators/cpp_templates/interface_definition.tmpl",
14 "$mojom_generator_root/generators/cpp_templates/interface_macros.tmpl",
15 "$mojom_generator_root/generators/cpp_templates/interface_proxy_declaration.tmpl",
16 "$mojom_generator_root/generators/cpp_templates/interface_request_validator_declaration.tmpl",
17 "$mojom_generator_root/generators/cpp_templates/interface_response_validator_declaration.tmpl",
18 "$mojom_generator_root/generators/cpp_templates/interface_stub_declaration.tmpl",
19 "$mojom_generator_root/generators/cpp_templates/module-internal.h.tmpl",
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c236 const struct pipe_video_buffer *tmpl, in vl_video_buffer_template() argument
249 templ->width0 = tmpl->width; in vl_video_buffer_template()
250 templ->height0 = tmpl->height; in vl_video_buffer_template()
253 templ->bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET | tmpl->bind; in vl_video_buffer_template()
257 tmpl->chroma_format, false); in vl_video_buffer_template()
409 const struct pipe_video_buffer *tmpl) in vl_video_buffer_create() argument
416 assert(tmpl->width > 0 && tmpl->height > 0); in vl_video_buffer_create()
426 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format); in vl_video_buffer_create()
430 templat = *tmpl; in vl_video_buffer_create()
431 templat.width = pot_buffers ? util_next_power_of_two(tmpl->width) in vl_video_buffer_create()
[all …]
/external/libnl/lib/route/
Drule.c358 static int build_rule_msg(struct rtnl_rule *tmpl, int cmd, int flags, in build_rule_msg() argument
363 .family = tmpl->r_family, in build_rule_msg()
364 .table = tmpl->r_table, in build_rule_msg()
365 .action = tmpl->r_action, in build_rule_msg()
366 .flags = tmpl->r_flags, in build_rule_msg()
367 .tos = tmpl->r_dsfield, in build_rule_msg()
370 if (!(tmpl->ce_mask & RULE_ATTR_FAMILY)) in build_rule_msg()
377 if (tmpl->ce_mask & RULE_ATTR_SRC) in build_rule_msg()
378 frh.src_len = nl_addr_get_prefixlen(tmpl->r_src); in build_rule_msg()
380 if (tmpl->ce_mask & RULE_ATTR_DST) in build_rule_msg()
[all …]
Daddr.c548 static int build_addr_msg(struct rtnl_addr *tmpl, int cmd, int flags, in build_addr_msg() argument
553 .ifa_family = tmpl->a_family, in build_addr_msg()
554 .ifa_index = tmpl->a_ifindex, in build_addr_msg()
555 .ifa_prefixlen = tmpl->a_prefixlen, in build_addr_msg()
556 .ifa_flags = tmpl->a_flags, in build_addr_msg()
559 if (tmpl->ce_mask & ADDR_ATTR_SCOPE) in build_addr_msg()
560 am.ifa_scope = tmpl->a_scope; in build_addr_msg()
563 if (tmpl->a_family == AF_INET && in build_addr_msg()
564 tmpl->ce_mask & ADDR_ATTR_LOCAL && in build_addr_msg()
565 *((char *) nl_addr_get_binary_addr(tmpl->a_local)) == 127) in build_addr_msg()
[all …]
Droute.c108 static int build_route_msg(struct rtnl_route *tmpl, int cmd, int flags, in build_route_msg() argument
117 if ((err = rtnl_route_build_msg(msg, tmpl)) < 0) { in build_route_msg()
126 int rtnl_route_build_add_request(struct rtnl_route *tmpl, int flags, in rtnl_route_build_add_request() argument
129 return build_route_msg(tmpl, RTM_NEWROUTE, NLM_F_CREATE | flags, in rtnl_route_build_add_request()
149 int rtnl_route_build_del_request(struct rtnl_route *tmpl, int flags, in rtnl_route_build_del_request() argument
152 return build_route_msg(tmpl, RTM_DELROUTE, flags, result); in rtnl_route_build_del_request()
Dneigh.c563 static int build_neigh_msg(struct rtnl_neigh *tmpl, int cmd, int flags, in build_neigh_msg() argument
568 .ndm_ifindex = tmpl->n_ifindex, in build_neigh_msg()
572 if (tmpl->n_family != AF_BRIDGE) { in build_neigh_msg()
573 if (!(tmpl->ce_mask & NEIGH_ATTR_DST)) in build_neigh_msg()
575 nhdr.ndm_family = nl_addr_get_family(tmpl->n_dst); in build_neigh_msg()
580 if (tmpl->ce_mask & NEIGH_ATTR_FLAGS) in build_neigh_msg()
581 nhdr.ndm_flags = tmpl->n_flags; in build_neigh_msg()
583 if (tmpl->ce_mask & NEIGH_ATTR_STATE) in build_neigh_msg()
584 nhdr.ndm_state = tmpl->n_state; in build_neigh_msg()
593 if (tmpl->n_family != AF_BRIDGE) in build_neigh_msg()
[all …]
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dmodule.cc.tmpl71 {% include "struct_declaration.tmpl" %}
72 {%- include "struct_definition.tmpl" %}
75 {% include "struct_declaration.tmpl" %}
76 {%- include "struct_definition.tmpl" %}
88 {%- include "struct_definition.tmpl" %}
94 {%- include "union_definition.tmpl" %}
105 {% include "struct_data_view_declaration.tmpl" %}
106 {% include "struct_data_view_definition.tmpl" %}
109 {% include "struct_data_view_declaration.tmpl" %}
110 {% include "struct_data_view_definition.tmpl" %}
[all …]
Dmodule.h.tmpl15 {%- from "enum_macros.tmpl" import enum_decl %}
16 {%- from "enum_macros.tmpl" import enum_stream_operator %}
17 {%- from "enum_macros.tmpl" import is_known_enum_value %}
18 {%- from "enum_macros.tmpl" import enum_hash %}
168 {% include "interface_declaration.tmpl" %}
194 {% include "interface_proxy_declaration.tmpl" %}
199 {% include "interface_stub_declaration.tmpl" %}
204 {% include "interface_request_validator_declaration.tmpl" %}
209 {% include "interface_response_validator_declaration.tmpl" %}
218 {% include "wrapper_class_declaration.tmpl" %}
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.c56 const struct pipe_resource *tmpl) in nv30_resource_create() argument
58 switch (tmpl->target) { in nv30_resource_create()
60 return nouveau_buffer_create(pscreen, tmpl); in nv30_resource_create()
62 return nv30_miptree_create(pscreen, tmpl); in nv30_resource_create()
68 const struct pipe_resource *tmpl, in nv30_resource_from_handle() argument
72 if (tmpl->target == PIPE_BUFFER) in nv30_resource_from_handle()
75 return nv30_miptree_from_handle(pscreen, tmpl, handle); in nv30_resource_from_handle()
Dnv30_miptree.c365 const struct pipe_resource *tmpl) in nv30_miptree_create() argument
374 switch (tmpl->nr_samples) { in nv30_miptree_create()
393 *pt = *tmpl; in nv30_miptree_create()
462 const struct pipe_resource *tmpl, in nv30_miptree_from_handle() argument
469 if ((tmpl->target != PIPE_TEXTURE_2D && in nv30_miptree_from_handle()
470 tmpl->target != PIPE_TEXTURE_RECT) || in nv30_miptree_from_handle()
471 tmpl->last_level != 0 || in nv30_miptree_from_handle()
472 tmpl->depth0 != 1 || in nv30_miptree_from_handle()
473 tmpl->array_size > 1) in nv30_miptree_from_handle()
486 mt->base.base = *tmpl; in nv30_miptree_from_handle()
[all …]
Dnv30_texture.c220 const struct pipe_sampler_view *tmpl) in nv30_sampler_view_create() argument
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()
259 so->swz |= swizzle(fmt, 3, tmpl->swizzle_a); in nv30_sampler_view_create()
260 so->swz |= swizzle(fmt, 0, tmpl->swizzle_r) << 2; in nv30_sampler_view_create()
261 so->swz |= swizzle(fmt, 1, tmpl->swizzle_g) << 4; in nv30_sampler_view_create()
262 so->swz |= swizzle(fmt, 2, tmpl->swizzle_b) << 6; in nv30_sampler_view_create()
274 switch (tmpl->format) { in nv30_sampler_view_create()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_resource.c303 const struct pipe_resource *tmpl, in etna_resource_from_handle() argument
314 tmpl->target, util_format_name(tmpl->format), tmpl->width0, in etna_resource_from_handle()
315 tmpl->height0, tmpl->depth0, tmpl->array_size, tmpl->last_level, in etna_resource_from_handle()
316 tmpl->nr_samples, tmpl->usage, tmpl->bind, tmpl->flags); in etna_resource_from_handle()
321 *prsc = *tmpl; in etna_resource_from_handle()
331 level->width = tmpl->width0; in etna_resource_from_handle()
332 level->height = tmpl->height0; in etna_resource_from_handle()
345 if (level->stride < util_format_get_stride(tmpl->format, level->padded_width)) { in etna_resource_from_handle()
354 if (handle->type == DRM_API_HANDLE_TYPE_SHARED && tmpl->bind & PIPE_BIND_RENDER_TARGET) { in etna_resource_from_handle()
360 ptiled = etna_resource_create(pscreen, tmpl); in etna_resource_from_handle()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_uvd.c59 const struct pipe_video_buffer *tmpl) in r600_video_buffer_create() argument
73 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format); 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()
83 if (ctx->b.chip_class < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING) in r600_video_buffer_create()
92 if (ctx->b.chip_class < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING) in r600_video_buffer_create()
102 if (ctx->b.chip_class < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING) in r600_video_buffer_create()
/external/deqp/modules/gles2/functional/
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() local
371 addChild(makeDiscardCase(m_context, (DiscardTemplate)tmpl, (DiscardMode)mode)); in init()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c750 slice_alignment(struct pipe_screen *pscreen, const struct pipe_resource *tmpl) in slice_alignment() argument
755 switch (tmpl->target) { in slice_alignment()
784 const struct pipe_resource *tmpl) in fd_resource_create() argument
788 enum pipe_format format = tmpl->format; in fd_resource_create()
793 tmpl->target, util_format_name(format), in fd_resource_create()
794 tmpl->width0, tmpl->height0, tmpl->depth0, in fd_resource_create()
795 tmpl->array_size, tmpl->last_level, tmpl->nr_samples, in fd_resource_create()
796 tmpl->usage, tmpl->bind, tmpl->flags); in fd_resource_create()
801 *prsc = *tmpl; in fd_resource_create()
821 alignment = slice_alignment(pscreen, tmpl); in fd_resource_create()
[all …]
/external/deqp/modules/gles3/functional/
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() local
359 addChild(makeDiscardCase(m_context, (DiscardTemplate)tmpl, (DiscardMode)mode)); in init()
Des3fShaderReturnTests.cpp129 StringTemplate tmpl( in makeConditionalReturnInFuncCase() local
163 …return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(),… in makeConditionalReturnInFuncCase()
169 StringTemplate tmpl( in makeOutputWriteReturnCase() local
219 …return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(),… in makeOutputWriteReturnCase()
225 StringTemplate tmpl( in makeReturnInLoopCase() local
266 …return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(),… in makeReturnInLoopCase()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDiscardTests.cpp333 de::MovePtr<ShaderDiscardCase> makeDiscardCase (tcu::TestContext& testCtx, DiscardTemplate tmpl, Di… in makeDiscardCase() argument
335 StringTemplate shaderTemplate(getTemplate(tmpl)); in makeDiscardCase()
351 std::string name = std::string(getTemplateName(tmpl)) + "_" + getModeName(mode); in makeDiscardCase()
352 std::string description = std::string(getModeDesc(mode)) + " in " + getTemplateDesc(tmpl); in makeDiscardCase()
381 for (int tmpl = 0; tmpl < DISCARDTEMPLATE_LAST; tmpl++) in init() local
383 addChild(makeDiscardCase(m_testCtx, (DiscardTemplate)tmpl, (DiscardMode)mode).release()); in init()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c159 struct pipe_sampler_view tmpl; in update_textures() local
165 tmpl = *sampler_views[unit]; in update_textures()
170 tmpl.format = PIPE_FORMAT_RG88_UNORM; in update_textures()
171 tmpl.swizzle_g = PIPE_SWIZZLE_Y; /* tmpl from Y plane is R8 */ in update_textures()
174 st->pipe->create_sampler_view(st->pipe, stObj->pt->next, &tmpl); in update_textures()
178 tmpl.format = PIPE_FORMAT_R8_UNORM; in update_textures()
181 st->pipe->create_sampler_view(st->pipe, stObj->pt->next, &tmpl); in update_textures()
184 st->pipe->create_sampler_view(st->pipe, stObj->pt->next->next, &tmpl); in update_textures()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_uvd.c43 const struct pipe_video_buffer *tmpl) in si_video_buffer_create() argument
57 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format); in si_video_buffer_create()
61 array_size = tmpl->interlaced ? 2 : 1; in si_video_buffer_create()
62 template = *tmpl; in si_video_buffer_create()
63 template.width = align(tmpl->width, VL_MACROBLOCK_WIDTH); in si_video_buffer_create()
64 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT); in si_video_buffer_create()
/external/curl/
DMakefile.am35 VC6_LIBTMPL = projects/Windows/VC6/lib/libcurl.tmpl
38 VC6_SRCTMPL = projects/Windows/VC6/src/curl.tmpl
42 VC7_LIBTMPL = projects/Windows/VC7/lib/libcurl.tmpl
45 VC7_SRCTMPL = projects/Windows/VC7/src/curl.tmpl
49 VC71_LIBTMPL = projects/Windows/VC7.1/lib/libcurl.tmpl
52 VC71_SRCTMPL = projects/Windows/VC7.1/src/curl.tmpl
56 VC8_LIBTMPL = projects/Windows/VC8/lib/libcurl.tmpl
59 VC8_SRCTMPL = projects/Windows/VC8/src/curl.tmpl
63 VC9_LIBTMPL = projects/Windows/VC9/lib/libcurl.tmpl
66 VC9_SRCTMPL = projects/Windows/VC9/src/curl.tmpl
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_blit.c33 struct pipe_surface tmpl; in vc4_get_blit_surface() local
35 memset(&tmpl, 0, sizeof(tmpl)); in vc4_get_blit_surface()
36 tmpl.format = prsc->format; in vc4_get_blit_surface()
37 tmpl.u.tex.level = level; in vc4_get_blit_surface()
38 tmpl.u.tex.first_layer = 0; in vc4_get_blit_surface()
39 tmpl.u.tex.last_layer = 0; in vc4_get_blit_surface()
41 return pctx->create_surface(pctx, prsc, &tmpl); in vc4_get_blit_surface()
/external/libmojo/mojo/public/tools/bindings/generators/js_templates/
Dmodule_definition.tmpl7 {%- from "enum_definition.tmpl" import enum_def %}
14 {%- include "struct_definition.tmpl" %}
18 {%- from "union_definition.tmpl" import union_def %}
25 {%- include "interface_definition.tmpl" %}
/external/curl/projects/
Dgenerate.bat105 call :generate dsp Windows\VC6\src\curl.tmpl Windows\VC6\src\curl.dsp
106 call :generate dsp Windows\VC6\lib\libcurl.tmpl Windows\VC6\lib\libcurl.dsp
120 call :generate vcproj1 Windows\VC7\src\curl.tmpl Windows\VC7\src\curl.vcproj
121 call :generate vcproj1 Windows\VC7\lib\libcurl.tmpl Windows\VC7\lib\libcurl.vcproj
135 call :generate vcproj1 Windows\VC7.1\src\curl.tmpl Windows\VC7.1\src\curl.vcproj
136 call :generate vcproj1 Windows\VC7.1\lib\libcurl.tmpl Windows\VC7.1\lib\libcurl.vcproj
150 call :generate vcproj2 Windows\VC8\src\curl.tmpl Windows\VC8\src\curl.vcproj
151 call :generate vcproj2 Windows\VC8\lib\libcurl.tmpl Windows\VC8\lib\libcurl.vcproj
165 call :generate vcproj2 Windows\VC9\src\curl.tmpl Windows\VC9\src\curl.vcproj
166 call :generate vcproj2 Windows\VC9\lib\libcurl.tmpl Windows\VC9\lib\libcurl.vcproj
[all …]

12345