| /netbsd/src/external/lgpl3/gmp/dist/demos/perl/ |
| D | test.pl | 96 ok ($Mytie::val == 123); 98 ok ($t == 456); 100 ok ($Mytie::val == 789); 133 ok (mpz(0) == 0); 134 ok (mpz('0') == 0); 135 ok (mpz(substr('101',1,1)) == 0); 136 ok (mpz(0.0) == 0); 137 ok (mpz(mpz(0)) == 0); 138 ok (mpz(mpq(0)) == 0); 139 ok (mpz(mpf(0)) == 0); [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/ |
| D | insn-reloc.c | 61 int ok = 0; in can_relocate_call() local 70 : [ok] "=r" (ok)); in can_relocate_call() 72 if (ok == 1) in can_relocate_call() 91 int ok = 0; in can_relocate_jump() local 101 : [ok] "=r" (ok)); in can_relocate_jump() 103 if (ok == 1) in can_relocate_jump() 126 int ok = 0; in can_relocate_b() local 136 : [ok] "=r" (ok)); in can_relocate_b() 138 if (ok == 1) in can_relocate_b() 162 int ok = 0; in can_relocate_bcond_true() local [all …]
|
| /netbsd/src/external/mit/expat/dist/doc/ |
| D | ok.min.css | 2 …ok-sans:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantare…
|
| /netbsd/src/tests/usr.bin/xlint/lint1/ |
| D | msg_124.c | 26 void ok(_Bool); 33 ok(vp == cp); in compare_pointers() 34 ok(vp == ip); in compare_pointers() 36 ok(vp == fp); in compare_pointers() 41 ok(vp == (void *)0); in compare_pointers() 42 ok(cp == (void *)0); in compare_pointers() 43 ok(ip == (void *)0); in compare_pointers() 44 ok(fp == (void *)0); /* wrong 274 before 2021-01-25 */ in compare_pointers() 45 ok((void *)0 == vp); in compare_pointers() 46 ok((void *)0 == cp); in compare_pointers() [all …]
|
| D | msg_123.c | 8 void ok(_Bool); 14 ok(b < b); in compare() 15 ok(b < i); in compare() 16 ok(b < d); in compare() 19 ok(i < b); in compare() 20 ok(i < i); in compare() 21 ok(i < d); in compare() 24 ok(d < b); in compare() 25 ok(d < i); in compare() 26 ok(d < d); in compare() [all …]
|
| /netbsd/src/usr.sbin/npf/npftest/libnpftest/ |
| D | npf_gc_test.c | 114 bool ok; in run_gc_tests() local 122 ok = run_conn_gc(0, 0, 0); in run_gc_tests() 123 CHECK_TRUE(ok); in run_gc_tests() 126 ok = run_conn_gc(1, 0, 1); in run_gc_tests() 127 CHECK_TRUE(ok); in run_gc_tests() 130 ok = run_conn_gc(0, 1, 0); in run_gc_tests() 131 CHECK_TRUE(ok); in run_gc_tests() 134 ok = run_conn_gc(1, 1, 1); in run_gc_tests() 135 CHECK_TRUE(ok); in run_gc_tests() 138 ok = run_conn_gc(0, 2, 0); in run_gc_tests() [all …]
|
| D | npf_table_test.c | 405 bool ok; in test_ifaddr_table() local 408 ok = ip4list_insert_lookup(t, 0); in test_ifaddr_table() 409 CHECK_TRUE(ok); in test_ifaddr_table() 411 ok = ip4list_insert_lookup(t, 1); in test_ifaddr_table() 412 CHECK_TRUE(ok); in test_ifaddr_table() 423 ok = check_ip4(addr, "192.168.1.1"); in test_ifaddr_table() 424 CHECK_TRUE(ok); in test_ifaddr_table() 427 ok = check_ip4(addr, "10.0.0.1"); in test_ifaddr_table() 428 CHECK_TRUE(ok); in test_ifaddr_table() 431 ok = check_ip4(addr, "192.168.1.1"); in test_ifaddr_table() [all …]
|
| /netbsd/src/common/lib/libc/gen/ |
| D | ptree.c | 1102 bool ok = true; in ptree_check_leaf() local 1105 ok = ok && PTN_BRANCH_ODDMAN_SLOT(parent) == leaf_node; in ptree_check_leaf() 1106 KASSERT(ok); in ptree_check_leaf() 1107 return ok; in ptree_check_leaf() 1111 ok = ok && PTN_MASK_BITLEN(parent) < mask_len; in ptree_check_leaf() 1112 KASSERT(ok); in ptree_check_leaf() 1113 ok = ok && PTN_BRANCH_BITOFF(parent) < mask_len; in ptree_check_leaf() 1114 KASSERT(ok); in ptree_check_leaf() 1116 ok = ok && PTN_BRANCH_SLOT(parent, leaf_position) == leaf_node; in ptree_check_leaf() 1117 KASSERT(ok); in ptree_check_leaf() [all …]
|
| /netbsd/src/usr.bin/make/unit-tests/ |
| D | varmod-select-words.mk | 31 mod-squarebrackets-n-ok-1 \ 34 mod-squarebrackets-n-ok-2 \ 37 mod-squarebrackets-n-ok-3 \ 41 mod-squarebrackets-start-end-ok-1 \ 43 mod-squarebrackets-start-end-ok-2 \ 46 mod-squarebrackets-start-end-ok-3 \ 47 mod-squarebrackets-nested-ok-1 \ 49 mod-squarebrackets-nested-ok-2 \ 90 mod-squarebrackets-n-ok-1: 104 mod-squarebrackets-n-ok-2: [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/x509/ |
| D | by_store.c | 20 int ok = 0; in cache_objects() local 58 ok = 0; in cache_objects() 66 ok = cache_objects(lctx, OSSL_STORE_INFO_get0_NAME(info), in cache_objects() 76 ok = X509_STORE_add_cert(xstore, in cache_objects() 80 ok = X509_STORE_add_crl(xstore, in cache_objects() 87 if (!ok) in cache_objects() 92 return ok; in cache_objects() 153 int ok = 0; in by_store() local 156 ok = cache_objects(ctx, sk_OPENSSL_STRING_value(uris, i), criterion, in by_store() 159 if (ok) in by_store() [all …]
|
| /netbsd/src/external/bsd/kyua-testers/dist/ |
| D | fs.c | 115 bool ok = true; in try_iterate_directory() local 120 ok &= false; in try_iterate_directory() 134 ok &= false; in try_iterate_directory() 136 ok &= callback(subdir, argument); in try_iterate_directory() 143 return ok; in try_iterate_directory() 282 bool ok = try_stat(current_path, ¤t_sb); in recursive_unmount() local 283 if (ok) { in recursive_unmount() 286 ok &= try_iterate_directory(current_path, recursive_unmount, in recursive_unmount() 291 ok &= try_unmount(current_path); in recursive_unmount() 294 return ok; in recursive_unmount() [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/test/ |
| D | bio_memleak_test.c | 18 int ok = 0; in test_bio_memleak() local 36 ok = 1; in test_bio_memleak() 40 return ok; in test_bio_memleak() 45 int ok = 0; in test_bio_get_mem() local 63 ok = 1; in test_bio_get_mem() 68 return ok; in test_bio_get_mem() 73 int ok = 0; in test_bio_new_mem_buf() local 99 ok = 1; in test_bio_new_mem_buf() 103 return ok; in test_bio_new_mem_buf() 108 int ok = 0; in test_bio_rdonly_mem_buf() local [all …]
|
| D | provider_fallback_test.c | 19 int ok; in test_provider() local 21 ok = TEST_true(OSSL_PROVIDER_available(ctx, "default")) in test_provider() 27 return ok; in test_provider() 39 int ok; in test_explicit_provider() local 41 ok = TEST_ptr(ctx = OSSL_LIB_CTX_new()) in test_explicit_provider() 44 if (ok) { in test_explicit_provider() 45 ok = test_provider(ctx); in test_explicit_provider() 46 if (ok) in test_explicit_provider() 47 ok = TEST_true(OSSL_PROVIDER_unload(prov)); in test_explicit_provider() 53 return ok; in test_explicit_provider()
|
| D | asn1_internal_test.c | 76 int ok = 1; in test_standard_methods() local 98 ok = 0; in test_standard_methods() 104 return ok; in test_standard_methods() 129 int ok = 0; in test_empty_nonoptional_content() local 144 ok = 1; in test_empty_nonoptional_content() 150 return ok; in test_empty_nonoptional_content() 162 int ok = 1; in test_unicode() local 168 ok = 0; in test_unicode() 170 return ok; in test_unicode() 184 int ok = 1; in test_unicode_range() local [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/ |
| D | provider_conf.c | 87 int ok = 1; in provider_conf_params_internal() local 145 ok = ossl_provider_add_parameter(prov, name, value); in provider_conf_params_internal() 147 ok = ossl_provider_info_add_parameter(provinfo, name, value); in provider_conf_params_internal() 150 return ok; in provider_conf_params_internal() 209 int ok = 0; in provider_conf_load() local 281 ok = provider_conf_params(prov, NULL, NULL, value, cnf); in provider_conf_load() 283 if (ok > 0) { in provider_conf_load() 285 ok = 0; in provider_conf_load() 288 ok = 0; in provider_conf_load() 292 ok = 0; in provider_conf_load() [all …]
|
| /netbsd/src/usr.sbin/npf/npftest/ |
| D | npftest.c | 74 result(const char *testcase, bool ok) in result() argument 77 printf("NPF %-10s\t%s\n", testcase, ok ? "OK" : "fail"); in result() 82 return !ok; in result() 192 bool test, ok, fail, tname_matched; in main() local 284 ok = rumpns_npf_nbuf_test(verbose); in main() 285 fail |= result("nbuf", ok); in main() 290 ok = rumpns_npf_bpf_test(verbose); in main() 291 fail |= result("bpf", ok); in main() 300 ok = rumpns_npf_table_test(verbose, cdb, len); in main() 301 fail |= result("table", ok); in main() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/smtpd/ |
| D | smtpd_acl.in | 48 mail ok@dunno.domain 59 mail ok@reject.domain 68 mail reject@ok.domain 70 mail ok@ok.domain 72 mail anyone@ok.domain 74 mail bad-sender@ok.domain 86 rcpt ok@dunno.domain 89 rcpt ok+ext@dunno.domain 101 rcpt ok@reject.domain 110 rcpt reject@ok.domain [all …]
|
| D | smtpd_acl.ref | 73 >>> mail ok@dunno.domain 89 >>> mail ok@reject.domain 103 >>> mail reject@ok.domain 104 …r.duno.com[44.33.44.33]: 554 5.7.1 <reject@ok.domain>: Sender address rejected: Access denied; fro… 105 554 5.7.1 <reject@ok.domain>: Sender address rejected: Access denied 107 >>> mail ok@ok.domain 110 >>> mail anyone@ok.domain 113 >>> mail bad-sender@ok.domain 122 …dunno.domain>: Recipient address rejected: Access denied; from=<bad-sender@ok.domain> to=<reject@d… 128 …dunno.domain>: Recipient address rejected: Access denied; from=<bad-sender@ok.domain> to=<reject+e… [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
| D | step-and-next-inline.exp | 84 set ok 1 87 set ok 0 92 if { $ok } { 105 set ok 1 108 set ok 0 113 if { $ok } { 126 set ok 1 129 set ok 0 134 if { $ok } { 147 set ok 1 [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| D | pmeth_check.c | 50 int ok; in evp_pkey_public_check_combined() local 57 if ((ok = try_provided_check(ctx, OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in evp_pkey_public_check_combined() 59 return ok; in evp_pkey_public_check_combined() 94 int ok; in evp_pkey_param_check_combined() local 101 if ((ok = try_provided_check(ctx, in evp_pkey_param_check_combined() 104 return ok; in evp_pkey_param_check_combined() 139 int ok; in EVP_PKEY_private_check() local 146 if ((ok = try_provided_check(ctx, OSSL_KEYMGMT_SELECT_PRIVATE_KEY, in EVP_PKEY_private_check() 148 return ok; in EVP_PKEY_private_check() 163 int ok; in EVP_PKEY_pairwise_check() local [all …]
|
| /netbsd/src/external/bsd/tcpdump/dist/tests/ |
| D | babel1v.out | 1 … (17) payload length: 20) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8) 3 …P (17) payload length: 20) fe80::3428:af91:251:d626.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8) 5 …7) payload length: 122) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (110) 12 …(17) payload length: 36) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (24) 15 …P (17) payload length: 20) fe80::3428:af91:251:d626.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8) 17 … (17) payload length: 20) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8) 19 … (17) payload length: 36) fe80::3428:af91:251:d626.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (24) 22 … (17) payload length: 20) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8) 24 …P (17) payload length: 20) fe80::3428:af91:251:d626.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8) 26 …(17) payload length: 64) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (52) [all …]
|
| /netbsd/src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| D | main.c | 98 int ok; in verify_data() local 101 ok = 0; in verify_data() 107 ok = 1; in verify_data() 113 ok = 1; in verify_data() 122 ok = 1; in verify_data() 131 return ok; in verify_data() 144 int ok; in main() local 150 ok = 1; in main() 182 ok = verify_data(pgp, cmd, "[stdin]", in, cc); in main() 184 for (ok = 1, i = optind ; i < argc ; i++) { in main() [all …]
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/ |
| D | bufferevent_async.c | 89 unsigned ok : 1; member 219 if (!beva->ok || !(bev->enabled&EV_WRITE) || in bev_async_consider_writing() 243 beva->ok = 0; in bev_async_consider_writing() 265 if (!beva->ok || !(bev->enabled&EV_READ)) { in bev_async_consider_reading() 296 beva->ok = 0; in bev_async_consider_reading() 351 if (!bev_async->ok) in be_async_enable() 436 ev_ssize_t nbytes, int ok) in connect_complete() argument 450 if (ok) in connect_complete() 455 be_async_run_eventcb(bev, ok ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR, 0); in connect_complete() 464 ev_ssize_t nbytes, int ok) in read_complete() argument [all …]
|
| /netbsd/src/external/bsd/libevent/dist/ |
| D | bufferevent_async.c | 90 unsigned ok : 1; member 220 if (!beva->ok || !(bev->enabled&EV_WRITE) || in bev_async_consider_writing() 244 beva->ok = 0; in bev_async_consider_writing() 266 if (!beva->ok || !(bev->enabled&EV_READ)) { in bev_async_consider_reading() 297 beva->ok = 0; in bev_async_consider_reading() 352 if (!bev_async->ok) in be_async_enable() 437 ev_ssize_t nbytes, int ok) in connect_complete() argument 451 if (ok) in connect_complete() 456 be_async_run_eventcb(bev, ok ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR, 0); in connect_complete() 465 ev_ssize_t nbytes, int ok) in read_complete() argument [all …]
|
| /netbsd/src/tests/modules/ |
| D | t_modctl.c | 397 int ok; in ATF_TC_BODY() local 399 &ok, sizeof(ok))); in ATF_TC_BODY() 400 ATF_CHECK(!ok); in ATF_TC_BODY() 412 int ok; in ATF_TC_BODY() local 414 &ok, sizeof(ok))); in ATF_TC_BODY() 415 ATF_CHECK(ok); in ATF_TC_BODY() 432 int ok; in ATF_TC_BODY() local 434 &ok, sizeof(ok))); in ATF_TC_BODY() 435 ATF_CHECK(ok); in ATF_TC_BODY() 470 int ok; in ATF_TC_BODY() local [all …]
|