Home
last modified time | relevance | path

Searched refs:testval (Results 1 – 8 of 8) sorted by relevance

/freebsd-12-stable/lib/libnv/tests/
Dnv_tests.cc758 bool testval; in ATF_TEST_CASE_BODY() local
764 testval = false; in ATF_TEST_CASE_BODY()
765 nvlist_add_bool(nvl, testkey, testval); in ATF_TEST_CASE_BODY()
767 ATF_REQUIRE_EQ(nvlist_take_bool(nvl, testkey), testval); in ATF_TEST_CASE_BODY()
778 bool testval, otherval1; in ATF_TEST_CASE_BODY() local
785 testval = true; in ATF_TEST_CASE_BODY()
786 nvlist_add_bool(nvl, testkey, testval); in ATF_TEST_CASE_BODY()
796 ATF_REQUIRE_EQ(nvlist_take_bool(nvl, testkey), testval); in ATF_TEST_CASE_BODY()
812 uint64_t testval; in ATF_TEST_CASE_BODY() local
818 testval = std::numeric_limits<uint64_t>::max(); in ATF_TEST_CASE_BODY()
[all …]
/freebsd-12-stable/contrib/libarchive/tar/test/
Dtest_option_xattrs.c35 const char *testval = "testval"; in DEFINE_TEST()
43 if (!setXattr("f", "user.libarchive.test", testval, in DEFINE_TEST()
44 strlen(testval) + 1)) { in DEFINE_TEST()
63 if(assertEqualInt(size, strlen(testval) + 1) != 0) in DEFINE_TEST()
64 assertEqualMem(readval, testval, size); in DEFINE_TEST()
/freebsd-12-stable/sys/arm64/cavium/
Dthunder_pcie_common.c178 pci_addr_t map, testval; in thunder_pcie_alloc_resource() local
190 pci_read_bar(child, *rid, &map, &testval, NULL); in thunder_pcie_alloc_resource()
198 if (PCI_BAR_MEM(testval)) in thunder_pcie_alloc_resource()
199 testval &= PCIM_BAR_MEM_BASE; in thunder_pcie_alloc_resource()
201 testval &= PCIM_BAR_IO_BASE; in thunder_pcie_alloc_resource()
/freebsd-12-stable/sys/dev/pci/
Dpci.c90 static int pci_romsize(uint64_t testval);
537 pci_mapsize(uint64_t testval) in pci_mapsize() argument
541 testval = pci_mapbase(testval); in pci_mapsize()
543 if (testval != 0) { in pci_mapsize()
544 while ((testval & 1) == 0) in pci_mapsize()
547 testval >>= 1; in pci_mapsize()
565 pci_romsize(uint64_t testval) in pci_romsize() argument
569 testval = pci_rombase(testval); in pci_romsize()
571 if (testval != 0) { in pci_romsize()
572 while ((testval & 1) == 0) in pci_romsize()
[all …]
Dpci_iov.c578 pci_addr_t bar_value, testval; in pci_iov_setup_bars() local
606 &bar_value, &testval, &last_64); in pci_iov_setup_bars()
608 if (testval != 0) { in pci_iov_setup_bars()
610 pci_mapsize(testval)); in pci_iov_setup_bars()
Dpci_private.h160 int pci_mapsize(uint64_t testval);
/freebsd-12-stable/sys/fs/nfsclient/
Dnfs_clvfsops.c1954 static __inline void nfscl_printopt(struct nfsmount *nmp, int testval, in nfscl_printopt() argument
1959 if (testval != 0 && *blen > strlen(opt)) { in nfscl_printopt()
/freebsd-12-stable/sys/fs/nfsserver/
Dnfs_nfsdport.c3263 static int testval = 1; in nfsrv_mallocmget_limit() local
3265 if (nfsrv_testmalloclimit && (testval++ % 1000) == 0) { in nfsrv_mallocmget_limit()