Searched refs:foo (Results 1 - 25 of 135) sorted by relevance

123456

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/inline/
H A Derr.D_IDENT_UNDEF.recur.d33 * properly detect that foo is undefined on the right-hand side and fail.
41 inline int foo = foo + 3;
H A Derr.D_DECL_IDRED.redef1.d41 inline int foo = timestamp;
42 inline int foo = 8;
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/types/
H A Derr.D_SYNTAX.badenum.d37 enum foo`bar
H A Derr.D_SYNTAX.badstruct.d36 struct foo`bar {
H A Derr.D_UNKNOWN.dupenum.d36 enum foo {
H A Derr.D_UNKNOWN.dupstruct.d36 struct foo {
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pragma/
H A Derr.D_PRAGMA_INVAL.d38 inline int foo
40 #pragma D attributes incorrect_attr foo
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Derr.D_FUNC_UNDEF.badaggfunc.d41 @counts["badtest"] = foo();
/illumos-gate/usr/src/cmd/dtrace/demo/vars/
H A Dclause.d28 this int foo; /* an integer clause-local variable */
33 * Set foo to be 10 if and only if this is the first clause executed.
35 this->foo = (me % 3 == 0) ? 10 : this->foo;
36 printf("Clause 1 is number %d; foo is %d\n", me++ % 3, this->foo++);
42 * Set foo to be 20 if and only if this is the first clause executed.
44 this->foo = (me % 3 == 0) ? 20 : this->foo;
45 printf("Clause 2 is number %d; foo i
[all...]
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Ddblfree.c41 char *foo; local
43 foo = malloc(10);
44 free(foo);
50 free(foo);
52 foo = malloc(10);
53 free(foo);
60 free(foo);
H A Dwideload.c42 char * foo; local
46 foo = malloc(0); /* prime the pump */
48 foo = (char *)sbrk(0);
49 printf ("Before big malloc brk is %p request %d\n", foo, request);
50 foo = malloc(request + 100);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/offsetof/
H A Derr.D_OFFSETOF_BITFIELD.bitfield.d41 struct foo {
48 trace(offsetof(struct foo, b));
/illumos-gate/usr/src/cmd/sgs/test/ld/x64/tls/ie/orig/
H A Dstyle1-func.c18 extern __thread char *foo, *bar;
23 printf("foo: %p bar: %p\n", &foo, &bar);
H A Dstyle2.c18 __thread char *foo __attribute__((tls_model("initial-exec"))) = "foo"; variable
23 printf("foo: %p\n", &foo);
H A Dstyle1-main.c20 __thread char *foo = "foo"; variable
26 printf("foo: %p bar: %p\n", &foo, &bar);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.utf8probefunc.ksh21 cat > foo.c <<EOF
25 foo() function
27 printf("in foo\n");
33 foo(); function
37 if ! gcc -m32 -S -o foo.orig.s foo.c ; then
38 print -u 2 "failed to compile foo in $DIR"
45 cat foo.orig.s | sed 's/foo/foø/g' > foo
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.basename.d.out3 if [ `basename "/foo/bar/baz"` != "baz" ]; then
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/ba
[all...]
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dcase.sh32 bam=foo[3]
34 do foo=0
36 foo1) foo=1;;
37 $bar) foo=2;;
38 $bam) foo=3;;
39 foo[4]) foo=4;;
41 foo=5;;
43 foo=6;;
45 if [[ $i != foo
[all...]
H A Darrays.sh89 unset foo
90 if (( ${#foo[@]} != 0 ))
91 then err_exit 'number of elements of unset variable foo is not 0'
93 foo=''
94 if (( ${#foo[0]} != 0 ))
97 if (( ${#foo[@]} != 1 ))
98 then err_exit 'number of elements of null variable foo is not 1'
100 unset foo
101 foo[0]=foo
[all...]
H A Dselect.sh37 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
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/multiaggs/
H A Derr.D_PRINTA_AGGKEY.d33 @foo[123] = sum(123);
36 printa("%10d %@10d %@10d\n", @foo, @bar);
H A Derr.D_PRINTA_AGGPROTO.d33 @foo[123] = sum(123);
36 printa("%10d %@10d %@10d\n", @foo, @bar);
H A Dtst.zero.d40 @foo[123] = sum(123);
43 @foo[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.d39 @foo[123] = sum(123);
42 @foo[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/cmd/sgs/moe/common/
H A Dlintsup.c36 foo() function

Completed in 122 milliseconds

123456