/bind-9.11.3/lib/isc/tests/ |
H A D | safe_test.c | 76 char buf2[4] = { 1, 2, 3, 4 }; local 79 memset(buf2, 0, sizeof(buf2)); 81 ATF_CHECK(memcmp(buf1, buf2, sizeof(buf1)) == 0); 89 char buf2[4] = { 1, 2, 3, 4 }; local 96 memset(buf2, 0, 3); 98 ATF_CHECK(memcmp(buf1, buf2, sizeof(buf1)) == 0);
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/idnconv/ |
H A D | idnconv.c | 385 idnconv_strbuf_t buf1, buf2; local 432 strbuf_init(&buf2); 447 r = convert_line(&buf1, &buf2, conf2, actions1, 450 r = convert_line(&buf1, &buf2, conf1, actions1, 459 if (!idn_utf8_isvalidstring(strbuf_get(&buf2))) { 469 r = convert_line(&buf2, &buf1, conf1, actions2, 490 strbuf_reset(&buf2); 495 strbuf_reset(&buf2); 502 idnconv_strbuf_t buf1, buf2; local 571 strbuf_init(&buf2); [all...] |
/bind-9.11.3/lib/isccfg/tests/ |
H A D | parser_test.c | 96 isc_buffer_t buf1, buf2; local 116 isc_buffer_init(&buf2, &text[0], sizeof(text) - 1); 117 isc_buffer_add(&buf2, sizeof(text) - 1); 123 result = cfg_parse_buffer3(p2, &buf2, "text2", 100,
|
/bind-9.11.3/lib/dns/tests/ |
H A D | dispatch_test.c | 158 static unsigned char buf2[16]; local 164 memmove(buf2, ev->region.base, 12); 165 memset(buf2 + 12, 1, 4); 166 buf2[2] |= 0x80; /* qr=1 */ 183 region.base = buf2; 184 region.length = sizeof(buf2);
|
H A D | name_test.c | 133 unsigned char buf2[1024]; local 136 isc_buffer_init(&target, buf2, sizeof(buf2));
|
/bind-9.11.3/bin/tests/dst/ |
H A D | dst_test.c | 99 isc_buffer_t buf1, buf2; local 117 isc_buffer_init(&buf2, buffer2, sizeof(buffer2)); 118 ret = dst_key_todns(newkey, &buf2); 124 isc_buffer_usedregion(&buf2, &r2);
|
/bind-9.11.3/unit/atf-src/atf-c/detail/ |
H A D | map_test.c | 241 char buf2[] = "2nd test string"; local 261 RE(atf_map_insert(&map, "K3", buf2, false)); 266 ATF_REQUIRE_EQ(ptr, buf2);
|
/bind-9.11.3/unit/atf-src/atf-sh/ |
H A D | atf-check.cpp | 418 char buf1[512], buf2[512]; local 424 f2.read(buf2, sizeof(buf2)); 434 (std::memcmp(buf1, buf2, f1.gcount()) != 0)) {
|
/bind-9.11.3/contrib/dlz/bin/dlzbdb/ |
H A D | dlzbdb.c | 539 isc_buffer_t buf2; local 544 isc_buffer_init(&buf2, &data_arr2, max_data_len); 565 isc_buffer_putstr(&buf2, token.value.as_pointer); 567 isc_buffer_putmem(&buf2, "\0", 1); 611 isc_buffer_clear(&buf2);
|
/bind-9.11.3/lib/dns/ |
H A D | request.c | 1139 isc_buffer_t *buf2 = NULL; local 1200 result = isc_buffer_allocate(mctx, &buf2, r.length + (tcp ? 2 : 0)); 1204 isc_buffer_putuint16(buf2, (isc_uint16_t)r.length); 1205 result = isc_buffer_copyregion(buf2, &r); 1213 *bufferp = buf2; 1220 if (buf2 != NULL) 1221 isc_buffer_free(&buf2);
|
H A D | dst_api.c | 1141 unsigned char buf1[DST_KEY_MAXSIZE], buf2[DST_KEY_MAXSIZE]; local 1154 isc_buffer_init(&b2, buf2, sizeof(buf2)); 1159 buf2[0] = buf2[1] = 0; 1173 memmove(&buf2[4], &buf2[6], r2.length - 6);
|
H A D | gen.c | 218 char buf1[TYPECLASSBUF], buf2[TYPECLASSBUF]; local 255 funname(tt->typename, buf2), args);
|
H A D | nsec3.c | 926 isc_buffer_t buf2; local 938 isc_buffer_init(&buf2, buf, (unsigned int)buflen); 942 &buf1, &dctx, 0, &buf2);
|
H A D | validator.c | 970 char buf2[DNS_NAME_FORMATSIZE]; local 1060 dns_name_format(foundname, buf2, sizeof buf2); 1064 buf1, buf2, buf3);
|
/bind-9.11.3/bin/tests/names/ |
H A D | t_names.c | 1834 isc_buffer_t buf2; local 1848 isc_buffer_init(&buf2, junk2, BUFLEN); 1853 dns_result = dns_name_fromtext(&dns_name1, &buf1, NULL, 0, &buf2); 1998 char buf2[BUFLEN]; local 2017 isc_buffer_init(&iscbuf2, buf2, (unsigned int)buflen); 2194 unsigned char buf2[BUFLEN]; local 2221 isc_buffer_init(&iscbuf2, buf2, BUFLEN);
|
/bind-9.11.3/bin/dig/ |
H A D | dighost.c | 3866 char buf2[ISC_SOCKADDR_FORMATSIZE]; local 3885 isc_sockaddr_format(&query->sockaddr, buf2, 3886 sizeof(buf2)); 3888 " expected %s\n", buf1, buf2);
|