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

1 2 3 4 5 6

  /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...]
  /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/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...]
addr.c 548 static int build_addr_msg(struct rtnl_addr *tmpl, int cmd, int flags,
553 .ifa_family = tmpl->a_family,
554 .ifa_index = tmpl->a_ifindex,
555 .ifa_prefixlen = tmpl->a_prefixlen,
556 .ifa_flags = tmpl->a_flags,
559 if (tmpl->ce_mask & ADDR_ATTR_SCOPE)
560 am.ifa_scope = tmpl->a_scope;
563 if (tmpl->a_family == AF_INET &&
564 tmpl->ce_mask & ADDR_ATTR_LOCAL &&
565 *((char *) nl_addr_get_binary_addr(tmpl->a_local)) == 127
    [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...]
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...]
  /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/clang/test/CodeGenCXX/
debug-info-template.cpp 120 template <template <typename> class tmpl, int &lvr, int &&rvr>
134 // CHECK: [[NNARG1]] = !DITemplateValueParameter(tag: DW_TAG_GNU_template_template_param, name: "tmpl", value: !"tmpl_impl")
  /prebuilts/go/darwin-x86/doc/articles/wiki/
part3.go 32 func renderTemplate(w http.ResponseWriter, tmpl string, p *Page) {
33 t, _ := template.ParseFiles(tmpl + ".html")
  /prebuilts/go/linux-x86/doc/articles/wiki/
part3.go 32 func renderTemplate(w http.ResponseWriter, tmpl string, p *Page) {
33 t, _ := template.ParseFiles(tmpl + ".html")

Completed in 953 milliseconds

1 2 3 4 5 6