HomeSort by relevance Sort by last modified time
    Searched refs:tmpl (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/mesa3d/src/gallium/drivers/nv30/
nv30_resource.c 36 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);
nv30_miptree.c 271 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;
    [all...]
nv30_texture.c 202 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) {
  /external/opencv3/samples/cpp/
mask_tmpl.cpp 23 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/
perf_matchTemplate.cpp 30 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/
vl_video_buffer.c 217 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;
    [all...]
  /external/clang/test/SemaCXX/
conversion.cpp 119 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/
rule.c 386 static int build_rule_msg(struct rtnl_rule *tmpl, int cmd, int flags,
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->ce_mask & RULE_ATTR_SRC_LEN
    [all...]
route.c 103 static int build_route_msg(struct rtnl_route *tmpl, int cmd, int flags,
112 if ((err = rtnl_route_build_msg(msg, tmpl)) < 0) {
121 int rtnl_route_build_add_request(struct rtnl_route *tmpl, int flags,
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,
147 return build_route_msg(tmpl, RTM_DELROUTE, flags, result);
addr.c 558 static int build_addr_msg(struct rtnl_addr *tmpl, int cmd, int flags,
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->ce_mask & ADDR_ATTR_LOCAL
    [all...]
link.c 846 * @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->l_bcast)
    [all...]
neigh.c 498 static int build_neigh_msg(struct rtnl_neigh *tmpl, int cmd, int flags,
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 template with data of new neighbou
    [all...]
neightbl.c 435 * @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->ce_mask & NEIGHTBL_ATTR_GC_INTERVAL
    [all...]
  /external/clang/test/Misc/
ast-dump-templates.cpp 58 void tmpl() { function in namespace:test2
  /external/deqp/modules/gles2/functional/
es2fShaderDiscardTests.cpp 341 ShaderDiscardCase* makeDiscardCase (Context& context, DiscardTemplate tmpl, DiscardMode mode)
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));
es2fShaderReturnTests.cpp 156 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/opencv3/modules/imgproc/perf/opencl/
perf_matchTemplate.cpp 29 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/curl/scripts/
zsh.pl 18 my $tmpl = <<"EOS";
35 print $tmpl;
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRenderDiscardTests.cpp 333 de::MovePtr<ShaderDiscardCase> makeDiscardCase (tcu::TestContext& testCtx, DiscardTemplate tmpl, DiscardMode mode)
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());
vktShaderRenderReturnTests.cpp 140 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/
es3fShaderDiscardTests.cpp 331 ShaderDiscardCase* makeDiscardCase (Context& context, DiscardTemplate tmpl, DiscardMode mode)
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));
es3fShaderReturnTests.cpp 129 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/clang/test/CodeGenCXX/
debug-info-template.cpp 87 // 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/iw/
bitrate.c 117 long tmpl; local
184 tmpl = strtol(argv[i], &end, 0);
187 if (tmpl < 0 || tmpl > 255)
189 mcs[(*n_mcs)++] = tmpl;
  /external/clang/test/SemaTemplate/
member-template-access-expr.cpp 112 template< class X > X tmpl( const X* = 0 ) const;
121 return o.tmpl<X>();

Completed in 1284 milliseconds

1 2 3