/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_video_buffer.c | 217 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/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_resource.c | 36 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()
|
D | nv30_miptree.c | 271 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 …]
|
D | nv30_texture.c | 202 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/libnl/lib/route/ |
D | rule.c | 386 static int build_rule_msg(struct rtnl_rule *tmpl, int cmd, int flags, in build_rule_msg() argument 397 if (tmpl->ce_mask & RULE_ATTR_FAMILY) in build_rule_msg() 398 rtm.rtm_family = tmpl->r_family; in build_rule_msg() 400 if (tmpl->ce_mask & RULE_ATTR_TABLE) in build_rule_msg() 401 rtm.rtm_table = tmpl->r_table; in build_rule_msg() 403 if (tmpl->ce_mask & RULE_ATTR_DSFIELD) in build_rule_msg() 404 rtm.rtm_tos = tmpl->r_dsfield; in build_rule_msg() 406 if (tmpl->ce_mask & RULE_ATTR_TYPE) in build_rule_msg() 407 rtm.rtm_type = tmpl->r_type; in build_rule_msg() 409 if (tmpl->ce_mask & RULE_ATTR_SRC_LEN) in build_rule_msg() [all …]
|
D | route.c | 103 static int build_route_msg(struct rtnl_route *tmpl, int cmd, int flags, in build_route_msg() argument 112 if ((err = rtnl_route_build_msg(msg, tmpl)) < 0) { in build_route_msg() 121 int rtnl_route_build_add_request(struct rtnl_route *tmpl, int flags, in rtnl_route_build_add_request() argument 124 return build_route_msg(tmpl, RTM_NEWROUTE, NLM_F_CREATE | flags, in rtnl_route_build_add_request() 144 int rtnl_route_build_del_request(struct rtnl_route *tmpl, int flags, in rtnl_route_build_del_request() argument 147 return build_route_msg(tmpl, RTM_DELROUTE, flags, result); in rtnl_route_build_del_request()
|
D | addr.c | 558 static int build_addr_msg(struct rtnl_addr *tmpl, int cmd, int flags, in build_addr_msg() argument 563 .ifa_family = tmpl->a_family, in build_addr_msg() 564 .ifa_index = tmpl->a_ifindex, in build_addr_msg() 565 .ifa_prefixlen = tmpl->a_prefixlen, in build_addr_msg() 568 if (tmpl->ce_mask & ADDR_ATTR_SCOPE) in build_addr_msg() 569 am.ifa_scope = tmpl->a_scope; in build_addr_msg() 572 if (tmpl->a_family == AF_INET && in build_addr_msg() 573 tmpl->ce_mask & ADDR_ATTR_LOCAL && in build_addr_msg() 574 *((char *) nl_addr_get_binary_addr(tmpl->a_local)) == 127) in build_addr_msg() 587 if (tmpl->ce_mask & ADDR_ATTR_LOCAL) in build_addr_msg() [all …]
|
D | link.c | 862 struct rtnl_link *tmpl, int flags, in rtnl_link_build_change_request() argument 871 if (tmpl->ce_mask & LINK_ATTR_FLAGS) { in rtnl_link_build_change_request() 872 ifi.ifi_flags = old->l_flags & ~tmpl->l_flag_mask; in rtnl_link_build_change_request() 873 ifi.ifi_flags |= tmpl->l_flags; in rtnl_link_build_change_request() 883 if (tmpl->ce_mask & LINK_ATTR_ADDR) in rtnl_link_build_change_request() 884 NLA_PUT_ADDR(msg, IFLA_ADDRESS, tmpl->l_addr); in rtnl_link_build_change_request() 886 if (tmpl->ce_mask & LINK_ATTR_BRD) in rtnl_link_build_change_request() 887 NLA_PUT_ADDR(msg, IFLA_BROADCAST, tmpl->l_bcast); in rtnl_link_build_change_request() 889 if (tmpl->ce_mask & LINK_ATTR_MTU) in rtnl_link_build_change_request() 890 NLA_PUT_U32(msg, IFLA_MTU, tmpl->l_mtu); in rtnl_link_build_change_request() [all …]
|
D | neigh.c | 498 static int build_neigh_msg(struct rtnl_neigh *tmpl, int cmd, int flags, in build_neigh_msg() argument 503 .ndm_ifindex = tmpl->n_ifindex, in build_neigh_msg() 507 if (!(tmpl->ce_mask & NEIGH_ATTR_DST)) in build_neigh_msg() 510 nhdr.ndm_family = nl_addr_get_family(tmpl->n_dst); in build_neigh_msg() 512 if (tmpl->ce_mask & NEIGH_ATTR_STATE) in build_neigh_msg() 513 nhdr.ndm_state = tmpl->n_state; in build_neigh_msg() 522 NLA_PUT_ADDR(msg, NDA_DST, tmpl->n_dst); in build_neigh_msg() 524 if (tmpl->ce_mask & NEIGH_ATTR_LLADDR) in build_neigh_msg() 525 NLA_PUT_ADDR(msg, NDA_LLADDR, tmpl->n_lladdr); in build_neigh_msg() 555 int rtnl_neigh_build_add_request(struct rtnl_neigh *tmpl, int flags, in rtnl_neigh_build_add_request() argument [all …]
|
D | neightbl.c | 449 struct rtnl_neightbl *tmpl, in rtnl_neightbl_build_change_request() argument 466 if (tmpl->ce_mask & NEIGHTBL_ATTR_THRESH1) in rtnl_neightbl_build_change_request() 467 NLA_PUT_U32(m, NDTA_THRESH1, tmpl->nt_gc_thresh1); in rtnl_neightbl_build_change_request() 469 if (tmpl->ce_mask & NEIGHTBL_ATTR_THRESH2) in rtnl_neightbl_build_change_request() 470 NLA_PUT_U32(m, NDTA_THRESH2, tmpl->nt_gc_thresh2); in rtnl_neightbl_build_change_request() 472 if (tmpl->ce_mask & NEIGHTBL_ATTR_THRESH2) in rtnl_neightbl_build_change_request() 473 NLA_PUT_U32(m, NDTA_THRESH2, tmpl->nt_gc_thresh2); in rtnl_neightbl_build_change_request() 475 if (tmpl->ce_mask & NEIGHTBL_ATTR_GC_INTERVAL) in rtnl_neightbl_build_change_request() 477 tmpl->nt_gc_interval); in rtnl_neightbl_build_change_request() 479 if (tmpl->ce_mask & NEIGHTBL_ATTR_PARMS) { in rtnl_neightbl_build_change_request() [all …]
|
/external/opencv3/modules/imgproc/perf/ |
D | 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/deqp/modules/gles2/functional/ |
D | es2fShaderDiscardTests.cpp | 341 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()
|
D | es2fShaderReturnTests.cpp | 156 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/opencv3/samples/cpp/ |
D | mask_tmpl.cpp | 27 Mat tmpl = imread(tmplname); in main() local 38 if(tmpl.empty()) in main() 54 matchTemplate(img, tmpl, res, method, mask); in main() 62 rect = Rect(minLoc, tmpl.size()); in main() 64 rect = Rect(maxLoc, tmpl.size()); in main()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderDiscardTests.cpp | 331 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()
|
D | es3fShaderReturnTests.cpp | 129 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/ |
D | vktShaderRenderDiscardTests.cpp | 333 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()
|
D | vktShaderRenderReturnTests.cpp | 140 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/ |
D | Makefile.am | 32 VC6_LIBTMPL = projects/Windows/VC6/lib/libcurl.tmpl 35 VC6_SRCTMPL = projects/Windows/VC6/src/curlsrc.tmpl 39 VC7_LIBTMPL = projects/Windows/VC7/lib/libcurl.tmpl 42 VC7_SRCTMPL = projects/Windows/VC7/src/curlsrc.tmpl 46 VC71_LIBTMPL = projects/Windows/VC7.1/lib/libcurl.tmpl 49 VC71_SRCTMPL = projects/Windows/VC7.1/src/curlsrc.tmpl 53 VC8_LIBTMPL = projects/Windows/VC8/lib/libcurl.tmpl 56 VC8_SRCTMPL = projects/Windows/VC8/src/curlsrc.tmpl 60 VC9_LIBTMPL = projects/Windows/VC9/lib/libcurl.tmpl 63 VC9_SRCTMPL = projects/Windows/VC9/src/curlsrc.tmpl [all …]
|
/external/clang/test/SemaCXX/ |
D | conversion.cpp | 119 void tmpl(char c = NULL, // expected-warning 4 {{implicit conversion of NULL constant to 'char'}} in tmpl() function 130 …tmpl<char>(); // expected-note 2 {{in instantiation of default function argument expression for 't… in func() 131 …tmpl<int>(); // expected-note 2 {{in instantiation of default function argument expression for 'tm… in func() 133 …tmpl<int>(); // expected-note 2 {{in instantiation of default function argument expression for 'tm… in func()
|
/external/opencv3/modules/imgproc/perf/opencl/ |
D | 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/iproute2/ip/ |
D | xfrm_policy.c | 177 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/ |
D | surface.c | 158 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/ |
D | generate-msvc.mak | 14 …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) > $@
|
/external/iw/ |
D | bitrate.c | 117 long tmpl; in handle_bitrates() local 184 tmpl = strtol(argv[i], &end, 0); in handle_bitrates() 187 if (tmpl < 0 || tmpl > 255) in handle_bitrates() 189 mcs[(*n_mcs)++] = tmpl; in handle_bitrates()
|