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

123

/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_resource.c36 const struct pipe_resource *tmpl)
38 switch (tmpl->target) {
40 return nouveau_buffer_create(pscreen, tmpl);
42 return nv30_miptree_create(pscreen, tmpl);
48 const struct pipe_resource *tmpl,
51 if (tmpl->target == PIPE_BUFFER)
54 return nv30_miptree_from_handle(pscreen, tmpl, handle);
35 nv30_resource_create(struct pipe_screen *pscreen, const struct pipe_resource *tmpl) argument
47 nv30_resource_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, struct winsys_handle *handle) argument
H A Dnv30_miptree.c271 const struct pipe_resource *tmpl)
280 switch (tmpl->nr_samples) {
299 *pt = *tmpl;
359 const struct pipe_resource *tmpl,
366 if ((tmpl->target != PIPE_TEXTURE_2D &&
367 tmpl->target != PIPE_TEXTURE_RECT) ||
368 tmpl->last_level != 0 ||
369 tmpl->depth0 != 1 ||
370 tmpl->array_size > 1)
383 mt->base.base = *tmpl;
270 nv30_miptree_create(struct pipe_screen *pscreen, const struct pipe_resource *tmpl) argument
358 nv30_miptree_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, struct winsys_handle *handle) argument
396 nv30_miptree_surface_new(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *tmpl) argument
[all...]
H A Dnv30_texture.c202 const struct pipe_sampler_view *tmpl)
204 const struct nv30_texfmt *fmt = nv30_texfmt(pipe->screen, tmpl->format);
212 so->pipe = *tmpl;
241 so->swz |= swizzle(fmt, 3, tmpl->swizzle_a);
242 so->swz |= swizzle(fmt, 0, tmpl->swizzle_r) << 2;
243 so->swz |= swizzle(fmt, 1, tmpl->swizzle_g) << 4;
244 so->swz |= swizzle(fmt, 2, tmpl->swizzle_b) << 6;
256 switch (tmpl->format) {
201 nv30_sampler_view_create(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_sampler_view *tmpl) argument
/external/opencv3/samples/cpp/
H A Dmask_tmpl.cpp23 const char* tmplname = argc == 4 ? argv[2] : "../data/tmpl.png";
27 Mat tmpl = imread(tmplname); local
38 if(tmpl.empty())
54 matchTemplate(img, tmpl, res, method, mask);
62 rect = Rect(minLoc, tmpl.size());
64 rect = Rect(maxLoc, tmpl.size());
/external/opencv3/modules/imgproc/perf/
H A Dperf_matchTemplate.cpp30 Mat tmpl(tmplSz, CV_8UC1);
35 .in(tmpl, WARMUP_RNG)
39 TEST_CYCLE() matchTemplate(img, tmpl, result, method);
46 : 255 * 255 * tmpl.total() * 1e-6;
64 Mat tmpl(tmplSz, CV_8UC1);
69 .in(tmpl, WARMUP_RNG)
73 TEST_CYCLE() matchTemplate(img, tmpl, result, method);
80 : 255.0 * 255.0 * (double)tmpl.total() * 1e-6;
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_video_buffer.c217 const struct pipe_video_buffer *tmpl,
224 templ->width0 = tmpl->width;
225 templ->height0 = tmpl->height;
232 if (tmpl->chroma_format == PIPE_VIDEO_CHROMA_FORMAT_420) {
235 } else if (tmpl->chroma_format == PIPE_VIDEO_CHROMA_FORMAT_422) {
391 const struct pipe_video_buffer *tmpl)
398 assert(tmpl->width > 0 && tmpl->height > 0);
407 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
411 templat = *tmpl;
216 vl_vide_buffer_template(struct pipe_resource *templ, const struct pipe_video_buffer *tmpl, enum pipe_format resource_format, unsigned depth, unsigned usage, unsigned plane) argument
390 vl_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl) argument
434 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 usage) argument
480 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/clang/test/SemaCXX/
H A Dconversion.cpp119 void tmpl(char c = NULL, // expected-warning 4 {{implicit conversion of NULL constant to 'char'}} function in namespace:test4
130 tmpl<char>(); // expected-note 2 {{in instantiation of default function argument expression for 'tmpl<char>' required here}}
131 tmpl<int>(); // expected-note 2 {{in instantiation of default function argument expression for 'tmpl<int>' required here}}
133 tmpl<int>(); // expected-note 2 {{in instantiation of default function argument expression for 'tmpl<int>' required here}}
/external/libnl/lib/route/
H A Drule.c386 static int build_rule_msg(struct rtnl_rule *tmpl, int cmd, int flags, argument
397 if (tmpl->ce_mask & RULE_ATTR_FAMILY)
398 rtm.rtm_family = tmpl->r_family;
400 if (tmpl->ce_mask & RULE_ATTR_TABLE)
401 rtm.rtm_table = tmpl->r_table;
403 if (tmpl->ce_mask & RULE_ATTR_DSFIELD)
404 rtm.rtm_tos = tmpl->r_dsfield;
406 if (tmpl->ce_mask & RULE_ATTR_TYPE)
407 rtm.rtm_type = tmpl->r_type;
409 if (tmpl
461 rtnl_rule_build_add_request(struct rtnl_rule *tmpl, int flags, struct nl_msg **result) argument
480 rtnl_rule_add(struct nl_sock *sk, struct rtnl_rule *tmpl, int flags) argument
[all...]
H A Droute.c103 static int build_route_msg(struct rtnl_route *tmpl, int cmd, int flags, argument
112 if ((err = rtnl_route_build_msg(msg, tmpl)) < 0) {
121 int rtnl_route_build_add_request(struct rtnl_route *tmpl, int flags, argument
124 return build_route_msg(tmpl, RTM_NEWROUTE, NLM_F_CREATE | flags,
144 int rtnl_route_build_del_request(struct rtnl_route *tmpl, int flags, argument
147 return build_route_msg(tmpl, RTM_DELROUTE, flags, result);
H A Daddr.c558 static int build_addr_msg(struct rtnl_addr *tmpl, int cmd, int flags, argument
563 .ifa_family = tmpl->a_family,
564 .ifa_index = tmpl->a_ifindex,
565 .ifa_prefixlen = tmpl->a_prefixlen,
568 if (tmpl->ce_mask & ADDR_ATTR_SCOPE)
569 am.ifa_scope = tmpl->a_scope;
572 if (tmpl->a_family == AF_INET &&
573 tmpl->ce_mask & ADDR_ATTR_LOCAL &&
574 *((char *) nl_addr_get_binary_addr(tmpl->a_local)) == 127)
587 if (tmpl
[all...]
H A Dlink.c846 * @arg tmpl template with requested changes
854 * and \a tmpl must contain the attributes to be changed set via
862 struct rtnl_link *tmpl, int flags,
871 if (tmpl->ce_mask & LINK_ATTR_FLAGS) {
872 ifi.ifi_flags = old->l_flags & ~tmpl->l_flag_mask;
873 ifi.ifi_flags |= tmpl->l_flags;
883 if (tmpl->ce_mask & LINK_ATTR_ADDR)
884 NLA_PUT_ADDR(msg, IFLA_ADDRESS, tmpl->l_addr);
886 if (tmpl->ce_mask & LINK_ATTR_BRD)
887 NLA_PUT_ADDR(msg, IFLA_BROADCAST, tmpl
861 rtnl_link_build_change_request(struct rtnl_link *old, struct rtnl_link *tmpl, int flags, struct nl_msg **result) argument
945 rtnl_link_change(struct nl_sock *sk, struct rtnl_link *old, struct rtnl_link *tmpl, int flags) argument
[all...]
H A Dneigh.c498 static int build_neigh_msg(struct rtnl_neigh *tmpl, int cmd, int flags, argument
503 .ndm_ifindex = tmpl->n_ifindex,
507 if (!(tmpl->ce_mask & NEIGH_ATTR_DST))
510 nhdr.ndm_family = nl_addr_get_family(tmpl->n_dst);
512 if (tmpl->ce_mask & NEIGH_ATTR_STATE)
513 nhdr.ndm_state = tmpl->n_state;
522 NLA_PUT_ADDR(msg, NDA_DST, tmpl->n_dst);
524 if (tmpl->ce_mask & NEIGH_ATTR_LLADDR)
525 NLA_PUT_ADDR(msg, NDA_LLADDR, tmpl->n_lladdr);
537 * @arg tmpl templat
555 rtnl_neigh_build_add_request(struct rtnl_neigh *tmpl, int flags, struct nl_msg **result) argument
579 rtnl_neigh_add(struct nl_sock *sk, struct rtnl_neigh *tmpl, int flags) argument
[all...]
H A Dneightbl.c435 * @arg tmpl template with requested changes
443 * kernel and \a tmpl must contain the attributes to be changed set via
449 struct rtnl_neightbl *tmpl,
466 if (tmpl->ce_mask & NEIGHTBL_ATTR_THRESH1)
467 NLA_PUT_U32(m, NDTA_THRESH1, tmpl->nt_gc_thresh1);
469 if (tmpl->ce_mask & NEIGHTBL_ATTR_THRESH2)
470 NLA_PUT_U32(m, NDTA_THRESH2, tmpl->nt_gc_thresh2);
472 if (tmpl->ce_mask & NEIGHTBL_ATTR_THRESH2)
473 NLA_PUT_U32(m, NDTA_THRESH2, tmpl->nt_gc_thresh2);
475 if (tmpl
448 rtnl_neightbl_build_change_request(struct rtnl_neightbl *old, struct rtnl_neightbl *tmpl, struct nl_msg **result) argument
565 rtnl_neightbl_change(struct nl_sock *sk, struct rtnl_neightbl *old, struct rtnl_neightbl *tmpl) argument
[all...]
/external/clang/test/CodeGenCXX/
H A Ddebug-info-template.cpp87 // CHECK: [[NNARG1]] = !DITemplateValueParameter(tag: DW_TAG_GNU_template_template_param, name: "tmpl", value: !"tmpl_impl")
135 template <template <typename> class tmpl, int &lvr, int &&rvr>
/external/clang/test/Misc/
H A Dast-dump-templates.cpp58 void tmpl() { function in namespace:test2
/external/opencv3/modules/imgproc/perf/opencl/
H A Dperf_matchTemplate.cpp29 UMat img(imgSz, type), tmpl(tmplSz, type);
32 declare.in(img, tmpl, WARMUP_RNG).out(result);
34 OCL_TEST_CYCLE() matchTemplate(img, tmpl, result, method);
41 : 255 * 255 * tmpl.total() * 1e-4;
/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));
H A Des2fShaderReturnTests.cpp156 StringTemplate tmpl(
190 return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(), getEvalFunc(returnMode));
196 StringTemplate tmpl(
244 return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(), getEvalFunc(returnMode));
250 StringTemplate tmpl(
291 return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(), getEvalFunc(returnMode), isDynamicLoop ? REQUIRE_DYNAMIC_LOOPS : 0);
/external/curl/scripts/
H A Dzsh.pl18 my $tmpl = <<"EOS";
35 print $tmpl;
/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());
H A DvktShaderRenderReturnTests.cpp140 tcu::StringTemplate tmpl(
175 return de::MovePtr<ShaderReturnCase>(new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params), getEvalFunc(returnMode), DE_NULL));
180 tcu::StringTemplate tmpl(
230 return de::MovePtr<ShaderReturnCase>(new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params), getEvalFunc(returnMode), DE_NULL));
235 tcu::StringTemplate tmpl(
277 return de::MovePtr<ShaderReturnCase>(new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params), getEvalFunc(returnMode), new ReturnTestUniformSetup(UI_ONE)));
/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));
H A Des3fShaderReturnTests.cpp129 StringTemplate tmpl(
163 return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(), getEvalFunc(returnMode));
169 StringTemplate tmpl(
219 return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(), getEvalFunc(returnMode));
225 StringTemplate tmpl(
266 return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(), getEvalFunc(returnMode));
/external/curl/projects/
H A 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 Window
[all...]
/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;

Completed in 629 milliseconds

123