Searched refs:foo (Results 26 - 50 of 135) sorted by relevance

123456

/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Dfailwide.c43 char * foo; local
47 foo = malloc(request/2); /* prime the pump */
49 foo = (char *)sbrk(0);
50 printf ("Before big malloc brk is %p request %d\n", foo, request);
51 foo = malloc(request + request/2);
H A Ddirtymem.c50 struct a_struct *foo, *leak; local
54 foo = (struct a_struct *)malloc(sizeof (struct_o_death));
56 free(foo);
57 foo->a = 4;
69 foo = malloc(sizeof (struct_o_death));
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/scalars/
H A Dtst.selfarray2.d38 self struct bar foo[int];
41 /!self->foo[0].pid/
43 self->foo[0].pid = pid;
44 self->foo[0].curthread = curthread;
48 /self->foo[0].pid != pid/
51 pid, self->foo[0].pid, self->foo[0].curthread, curthread);
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dnameref.sh36 nameref foo=$1 bar=$2
37 if [[ $foo != $bar ]]
38 then err_exit "foo=$foo != bar=$bar"
40 foo=hello
41 if [[ $foo != $bar ]]
42 then err_exit "foo=$foo != bar=$bar"
44 foo.child=child
45 if [[ ${foo
250 function foo function
[all...]
H A Dquoting2.sh75 x=$((echo foo)|(cat))
76 if [[ $x != foo ]]
100 set -- ${x+foo bar bam}
102 then err_exit '${x+foo bar bam} does not yield three arguments'
104 set -- ${x+foo "bar bam"}
106 then err_exit '${x+foo "bar bam"} does not yield two arguments'
108 set -- ${x+foo 'bar bam'}
110 then err_exit '${x+foo '\''bar bam'\''} does not yield two arguments'
112 set -- ${x+foo $x bam}
114 then err_exit '${x+foo
[all...]
H A Dalias.sh34 alias foo='print hello'
35 if [[ $(foo) != hello ]]
36 then err_exit 'foo, where foo is alias for "print hello" failed'
38 if [[ $(foo world) != 'hello world' ]]
39 then err_exit 'foo world, where foo is alias for "print hello" failed'
41 alias foo='print hello '
43 if [[ $(foo bar) != 'hello world' ]]
44 then err_exit 'foo ba
[all...]
H A Dappend.sh54 aarray+=( [2]=2 [3]=3 [foo]=bar )
69 unset foo
70 foo=one
71 foo+=(two)
72 if [[ ${foo[@]} != 'one two' ]]
75 unset foo
76 foo[0]=(x=3)
77 foo+=(x=4)
78 [[ ${foo[1].x} == 4 ]] || err_exit 'compound append to index array not working'
79 [[ ${foo[
[all...]
H A Dcomvar.sh38 nameref foo=p
39 if [[ ${foo.x} != ${Point.x} ]]
42 unset foo
64 x=( [foo]=bar )
68 unset -n foo x
69 unset foo x
70 foo=( x=3)
71 nameref x=foo
72 if [[ ${!x.@} != foo.x ]]
79 x.foo
222 function foo function
431 function foo function
[all...]
H A Dreturn.sh38 foo=NOVAL bar=NOVAL
40 function foo function
42 typeset foo=NOEXIT
43 trap "foo=EXIT;rm -f $file" EXIT
66 [[ $foo = EXIT ]] || err_exit "foo "$@" : exit trap not set"
69 err_exit "foo $@: doesn't remove $file"
71 foo=NOVAL bar=NOVAL
89 foo 0 0 || err_exit "foo
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/decls/
H A Derr.D_DECL_PARMCLASS.BadStorageClass.d41 int foo(static int);
H A Derr.D_DECL_PROTO_VOID.NonSoleVoid.d39 int foo(int, void);
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dlintsup.c34 foo(void) function
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.utf8probemod.ksh21 cat > foo.c <<EOF
24 extern void foo();
29 foo(); function
37 foo() function
39 printf("called foo\n");
49 if ! gcc -m32 -o foo foo.c -lføo -L. ; then
50 print -u 2 "failed to compile foo in $DIR"
57 -qc ./foo ; then
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/printa/
H A Dtst.walltimestamp.ksh44 @foo = min(1075064400 * (hrtime_t)1000000000);
46 printa("%@T\n", @foo);
47 printa("%@Y\n", @foo);
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dlintsup.c39 foo() function
/illumos-gate/usr/src/lib/libsaveargs/tests/functional/
H A Dbig-struct-ret-and-spill.c19 struct foo { struct
25 struct foo
H A Dbig-struct-ret.c19 struct foo { struct
25 struct foo
H A Dsmall-struct-ret-and-spill.c19 struct foo { struct
24 struct foo
H A Dsmall-struct-ret.c19 struct foo { struct
24 struct foo
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ustack/
H A Dtst.spin.c52 foo(int a, int b) function
60 return (foo(argc, (int)argv) == 0);
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-string.c27 char foo[4]; local
41 foo[3] = 1;
42 n = sm_snprintf(foo, sizeof(foo), "foobar%dbaz", 42);
44 r = "foo";
45 SM_TEST(strcmp(foo, r) == 0);
/illumos-gate/usr/src/cmd/sgs/test/ld/x64/tls/ie/
H A Dstyle2-with-badness.s18 .string "foo: %p\n"
28 leaq foo@GOTTPOFF(%rip), %rsi
38 .globl foo
41 .string "foo"
44 .type foo, @object
45 .size foo, 8
46 foo: label
H A Dstyle2-with-r12.s18 .string "foo: %p\n"
28 movq foo@GOTTPOFF(%rip), %r12
39 .globl foo
42 .string "foo"
45 .type foo, @object
46 .size foo, 8
47 foo: label
H A Dstyle2-with-r13.s18 .string "foo: %p\n"
28 movq foo@GOTTPOFF(%rip), %r13
39 .globl foo
42 .string "foo"
45 .type foo, @object
46 .size foo, 8
47 foo: label
H A Dstyle2.s18 .string "foo: %p\n"
28 movq foo@GOTTPOFF(%rip), %rsi
38 .globl foo
41 .string "foo"
44 .type foo, @object
45 .size foo, 8
46 foo: label

Completed in 208 milliseconds

123456