Home
last modified time | relevance | path

Searched refs:vis (Results 1 – 25 of 89) sorted by relevance

1234

/third_party/gn/src/gn/
Dvisibility_unittest.cc19 Visibility vis; in TEST() local
20 ASSERT_TRUE(vis.Set(SourceDir("//"), std::string_view(), list, &err)); in TEST()
22 EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//random/"), "thing"))); in TEST()
23 EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//my/"), "notname"))); in TEST()
25 EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//my/"), "name"))); in TEST()
26 EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//rec/"), "anything"))); in TEST()
27 EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//rec/a/"), "anything"))); in TEST()
28 EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//rec/b/"), "anything"))); in TEST()
29 EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//dir/"), "anything"))); in TEST()
30 EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//dir/a/"), "anything"))); in TEST()
[all …]
/third_party/rust/crates/syn/src/
Ditem.rs95 pub vis: Visibility,
112 pub vis: Visibility,
126 pub vis: Visibility,
140 pub vis: Visibility,
194 pub vis: Visibility,
208 pub vis: Visibility,
225 pub vis: Visibility,
239 pub vis: Visibility,
258 pub vis: Visibility,
273 pub vis: Visibility,
[all …]
Dderive.rs9 pub vis: Visibility,
70 let vis = input.parse::<Visibility>()?; in parse() localVariable
80 vis, in parse()
99 vis, in parse()
118 vis, in parse()
208 self.vis.to_tokens(tokens); in to_tokens()
Ddata.rs141 pub vis: Visibility,
306 let vis: Visibility = input.parse()?; in parse_named() localVariable
331 vis, in parse_named()
344 vis: input.parse()?, in parse_unnamed()
396 self.vis.to_tokens(tokens); in to_tokens()
/third_party/rust/crates/rustix/src/backend/libc/
Dweak.rs39 ($vis:vis fn $name:ident($($t:ty),*) -> $ret:ty) => (
41 $vis static $name: $crate::backend::weak::Weak<unsafe extern fn($($t),*) -> $ret> =
193 ($vis:vis fn $name:ident($($arg_name:ident: $t:ty),*) -> $ret:ty) => (
194 $vis unsafe fn $name($($arg_name: $t),*) -> $ret {
212 ($vis:vis fn $name:ident($($arg_name:ident: $t:ty),*) via $sys_name:ident -> $ret:ty) => (
213 $vis unsafe fn $name($($arg_name: $t),*) -> $ret {
/third_party/rust/crates/lazy-static.rs/src/
Dlib.rs127 ($(#[$attr:meta])* ($($vis:tt)*) static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
128 __lazy_static_internal!(@MAKE TY, $(#[$attr])*, ($($vis)*), $N);
154 (@MAKE TY, $(#[$attr:meta])*, ($($vis:tt)*), $N:ident) => {
159 $($vis)* struct $N {__private_field: ()}
161 $($vis)* static $N: $N = $N {__private_field: ()};
175 ($(#[$attr:meta])* pub ($($vis:tt)+) static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
176 __lazy_static_internal!($(#[$attr])* (pub ($($vis)+)) static ref $N : $T = $e; $($t)*);
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_api.c392 XVisualInfo temp, *vis; in get_visual() local
412 vis = XGetVisualInfo( dpy, mask, &temp, &n ); in get_visual()
418 if (vis && depth > 24 && (xclass==TrueColor || xclass==DirectColor)) { in get_visual()
419 if (util_bitcount((GLuint) vis->red_mask ) <= 8 && in get_visual()
420 util_bitcount((GLuint) vis->green_mask) <= 8 && in get_visual()
421 util_bitcount((GLuint) vis->blue_mask ) <= 8) { in get_visual()
422 return vis; in get_visual()
425 free((void *) vis); in get_visual()
430 return vis; in get_visual()
447 XVisualInfo *vis; in get_env_visual() local
[all …]
Dxm_api.c525 XMesaVisual vis, Colormap cmap) in create_xmesa_buffer() argument
527 XMesaDisplay xmdpy = xmesa_init_display(vis->display); in create_xmesa_buffer()
540 b->ws.visual = vis->visinfo->visual; in create_xmesa_buffer()
541 b->ws.depth = vis->visinfo->depth; in create_xmesa_buffer()
543 b->xm_visual = vis; in create_xmesa_buffer()
547 get_drawable_size(vis->display, d, &b->width, &b->height); in create_xmesa_buffer()
842 struct gl_config *vis = &v->mesa_visual; in XMesaCreateVisual() local
844 vis->doubleBufferMode = db_flag; in XMesaCreateVisual()
845 vis->stereoMode = stereo_flag; in XMesaCreateVisual()
847 vis->redBits = red_bits; in XMesaCreateVisual()
[all …]
/third_party/rust/crates/syn/tests/
Dtest_precedence.rs219 fn flat_map_field<T: MutVisitor>(mut f: ExprField, vis: &mut T) -> Vec<ExprField> { in librustc_parenthesize()
221 noop_visit_expr(&mut f.expr, vis); in librustc_parenthesize()
223 vis.visit_expr(&mut f.expr); in librustc_parenthesize()
228 fn flat_map_stmt<T: MutVisitor>(stmt: Stmt, vis: &mut T) -> Vec<Stmt> { in librustc_parenthesize()
232 noop_visit_expr(&mut e, vis); in librustc_parenthesize()
236 noop_visit_expr(&mut e, vis); in librustc_parenthesize()
245 fn noop_visit_expr<T: MutVisitor>(e: &mut Expr, vis: &mut T) { in librustc_parenthesize()
256 vis.visit_qself(qself); in librustc_parenthesize()
257 vis.visit_path(path); in librustc_parenthesize()
258 fields.flat_map_in_place(|field| flat_map_field(field, vis)); in librustc_parenthesize()
[all …]
Dtest_visibility.rs12 vis: Visibility, field
19 vis: input.parse()?, in parse()
34 match parse.vis {
36 _ => panic!("Expected {}, got {:?}", stringify!($p), parse.vis),
/third_party/rust/crates/nix/src/
Dmacros.rs105 $v:vis
121 $v:vis
149 $v:vis
170 $v:vis
290 $v:vis enum $BitFlags:ident {
310 $v:vis enum $BitFlags:ident {
/third_party/toybox/toys/pending/
Dstty.c418 char vis[16] = {}; in do_stty() local
425 snprintf(vis, sizeof(vis), "%u", ch); in do_stty()
427 strcat(vis, "<undef>"); in do_stty()
430 strcat(vis, "M-"); in do_stty()
433 if (ch < ' ') sprintf(vis+strlen(vis), "^%c", (ch+'@')); in do_stty()
434 else if (ch == 0x7f) strcat(vis, "^?"); in do_stty()
435 else sprintf(vis+strlen(vis), "%c", ch); in do_stty()
437 out("%s = %s;", chars[i].name, vis); in do_stty()
/third_party/rust/crates/syn/src/gen/
Dclone.rs219 vis: self.vis.clone(), in clone()
762 vis: self.vis.clone(), in clone()
874 vis: self.vis.clone(), in clone()
897 vis: self.vis.clone(), in clone()
913 vis: self.vis.clone(), in clone()
977 vis: self.vis.clone(), in clone()
996 vis: self.vis.clone(), in clone()
1020 vis: self.vis.clone(), in clone()
1078 vis: self.vis.clone(), in clone()
1096 vis: self.vis.clone(), in clone()
[all …]
Deq.rs238 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident in eq()
724 self.attrs == other.attrs && self.vis == other.vis in eq()
849 self.attrs == other.attrs && self.vis == other.vis && self.sig == other.sig in eq()
870 self.attrs == other.attrs && self.vis == other.vis in eq()
882 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident in eq()
970 self.attrs == other.attrs && self.vis == other.vis in eq()
983 self.attrs == other.attrs && self.vis == other.vis in eq()
1006 self.attrs == other.attrs && self.vis == other.vis in eq()
1058 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident in eq()
1070 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident in eq()
[all …]
Dfold.rs1192 vis: f.fold_visibility(node.vis), in fold_derive_input()
1761 vis: f.fold_visibility(node.vis), in fold_field()
1891 vis: f.fold_visibility(node.vis), in fold_foreign_item_fn()
1919 vis: f.fold_visibility(node.vis), in fold_foreign_item_static()
1936 vis: f.fold_visibility(node.vis), in fold_foreign_item_type()
2036 vis: f.fold_visibility(node.vis), in fold_impl_item_const()
2056 vis: f.fold_visibility(node.vis), in fold_impl_item_fn()
2082 vis: f.fold_visibility(node.vis), in fold_impl_item_type()
2150 vis: f.fold_visibility(node.vis), in fold_item_const()
2169 vis: f.fold_visibility(node.vis), in fold_item_enum()
[all …]
/third_party/rust/crates/rust-openssl/openssl-macros/src/
Dlib.rs20 let vis = item.vis; in corresponds() localVariable
29 #vis #sig #block in corresponds()
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
DTransformsMapperTest.java202 String src, String dst, Direction dir, String var, Visibility vis, String alias, int idx) { in oneWay() argument
212 appendAttribute(cldrPath, "visibility", vis); in oneWay()
219 String.format("%s %s %s [%s]:\n%s", src, arrow, dst, vis, alias)); in oneWay()
223 … String src, String dst, String var, Visibility vis, String alias, String backAlias, int idx) { in both() argument
232 appendAttribute(cldrPath, "visibility", vis); in both()
239 String.format("%s <-> %s [%s]:\n%s\n%s", src, dst, vis, alias, backAlias)); in both()
/third_party/rust/crates/cxx/syntax/
Dfile.rs14 pub vis: Visibility, field
44 let vis: Visibility = input.parse()?; in parse() localVariable
51 let span = quote!(#vis #mod_token #semi); in parse()
71 vis, in parse()
Dparse.rs152 let visibility = visibility_pub(&field.vis, ident.span()); in parse_struct()
167 let visibility = visibility_pub(&item.vis, struct_token.span); in parse_struct()
216 let vis = &item.vis; in parse_enum() localVariable
220 let span = quote!(#vis #enum_token #ident #generics); in parse_enum()
236 let visibility = visibility_pub(&item.vis, enum_token.span); in parse_enum()
490 let visibility = visibility_pub(&foreign_type.vis, type_token.span); in parse_extern_type()
670 let visibility = visibility_pub(&foreign_fn.vis, inherited_span); in parse_extern_fn()
1468 fn visibility_pub(vis: &Visibility, inherited: Span) -> Token![pub] { in visibility_pub()
1469 Token![pub](match vis { in visibility_pub()
1470 Visibility::Public(vis) => vis.span, in visibility_pub()
[all …]
/third_party/ffmpeg/compat/solaris/
Dmake_sunver.pl145 (undef, undef, undef, undef, $bind, $vis, $ndx, $name) = split;
153 next if ($vis eq "HIDDEN");
157 if ($bind !~ /^(GLOBAL|WEAK)/ or $vis ne "DEFAULT") {
/third_party/libabigail/include/
Dabg-ir.h1574 visibility vis = VISIBILITY_DEFAULT);
1580 visibility vis = VISIBILITY_DEFAULT);
1798 visibility vis = VISIBILITY_DEFAULT);
2085 visibility vis = VISIBILITY_DEFAULT);
2136 const location& locus, visibility vis = VISIBILITY_DEFAULT);
2156 const location& locus, visibility vis = VISIBILITY_DEFAULT);
2680 visibility vis = VISIBILITY_DEFAULT);
2791 visibility vis = VISIBILITY_DEFAULT);
2797 visibility vis = VISIBILITY_DEFAULT);
2906 visibility vis = VISIBILITY_DEFAULT,
[all …]
/third_party/mesa3d/src/gallium/frontends/osmesa/
Dosmesa.c325 osmesa_init_st_visual(struct st_visual *vis, in osmesa_init_st_visual() argument
330 vis->buffer_mask = ST_ATTACHMENT_FRONT_LEFT_MASK; in osmesa_init_st_visual()
333 vis->buffer_mask |= ST_ATTACHMENT_DEPTH_STENCIL_MASK; in osmesa_init_st_visual()
335 vis->buffer_mask |= ST_ATTACHMENT_ACCUM; in osmesa_init_st_visual()
337 vis->color_format = color_format; in osmesa_init_st_visual()
338 vis->depth_stencil_format = ds_format; in osmesa_init_st_visual()
339 vis->accum_format = accum_format; in osmesa_init_st_visual()
340 vis->samples = 1; in osmesa_init_st_visual()
/third_party/rust/crates/rustix/tests/param/
Dweak.rs187 ($vis:vis fn $name:ident($($arg_name:ident: $t:ty),*) -> $ret:ty) => (
188 $vis unsafe fn $name($($arg_name: $t),*) -> $ret {
/third_party/rust/crates/rustix/tests/process/
Dweak.rs187 ($vis:vis fn $name:ident($($arg_name:ident: $t:ty),*) -> $ret:ty) => (
188 $vis unsafe fn $name($($arg_name: $t),*) -> $ret {
/third_party/mesa3d/src/glx/
Dglxcmds.c442 glXCreateContext(Display * dpy, XVisualInfo * vis, in glXCreateContext() argument
449 struct glx_screen *const psc = GetGLXScreenConfigs(dpy, vis->screen); in glXCreateContext()
452 config = glx_config_find_visual(psc->visuals, vis->visualid); in glXCreateContext()
455 __glXSendError(dpy, BadValue, vis->visualid, X_GLXCreateContext, True); in glXCreateContext()
474 return CreateContext(dpy, vis->visualid, config, shareList, allowDirect, in glXCreateContext()
693 glXCreateGLXPixmap(Display * dpy, XVisualInfo * vis, Pixmap pixmap) in glXCreateGLXPixmap() argument
696 int screen = vis->screen; in glXCreateGLXPixmap()
700 config = glx_config_find_visual(psc->visuals, vis->visualid); in glXCreateGLXPixmap()
702 if(apple_glx_pixmap_create(dpy, vis->screen, pixmap, config)) in glXCreateGLXPixmap()
733 req->screen = vis->screen; in glXCreateGLXPixmap()
[all …]

1234