Home
last modified time | relevance | path

Searched refs:bar (Results 1 – 25 of 231) sorted by relevance

12345678910

/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A Dlilly.ok6 foo=bar
7 foo==bar
8 foo+=bar
9 foo-=bar
10 foo*=bar
11 foo/=bar
12 foo^=bar
13 foo%=bar
14 foo!=bar
15 foo<=bar
[all …]
H A DT.lilly23 foo=bar
24 foo==bar
25 foo+bar
26 foo+=bar
27 foo-=bar
28 foo*=bar
29 foo/=bar
30 foo^=bar
31 foo%=bar
35 foo bar
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.basename.d.out7 if [ `dirname "/foo/bar/baz"` != "/foo/bar" ]; then
11 if [ `basename "/foo/bar///baz/"` != "baz" ]; then
15 if [ `dirname "/foo/bar///baz/"` != "/foo/bar" ]; then
19 if [ `basename "/foo/bar/baz/"` != "baz" ]; then
23 if [ `dirname "/foo/bar/baz/"` != "/foo/bar" ]; then
31 if [ `dirname "/foo/bar/baz//"` != "/foo/bar" ]; then
35 if [ `basename "/foo/bar/baz/."` != "." ]; then
39 if [ `dirname "/foo/bar/baz/."` != "/foo/bar/baz" ]; then
47 if [ `dirname "/foo/bar/baz/./"` != "/foo/bar/baz" ]; then
55 if [ `dirname "/foo/bar/baz/.//"` != "/foo/bar/baz" ]; then
[all …]
H A Dtst.cleanpath.d.out1 cleanpath("/foo/bar/baz") = "/foo/bar/baz"
2 cleanpath("/foo/bar///baz/") = "/foo/bar/baz/"
3 cleanpath("/foo/bar/baz/") = "/foo/bar/baz/"
4 cleanpath("/foo/bar/baz//") = "/foo/bar/baz/"
5 cleanpath("/foo/bar/baz/.") = "/foo/bar/baz/."
6 cleanpath("/foo/bar/baz/./") = "/foo/bar/baz/"
7 cleanpath("/foo/bar/../../baz/.//") = "/baz/"
8 cleanpath("foo/bar/./././././baz/") = "foo/bar/baz/"
9 cleanpath("/foo/bar/baz/../../../../../../") = "/"
12 cleanpath("/foo/bar/baz/../../bop/bang/../../bar/baz/") = "/foo/bar/baz/"
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dalias.sh42 alias bar=world alias
49 alias bar='foo world' alias
50 if [[ $(bar) != 'hello world' ]]
58 unset bar
59 alias bar="print foo$bar" alias
60 bar=bar
61 if [[ $(bar) != foo ]]
64 unset bar
65 alias bar='print hello' alias
66 if [[ $bar != '' ]]
[all …]
H A Dnameref.sh55 .foo.bar=next
56 checkref .foo.bar .foo.bar
105 unset foo bar
106 export bar=foo
124 unset foo bar
126 nameref bar=$1
131 unset foo bar
132 bar=123
179 var=(foo=bar)
245 function bar
[all …]
H A Darrays.sh102 foo[3]=bar
109 foo[3]=bar
372 foo[bar]=bam
379 foo=bar
382 unset bar
386 unset bar
391 bar[4]=3
392 bar[0]=foo
401 x=$bar[4]
429 bar=1
[all …]
H A Dfunctions.sh40 bar=bye
48 integer bar=10
124 print bar
191 print bar
201 function bar function
872 function bar function
879 bar
1039 bar
1068 bar
1107 unset bar
[all …]
H A Dcomvar.sh64 x=( [foo]=bar )
79 x.foo.bar=7
184 foo=( bar=foo barbar=bar)
260 X=( bar=2 )
282 foo.bar=abc
296 read -Cu3 bar
350 z.bar[0]=hello
351 z.bar[2]=world
440 [a]=( foo=bar)
641 bar=4
[all …]
H A Dnamespace.sh35 typeset -C bar=(x=3 y=4 t=7)
68 foo=bar
69 typeset -C bar=(x=1 y=2 z=3)
81 [[ ${bar.y} == 2 ]] || err_exit 'local variable bar.y not found'
82 [[ ${bar.t} == '' ]] || err_exit 'global bar.t should not be visible'
99 [[ ${bar.y} == 4 ]] || err_exit 'global compound variable should not be affected by definiton in n…
100 [[ ${bar.z} == '' ]] || err_exit 'global compound variable should not see elements in namespace'
H A Dreturn.sh38 foo=NOVAL bar=NOVAL
49 else bar "$@"
53 function bar function
55 typeset bar=NOEXIT
71 foo=NOVAL bar=NOVAL
98 [[ $bar == EXIT ]] || err_exit "foo 2 0: bar exit trap not set"
105 [[ $bar == EXIT ]] || err_exit "foo 2 3: bar exit trap not set"
H A Dvariables.sh121 x=bar
131 if [[ $x != bar ]]
136 foo=bar
144 if [[ $foo != bar ]]
196 eval foo='$'$i bar='$'{$i}
197 if [[ ${foo} != "${bar}" ]]
422 unset bar
423 if [[ $( (print ${bar:?bam}) 2>&1) != *bar*bam* ]]
522 dave=foo; dave+=bar
571 foo[bar]=1
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_indirection2.c7 struct bar { struct
11 struct foo *get_foo(struct bar *bar) in get_foo() argument
13 return bar->foo; in get_foo()
16 void frob(struct bar *bar) in frob() argument
18 struct foo *f = bar->foo; in frob()
22 int test(struct bar *bar) in test() argument
24 struct foo *f = get_foo(bar); in test()
27 frob(bar); in test()
28 __smatch_implied(bar->foo->a); in test()
H A Dsm_initializer.c3 struct bar { struct
8 struct bar bar; argument
15 .bar.a = 42, in test()
16 .bar.b = 43, in test()
19 __smatch_implied(foo.bar.b); in test()
20 __smatch_implied(foo.bar.c); in test()
H A Dsm_get_user1.c9 int foo, bar; in func() local
13 bar = foo + 1; in func()
15 get_user(bar, user_ptr); in func()
16 if (bar > foo) in func()
17 bar = foo; in func()
18 foo = bar * 8; in func()
H A Dsm_buf_size8.c10 struct bar { struct
23 struct bar bar; argument
29 struct bar *q; in test()
43 __smatch_buf_size(b->bar); in test()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/struct/
H A Dtst.clauselocal.d37 this struct foo bar; variable
42 this->bar.x = 1;
43 this->bar.y = ',';
44 this->bar.z = 1234;
49 printf("Die %s%c %s.\n", this->bar.x == 1 ? "SystemTap" : "DTrace",
50 this->bar.y, this->bar.z == 1234 ? "Die" : "The");
/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/
H A Dmsgcc.tst7 #include <foo-bar.h>
11 error(1, "foo bar");
13 errormsg(locale, 2, "%s: bar foo");
17 OUTPUT t.mso $'str "foo bar"\nstr "%s: bar foo"'
25 fprintf(stderr, "foo bar");
28 OUTPUT t.mso $'str "foo bar"'
/illumos-gate/usr/src/test/libc-tests/tests/regex/data/
H A Dbasic.dat190 E ((foo)|(bar))!bas bar!bas (0,7)(0,3)(?,?)(0,3)
191 E ((foo)|(bar))!bas foo!bar!bas (4,11)(4,7)(?,?)(4,7)
193 E ((foo)|bar)!bas bar!bas (0,7)(0,3)
194 E ((foo)|bar)!bas foo!bar!bas (4,11)(4,7)
195 E ((foo)|bar)!bas foo!bas (0,7)(0,3)(0,3)
196 E (foo|(bar))!bas bar!bas (0,7)(0,3)(0,3)
197 E (foo|(bar))!bas foo!bar!bas (4,11)(4,7)(4,7)
198 E (foo|(bar))!bas foo!bas (0,7)(0,3)
199 E (foo|bar)!bas bar!bas (0,7)(0,3)
200 E (foo|bar)!bas foo!bar!bas (4,11)(4,7)
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm.c357 bar++; in mm_map_io_base()
392 pMem->regNumber = bar; in mm_map_io_base()
400 bar--; in mm_map_io_base()
420 bar++; in mm_map_io_space_solaris()
453 pMem->regNumber = bar; in mm_map_io_space_solaris()
1548 u8_t bar, in mm_bar_read_byte() argument
1560 u8_t bar, in mm_bar_read_word() argument
1572 u8_t bar, in mm_bar_read_dword() argument
1584 u8_t bar, in mm_bar_read_ddword() argument
1596 u8_t bar, in mm_bar_write_byte() argument
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/syn/
H A Dnastyparm.awk1 function biz(baz, bar)
3 print baz, bar
6 function buz(baz, bar)
8 print length(baz), bar
11 function buz2(baz, baz1, bar, baz2)
13 print length(baz), length(baz1), bar, length(baz2)
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Dalign.c44 char *bar[N]; in main() local
47 bar[i] = malloc(1<<i); in main()
48 if ((uintptr_t)bar[i] & 7) { in main()
50 bar[i]); in main()
58 free(bar[i]); in main()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/multiaggs/
H A Dtst.zero.d41 @bar[456] = sum(456);
44 @bar[789] = sum(789);
46 printa("%10d %@10d %@10d\n", @foo, @bar);
47 printa("%10d %@10d %@10d %@10d\n", @foo, @bar, @bop);
48 printa("%10d %@10d %@10d %@10d %@10d\n", @foo, @bar, @bop, @baz);
H A Dtst.zero2.d40 @bar[456] = sum(456);
43 @bar[789] = sum(789);
45 printa("%10d %@10d %@10d\n", @foo, @bar);
46 printa("%10d %@10d %@10d %@10d\n", @foo, @bar, @bop);
47 printa("%10d %@10d %@10d %@10d %@10d\n", @foo, @bar, @bop, @baz);
/illumos-gate/usr/src/lib/librsm/common/
H A Drsmlib.c1521 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get8()
1562 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get16()
1604 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get32()
1645 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get64()
1686 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get()
1845 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_put8()
1888 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_put16()
1932 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_put32()
1975 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_put64()
2016 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_put()
[all …]

12345678910