Searched defs:tmpl (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/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_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
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...]
/external/clang/test/Misc/
H A Dast-dump-templates.cpp46 void tmpl() { function in namespace:test2
/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_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
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...]
/external/chromium_org/gin/
H A Dobject_template_builder.h31 v8::Local<v8::ObjectTemplate> tmpl,
33 CreateFunctionHandler(isolate, tmpl, base::Bind(callback));
45 v8::Local<v8::ObjectTemplate> tmpl,
47 CreateFunctionHandler(isolate, tmpl, callback);
64 v8::Local<v8::ObjectTemplate> tmpl,
67 isolate, tmpl, base::Bind(callback), HolderIsFirstArgument);
30 SetAsFunctionHandler(v8::Isolate* isolate, v8::Local<v8::ObjectTemplate> tmpl, T callback) argument
44 SetAsFunctionHandler(v8::Isolate* isolate, v8::Local<v8::ObjectTemplate> tmpl, const base::Callback<T>& callback) argument
63 SetAsFunctionHandler(v8::Isolate* isolate, v8::Local<v8::ObjectTemplate> tmpl, T callback) argument
H A Dfunction_template.h508 v8::Local<v8::ObjectTemplate> tmpl,
513 tmpl->SetCallAsFunctionHandler(&internal::Dispatcher<Sig>::DispatchToCallback,
507 CreateFunctionHandler(v8::Isolate* isolate, v8::Local<v8::ObjectTemplate> tmpl, const base::Callback<Sig> callback, int callback_flags = 0) argument
/external/chromium_org/extensions/renderer/
H A Dconsole.cc83 v8::Local<v8::FunctionTemplate> tmpl = v8::FunctionTemplate::New( local
88 tmpl->GetFunction());
/external/libnl/lib/route/
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);
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/
H A Dsurface.c158 struct pipe_video_buffer tmpl; local
176 memset(&tmpl, 0, sizeof(tmpl));
177 tmpl.buffer_format = pipe->screen->get_video_param
183 tmpl.chroma_format = context_priv->decoder->chroma_format;
184 tmpl.width = context_priv->decoder->width;
185 tmpl.height = context_priv->decoder->height;
186 tmpl.interlaced = pipe->screen->get_video_param
193 surface_priv->video_buffer = pipe->create_video_buffer(pipe, &tmpl);
/external/chromium_org/third_party/skia/experimental/SkV8Example/
H A DBaseContext.cpp255 tmpl->Set(String::NewFromUtf8( \
260 void BaseContext::addAttributesAndMethods(Handle<ObjectTemplate> tmpl) { argument
264 tmpl->SetAccessor(String::NewFromUtf8(
267 tmpl->SetAccessor(String::NewFromUtf8(
270 tmpl->SetAccessor(String::NewFromUtf8(
273 tmpl->SetAccessor(String::NewFromUtf8(
/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapProcState_matrixProcs_neon.cpp66 uint32x4_t tmpl, tmph; local
72 tmpl = vmull_u16(vget_low_u16(res), vdup_n_u16(max+1));
76 res = vuzpq_u16(vreinterpretq_u16_u32(tmpl), vreinterpretq_u16_u32(tmph)).val[1];
/external/chromium_org/tools/clang/blink_gc_plugin/
H A DRecordInfo.cpp40 ClassTemplateSpecializationDecl* tmpl = local
42 if (!tmpl)
44 const TemplateArgumentList& args = tmpl->getTemplateArgs();
/external/chromium_org/v8/test/cctest/
H A Dtest-object-observe.cc309 Handle<FunctionTemplate> tmpl = FunctionTemplate::New(v8_isolate); local
310 tmpl->SetHiddenPrototype(true);
311 tmpl->InstanceTemplate()->Set(
313 Handle<Object> proto = tmpl->GetFunction()->NewInstance();
/external/clang/test/SemaCXX/
H A Dconversion.cpp107 void tmpl(char c = NULL, // expected-warning 4 {{implicit conversion of NULL constant to 'char'}} function in namespace:test4
118 tmpl<char>(); // expected-note 2 {{in instantiation of default function argument expression for 'tmpl<char>' required here}}
119 tmpl<int>(); // expected-note 2 {{in instantiation of default function argument expression for 'tmpl<int>' required here}}
121 tmpl<int>(); // expected-note 2 {{in instantiation of default function argument expression for 'tmpl<int>' required here}}
/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));
/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));
/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/mesa3d/src/gallium/state_trackers/xvmc/
H A Dsurface.c158 struct pipe_video_buffer tmpl; local
176 memset(&tmpl, 0, sizeof(tmpl));
177 tmpl.buffer_format = pipe->screen->get_video_param
183 tmpl.chroma_format = context_priv->decoder->chroma_format;
184 tmpl.width = context_priv->decoder->width;
185 tmpl.height = context_priv->decoder->height;
186 tmpl.interlaced = pipe->screen->get_video_param
193 surface_priv->video_buffer = pipe->create_video_buffer(pipe, &tmpl);
/external/skia/experimental/SkV8Example/
H A DBaseContext.cpp255 tmpl->Set(String::NewFromUtf8( \
260 void BaseContext::addAttributesAndMethods(Handle<ObjectTemplate> tmpl) { argument
264 tmpl->SetAccessor(String::NewFromUtf8(
267 tmpl->SetAccessor(String::NewFromUtf8(
270 tmpl->SetAccessor(String::NewFromUtf8(
273 tmpl->SetAccessor(String::NewFromUtf8(
/external/skia/src/opts/
H A DSkBitmapProcState_matrixProcs_neon.cpp66 uint32x4_t tmpl, tmph; local
72 tmpl = vmull_u16(vget_low_u16(res), vdup_n_u16(max+1));
76 res = vuzpq_u16(vreinterpretq_u16_u32(tmpl), vreinterpretq_u16_u32(tmph)).val[1];
/external/iproute2/ip/
H A Dxfrm_policy.c93 fprintf(stderr, "TMPL-LIST := [ TMPL-LIST ] tmpl TMPL\n");
181 static int xfrm_tmpl_parse(struct xfrm_user_tmpl *tmpl, argument
191 xfrm_mode_parse(&tmpl->mode, &argc, &argv);
194 xfrm_reqid_parse(&tmpl->reqid, &argc, &argv);
199 tmpl->optional = 0;
201 tmpl->optional = 1;
212 xfrm_id_parse(&tmpl->saddr, &tmpl->id, &tmpl->family,
214 preferred_family = tmpl
334 struct xfrm_user_tmpl *tmpl; local
[all...]

Completed in 503 milliseconds

12