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

1 2 3 4 5 6 7

  /external/mesa3d/src/gallium/drivers/nouveau/nv30/
nv30_resource.c 56 const struct pipe_resource *tmpl)
58 switch (tmpl->target) {
60 return nouveau_buffer_create(pscreen, tmpl);
62 return nv30_miptree_create(pscreen, tmpl);
68 const struct pipe_resource *tmpl,
72 if (tmpl->target == PIPE_BUFFER)
75 return nv30_miptree_from_handle(pscreen, tmpl, handle);
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_video_buffer.c 236 const struct pipe_video_buffer *tmpl,
249 templ->width0 = tmpl->width;
250 templ->height0 = tmpl->height;
253 templ->bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET | tmpl->bind;
257 tmpl->chroma_format, false);
409 const struct pipe_video_buffer *tmpl)
416 assert(tmpl->width > 0 && tmpl->height > 0);
426 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
430 templat = *tmpl;
    [all...]
vl_stubs.c 85 const struct pipe_video_buffer *tmpl,
95 const struct pipe_video_buffer *tmpl)
103 const struct pipe_video_buffer *tmpl,
  /external/mesa3d/src/gallium/drivers/r600/
r600_uvd.c 59 const struct pipe_video_buffer *tmpl)
73 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
77 array_size = tmpl->interlaced ? 2 : 1;
78 template = *tmpl;
79 template.width = align(tmpl->width, VL_MACROBLOCK_WIDTH);
80 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT);
83 if (ctx->b.chip_class < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING)
92 if (ctx->b.chip_class < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING)
102 if (ctx->b.chip_class < EVERGREEN || tmpl->interlaced || !R600_UVD_ENABLE_TILING)
  /external/libnl/lib/route/
rule.c 358 static int build_rule_msg(struct rtnl_rule *tmpl, int cmd, int flags,
363 .family = tmpl->r_family,
364 .table = tmpl->r_table,
365 .action = tmpl->r_action,
366 .flags = tmpl->r_flags,
367 .tos = tmpl->r_dsfield,
370 if (!(tmpl->ce_mask & RULE_ATTR_FAMILY))
377 if (tmpl->ce_mask & RULE_ATTR_SRC)
378 frh.src_len = nl_addr_get_prefixlen(tmpl->r_src);
380 if (tmpl->ce_mask & RULE_ATTR_DST
    [all...]
route.c 108 static int build_route_msg(struct rtnl_route *tmpl, int cmd, int flags,
117 if ((err = rtnl_route_build_msg(msg, tmpl)) < 0) {
126 int rtnl_route_build_add_request(struct rtnl_route *tmpl, int flags,
129 return build_route_msg(tmpl, RTM_NEWROUTE, NLM_F_CREATE | flags,
149 int rtnl_route_build_del_request(struct rtnl_route *tmpl, int flags,
152 return build_route_msg(tmpl, RTM_DELROUTE, flags, result);
neigh.c 563 static int build_neigh_msg(struct rtnl_neigh *tmpl, int cmd, int flags,
568 .ndm_ifindex = tmpl->n_ifindex,
572 if (tmpl->n_family != AF_BRIDGE) {
573 if (!(tmpl->ce_mask & NEIGH_ATTR_DST))
575 nhdr.ndm_family = nl_addr_get_family(tmpl->n_dst);
580 if (tmpl->ce_mask & NEIGH_ATTR_FLAGS)
581 nhdr.ndm_flags = tmpl->n_flags;
583 if (tmpl->ce_mask & NEIGH_ATTR_STATE)
584 nhdr.ndm_state = tmpl->n_state;
593 if (tmpl->n_family != AF_BRIDGE
    [all...]
  /prebuilts/go/darwin-x86/src/html/template/
clone_test.go 40 const tmpl = `{{define "a"}}{{template "lhs"}}{{.}}{{template "rhs"}}{{end}}`
44 t0 := Must(New("t0").Parse(tmpl))
132 const tmpl = `
136 t0 := Must(New("t0").Parse(tmpl))
143 for _, tmpl := range templates {
144 if name == tmpl.text.Name() {
207 tmpl := Must(Must(outer.Clone()).Parse(overlay))
215 if err := tmpl.Execute(ioutil.Discard, "data"); err != nil {
227 tmpl := Must(New("x").Parse("a"))
228 tmpl = Must(tmpl.Clone()
    [all...]
examplefiles_test.go 49 // T0.tmpl is a plain template file that just invokes T1.
50 {"T0.tmpl", `T0 invokes T1: ({{template "T1"}})`},
51 // T1.tmpl defines a template, T1 that invokes T2.
52 {"T1.tmpl", `{{define "T1"}}T1 invokes T2: ({{template "T2"}}){{end}}`},
53 // T2.tmpl defines a template T2.
54 {"T2.tmpl", `{{define "T2"}}This is T2{{end}}`},
60 pattern := filepath.Join(dir, "*.tmpl")
63 // T0.tmpl is the first name matched, so it becomes the starting template,
65 tmpl := template.Must(template.ParseGlob(pattern))
67 err := tmpl.Execute(os.Stdout, nil
    [all...]
  /prebuilts/go/linux-x86/src/html/template/
clone_test.go 40 const tmpl = `{{define "a"}}{{template "lhs"}}{{.}}{{template "rhs"}}{{end}}`
44 t0 := Must(New("t0").Parse(tmpl))
132 const tmpl = `
136 t0 := Must(New("t0").Parse(tmpl))
143 for _, tmpl := range templates {
144 if name == tmpl.text.Name() {
207 tmpl := Must(Must(outer.Clone()).Parse(overlay))
215 if err := tmpl.Execute(ioutil.Discard, "data"); err != nil {
227 tmpl := Must(New("x").Parse("a"))
228 tmpl = Must(tmpl.Clone()
    [all...]
examplefiles_test.go 49 // T0.tmpl is a plain template file that just invokes T1.
50 {"T0.tmpl", `T0 invokes T1: ({{template "T1"}})`},
51 // T1.tmpl defines a template, T1 that invokes T2.
52 {"T1.tmpl", `{{define "T1"}}T1 invokes T2: ({{template "T2"}}){{end}}`},
53 // T2.tmpl defines a template T2.
54 {"T2.tmpl", `{{define "T2"}}This is T2{{end}}`},
60 pattern := filepath.Join(dir, "*.tmpl")
63 // T0.tmpl is the first name matched, so it becomes the starting template,
65 tmpl := template.Must(template.ParseGlob(pattern))
67 err := tmpl.Execute(os.Stdout, nil
    [all...]
  /prebuilts/go/darwin-x86/src/text/template/
examplefiles_test.go 47 // T0.tmpl is a plain template file that just invokes T1.
48 {"T0.tmpl", `T0 invokes T1: ({{template "T1"}})`},
49 // T1.tmpl defines a template, T1 that invokes T2.
50 {"T1.tmpl", `{{define "T1"}}T1 invokes T2: ({{template "T2"}}){{end}}`},
51 // T2.tmpl defines a template T2.
52 {"T2.tmpl", `{{define "T2"}}This is T2{{end}}`},
58 pattern := filepath.Join(dir, "*.tmpl")
61 // T0.tmpl is the first name matched, so it becomes the starting template,
63 tmpl := template.Must(template.ParseGlob(pattern))
65 err := tmpl.Execute(os.Stdout, nil
    [all...]
multi_test.go 68 if len(template.tmpl) != len(test.names)+1 { // +1 for root
69 t.Errorf("%s: wrong number of templates; wanted %d got %d", test.name, len(test.names), len(template.tmpl))
73 tmpl, ok := template.tmpl[name]
78 result := tmpl.Root.String()
132 _, err = template.ParseFiles("testdata/file1.tmpl", "testdata/file2.tmpl")
149 _, err = template.ParseGlob("testdata/file*.tmpl")
159 {"test", `{{template "tmpl1.tmpl"}}{{template "tmpl2.tmpl"}}`, "template1\n\ny\ntemplate2\n\nx\n", 0, true}
    [all...]
template.go 15 tmpl map[string]*Template // Map from name to defined templates.
68 c.tmpl = make(map[string]*Template)
87 for k, v := range t.tmpl {
89 nt.tmpl[t.name] = nt
93 tmpl := v.copy(nt.common)
94 nt.tmpl[k] = tmpl
127 // Even if nt == t, we need to install it in the common.tmpl map.
142 m := make([]*Template, 0, len(t.tmpl))
143 for _, v := range t.tmpl {
    [all...]
  /prebuilts/go/linux-x86/src/text/template/
examplefiles_test.go 47 // T0.tmpl is a plain template file that just invokes T1.
48 {"T0.tmpl", `T0 invokes T1: ({{template "T1"}})`},
49 // T1.tmpl defines a template, T1 that invokes T2.
50 {"T1.tmpl", `{{define "T1"}}T1 invokes T2: ({{template "T2"}}){{end}}`},
51 // T2.tmpl defines a template T2.
52 {"T2.tmpl", `{{define "T2"}}This is T2{{end}}`},
58 pattern := filepath.Join(dir, "*.tmpl")
61 // T0.tmpl is the first name matched, so it becomes the starting template,
63 tmpl := template.Must(template.ParseGlob(pattern))
65 err := tmpl.Execute(os.Stdout, nil
    [all...]
multi_test.go 68 if len(template.tmpl) != len(test.names)+1 { // +1 for root
69 t.Errorf("%s: wrong number of templates; wanted %d got %d", test.name, len(test.names), len(template.tmpl))
73 tmpl, ok := template.tmpl[name]
78 result := tmpl.Root.String()
132 _, err = template.ParseFiles("testdata/file1.tmpl", "testdata/file2.tmpl")
149 _, err = template.ParseGlob("testdata/file*.tmpl")
159 {"test", `{{template "tmpl1.tmpl"}}{{template "tmpl2.tmpl"}}`, "template1\n\ny\ntemplate2\n\nx\n", 0, true}
    [all...]
  /external/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_resource.c 303 const struct pipe_resource *tmpl,
314 tmpl->target, util_format_name(tmpl->format), tmpl->width0,
315 tmpl->height0, tmpl->depth0, tmpl->array_size, tmpl->last_level,
316 tmpl->nr_samples, tmpl->usage, tmpl->bind, tmpl->flags)
    [all...]
  /external/mesa3d/src/gallium/drivers/radeonsi/
si_uvd.c 43 const struct pipe_video_buffer *tmpl)
57 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
61 array_size = tmpl->interlaced ? 2 : 1;
62 template = *tmpl;
63 template.width = align(tmpl->width, VL_MACROBLOCK_WIDTH);
64 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT);
  /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));
  /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());
  /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));
  /external/mesa3d/src/gallium/drivers/vc4/
vc4_blit.c 33 struct pipe_surface tmpl; local
35 memset(&tmpl, 0, sizeof(tmpl));
36 tmpl.format = prsc->format;
37 tmpl.u.tex.level = level;
38 tmpl.u.tex.first_layer = 0;
39 tmpl.u.tex.last_layer = 0;
41 return pctx->create_surface(pctx, prsc, &tmpl);
  /external/mesa3d/src/mesa/state_tracker/
st_atom_texture.c 159 struct pipe_sampler_view tmpl; local
165 tmpl = *sampler_views[unit];
170 tmpl.format = PIPE_FORMAT_RG88_UNORM;
171 tmpl.swizzle_g = PIPE_SWIZZLE_Y; /* tmpl from Y plane is R8 */
174 st->pipe->create_sampler_view(st->pipe, stObj->pt->next, &tmpl);
178 tmpl.format = PIPE_FORMAT_R8_UNORM;
181 st->pipe->create_sampler_view(st->pipe, stObj->pt->next, &tmpl);
184 st->pipe->create_sampler_view(st->pipe, stObj->pt->next->next, &tmpl);

Completed in 274 milliseconds

1 2 3 4 5 6 7