Searched defs:p1 (Results 1 - 14 of 14) sorted by relevance

/bind-9.11.3/lib/isc/
H A Dsafe.c30 const isc_uint8_t *p1 = s1, *p2 = s2; local
33 acc |= *p1++ ^ *p2++;
42 const unsigned char *p1 = b1, *p2 = b2; local
47 /* lt is -1 if p1[i] < p2[i]; else 0. */
48 int lt = (p1[i] - p2[i]) >> CHAR_BIT;
50 /* gt is -1 if p1[i] > p2[i]; else 0. */
51 int gt = (p2[i] - p1[i]) >> CHAR_BIT;
53 /* cmp is 1 if p1[i] > p2[i]; -1 if p1[i] < p2[i]; else 0. */
59 /* set done if p1[
[all...]
/bind-9.11.3/lib/isc/tests/
H A Dheap_test.c29 compare(void *p1, void *p2) { argument
30 struct e *e1 = p1;
/bind-9.11.3/lib/isccfg/tests/
H A Dparser_test.c97 cfg_parser_t *p1 = NULL, *p2 = NULL; local
108 result = cfg_parser_create(mctx, lctx, &p1);
111 result = cfg_parse_buffer3(p1, &buf1, "text1", 0,
114 ATF_REQUIRE_EQ(p1->line, 5);
128 cfg_obj_destroy(p1, &c1);
131 cfg_parser_destroy(&p1);
/bind-9.11.3/contrib/dlz/drivers/
H A Ddlz_bdbhpt_driver.c115 char *p1, *p2; local
119 for (p1 = str, p2 = str + strlen(str) - 1; p2 > p1; ++p1, --p2)
121 *p1 ^= *p2;
122 *p2 ^= *p1;
123 *p1 ^= *p2;
/bind-9.11.3/contrib/dlz/modules/bdbhpt/
H A Ddlz_bdbhpt_dynamic.c120 char *p1, *p2; local
124 for (p1 = str, p2 = str + strlen(str) - 1; p2 > p1; ++p1, --p2) {
125 *p1 ^= *p2;
126 *p2 ^= *p1;
127 *p1 ^= *p2;
/bind-9.11.3/lib/dns/
H A Dopenssldh_link.c169 const BIGNUM *p1 = NULL, *g1 = NULL, *p2 = NULL, *g2 = NULL; local
181 DH_get0_pqg(dh1, &p1, NULL, &g1);
184 if (BN_cmp(p1, p2) != 0 || BN_cmp(g1, g2) != 0 ||
200 const BIGNUM *p1 = NULL, *g1 = NULL, *p2 = NULL, *g2 = NULL; local
210 DH_get0_pqg(dh1, &p1, NULL, &g1);
213 if (BN_cmp(p1, p2) != 0 || BN_cmp(g1, g2) != 0)
H A Dopenssldsa_link.c387 const BIGNUM *p1 = NULL, *q1 = NULL, *g1 = NULL; local
400 DSA_get0_pqg(dsa1, &p1, &q1, &g1);
403 if (BN_cmp(p1, p2) != 0 || BN_cmp(q1, q2) != 0 ||
H A Dopensslrsa_link.c888 const BIGNUM *p1 = NULL, *p2 = NULL; local
942 RSA_get0_factors(rsa1, &p1, &q1);
944 status = BN_cmp(d1, d2) || BN_cmp(p1, p1) || BN_cmp(q1, q2);
H A Drdataslab.c78 compare_rdata(const void *p1, const void *p2) { argument
79 const struct xrdata *x1 = p1;
H A Ddispatch.c2138 in_port_t p1 = *(const in_port_t *)key; local
2141 if (p1 < p2)
2143 else if (p1 == p2)
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dfs.c518 bool atf_equal_fs_path_fs_path(const atf_fs_path_t *p1, argument
521 return atf_equal_dynstr_dynstr(&p1->m_data, &p2->m_data);
H A Dfs_test.c411 atf_fs_path_t p1, p2; local
413 RE(atf_fs_path_init_fmt(&p1, "foo"));
416 ATF_REQUIRE(atf_equal_fs_path_fs_path(&p1, &p2));
420 ATF_REQUIRE(!atf_equal_fs_path_fs_path(&p1, &p2));
423 atf_fs_path_fini(&p1);
820 atf_fs_path_t p1, p2; local
823 RE(atf_fs_path_init_fmt(&p1, "testdir.XXXXXX"));
825 RE(atf_fs_mkdtemp(&p1));
827 ATF_REQUIRE(!atf_equal_fs_path_fs_path(&p1, &p2));
828 ATF_REQUIRE(exists(&p1));
943 atf_fs_path_t p1, p2; local
[all...]
/bind-9.11.3/unit/atf-src/atf-sh/
H A Datf-check.cpp405 compare_files(const atf::fs::path& p1, const atf::fs::path& p2) argument
409 std::ifstream f1(p1.c_str());
411 throw std::runtime_error("Failed to open " + p1.str());
415 throw std::runtime_error("Failed to open " + p1.str());
422 throw std::runtime_error("Failed to read from " + p1.str());
426 throw std::runtime_error("Failed to read from " + p1.str());
444 print_diff(const atf::fs::path& p1, const atf::fs::path& p2) argument
448 atf::process::argv_array("diff", "-u", p1.c_str(),
/bind-9.11.3/lib/bind9/
H A Dcheck.c2708 unsigned int p1, p2; local
2728 cfg_obj_asnetprefix(cfg_map_getname(v1), &n1, &p1); local
2732 tresult = isc_netaddr_prefixok(&n1, p1);
2738 "(extra bits specified)", buf, p1);
2753 buf, p1, xfr);
2761 if (p1 == p2 && isc_netaddr_equal(&n1, &n2)) {

Completed in 54 milliseconds