/illumos-gate/usr/src/cmd/dtrace/test/tst/common/types/ |
H A D | err.D_SYNTAX.badenum.d | 37 enum foo`bar
|
H A D | err.D_SYNTAX.badstruct.d | 36 struct foo`bar {
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | barrier.c | 47 barrier_init(barrier_t *bar, int nthreads) argument 49 pthread_mutex_init(&bar->bar_lock, NULL); 50 sema_init(&bar->bar_sem, 0, USYNC_THREAD, NULL); 52 bar->bar_numin = 0; 53 bar->bar_nthr = nthreads; 57 barrier_wait(barrier_t *bar) argument 59 pthread_mutex_lock(&bar->bar_lock); 61 if (++bar->bar_numin < bar->bar_nthr) { 62 pthread_mutex_unlock(&bar [all...] |
/illumos-gate/usr/src/cmd/sgs/test/ld/x64/tls/ie/orig/ |
H A D | style1-func.c | 18 extern __thread char *foo, *bar; 23 printf("foo: %p bar: %p\n", &foo, &bar);
|
H A D | style1-main.c | 21 __thread char *bar = "bar"; variable 26 printf("foo: %p bar: %p\n", &foo, &bar);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/fbtprovider/ |
H A D | err.D_PDESC_ZERO.notreturn.d | 44 void bar(); 46 fbt::bar:entry 51 fbt::bar:return
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/struct/ |
H A D | tst.clauselocal.d | 37 this struct foo bar; 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/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.basename.d.out | 3 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/bar///ba [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/multiaggs/ |
H A D | err.D_PRINTA_AGGKEY.d | 34 @bar = sum(456); 36 printa("%10d %@10d %@10d\n", @foo, @bar);
|
H A D | err.D_PRINTA_AGGPROTO.d | 34 @bar["fooey"] = sum(456); 36 printa("%10d %@10d %@10d\n", @foo, @bar);
|
H A D | tst.zero.d | 41 @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 D | tst.zero2.d | 40 @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/libmtmalloc/tests/ |
H A D | align.c | 44 char *bar[N]; local 47 bar[i] = malloc(1<<i); 48 if ((uintptr_t)bar[i] & 7) { 50 bar[i]); 58 free(bar[i]);
|
H A D | wideload.c | 43 char * bar; local 51 bar = (char *)sbrk(0); 52 printf ("After big malloc brk is %p\n", bar);
|
H A D | failwide.c | 44 char * bar; local 52 bar = (char *)sbrk(0); 53 printf ("After big malloc brk is %p, should be the same.\n", bar);
|
H A D | general.c | 66 char *bar[N]; local 69 bar[i] = malloc(rand()%64); 73 free(bar[i]);
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | alias.sh | 42 alias bar=world 43 if [[ $(foo bar) != 'hello world' ]] 44 then err_exit 'foo bar, where foo is alias for "print hello " failed' 46 if [[ $(foo \bar) != 'hello bar' ]] 47 then err_exit 'foo \bar, where foo is alias for "print hello " failed' 49 alias bar='foo world' 50 if [[ $(bar) != 'hello world' ]] 51 then err_exit 'bar, where bar i [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} ]] 46 then err_exit "foo.child=${foo.child} != bar=${bar 245 function bar function [all...] |
H A D | select.sh | 38 2) bar 42 select i in foo bar bam 53 select i in foo bar bam
|
H A D | return.sh | 38 foo=NOVAL bar=NOVAL 49 else bar "$@" 53 function bar function 55 typeset bar=NOEXIT 56 trap 'bar=EXIT' EXIT 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 exi [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) 338 [[ $($SHELL -c "var=(foo bar);expor [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/printa/ |
H A D | tst.walltimestamp.ksh | 45 @bar = max(walltimestamp); 50 printa("%@T\n", @bar); 51 printa("%@Y\n", @bar);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ustack/ |
H A D | tst.spin.c | 46 bar(int a) function 54 return (bar(a) - b);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pragma/ |
H A D | tst.libchain.ksh | 42 inline int foo = bar; 47 inline int bar = 0xd0061e;
|
/illumos-gate/usr/src/cmd/sgs/test/ld/x64/tls/ie/ |
H A D | style1-main.s | 18 .string "foo: %p bar: %p\n" 29 leaq bar@TPOFF(%rsi), %rdx 51 .globl bar 54 .string "bar" 57 .type bar, @object 58 .size bar, 8 59 bar: label
|