/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | return.sh | 38 foo=NOVAL bar=NOVAL 40 function foo function 42 typeset foo=NOEXIT 66 [[ $foo == EXIT ]] || err_exit "foo "$@" : exit trap not set" 71 foo=NOVAL bar=NOVAL 89 foo 0 0 || err_exit "foo 0 0: incorrect return" 91 foo 0 3 97 foo 2 0 || err_exit "foo 2 0: incorrect return" 100 foo 2 3 107 (foo 3 3) [all …]
|
H A D | substring.sh | 101 foo=abc 108 foo='(abc)' 115 foo=a123b456c 154 !(*.o) foo.o 0 155 !(*.o) foo.c 1 184 unset foo 259 foo='foo+bar+' 277 unset foo 291 x=foo 615 function foo function [all …]
|
H A D | select.sh | 37 1) foo 42 select i in foo bar bam 44 foo) break;; 53 select i in foo bar bam 55 foo) err_exit "select foo not working" 2>&3 57 *) if [[ $REPLY != foo ]] 64 foo
|
H A D | namespace.sh | 34 foo=abc 40 print global fn $foo 44 print global fun $foo 50 print xfun global $foo 56 print xfun local $foo 68 foo=bar 73 print local fn $foo 94 [[ $(runrun $foo) == 'local prog bar' ]] || err_exit 'local binary on PATH failed' 102 [[ $(run $foo) == 'global prog abc' ]] || err_exit 'global binary on PATH failed'
|
H A D | types.sh | 62 function foo function 69 foo r.y y 72 foo y r.y 213 print foo 217 expected=foo 304 Foo_t foo 394 oset foo bar 402 olist foo 403 foo.l[1]=x 409 bar.foo[a]=b [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | sm_rosenberg.c | 6 int some_func(struct foo *p){} in some_func() 17 struct foo { struct 23 struct foo *p; argument 24 struct foo global_dec; 32 struct foo four; in main() 33 struct foo five; in main() 34 struct foo six; in main() 35 struct foo seven; in main() 36 struct foo eight; in main() 37 struct foo nine; in main()
|
H A D | sm_buf_size5.c | 3 struct foo { struct 10 struct foo foo; in function() argument 12 __smatch_buf_size(&foo); in function() 13 __smatch_buf_size(&(foo.buf[0])); in function() 14 __smatch_buf_size(&foo.x[0]); in function() 15 __smatch_buf_size(&foo.x[1]); in function()
|
H A D | sm_initializer.c | 7 struct foo { struct 14 struct foo foo = { in test() local 19 __smatch_implied(foo.bar.b); in test() 20 __smatch_implied(foo.bar.c); in test() 21 __smatch_implied(foo.x); in test() 22 __smatch_implied(foo.y); in test()
|
H A D | sm_mtag1.c | 6 struct foo { struct 8 int (*func)(struct foo *p); argument 11 static int frob1(struct foo *p) in frob1() 17 static int frob2(struct foo *p) in frob2() 24 static struct foo one_struct = { 28 static struct foo two_struct = { 35 struct foo *p = &one_struct; in main()
|
H A D | sm_implied11.c | 3 struct foo { struct 9 struct foo *foo; argument 16 if (foo && foo->x) in ad_agg_selection_logic() 25 __smatch_implied(foo); in ad_agg_selection_logic()
|
H A D | sm_implied12.c | 3 struct foo { struct 9 struct foo *foo; argument 19 if (foo && foo->x) in ad_agg_selection_logic() 28 __smatch_implied(foo); in ad_agg_selection_logic()
|
H A D | sm_user_data1.c | 11 void copy_stuff(struct my_struct *foo) in copy_stuff() argument 13 copy_from_user(foo, pointer, sizeof(*foo)); in copy_stuff() 18 struct my_struct foo; in test() local 20 copy_stuff(&foo); in test() 21 __smatch_user_rl(foo.x); in test()
|
/illumos-gate/usr/src/lib/libmtmalloc/tests/ |
H A D | dblfree.c | 39 char *foo; in main() local 41 foo = malloc(10); in main() 42 free(foo); in main() 48 free(foo); in main() 50 foo = malloc(10); in main() 51 free(foo); in main() 58 free(foo); in main()
|
/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"' 22 #define stderr foo 25 fprintf(stderr, "foo bar"); 28 OUTPUT t.mso $'str "foo bar"'
|
/illumos-gate/usr/src/common/ficl/test/ |
H A D | ooptest.fr | 49 cr .( c-foo class ) cr 50 object --> sub c-foo 61 .( c-foo instance methods... ) cr 62 c-foo --> new foo-instance 64 foo-instance --> methods 65 foo-instance --> pedigree 67 foo-instance 2dup 71 c-foo --> see init 73 foo-instance --> class --> see init
|
/illumos-gate/usr/src/test/util-tests/tests/grep_xpg4/files/ |
H A D | gout.t10.0 | 1 foo 2 foo 3 foo 4 foo 6 foo 7 foo
|
H A D | gout.t10.2 | 1 1:foo 2 1:foo 3 1:foo 4 2:foo 6 4:foo 7 5:foo
|
H A D | gout.t10.4 | 1 0:1:foo 2 0:1:foo 3 0:1:foo 4 0:2:foo 6 0:4:foo 7 0:5:foo
|
H A D | gout.t10.1 | 1 foo 2 foo 3 foo 4 foo 6 foo 7 foo
|
H A D | gout.t10.3 | 1 1:foo 2 1:foo 3 1:foo 4 2:foo 6 4:foo 7 5:foo
|
H A D | gout.t10.5 | 1 0:1:foo 2 0:1:foo 3 0:1:foo 4 0:2:foo 6 0:4:foo 7 0:5:foo
|
H A D | gout.t10.6 | 1 test.o.0:1:foo 2 test.o.0:1:foo 3 test.o.0:1:foo 4 test.o.0:2:foo 6 test.o.0:4:foo 7 test.o.0:5:foo
|
H A D | gout.t10.7 | 1 test.o.0:0:1:foo 2 test.o.0:0:1:foo 3 test.o.0:0:1:foo 4 test.o.0:0:2:foo 6 test.o.0:0:4:foo 7 test.o.0:0:5:foo
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.utf8probemod.ksh | 21 cat > foo.c <<EOF 24 extern void foo(); 29 foo(); 37 foo() 49 if ! gcc -m32 -o foo foo.c -lføo -L. ; then 57 -qc ./foo ; then
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/scalars/ |
H A D | tst.selfarray2.d | 36 self struct bar foo[int]; variable 39 /!self->foo[0].pid/ 41 self->foo[0].pid = pid; 42 self->foo[0].curthread = curthread; 46 /self->foo[0].pid != pid/ 49 pid, self->foo[0].pid, self->foo[0].curthread, curthread);
|