/titanic_41/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.basename.d.out | 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///baz/\") is \"baz\"; expected \"`basename "/foo/bar///baz/"`"\" 15 if [ `dirname "/foo/bar///baz/"` != "/foo/bar" ]; then 16 echo "dirname(\"/foo/bar///baz/\") is \"/foo/bar\"; expected \"`dirname "/foo/bar///baz/"`"\" 19 if [ `basename "/foo/bar/baz/"` != "baz" ]; then 20 echo "basename(\"/foo/bar/baz/\") is \"baz\"; expected \"`basename "/foo/bar/baz/"`"\" 23 if [ `dirname "/foo/bar/baz/"` != "/foo/bar" ]; then [all …]
|
H A D | tst.cleanpath.d.out | 1 cleanpath("/foo/bar/baz") = "/foo/bar/baz" 2 cleanpath("/foo/bar///baz/") = "/foo/bar/baz/" 3 cleanpath("/foo/bar/baz/") = "/foo/bar/baz/" 4 cleanpath("/foo/bar/baz//") = "/foo/bar/baz/" 5 cleanpath("/foo/bar/baz/.") = "/foo/bar/baz/." 6 cleanpath("/foo/bar/baz/./") = "/foo/bar/baz/" 7 cleanpath("/foo/bar/../../baz/.//") = "/baz/" 8 cleanpath("foo/bar/./././././baz/") = "foo/bar/baz/" 9 cleanpath("/foo/bar/baz/../../../../../../") = "/" 12 cleanpath("/foo/bar/baz/../../bop/bang/../../bar/baz/") = "/foo/bar/baz/"
|
/titanic_41/usr/src/lib/libshell/common/tests/ |
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} ]] 55 .foo.bar=next 56 checkref .foo.bar .foo.bar 57 if [[ ${.foo.bar} != hello ]] 60 if [[ ${.foo.bar.child} != child ]] [all …]
|
H A D | alias.sh | 42 alias bar=world alias 43 if [[ $(foo bar) != 'hello world' ]] 46 if [[ $(foo \bar) != 'hello bar' ]] 49 alias bar='foo world' alias 50 if [[ $(bar) != 'hello world' ]] 53 if [[ $(alias bar) != "bar='foo world'" ]] alias 58 unset bar 59 alias bar="print foo$bar" alias 60 bar=bar 61 if [[ $(bar) != foo ]] [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) 372 foo[bar]=bam [all …]
|
H A D | comvar.sh | 64 x=( [foo]=bar ) 65 if [[ ${x[@]} != bar ]] 79 x.foo.bar=7 80 [[ ${x.foo.bar} == 7 ]] || err_exit '[[ ${x.foo.bar} != 7 ]]' 81 (( x.foo.bar == 7 ))|| err_exit '(( x.foo.bar != 7 ))' 82 [[ ${x.foo} == *bar=7* ]] || err_exit '[[ ${x.foo} != *bar=7* ]]' 184 foo=( bar=foo barbar=bar) 185 [[ $foo == *bar=foo* ]] || err_exit 'no prefix elements in compound variable output' 213 ( [[ ${z.foo.bar:-abc} == abc ]] 2> /dev/null) || err_exit ':- not working with compound variables' 215 typeset -a stack.items=([0]=foo [1]=bar) [all …]
|
H A D | functions.sh | 37 bar=bye 42 1) print -r - "$foo" "$bar";; 45 integer bar=10 46 print -r - "$foo" "$bar";; 68 if [[ $(bar=foo foobar 1) != '33 foo' ]] 71 if [[ $bar == foo ]] 121 print bar 129 if [[ $(foo) != bar ]] 188 print bar 190 if [[ $(foo) != bar ]] [all …]
|
H A D | return.sh | 38 foo=NOVAL bar=NOVAL 49 else bar "$@" 53 function bar function 55 typeset bar=NOEXIT 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 exit trap not set"
|
H A D | variables.sh | 121 x=bar 131 if [[ $x != bar ]] 136 foo=bar 144 if [[ $foo != bar ]] 196 eval foo='$'$i bar='$'{$i} 197 if [[ ${foo} != "${bar}" ]] 200 command eval bar='$'{$i%?} 2> /dev/null || err_exit "\${$i%?} gives syntax error" 201 if [[ $i != [@*] && ${foo%?} != "$bar" ]] 204 command eval bar='$'{$i#?} 2> /dev/null || err_exit "\${$i#?} gives syntax error" 208 command eval foo='$'{$i} bar='$'{#$i} || err_exit "\${#$i} gives synta [all …]
|
H A D | bracket.sh | 101 if [[ foo < bar ]] 197 [[ foo > bar ]] 299 bar=(a b c) 300 [[ -v bar[1] ]] || err_exit 'bar[1] should be set' 301 [[ ${bar[1]+x} ]] || err_exit '${foo[1]+x} should be x' 302 unset bar[1] 303 [[ ${bar[1]+x} ]] && err_exit '${foo[1]+x} should be empty' 304 [[ -v bar ]] || err_exit 'bar should be set' 305 [[ -v bar[1] ]] && err_exit 'bar[1] should not be set' 322 unset x y z foo bar
|
H A D | grep.sh | 91 this is a food bar test 92 to see how many lines find both foo and bar. 94 and some lines contain bar only. 95 However, many lines contain both foo and also bar. 97 There should be six lines with foo and bar. 98 There are only two line with out foo but with bar.
|
H A D | basic.sh | 126 bar=foo 127 eval foo=\$bar 131 bar='foo=foo\ bar' 132 eval $bar 152 /bin/echo bar 160 /bin/echo bar 174 x=$( (print foo) ; (print bar) ) 178 x=$( (/bin/echo foo) ; (print bar) ) 182 x=$( (/bin/echo foo) ; (/bin/echo bar) ) 270 if [[ $word != bar ]] [all …]
|
/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | barrier.c | 47 barrier_init(barrier_t *bar, int nthreads) in barrier_init() argument 49 pthread_mutex_init(&bar->bar_lock, NULL); in barrier_init() 50 sema_init(&bar->bar_sem, 0, USYNC_THREAD, NULL); in barrier_init() 52 bar->bar_numin = 0; in barrier_init() 53 bar->bar_nthr = nthreads; in barrier_init() 57 barrier_wait(barrier_t *bar) in barrier_wait() argument 59 pthread_mutex_lock(&bar->bar_lock); in barrier_wait() 61 if (++bar->bar_numin < bar->bar_nthr) { in barrier_wait() 62 pthread_mutex_unlock(&bar->bar_lock); in barrier_wait() 63 sema_wait(&bar->bar_sem); in barrier_wait() [all …]
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/struct/ |
H A D | tst.clauselocal.d | 37 this struct foo bar; variable 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");
|
/titanic_41/usr/src/cmd/ast/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"' 25 fprintf(stderr, "foo bar"); 28 OUTPUT t.mso $'str "foo bar"'
|
/titanic_41/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_mm.c | 341 u8_t bar) in mm_map_io_base() argument 357 bar++; in mm_map_io_base() 361 ddi_dev_regsize(pUM->pDev, bar, ®Size); in mm_map_io_base() 363 if ((size > regSize) || BnxeIsBarUsed(pUM, bar, 0, size)) in mm_map_io_base() 366 bar, 0, (int)regSize); in mm_map_io_base() 373 bar, 0, (int)regSize); in mm_map_io_base() 378 bar, // bar number in mm_map_io_base() 386 bar, 0, size, rc); in mm_map_io_base() 392 pMem->regNumber = bar; in mm_map_io_base() 400 bar--; in mm_map_io_base() [all …]
|
/titanic_41/usr/src/lib/libmtmalloc/tests/ |
H A D | align.c | 44 char *bar[N]; in main() local 47 bar[i] = malloc(1<<i); in main() 48 if ((uintptr_t)bar[i] & 7) { in main() 50 bar[i]); in main() 58 free(bar[i]); in main()
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/multiaggs/ |
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);
|
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);
|
/titanic_41/usr/src/lib/librsm/common/ |
H A D | rsmlib.c | 1517 rsmbar_handle_t *bar = (rsmbar_handle_t *)seg->rsmseg_barrier; in rsm_memseg_import_get8() local 1521 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get8() 1529 if (bar->rsmbar_gen != bar->rsmbar_seg->rsmseg_bar[0]) { in rsm_memseg_import_get8() 1558 rsmbar_handle_t *bar = (rsmbar_handle_t *)seg->rsmseg_barrier; in rsm_memseg_import_get16() local 1562 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get16() 1570 if (bar->rsmbar_gen != bar->rsmbar_seg->rsmseg_bar[0]) { in rsm_memseg_import_get16() 1600 rsmbar_handle_t *bar = (rsmbar_handle_t *)seg->rsmseg_barrier; in rsm_memseg_import_get32() local 1604 bar->rsmbar_gen = bar->rsmbar_seg->rsmseg_gnum; in rsm_memseg_import_get32() 1612 if (bar->rsmbar_gen != bar->rsmbar_seg->rsmseg_bar[0]) { in rsm_memseg_import_get32() 1641 rsmbar_handle_t *bar = (rsmbar_handle_t *)seg->rsmseg_barrier; in rsm_memseg_import_get64() local [all …]
|
/titanic_41/usr/src/cmd/sgs/test/ld/x64/tls/ie/ |
H A D | style1-main.s | 29 leaq bar@TPOFF(%rsi), %rdx 51 .globl bar 57 .type bar, @object 58 .size bar, 8 59 bar: label
|
/titanic_41/usr/src/grub/grub-0.97/netboot/ |
H A D | pci.c | 425 unsigned long bar; in pci_bar_start() local 428 bar = lo & PCI_BASE_ADDRESS_IO_MASK; in pci_bar_start() 430 bar = 0; in pci_bar_start() 436 bar = (uint64_t)hi << 32; in pci_bar_start() 444 bar |= lo & PCI_BASE_ADDRESS_MEM_MASK; in pci_bar_start() 446 return bar + pcibios_bus_base(dev->bus); in pci_bar_start() 452 unsigned long pci_bar_size(struct pci_device *dev, unsigned int bar) in pci_bar_size() argument 456 pci_read_config_dword(dev, bar, &start); in pci_bar_size() 458 pci_write_config_dword(dev, bar, ~0); in pci_bar_size() 459 pci_read_config_dword(dev, bar, &size); in pci_bar_size() [all …]
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | mm_linux.h | 196 u8_t bar, 204 u8_t bar, 211 u8_t bar, 219 u8_t bar, 227 u8_t bar, 235 u8_t bar, 243 u8_t bar, 258 u8_t bar, 266 u8_t bar,
|
H A D | mm_solaris.h | 202 u8_t bar, 207 u8_t bar, 212 u8_t bar, 217 u8_t bar, 222 u8_t bar, 227 u8_t bar, 232 u8_t bar, 237 u8_t bar, 242 u8_t bar,
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | graphics.c | 47 static uchar_t bar[BAR_STEPS]; variable 83 *ptr = bar[k]; in progressbar_show() 110 bar[i] = 0x00; in progressbar_init() 121 bar[limit] = 0xff; in progressbar_step() 124 bar[limit - 4] = 0x00; in progressbar_step() 126 bar[limit + BAR_STEPS - 4] = 0x00; in progressbar_step()
|