/bind-9.6-ESV-R11/bin/tests/ |
H A D | serial_test.c | 30 char buf[1024]; local 33 while (fgets(buf, sizeof(buf), stdin) != NULL) { 34 buf[sizeof(buf) - 1] = '\0'; 35 s = buf;
|
H A D | inter_test.c | 36 char buf[128]; local 56 res = inet_ntop(ifdata.af, &ifdata.address.type, buf, 57 sizeof(buf)); 66 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf, 67 sizeof(buf)); 72 buf, sizeof(buf)); 103 res = inet_ntop(ifdata.af, &ifdata.address.type, buf, 104 sizeof(buf)); 113 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf, [all...] |
H A D | gxba_test.c | 49 char buf[128]; local 50 inet_ntop(he->h_addrtype, *c, buf, sizeof(buf)); 51 printf("\taddress[%d] = %s\n", i, buf);
|
H A D | gxbn_test.c | 49 char buf[128]; local 50 inet_ntop(he->h_addrtype, *c, buf, sizeof(buf)); 51 printf("\taddress[%d] = %s\n", i, buf);
|
H A D | master_test.c | 39 char buf[64*1024]; local 45 isc_buffer_init(&target, buf, 64*1024);
|
/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | md5.h | 52 isc_uint32_t buf[4]; member in struct:__anon169 66 isc_md5_update(isc_md5_t *ctx, const unsigned char *buf, unsigned int len);
|
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | strerror.c | 47 isc__strerror(int num, char *buf, size_t size) { argument 53 REQUIRE(buf != NULL); 60 snprintf(buf, size, "%s", msg); 62 snprintf(buf, size, "Unknown error: %u", unum); 67 REQUIRE(buf != NULL); 70 snprintf(buf, size, "%s", sys_errlist[num]); 72 snprintf(buf, size, "Unknown error: %u", unum);
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/ |
H A D | env.c | 69 char *buf; local 71 err = atf_text_format(&buf, "%s=%s", name, val); 73 if (putenv(buf) == -1) 76 free(buf); 94 char *buf; local 96 err = atf_text_format(&buf, "%s=", name); 98 if (putenv(buf) == -1) 101 free(buf);
|
H A D | sanity.c | 46 char buf[4096]; local 49 vsnprintf(buf, sizeof(buf), fmt, ap); 51 warnx("%s", buf);
|
/bind-9.6-ESV-R11/contrib/sdb/time/ |
H A D | timedb.c | 61 char buf[100]; local 68 n = snprintf(buf, sizeof(buf), "\"%s", ctime(&now)); 71 buf[n - 1] = '\"'; 72 result = dns_sdb_putrr(lookup, "txt", 1, buf);
|
/bind-9.6-ESV-R11/lib/dns/tests/ |
H A D | time_test.c | 48 char buf[128]; local 54 memset(buf, 0, sizeof(buf)); 55 isc_buffer_init(&target, buf, sizeof(buf)); 58 ATF_REQUIRE_STREQ(buf, test_text); 76 char buf[128]; local 82 memset(buf, 0, sizeof(buf)); 83 isc_buffer_init(&target, buf, sizeo 104 char buf[128]; local 132 char buf[128]; local 160 char buf[128]; local 188 char buf[128]; local [all...] |
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | lwres_noop.c | 119 unsigned char *buf; local 132 buf = CTXMALLOC(buflen); 133 if (buf == NULL) 135 lwres_buffer_init(b, buf, buflen); 148 CTXFREE(buf, buflen); 172 unsigned char *buf; local 185 buf = CTXMALLOC(buflen); 186 if (buf == NULL) 188 lwres_buffer_init(b, buf, buflen); 200 CTXFREE(buf, bufle [all...] |
H A D | lwres_gnba.c | 120 unsigned char *buf; local 135 buf = CTXMALLOC(buflen); 136 if (buf == NULL) 138 lwres_buffer_init(b, buf, buflen); 151 CTXFREE(buf, buflen); 177 unsigned char *buf; local 199 buf = CTXMALLOC(buflen); 200 if (buf == NULL) 202 lwres_buffer_init(b, buf, buflen); 214 CTXFREE(buf, bufle [all...] |
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/ |
H A D | exceptions_test.cpp | 55 test_format(const atf_error_t err, char *buf, size_t buflen) argument 62 snprintf(buf, buflen, "Message: %s", data->m_msg);
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/ |
H A D | debug.c | 66 char *buf = bufs[bufno]; local 73 for (i = 0, p = buf; i < maxbytes; i += 3, s++) { 89 return (buf); 94 char *buf = bufs[bufno]; local 102 p = buf; 127 return (buf); 132 char *buf = bufs[bufno]; local 140 p = buf; 179 return (buf); 184 char *buf local 222 char *buf = bufs[bufno]; local [all...] |
H A D | log.c | 71 static void log_to_stderr(int level, const char *buf); 169 char buf[1024]; local 177 (void)vsnprintf(buf, sizeof(buf), fmt, args); 180 (void)vsprintf(buf, fmt, args); 182 (*log_proc)(level, buf); 186 log_to_stderr(int level, const char *buf) { argument 214 fprintf(stderr, "%u: [%s] %s", (unsigned int)getpid(), title, buf);
|
H A D | utf8.c | 81 idn_utf8_getmb(const char *s, size_t len, char *buf) { argument 82 /* buf must be at least 7-bytes long */ 84 unsigned char *q = (unsigned char *)buf;
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/wsock11/ |
H A D | dllfunc.c | 161 const char FAR * name, char FAR * buf, int buflen) 174 buf, buflen); 176 idnHook(hWnd, wMsg, buf, encodeCtx); 181 buf, buflen); 191 int len, int type, char FAR * buf, int buflen) 200 idnHook(hWnd, wMsg, buf, encodeCtx); 206 buf, buflen); 160 WSAAsyncGetHostByName(HWND hWnd, u_int wMsg, const char FAR * name, char FAR * buf, int buflen) argument 190 WSAAsyncGetHostByAddr(HWND hWnd, u_int wMsg, const char FAR * addr, int len, int type, char FAR * buf, int buflen) argument
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | hmacmd5.c | 76 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, argument 79 isc_md5_update(&ctx->md5ctx, buf, len);
|
/bind-9.6-ESV-R11/contrib/sdb/dir/ |
H A D | dirdb.c | 69 char buf[1024]; local 87 CHECKN(snprintf(buf, sizeof(buf), 92 CHECK(dns_sdb_putrr(lookup, "txt", 3600, buf)); 99 buf[n] = 0; 100 CHECKN(snprintf(buf, sizeof(buf), "\"symlink\" \"%s\"", 102 CHECK(dns_sdb_putrr(lookup, "txt", 3600, buf)); 106 CHECKN(snprintf(buf, sizeof(buf), "\"fil [all...] |
/bind-9.6-ESV-R11/contrib/zkt/ |
H A D | zkt-soaserial.c | 111 char buf[4095+1]; local 121 while ( !soafound && fgets (buf, sizeof buf, fp) ) 123 if ( sscanf (buf, "%*s %*d IN SOA %254s %*s (\n", master) == 1 ) 125 else if ( sscanf (buf, "%*s IN SOA %254s %*s (\n", master) == 1 )
|
/bind-9.6-ESV-R11/lib/dns/rdata/generic/ |
H A D | cert_37.c | 74 char buf[sizeof("64000 ")]; local 97 sprintf(buf, "%u ", n); 98 RETERR(str_totext(buf, target));
|
H A D | dlv_32769.c | 89 char buf[sizeof("64000 ")]; local 104 sprintf(buf, "%u ", n); 105 RETERR(str_totext(buf, target)); 112 sprintf(buf, "%u ", n); 113 RETERR(str_totext(buf, target)); 120 sprintf(buf, "%u", n); 121 RETERR(str_totext(buf, target));
|
H A D | dnskey_48.c | 85 char buf[sizeof("64000")]; local 97 sprintf(buf, "%u", flags); 98 RETERR(str_totext(buf, target)); 102 sprintf(buf, "%u", sr.base[0]); 104 RETERR(str_totext(buf, target)); 109 sprintf(buf, "%u", algorithm); 111 RETERR(str_totext(buf, target)); 137 sprintf(buf, "%u", dst_region_computeid(&tmpr, algorithm)); 138 RETERR(str_totext(buf, target));
|
H A D | ds_43.c | 89 char buf[sizeof("64000 ")]; local 104 sprintf(buf, "%u ", n); 105 RETERR(str_totext(buf, target)); 112 sprintf(buf, "%u ", n); 113 RETERR(str_totext(buf, target)); 120 sprintf(buf, "%u", n); 121 RETERR(str_totext(buf, target));
|