/bind-9.11.3/lib/isc/tests/ |
H A D | safe_test.c | 75 char buf1[4] = { 1, 2, 3, 4 }; local 78 isc_safe_memwipe(buf1, sizeof(buf1)); 81 ATF_CHECK(memcmp(buf1, buf2, sizeof(buf1)) == 0); 88 char buf1[4] = { 1, 2, 3, 4 }; local 95 isc_safe_memwipe(buf1, 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 431 strbuf_init(&buf1); 434 while (strbuf_getline(&buf1, fp) != NULL) { 441 nl_trimmed = trim_newline(&buf1); 447 r = convert_line(&buf1, &buf2, conf2, actions1, 450 r = convert_line(&buf1, &buf2, conf1, actions1, 469 r = convert_line(&buf2, &buf1, conf1, actions2, 479 fputs(strbuf_get(&buf1), stdout); 489 strbuf_reset(&buf1); 494 strbuf_reset(&buf1); 502 idnconv_strbuf_t buf1, buf2; local [all...] |
/bind-9.11.3/lib/isccfg/tests/ |
H A D | parser_test.c | 96 isc_buffer_t buf1, buf2; local 104 isc_buffer_init(&buf1, &text[0], sizeof(text) - 1); 105 isc_buffer_add(&buf1, sizeof(text) - 1); 111 result = cfg_parse_buffer3(p1, &buf1, "text1", 0,
|
/bind-9.11.3/lib/dns/tests/ |
H A D | dispatch_test.c | 157 static unsigned char buf1[16]; local 160 memmove(buf1, ev->region.base, 12); 161 memset(buf1 + 12, 0, 4); 162 buf1[2] |= 0x80; /* qr=1 */ 171 region.base = buf1; 172 region.length = sizeof(buf1);
|
H A D | name_test.c | 132 unsigned char buf1[1024]; local 135 isc_buffer_init(&source, buf1, sizeof(buf1));
|
/bind-9.11.3/bin/tests/dst/ |
H A D | dst_test.c | 99 isc_buffer_t buf1, buf2; local 105 isc_buffer_init(&buf1, buffer1, sizeof(buffer1)); 106 ret = dst_key_todns(key, &buf1); 112 &buf1, mctx, &newkey); 123 isc_buffer_usedregion(&buf1, &r1);
|
/bind-9.11.3/lib/dns/ |
H A D | gen.c | 218 char buf1[TYPECLASSBUF], buf2[TYPECLASSBUF]; local 249 funname(tt->typename, buf1), args); 254 funname(tt->classname, buf1), 522 char buf1[TYPECLASSBUF]; local 814 funname(tt->typename, buf1), 830 s = funname(tt->typename, buf1); 867 s = funname(name, buf1); \
|
H A D | request.c | 1138 isc_buffer_t *buf1 = NULL; local 1153 result = isc_buffer_allocate(mctx, &buf1, 65535); 1168 result = dns_message_renderbegin(message, &cctx, buf1); 1193 isc_buffer_usedregion(buf1, &r); 1212 isc_buffer_free(&buf1); 1218 if (buf1 != NULL) 1219 isc_buffer_free(&buf1);
|
H A D | dst_api.c | 1141 unsigned char buf1[DST_KEY_MAXSIZE], buf2[DST_KEY_MAXSIZE]; local 1145 isc_buffer_init(&b1, buf1, sizeof(buf1)); 1150 buf1[0] = buf1[1] = 0; 1166 memmove(&buf1[4], &buf1[6], r1.length - 6);
|
H A D | nsec3.c | 925 isc_buffer_t buf1; local 935 isc_buffer_init(&buf1, src->data + 1, src->length - 1); 936 isc_buffer_add(&buf1, src->length - 1); 937 isc_buffer_setactive(&buf1, src->length - 1); 942 &buf1, &dctx, 0, &buf2);
|
H A D | validator.c | 969 char buf1[DNS_NAME_FORMATSIZE]; local 1059 dns_name_format(name, buf1, sizeof buf1); 1064 buf1, buf2, buf3);
|
/bind-9.11.3/unit/atf-src/atf-sh/ |
H A D | atf-check.cpp | 418 char buf1[512], buf2[512]; local 420 f1.read(buf1, sizeof(buf1)); 434 (std::memcmp(buf1, buf2, f1.gcount()) != 0)) {
|
/bind-9.11.3/bin/tests/names/ |
H A D | t_names.c | 1833 isc_buffer_t buf1; local 1844 isc_buffer_init(&buf1, test_name, len); 1845 isc_buffer_add(&buf1, len); 1853 dns_result = dns_name_fromtext(&dns_name1, &buf1, NULL, 0, &buf2); 1863 isc_buffer_invalidate(&buf1); 1864 isc_buffer_init(&buf1, junk1, BUFLEN); 1865 dns_result = dns_name_totext(&dns_name1, omit_final, &buf1); 1877 dns_result = dns_name_fromtext(&dns_name2, &buf1, NULL, 0, &buf3); 1997 unsigned char buf1[BIGBUFLEN]; local 2009 isc_buffer_init(&iscbuf1, buf1, sizeo [all...] |
/bind-9.11.3/bin/dig/ |
H A D | dighost.c | 3865 char buf1[ISC_SOCKADDR_FORMATSIZE]; local 3883 isc_sockaddr_format(&sevent->address, buf1, 3884 sizeof(buf1)); 3888 " expected %s\n", buf1, buf2);
|