Home
last modified time | relevance | path

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

1234

/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.c217 const struct pipe_video_buffer *tmpl, in vl_vide_buffer_template() argument
224 templ->width0 = tmpl->width; in vl_vide_buffer_template()
225 templ->height0 = tmpl->height; in vl_vide_buffer_template()
232 if (tmpl->chroma_format == PIPE_VIDEO_CHROMA_FORMAT_420) { in vl_vide_buffer_template()
235 } else if (tmpl->chroma_format == PIPE_VIDEO_CHROMA_FORMAT_422) { in vl_vide_buffer_template()
391 const struct pipe_video_buffer *tmpl) in vl_video_buffer_create() argument
398 assert(tmpl->width > 0 && tmpl->height > 0); in vl_video_buffer_create()
407 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format); in vl_video_buffer_create()
411 templat = *tmpl; in vl_video_buffer_create()
412 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 …]
Dneightbl.c461 struct rtnl_neightbl *tmpl, in rtnl_neightbl_build_change_request() argument
478 if (tmpl->ce_mask & NEIGHTBL_ATTR_THRESH1) in rtnl_neightbl_build_change_request()
479 NLA_PUT_U32(m, NDTA_THRESH1, tmpl->nt_gc_thresh1); in rtnl_neightbl_build_change_request()
481 if (tmpl->ce_mask & NEIGHTBL_ATTR_THRESH2) in rtnl_neightbl_build_change_request()
482 NLA_PUT_U32(m, NDTA_THRESH2, tmpl->nt_gc_thresh2); in rtnl_neightbl_build_change_request()
484 if (tmpl->ce_mask & NEIGHTBL_ATTR_THRESH2) in rtnl_neightbl_build_change_request()
485 NLA_PUT_U32(m, NDTA_THRESH2, tmpl->nt_gc_thresh2); in rtnl_neightbl_build_change_request()
487 if (tmpl->ce_mask & NEIGHTBL_ATTR_GC_INTERVAL) in rtnl_neightbl_build_change_request()
489 tmpl->nt_gc_interval); in rtnl_neightbl_build_change_request()
491 if (tmpl->ce_mask & NEIGHTBL_ATTR_PARMS) { in rtnl_neightbl_build_change_request()
[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/nv30/
Dnv30_resource.c36 const struct pipe_resource *tmpl) in nv30_resource_create() argument
38 switch (tmpl->target) { in nv30_resource_create()
40 return nouveau_buffer_create(pscreen, tmpl); in nv30_resource_create()
42 return nv30_miptree_create(pscreen, tmpl); in nv30_resource_create()
48 const struct pipe_resource *tmpl, in nv30_resource_from_handle() argument
51 if (tmpl->target == PIPE_BUFFER) in nv30_resource_from_handle()
54 return nv30_miptree_from_handle(pscreen, tmpl, handle); in nv30_resource_from_handle()
Dnv30_miptree.c271 const struct pipe_resource *tmpl) in nv30_miptree_create() argument
280 switch (tmpl->nr_samples) { in nv30_miptree_create()
299 *pt = *tmpl; in nv30_miptree_create()
359 const struct pipe_resource *tmpl, in nv30_miptree_from_handle() argument
366 if ((tmpl->target != PIPE_TEXTURE_2D && in nv30_miptree_from_handle()
367 tmpl->target != PIPE_TEXTURE_RECT) || in nv30_miptree_from_handle()
368 tmpl->last_level != 0 || in nv30_miptree_from_handle()
369 tmpl->depth0 != 1 || in nv30_miptree_from_handle()
370 tmpl->array_size > 1) in nv30_miptree_from_handle()
383 mt->base.base = *tmpl; in nv30_miptree_from_handle()
[all …]
Dnv30_texture.c202 const struct pipe_sampler_view *tmpl) in nv30_sampler_view_create() argument
204 const struct nv30_texfmt *fmt = nv30_texfmt(pipe->screen, tmpl->format); in nv30_sampler_view_create()
212 so->pipe = *tmpl; in nv30_sampler_view_create()
241 so->swz |= swizzle(fmt, 3, tmpl->swizzle_a); in nv30_sampler_view_create()
242 so->swz |= swizzle(fmt, 0, tmpl->swizzle_r) << 2; in nv30_sampler_view_create()
243 so->swz |= swizzle(fmt, 1, tmpl->swizzle_g) << 4; in nv30_sampler_view_create()
244 so->swz |= swizzle(fmt, 2, tmpl->swizzle_b) << 6; in nv30_sampler_view_create()
256 switch (tmpl->format) { in nv30_sampler_view_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()
Des2fShaderReturnTests.cpp156 StringTemplate tmpl( in makeConditionalReturnInFuncCase() local
190 …return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(),… in makeConditionalReturnInFuncCase()
196 StringTemplate tmpl( in makeOutputWriteReturnCase() local
244 …return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(),… in makeOutputWriteReturnCase()
250 StringTemplate tmpl( in makeReturnInLoopCase() local
291 …return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(),… in makeReturnInLoopCase()
/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()
DvktShaderRenderReturnTests.cpp140 tcu::StringTemplate tmpl( in makeConditionalReturnInFuncCase() local
175 …derReturnCase>(new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params),… in makeConditionalReturnInFuncCase()
180 tcu::StringTemplate tmpl( in makeOutputWriteReturnCase() local
230 …derReturnCase>(new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params),… in makeOutputWriteReturnCase()
235 tcu::StringTemplate tmpl( in makeReturnInLoopCase() local
277 …derReturnCase>(new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params),… in makeReturnInLoopCase()
/external/curl/
DMakefile.am32 VC6_LIBTMPL = projects/Windows/VC6/lib/libcurl.tmpl
35 VC6_SRCTMPL = projects/Windows/VC6/src/curl.tmpl
39 VC7_LIBTMPL = projects/Windows/VC7/lib/libcurl.tmpl
42 VC7_SRCTMPL = projects/Windows/VC7/src/curl.tmpl
46 VC71_LIBTMPL = projects/Windows/VC7.1/lib/libcurl.tmpl
49 VC71_SRCTMPL = projects/Windows/VC7.1/src/curl.tmpl
53 VC8_LIBTMPL = projects/Windows/VC8/lib/libcurl.tmpl
56 VC8_SRCTMPL = projects/Windows/VC8/src/curl.tmpl
60 VC9_LIBTMPL = projects/Windows/VC9/lib/libcurl.tmpl
63 VC9_SRCTMPL = projects/Windows/VC9/src/curl.tmpl
[all …]
/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 …]
/external/iproute2/ip/
Dxfrm_policy.c177 static int xfrm_tmpl_parse(struct xfrm_user_tmpl *tmpl, in xfrm_tmpl_parse() argument
187 xfrm_mode_parse(&tmpl->mode, &argc, &argv); in xfrm_tmpl_parse()
190 xfrm_reqid_parse(&tmpl->reqid, &argc, &argv); in xfrm_tmpl_parse()
195 tmpl->optional = 0; in xfrm_tmpl_parse()
197 tmpl->optional = 1; in xfrm_tmpl_parse()
208 xfrm_id_parse(&tmpl->saddr, &tmpl->id, &tmpl->family, in xfrm_tmpl_parse()
210 preferred_family = tmpl->family; in xfrm_tmpl_parse()
330 struct xfrm_user_tmpl *tmpl; in xfrm_policy_modify() local
332 if (tmpls_len + sizeof(*tmpl) > sizeof(tmpls_buf)) { in xfrm_policy_modify()
336 tmpl = (struct xfrm_user_tmpl *)((char *)tmpls_buf + tmpls_len); in xfrm_policy_modify()
[all …]
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsurface.c158 struct pipe_video_buffer tmpl; in XvMCCreateSurface() local
176 memset(&tmpl, 0, sizeof(tmpl)); in XvMCCreateSurface()
177 tmpl.buffer_format = pipe->screen->get_video_param in XvMCCreateSurface()
183 tmpl.chroma_format = context_priv->decoder->chroma_format; in XvMCCreateSurface()
184 tmpl.width = context_priv->decoder->width; in XvMCCreateSurface()
185 tmpl.height = context_priv->decoder->height; in XvMCCreateSurface()
186 tmpl.interlaced = pipe->screen->get_video_param in XvMCCreateSurface()
193 surface_priv->video_buffer = pipe->create_video_buffer(pipe, &tmpl); in XvMCCreateSurface()
/external/harfbuzz_ng/win32/
Dgenerate-msvc.mak14 …OBJECT_ENUM_GENERATED_SOURCES): ..\src\hb-gobject-enums.h.tmpl ..\src\hb-gobject-enums.cc.tmpl $(H…
17 --template ..\src\$(@F).tmpl $(HB_ACTUAL_HEADERS) > $@

1234