/illumos-gate/usr/src/test/util-tests/tests/awk/tests/ |
H A D | lilly.ok | 6 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 D | T.lilly | 23 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 32 foo!=bar [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.basename.d.out | 4 echo "basename(\"/foo/bar/baz\") is \"baz\"; expected \"`basename "/foo/bar/baz"`"\" 7 if [ `dirname "/foo/bar/baz"` != "/foo/bar" ]; then 8 echo "dirname(\"/foo/bar/baz\") is \"/foo/bar\"; expected \"`dirname "/foo/bar/baz"`"\" 11 if [ `basename "/foo/bar///baz/"` != "baz" ]; then 12 echo "basename(\"/foo/bar///baz/\") is \"baz\"; expected \"`basename "/foo/bar///baz/"`"\" 15 if [ `dirname "/foo/bar///baz/"` != "/foo/bar" ]; then 16 echo "dirname(\"/foo/bar///baz/\") is \"/foo/bar\"; expected \"`dirname "/foo/bar///baz/"`"\" 19 if [ `basename "/foo/bar/baz/"` != "baz" ]; then 20 echo "basename(\"/foo/bar/baz/\") is \"baz\"; expected \"`basename "/foo/bar/baz/"`"\" 23 if [ `dirname "/foo/bar/baz/"` != "/foo/bar" ]; then [all …]
|
H A D | tst.cleanpath.d.out | 1 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 D | alias.sh | 42 alias bar=world alias 43 if [[ $(foo bar) != 'hello world' ]] 46 if [[ $(foo \bar) != 'hello bar' ]] 49 alias bar='foo world' alias 50 if [[ $(bar) != 'hello world' ]] 53 if [[ $(alias bar) != "bar='foo world'" ]] alias 58 unset bar 59 alias bar="print foo$bar" alias 60 bar=bar 61 if [[ $(bar) != foo ]] [all …]
|
H A D | nameref.sh | 36 nameref foo=$1 bar=$2 37 if [[ $foo != $bar ]] 38 then err_exit "foo=$foo != bar=$bar" 41 if [[ $foo != $bar ]] 42 then err_exit "foo=$foo != bar=$bar" 45 if [[ ${foo.child} != ${bar.child} ]] 55 .foo.bar=next 56 checkref .foo.bar .foo.bar 57 if [[ ${.foo.bar} != hello ]] 60 if [[ ${.foo.bar.child} != child ]] [all …]
|
H A D | arrays.sh | 102 foo[3]=bar 109 foo[3]=bar 132 x[2]=foo x[4]=bar 183 typeset foo=bar 185 if [[ ${foo[0]} != bar ]] 233 : $(set -A list foo bar) 238 list= (foo bar bam) 240 if [[ ${list[1]} != bar ]] 325 x=([foo]=bar) 372 foo[bar]=bam [all …]
|
H A D | functions.sh | 40 bar=bye 45 1) print -r - "$foo" "$bar";; 48 integer bar=10 49 print -r - "$foo" "$bar";; 71 if [[ $(bar=foo foobar 1) != '33 foo' ]] 74 if [[ $bar == foo ]] 124 print bar 132 if [[ $(foo) != bar ]] 191 print bar 193 if [[ $(foo) != bar ]] [all …]
|
H A D | comvar.sh | 64 x=( [foo]=bar ) 65 if [[ ${x[@]} != bar ]] 79 x.foo.bar=7 80 [[ ${x.foo.bar} == 7 ]] || err_exit '[[ ${x.foo.bar} != 7 ]]' 81 (( x.foo.bar == 7 ))|| err_exit '(( x.foo.bar != 7 ))' 82 [[ ${x.foo} == *bar=7* ]] || err_exit '[[ ${x.foo} != *bar=7* ]]' 184 foo=( bar=foo barbar=bar) 185 [[ $foo == *bar=foo* ]] || err_exit 'no prefix elements in compound variable output' 213 ( [[ ${z.foo.bar:-abc} == abc ]] 2> /dev/null) || err_exit ':- not working with compound variables' 215 typeset -a stack.items=([0]=foo [1]=bar) [all …]
|
H A D | namespace.sh | 35 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 D | return.sh | 38 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 D | variables.sh | 121 x=bar 131 if [[ $x != bar ]] 136 foo=bar 144 if [[ $foo != bar ]] 196 eval foo='$'$i bar='$'{$i} 197 if [[ ${foo} != "${bar}" ]] 200 command eval bar='$'{$i%?} 2> /dev/null || err_exit "\${$i%?} gives syntax error" 201 if [[ $i != [@*] && ${foo%?} != "$bar" ]] 204 command eval bar='$'{$i#?} 2> /dev/null || err_exit "\${$i#?} gives syntax error" 208 command eval foo='$'{$i} bar='$'{#$i} || err_exit "\${#$i} gives synta [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | sm_indirection2.c | 7 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 D | sm_initializer.c | 3 struct bar { struct 8 struct bar bar; member 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 D | sm_get_user1.c | 9 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 D | sm_buf_size8.c | 10 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 D | tst.clauselocal.d | 35 this struct foo bar; variable 40 this->bar.x = 1; 41 this->bar.y = ','; 42 this->bar.z = 1234; 47 printf("Die %s%c %s.\n", this->bar.x == 1 ? "SystemTap" : "DTrace", 48 this->bar.y, this->bar.z == 1234 ? "Die" : "The");
|
/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/ |
H A D | msgcc.tst | 7 #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 D | basic.dat | 187 E ^([^!]+!)?([^!]+)$ bar!bas (0,7)(0,4)(4,7) 189 E ^.+!([^!]+!)([^!]+)$ foo!bar!bas (0,11)(4,8)(8,11) 190 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) 192 E ((foo)|(bar))!bas foo!bas (0,7)(0,3)(0,3) 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) [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_mm.c | 341 u8_t bar) in mm_map_io_base() argument 357 bar++; in mm_map_io_base() 361 ddi_dev_regsize(pUM->pDev, bar, ®Size); in mm_map_io_base() 363 if ((size > regSize) || BnxeIsBarUsed(pUM, bar, 0, size)) in mm_map_io_base() 366 bar, 0, (int)regSize); in mm_map_io_base() 373 bar, 0, (int)regSize); in mm_map_io_base() 378 bar, // bar number in mm_map_io_base() 386 bar, 0, size, rc); in mm_map_io_base() 392 pMem->regNumber = bar; in mm_map_io_base() 400 bar--; in mm_map_io_base() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/awk/syn/ |
H A D | nastyparm.awk | 1 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 D | align.c | 42 char *bar[N]; in main() local 45 bar[i] = malloc(1<<i); in main() 46 if ((uintptr_t)bar[i] & 7) { in main() 48 bar[i]); in main() 56 free(bar[i]); in main()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/multiaggs/ |
H A D | tst.zero.d | 39 @bar[456] = sum(456); 42 @bar[789] = sum(789); 44 printa("%10d %@10d %@10d\n", @foo, @bar); 45 printa("%10d %@10d %@10d %@10d\n", @foo, @bar, @bop); 46 printa("%10d %@10d %@10d %@10d %@10d\n", @foo, @bar, @bop, @baz);
|
H A D | tst.zero2.d | 38 @bar[456] = sum(456); 41 @bar[789] = sum(789); 43 printa("%10d %@10d %@10d\n", @foo, @bar); 44 printa("%10d %@10d %@10d %@10d\n", @foo, @bar, @bop); 45 printa("%10d %@10d %@10d %@10d %@10d\n", @foo, @bar, @bop, @baz);
|
/illumos-gate/usr/src/lib/librsm/common/ |
H A D | rsmlib.c | 1515 rsmbar_handle_t *bar = (rsmbar_handle_t *)seg->rsmseg_barrier; in rsm_memseg_import_get8() local 1519 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get8() 1527 if (bar->rsmbar_gen != bar->rsmbar_seg->rsmseg_bar[0]) { in rsm_memseg_import_get8() 1556 rsmbar_handle_t *bar = (rsmbar_handle_t *)seg->rsmseg_barrier; in rsm_memseg_import_get16() local 1560 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get16() 1568 if (bar->rsmbar_gen != bar->rsmbar_seg->rsmseg_bar[0]) { in rsm_memseg_import_get16() 1598 rsmbar_handle_t *bar = (rsmbar_handle_t *)seg->rsmseg_barrier; in rsm_memseg_import_get32() local 1602 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get32() 1610 if (bar->rsmbar_gen != bar->rsmbar_seg->rsmseg_bar[0]) { in rsm_memseg_import_get32() 1639 rsmbar_handle_t *bar = (rsmbar_handle_t *)seg->rsmseg_barrier; in rsm_memseg_import_get64() local [all …]
|