/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 10 foo!=bar [all …]
|
/freebsd/bin/cp/tests/ |
H A D | cp_test.sh | 39 echo "foo" > bar 41 atf_check cp bar baz 48 echo "foo" > bar 49 ln -s bar baz 54 atf_check cmp foo bar 60 echo "foo" > bar 62 check_size bar 4 65 atf_check cp bar trunc 75 atf_check cp -l foo bar 76 atf_check -o inline:"foo\n" cat bar [all …]
|
/freebsd/cddl/contrib/opensolaris/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///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/"`"\" [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/lib/libthr/thread/ |
H A D | thr_barrier.c | 47 pthread_barrier_t bar; in _pthread_barrier_destroy() local 55 bar = __thr_pshared_offpage(barrier, 0); in _pthread_barrier_destroy() 56 if (bar == NULL) { in _pthread_barrier_destroy() 62 bar = *barrier; in _pthread_barrier_destroy() 66 THR_UMUTEX_LOCK(curthread, &bar->b_lock); in _pthread_barrier_destroy() 67 if (bar->b_destroying) { in _pthread_barrier_destroy() 68 THR_UMUTEX_UNLOCK(curthread, &bar->b_lock); in _pthread_barrier_destroy() 71 bar->b_destroying = 1; in _pthread_barrier_destroy() 73 if (bar->b_waiters > 0) { in _pthread_barrier_destroy() 74 bar->b_destroying = 0; in _pthread_barrier_destroy() [all …]
|
/freebsd/contrib/unifdef/tests/ |
H A D | recursive.experr | 1 unifdef: addsym FOO=BAR 2 unifdef: addsym BAR=ZIG 3 unifdef: addsym ZIG=BAR 5 unifdef: findsym BAR=ZIG 6 unifdef: indir... FOO=BAR 8 unifdef: findsym ZIG=BAR 9 unifdef: indir... BAR=ZIG 10 unifdef: ...ectsym BAR=BAR 11 unifdef: findsym BAR=BAR 13 unifdef: findsym ZIG=BAR [all …]
|
/freebsd/contrib/kyua/utils/text/ |
H A D | regex_test.cpp | 42 "foo.*bar", "this is a string without the searched text", 0); in ATF_TEST_CASE_BODY() 52 "foo.*bar", "this is a string with foo and bar embedded in it", 0); in ATF_TEST_CASE_BODY() 55 ATF_REQUIRE_EQ("foo and bar", matches.get(0)); in ATF_TEST_CASE_BODY() 136 ATF_REQUIRE(!regex1.match("bar Foo bar")); in ATF_TEST_CASE_BODY() 137 ATF_REQUIRE(!regex1.match("bar foO bar")); in ATF_TEST_CASE_BODY() 138 ATF_REQUIRE(!regex1.match("bar FOO bar")); in ATF_TEST_CASE_BODY() 140 ATF_REQUIRE(!text::match_regex("foo", "bar Foo bar", 0, false)); in ATF_TEST_CASE_BODY() 141 ATF_REQUIRE(!text::match_regex("foo", "bar foO bar", 0, false)); in ATF_TEST_CASE_BODY() 142 ATF_REQUIRE(!text::match_regex("foo", "bar FOO bar", 0, false)); in ATF_TEST_CASE_BODY() 145 ATF_REQUIRE( regex2.match("bar foo bar")); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/contrib/atf/atf-sh/ |
H A D | atf-check_test.sh | 193 h_fail "echo bar" -o file:text 207 h_pass "echo foo bar" -o inline:"foo bar\n" 208 h_pass "printf 'foo bar'" -o inline:"foo bar" 213 h_fail "echo foo bar" -o inline:"foo bar" 214 h_fail "echo -n foo bar" -o inline:"foo bar\n" 225 h_pass "echo line1; echo foo bar" -o "match:^foo" 226 h_pass "echo foo bar" -o "match:o b" 227 h_fail "echo foo bar" -o "match:baz" 228 h_fail "echo foo bar" -o "match:^bar" 250 h_pass "echo foo bar" -o match:foo -o match:bar [all …]
|
/freebsd/tools/regression/environ/ |
H A D | envtest.t | 74 readonly BAR="bar" 76 export FOO=${BAR} 126 check_result "0 0 ${BAR}" 138 check_result "-1 22 ${BAR}" 152 run_test -s FOO ${NEWBAR} 1 -s FOO ${BAR} 1 -g FOO 153 check_result "0 0 0 0 ${BAR}" 155 run_test -c 3 -s FOO ${NEWBAR} 1 -s FOO ${BAR} 1 -g FOO 156 check_result "0 0 0 0 ${BAR}" 158 run_test -s FOO ${NEWBAR} 1 -s FOO ${BAR} 1 -s FOO ${NEWBAR} 1 -g FOO 161 run_test -s FOO ${NEWBAR} 1 -s FOO ${BAR} 1 -s FOO ${NEWBAR} 1 -s FOO ${BAR} 1\ [all …]
|
/freebsd/crypto/heimdal/lib/sl/ |
H A D | test_sl.c | 43 { 1, "foo bar", 2, { "foo", "bar" }}, 44 { 1, "foo bar baz", 3, { "foo", "bar", "baz" }}, 49 { 1, " foo bar", 2, { "foo", "bar" } }, 50 { 1, "foo\\ bar", 1, { "foo bar" } }, 51 { 1, "\"foo bar\"", 1, { "foo bar" } }, 52 { 1, "\"foo\\ bar\"", 1, { "foo bar" } }, 53 { 1, "\"foo\\\" bar\"", 1, { "foo\" bar" } }, 56 { 1, "foo\tbar baz", 3, { "foo", "bar", "baz" }}, 57 { 1, "\"foo bar\" baz", 2, { "foo bar", "baz" }}, 58 { 1, "\"foo bar baz\"", 1, { "foo bar baz" }}, [all …]
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | barrier.c | 49 barrier_init(barrier_t *bar, int nthreads) in barrier_init() argument 51 pthread_mutex_init(&bar->bar_lock, NULL); in barrier_init() 53 sema_init(&bar->bar_sem, 0, USYNC_THREAD, NULL); in barrier_init() 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() 68 pthread_mutex_unlock(&bar->bar_lock); 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", 56 "NPNProtocols" => "bar,foo", 61 "NPNProtocols" => "foo,bar", 66 "ExpectedNPNProtocol" => "bar", 78 "NPNProtocols" => "foo,bar", 158 "NPNProtocols" => "bar", 163 "NPNProtocols" => "foo,bar", 183 "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", 76 "ALPNProtocols" => "foo,bar", 118 "ALPNProtocols" => "bar", 123 "ALPNProtocols" => "foo,bar", 142 "ALPNProtocols" => "bar", [all …]
|
/freebsd/contrib/kyua/utils/fs/ |
H A D | path_test.cpp | 65 ATF_REQUIRE_EQ("foo/bar", path("foo/bar").str()); in ATF_TEST_CASE_BODY() 66 ATF_REQUIRE_EQ("foo/bar", path("foo/bar/").str()); in ATF_TEST_CASE_BODY() 69 ATF_REQUIRE_EQ("/foo/bar", path("/foo/bar").str()); in ATF_TEST_CASE_BODY() 70 ATF_REQUIRE_EQ("/foo/bar", path("/foo/bar/").str()); in ATF_TEST_CASE_BODY() 73 ATF_REQUIRE_EQ("/foo/bar", path("///foo///bar").str()); in ATF_TEST_CASE_BODY() 74 ATF_REQUIRE_EQ("/foo/bar", path("///foo///bar///").str()); in ATF_TEST_CASE_BODY() 76 ATF_REQUIRE_EQ("./foo/bar", path("./foo/bar").str()); in ATF_TEST_CASE_BODY() 77 ATF_REQUIRE_EQ("./foo/bar", path("./foo/./bar").str()); in ATF_TEST_CASE_BODY() 78 ATF_REQUIRE_EQ("./foo/bar", path("././foo/./bar").str()); in ATF_TEST_CASE_BODY() 79 ATF_REQUIRE_EQ("foo/bar", path("foo/././bar").str()); in ATF_TEST_CASE_BODY() [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 109 atf_check -e not-empty -s not-exit:0 chmod 0700 foo bar 110 atf_check -o inline:'100750\n100700\n' stat -f '%p' foo bar 111 atf_check -s exit:0 chmod -f 0600 foo bar 112 atf_check -o inline:'100750\n100600\n' stat -f '%p' foo bar 134 atf_check ln -s foo bar 135 atf_check -o inline:'100600\n120700\n' stat -f '%p' foo bar 136 atf_check chmod -h 0500 bar 137 atf_check -o inline:'100600\n120500\n' stat -f '%p' foo bar [all …]
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-filepath-test.cc | 243 FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), 0, "xml"); in TEST() 244 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string()); in TEST() 249 FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), 12, "xml"); in TEST() 255 FilePath("bar"), 0, "xml"); in TEST() 256 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string()); in TEST() 261 FilePath("bar"), 12, "xml"); in TEST() 267 FilePath::MakeFileName(FilePath(""), FilePath("bar"), 0, "xml"); in TEST() 268 EXPECT_EQ("bar.xml", actual.string()); in TEST() 273 FilePath::MakeFileName(FilePath(""), FilePath("bar"), 14, "xml"); in TEST() 278 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), FilePath("bar.xml")); in TEST() [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 $)) 12 $Bar:: baz$ (WRONG -- NO SPACE BEFORE $) [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 113 atf_check -e not-empty -s not-exit:0 chown 42:42 foo bar 114 atf_check -o inline:'0:0\n42:42\n' stat -f '%u:%g' foo bar 115 atf_check -s exit:0 chown -f 84:84 foo bar 116 atf_check -o inline:'0:0\n84:84\n' stat -f '%u:%g' foo bar 137 atf_check ln -s foo bar 138 atf_check -o inline:'0:0\n0:0\n' stat -f '%u:%g' foo bar 139 atf_check chown -h 42:42 bar 140 atf_check -o inline:'0:0\n42:42\n' stat -f '%u:%g' foo bar [all …]
|
/freebsd/contrib/libucl/tests/schema/ |
H A D | dependencies.json | 5 "dependencies": {"bar": ["foo"]} array 20 "data": {"foo": 1, "bar": 2}, number 25 "data": {"bar": 2}, number 38 "dependencies": {"quux": ["foo", "bar"]} 48 "data": {"foo": 1, "bar": 2}, number 53 "data": {"foo": 1, "bar": 2, "quux": 3}, number 63 "data": {"bar": 1, "quux": 2}, number 77 "bar": { object 80 "bar": {"type": "integer"} object 88 "data": {"foo": 1, "bar": 2}, number [all …]
|
/freebsd/sys/arm64/include/ |
H A D | atomic.h | 80 #define _ATOMIC_OP_PROTO(t, op, bar, flav) \ argument 82 atomic_##op##_##bar##t##flav(volatile uint##t##_t *p, uint##t##_t val) 84 #define _ATOMIC_OP_IMPL(t, w, s, op, llsc_asm_op, lse_asm_op, pre, bar, a, l) \ argument 85 _ATOMIC_OP_PROTO(t, op, bar, _llsc) \ 102 _ATOMIC_OP_PROTO(t, op, bar, _lse) \ 117 _ATOMIC_OP_PROTO(t, op, bar, ) \ 120 atomic_##op##_##bar##t##_lse(p, val); \ 122 atomic_##op##_##bar##t##_llsc(p, val); \ 125 #define __ATOMIC_OP(op, llsc_asm_op, lse_asm_op, pre, bar, a, l) \ argument 127 bar, a, l) \ [all …]
|
/freebsd/sys/dev/puc/ |
H A D | puc.c | 79 struct puc_bar *bar; in puc_get_bar() local 84 /* Find the BAR entry with the given RID. */ in puc_get_bar() 96 bar = puc_get_bar(sc, -1); in puc_get_bar() 97 if (bar == NULL) in puc_get_bar() 99 bar->b_rid = rid; in puc_get_bar() 100 bar->b_type = SYS_RES_IOPORT; in puc_get_bar() 101 bar->b_res = bus_alloc_resource_any(sc->sc_dev, bar->b_type, in puc_get_bar() 102 &bar->b_rid, RF_ACTIVE); in puc_get_bar() 103 if (bar->b_res == NULL) { in puc_get_bar() 104 bar->b_rid = rid; in puc_get_bar() [all …]
|
/freebsd/contrib/kyua/engine/ |
H A D | filters_test.cpp | 60 const engine::test_filter filter(fs::path("foo/bar"), "baz"); in ATF_TEST_CASE_BODY() 61 ATF_REQUIRE_EQ(fs::path("foo/bar"), filter.test_program); in ATF_TEST_CASE_BODY() 86 ATF_REQUIRE_THROW_RE(std::runtime_error, "'/foo/bar'.*relative", in ATF_TEST_CASE_BODY() 87 engine::test_filter::parse("/foo//bar")); in ATF_TEST_CASE_BODY() 102 ATF_REQUIRE_THROW_RE(std::runtime_error, "Test case.*'bar/baz:'", in ATF_TEST_CASE_BODY() 103 engine::test_filter::parse("bar/baz:")); in ATF_TEST_CASE_BODY() 120 const engine::test_filter filter(fs::path("foo/bar"), "baz"); in ATF_TEST_CASE_BODY() 121 ATF_REQUIRE_EQ("foo/bar:baz", filter.str()); in ATF_TEST_CASE_BODY() 129 const engine::test_filter f(fs::path("foo/bar"), "baz"); in ATF_TEST_CASE_BODY() 133 const engine::test_filter f(fs::path("foo/bar"), ""); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_intel.c | 238 /* Offset of peer bar0 in B2B BAR */ 295 #define intel_ntb_bar_read(SIZE, bar, offset) \ argument 296 bus_space_read_ ## SIZE (ntb->bar_info[(bar)].pci_bus_tag, \ 297 ntb->bar_info[(bar)].pci_bus_handle, (offset)) 298 #define intel_ntb_bar_write(SIZE, bar, offset, val) \ argument 299 bus_space_write_ ## SIZE (ntb->bar_info[(bar)].pci_bus_tag, \ 300 ntb->bar_info[(bar)].pci_bus_handle, (offset), (val)) 336 static int map_mmr_bar(struct ntb_softc *ntb, struct ntb_pci_bar_info *bar); 338 struct ntb_pci_bar_info *bar); 390 static void save_bar_parameters(struct ntb_pci_bar_info *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() 189 if (sc->isab_pci_res[bar].ip_res == NULL) in isab_pci_alloc_resource() 190 sc->isab_pci_res[bar].ip_res = bus_alloc_resource(dev, type, in isab_pci_alloc_resource() 192 if (sc->isab_pci_res[bar].ip_res != NULL) 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() [all …]
|