/freebsd/contrib/one-true-awk/testdir/ |
H A D | lilly.out | 9 foo=bar 10 foo==bar 11 foo+=bar 12 foo-=bar 13 foo*=bar 14 foo/=bar 15 foo^=bar 16 foo%=bar 17 foo!=bar 18 foo<=bar [all …]
|
H A D | lilly.ifile | 1 foo=bar 2 foo==bar 3 foo+bar 4 foo+=bar 5 foo-=bar 6 foo*=bar 7 foo/=bar 8 foo^=bar 9 foo%=bar 13 foo bar [all …]
|
/freebsd/lib/libthr/thread/ |
H A D | thr_barrier.c | 62 bar = *barrier; in _pthread_barrier_destroy() 79 _thr_ucond_wait(&bar->b_cv, &bar->b_lock, NULL, 0); in _pthread_barrier_destroy() 91 free(bar); in _pthread_barrier_destroy() 108 if (bar == NULL) in _pthread_barrier_init() 110 *barrier = bar; in _pthread_barrier_init() 114 if (bar == NULL) in _pthread_barrier_init() 146 bar = *barrier; in _pthread_barrier_wait() 150 if (++bar->b_waiters == bar->b_count) { in _pthread_barrier_wait() 153 bar->b_cycle++; in _pthread_barrier_wait() 161 _thr_ucond_wait(&bar->b_cv, &bar->b_lock, NULL, 0); in _pthread_barrier_wait() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.basename.d.out | 7 if [ `dirname "/foo/bar/baz"` != "/foo/bar" ]; then 11 if [ `basename "/foo/bar///baz/"` != "baz" ]; then 15 if [ `dirname "/foo/bar///baz/"` != "/foo/bar" ]; then 19 if [ `basename "/foo/bar/baz/"` != "baz" ]; then 23 if [ `dirname "/foo/bar/baz/"` != "/foo/bar" ]; then 31 if [ `dirname "/foo/bar/baz//"` != "/foo/bar" ]; then 35 if [ `basename "/foo/bar/baz/."` != "." ]; then 39 if [ `dirname "/foo/bar/baz/."` != "/foo/bar/baz" ]; then 47 if [ `dirname "/foo/bar/baz/./"` != "/foo/bar/baz" ]; then 55 if [ `dirname "/foo/bar/baz/.//"` != "/foo/bar/baz" ]; 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/"
|
/freebsd/bin/cp/tests/ |
H A D | cp_test.sh | 39 echo "foo" > bar 49 ln -s bar baz 84 echo "bar" >bar 94 echo "bar" >bar 231 ln foo bar 232 ln -s bar baz 332 ln -s bar foo 371 mkdir bar 383 touch bar 386 rm bar [all …]
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | barrier.c | 55 sem_init(&bar->bar_sem, 0, 0); in barrier_init() 58 bar->bar_numin = 0; in barrier_init() 59 bar->bar_nthr = nthreads; in barrier_init() 63 barrier_wait(barrier_t *bar) in barrier_wait() argument 65 pthread_mutex_lock(&bar->bar_lock); in barrier_wait() 67 if (++bar->bar_numin < bar->bar_nthr) { in barrier_wait() 70 sema_wait(&bar->bar_sem); in barrier_wait() 72 sem_wait(&bar->bar_sem); in barrier_wait() 81 bar->bar_numin = 0; in barrier_wait() 84 sema_post(&bar->bar_sem); in barrier_wait() [all …]
|
/freebsd/crypto/openssl/test/ssl-tests/ |
H A D | 08-npn.cnf.in | 39 "NPNProtocols" => "baz,bar", 44 "NPNProtocols" => "foo,bar", 49 "ExpectedNPNProtocol" => "bar", 66 "ExpectedNPNProtocol" => "bar", 123 "NPNProtocols" => "bar", 148 "NPNProtocols" => "bar", 172 "NPNProtocols" => "bar", 191 "NPNProtocols" => "bar", 213 "NPNProtocols" => "bar", 219 "NPNProtocols" => "bar", [all …]
|
H A D | 09-alpn.cnf.in | 39 "ALPNProtocols" => "baz,bar", 44 "ALPNProtocols" => "foo,bar", 48 "ExpectedALPNProtocol" => "bar", 55 "ALPNProtocols" => "bar,foo", 60 "ALPNProtocols" => "foo,bar", 64 "ExpectedALPNProtocol" => "bar", 118 "ALPNProtocols" => "bar", 142 "ALPNProtocols" => "bar", 165 "ALPNProtocols" => "bar", 183 "ALPNProtocols" => "bar", [all …]
|
/freebsd/sys/dev/pci/ |
H A D | isa_pci.c | 172 int bar; in isab_pci_alloc_resource() local 185 bar = PCI_RID2BAR(*rid); in isab_pci_alloc_resource() 186 if (bar < 0 || bar > PCIR_MAX_BAR_0) in isab_pci_alloc_resource() 193 sc->isab_pci_res[bar].ip_refs++; in isab_pci_alloc_resource() 194 return (sc->isab_pci_res[bar].ip_res); in isab_pci_alloc_resource() 205 int bar, error; in isab_pci_release_resource() local 217 bar = PCI_RID2BAR(rman_get_rid(r)); in isab_pci_release_resource() 218 if (bar < 0 || bar > PCIR_MAX_BAR_0) in isab_pci_release_resource() 226 sc->isab_pci_res[bar].ip_refs--; in isab_pci_release_resource() 233 sc->isab_pci_res[bar].ip_res = NULL; in isab_pci_release_resource() [all …]
|
/freebsd/bin/chmod/tests/ |
H A D | chmod_test.sh | 101 atf_check truncate -s 0 foo bar 102 atf_check chmod 0750 foo bar 111 atf_check -s exit:0 chmod -f 0600 foo bar 134 atf_check ln -s foo bar 136 atf_check chmod -h 0500 bar 138 atf_check chmod 0660 bar 151 atf_check truncate -s 0 foo bar 153 atf_check chmod 0750 bar 160 atf_check chmod -v 0600 foo bar 161 for f in foo bar; do [all …]
|
/freebsd/usr.sbin/chown/tests/ |
H A D | chown_test.sh | 105 atf_check truncate -s 0 foo bar 106 atf_check chown 0:0 foo bar 137 atf_check ln -s foo bar 139 atf_check chown -h 42:42 bar 141 atf_check chown 84:84 bar 155 atf_check truncate -s 0 foo bar 157 atf_check chown 42:42 bar 159 atf_check chown -v 0:0 foo bar 160 for f in foo bar; do 164 atf_check chown -vv 84:84 foo bar [all …]
|
/freebsd/sys/dev/puc/ |
H A D | pucdata.c | 1295 struct puc_bar *bar; in puc_config_advantech() local 1351 if (bar == NULL) { in puc_config_advantech() 1468 struct puc_bar *bar; in puc_config_quatech() local 1477 bar = puc_get_bar(sc, cfg->rid); in puc_config_quatech() 1478 if (bar == NULL) in puc_config_quatech() 1561 struct puc_bar *bar; in puc_config_syba() local 1567 bar = puc_get_bar(sc, cfg->rid); in puc_config_syba() 1568 if (bar == NULL) in puc_config_syba() 1766 struct puc_bar *bar; in puc_config_oxford_pcie() local 1776 if (bar == NULL) in puc_config_oxford_pcie() [all …]
|
H A D | puc.c | 97 if (bar == NULL) in puc_get_bar() 99 bar->b_rid = rid; in puc_get_bar() 101 bar->b_res = bus_alloc_resource_any(sc->sc_dev, bar->b_type, in puc_get_bar() 106 bar->b_res = bus_alloc_resource_any(sc->sc_dev, bar->b_type, in puc_get_bar() 120 bus_release_resource(sc->sc_dev, bar->b_type, bar->b_rid, in puc_get_bar() 121 bar->b_res); in puc_get_bar() 123 bar->b_rid = -1; in puc_get_bar() 124 bar = NULL; in puc_get_bar() 127 return (bar); in puc_get_bar() 389 bar->b_rid, bar->b_res); in puc_bfe_attach() [all …]
|
/freebsd/sys/arm64/include/ |
H A D | atomic.h | 84 _ATOMIC_OP_PROTO(t, op, bar, _llsc) \ 101 _ATOMIC_OP_PROTO(t, op, bar, _lse) \ 116 _ATOMIC_OP_PROTO(t, op, bar, ) \ 126 bar, a, l) \ 128 bar, a, l) \ 130 bar, a, l) \ 132 bar, a, l) 176 _ATOMIC_CMPSET_PROTO(t, bar, _lse) \ 196 _ATOMIC_CMPSET_PROTO(t, bar, ) \ 249 _ATOMIC_FCMPSET_PROTO(t, bar, ) \ [all …]
|
/freebsd/usr.bin/ident/tests/ |
H A D | test.in | 2 $Foo: bar $ (OK traditional) 3 $$Foo: bar $ 4 $$Fo$o: bar $ 5 $Fo$o: bar $ 6 $ Foo : bar $ (WRONG -- NON ALPHANUM BEFORE :) 7 $ Foo : bar $ (WRONG -- NON ALPHANUM BEFORE :) 8 $Foo: bar $ (WRONG -- NO SPACE AFTER :) 9 $Foo:bar $ (WRONG -- NO SPACE AFTER :) 10 $Foo: bar$ (WRONG -- NO SPACE BEFORE $))
|
/freebsd/bin/sh/tests/parser/ |
H A D | heredoc4.0 | 12 cat <<EOF && echo `echo bar` 17 bar"' 20 cat <<EOF && echo $(echo bar) 25 bar"' 28 echo `echo bar` && cat <<EOF 32 check '"`f`" = "bar 36 echo $(echo bar) && cat <<EOF 40 check '"$(f)" = "bar
|
H A D | heredoc5.0 | 13 bar 20 bar"' 24 bar 31 bar"' 35 bar 41 check '"`f`" = "bar 46 bar 52 check '"$(f)" = "bar
|
/freebsd/cddl/contrib/opensolaris/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");
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | mpc85xx.c | 112 law_write(uint32_t n, uint64_t bar, uint32_t sr) in law_write() argument 116 ccsr_write4(OCP85XX_LAWBARH(n), bar >> 32); in law_write() 117 ccsr_write4(OCP85XX_LAWBARL(n), bar); in law_write() 121 ccsr_write4(OCP85XX_LAWBAR(n), bar >> 12); in law_write() 137 law_read(uint32_t n, uint64_t *bar, uint32_t *sr) in law_read() argument 154 uint64_t bar; in law_find_free() local 160 law_read(i, &bar, &sr); in law_find_free() 172 law_enable(int trgt, uint64_t bar, uint32_t size) in law_enable() argument 187 if (sr == sr_tmp && bar == bar_tmp) in law_enable() 197 law_write(i, bar, sr); in law_enable() [all …]
|
/freebsd/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_intel.c | 904 bar->pbase, bar->size, 0)) { in intel_ntb_map_pci_bars() 978 (char *)bar->vbase + bar->size - 1, in print_map_success() 979 (uintmax_t)bar->pbase, (uintmax_t)(bar->pbase + bar->size - 1), in print_map_success() 1037 bar->pci_resource, bar->pbase, in map_memory_window_bar() 1066 (char *)bar->vbase + bar->size - 1, in map_memory_window_bar() 1068 (uintmax_t)(bar->pbase + bar->size - 1), in map_memory_window_bar() 1075 (char *)bar->vbase + bar->size - 1, in map_memory_window_bar() 1077 (uintmax_t)(bar->pbase + bar->size - 1), in map_memory_window_bar() 1099 bar->pci_resource_id, bar->pci_resource); in intel_ntb_unmap_pci_bar() 3858 bar->pbase = rman_get_start(bar->pci_resource); in save_bar_parameters() [all …]
|
/freebsd/usr.bin/ministat/ |
H A D | ministat.c | 345 int bar; in PlotSet() local 362 if (pl->bar[bar] == NULL) { in PlotSet() 363 pl->bar[bar] = malloc(pl->width); in PlotSet() 364 assert(pl->bar[bar] != NULL); in PlotSet() 365 memset(pl->bar[bar], 0, pl->width); in PlotSet() 407 pl->bar[bar][m] = '|'; in PlotSet() 408 pl->bar[bar][x] = '|'; in PlotSet() 410 if (pl->bar[bar][z] == 0) in PlotSet() 411 pl->bar[bar][z] = '_'; in PlotSet() 414 pl->bar[bar][x] = 'M'; in PlotSet() [all …]
|
/freebsd/bin/ln/tests/ |
H A D | ln_test.sh | 225 link foo bar 227 link -- foo bar 229 link foo bar baz 238 atf_check link foo bar 240 rm bar 241 ln -s foo bar 251 touch foo bar 253 link foo bar 266 link foo bar 267 ln -s foo bar [all …]
|
/freebsd/usr.bin/touch/tests/ |
H A D | touch_test.sh | 43 atf_check touch foo bar baz 44 atf_check test -f foo -a -f bar -a -f baz 125 atf_check touch -t 7001010000 bar 126 atf_check_mtime 0 bar 127 atf_check touch -r foo bar 128 atf_check_mtime 1711283696 bar 140 atf_check touch -c -t 7001010000 foo bar 142 atf_check -s exit:1 test -f bar 143 atf_check touch -c bar 144 atf_check -s exit:1 test -f bar
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/renameat2/ |
H A D | renameat2_exchange.ksh | 42 echo "bar" > bar 49 log_must renameat2 -x foo bar 51 log_must grep '^foo$' bar 54 log_must renameat2 -x foo bar 56 log_must grep '^bar$' bar 59 log_mustnot renameat2 -x bar baz
|