Searched refs:bar (Results 1 - 25 of 91) sorted by relevance

1234

/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 {
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dbarrier.c47 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 Dstyle1-func.c18 extern __thread char *foo, *bar;
23 printf("foo: %p bar: %p\n", &foo, &bar);
H A Dstyle1-main.c21 __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 Derr.D_PDESC_ZERO.notreturn.d44 void bar();
46 fbt::bar:entry
51 fbt::bar:return
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/struct/
H A Dtst.clauselocal.d37 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 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/bar///ba
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/multiaggs/
H A Derr.D_PRINTA_AGGKEY.d34 @bar = sum(456);
36 printa("%10d %@10d %@10d\n", @foo, @bar);
H A Derr.D_PRINTA_AGGPROTO.d34 @bar["fooey"] = sum(456);
36 printa("%10d %@10d %@10d\n", @foo, @bar);
H A Dtst.zero.d41 @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 Dtst.zero2.d40 @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 Dalign.c44 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 Dwideload.c43 char * bar; local
51 bar = (char *)sbrk(0);
52 printf ("After big malloc brk is %p\n", bar);
H A Dfailwide.c44 char * bar; local
52 bar = (char *)sbrk(0);
53 printf ("After big malloc brk is %p, should be the same.\n", bar);
H A Dgeneral.c66 char *bar[N]; local
69 bar[i] = malloc(rand()%64);
73 free(bar[i]);
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dalias.sh42 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 Dnameref.sh36 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 Dselect.sh38 2) bar
42 select i in foo bar bam
53 select i in foo bar bam
H A Dreturn.sh38 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 Darrays.sh102 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 Dtst.walltimestamp.ksh45 @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 Dtst.spin.c46 bar(int a) function
54 return (bar(a) - b);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pragma/
H A Dtst.libchain.ksh42 inline int foo = bar;
47 inline int bar = 0xd0061e;
/illumos-gate/usr/src/cmd/sgs/test/ld/x64/tls/ie/
H A Dstyle1-main.s18 .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

Completed in 134 milliseconds

1234