/bind-9.6-ESV-R11/lib/isc/ |
H A D | inet_ntop.c | 42 static const char *inet_ntop4(const unsigned char *src, char *dst, 46 static const char *inet_ntop6(const unsigned char *src, char *dst, 51 * isc_net_ntop(af, src, dst, size) 59 isc_net_ntop(int af, const void *src, char *dst, size_t size) argument 63 return (inet_ntop4(src, dst, size)); 66 return (inet_ntop6(src, dst, size)); 76 * inet_ntop4(src, dst, size) 88 inet_ntop4(const unsigned char *src, char *dst, size_t size) argument 93 if ((size_t)sprintf(tmp, fmt, src[0], src[ 111 inet_ntop6(const unsigned char *src, char *dst, size_t size) argument [all...] |
H A D | inet_pton.c | 44 static int inet_pton4(const char *src, unsigned char *dst); 45 static int inet_pton6(const char *src, unsigned char *dst); 58 isc_net_pton(int af, const char *src, void *dst) { argument 61 return (inet_pton4(src, dst)); 63 return (inet_pton6(src, dst)); 71 /*!\fn static int inet_pton4(const char *src, unsigned char *dst) 75 * 1 if `src' is a valid dotted quad, else 0. 82 inet_pton4(const char *src, unsigned char *dst) { argument 90 while ((ch = *src++) != '\0') { 123 * 1 if `src' i 134 inet_pton6(const char *src, unsigned char *dst) argument [all...] |
H A D | string.c | 247 isc_string_strlcpy(char *dst, const char *src, size_t size) argument 250 const char *s = src; 261 /* Not enough room in dst, add NUL and traverse rest of src */ 269 return(s - src - 1); /* count does not include NUL */ 273 isc_string_strlcat(char *dst, const char *src, size_t size) argument 276 const char *s = src; 297 return(dlen + (s - src)); /* count does not include NUL */
|
H A D | buffer.c | 241 void *src; local 251 src = isc_buffer_current(b); 253 (void)memmove(b->base, src, (size_t)length);
|
H A D | netaddr.c | 423 isc_netaddr_t *src; local 425 DE_CONST(s, src); /* Must come before IN6_IS_ADDR_V4MAPPED. */ 428 REQUIRE(IN6_IS_ADDR_V4MAPPED(&src->type.in6)); 432 memmove(&t->type.in, (char *)&src->type.in6 + 12, 4);
|
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | lwinetntop.c | 42 static const char *inet_ntop4(const unsigned char *src, char *dst, 46 static const char *inet_ntop6(const unsigned char *src, char *dst, 51 * lwres_net_ntop(af, src, dst, size) 59 lwres_net_ntop(int af, const void *src, char *dst, size_t size) { argument 62 return (inet_ntop4(src, dst, size)); 65 return (inet_ntop6(src, dst, size)); 75 * inet_ntop4(src, dst, size) 86 inet_ntop4(const unsigned char *src, char *dst, size_t size) { argument 91 len = snprintf(tmp, sizeof(tmp), fmt, src[0], src[ 109 inet_ntop6(const unsigned char *src, char *dst, size_t size) argument [all...] |
H A D | lwinetpton.c | 41 static int inet_pton4(const char *src, unsigned char *dst); 42 static int inet_pton6(const char *src, unsigned char *dst); 46 * lwres_net_pton(af, src, dst) 57 lwres_net_pton(int af, const char *src, void *dst) { argument 60 return (inet_pton4(src, dst)); 62 return (inet_pton6(src, dst)); 71 * inet_pton4(src, dst) 74 * 1 if `src' is a valid dotted quad, else 0. 81 inet_pton4(const char *src, unsigned char *dst) { argument 89 while ((ch = *src 136 inet_pton6(const char *src, unsigned char *dst) argument [all...] |
H A D | getipnode.c | 82 * lwres_getipnodebyaddr() performs a reverse lookup of address src which 177 hostfromaddr(lwres_gnbaresponse_t *addr, int af, const void *src); 332 /*% performs a reverse lookup of address src which is len bytes long. af denotes the protocol family, typically #PF_INET or PF_INET6. */ 334 lwres_getipnodebyaddr(const void *src, size_t len, int af, int *error_num) { argument 347 if (src == NULL) { 379 u.konst = src; 387 const unsigned char *cp = src; 423 memmove(he2->h_addr, src, len); 430 if (memcmp(src, &in6addr_any, IN6ADDRSZ) == 0) { 440 src, 1010 hostfromaddr(lwres_gnbaresponse_t *addr, int af, const void *src) argument [all...] |
/bind-9.6-ESV-R11/lib/dns/ |
H A D | ttl.c | 81 dns_ttl_totext(isc_uint32_t src, isc_boolean_t verbose, isc_buffer_t *target) { argument 84 secs = src % 60; src /= 60; 85 mins = src % 60; src /= 60; 86 hours = src % 24; src /= 24; 87 days = src % 7; src /= 7; 88 weeks = src; sr [all...] |
/bind-9.6-ESV-R11/unit/atf-src/atf-c/ |
H A D | build.c | 98 append_src_out(const char *src, const char *obj, atf_list_t *argv) argument 110 err = append_arg1(src, argv);
|
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | interfaceiter.c | 60 * instead of using src->sa_family, because the latter does not work 66 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src, argument 83 &((struct sockaddr_in *) src)->sin_addr, 87 sa6 = (struct sockaddr_in6 *)src;
|
H A D | ifiter_ioctl.c | 399 get_inaddr(isc_netaddr_t *dst, struct in_addr *src) { argument 401 memmove(&dst->type.in, src, sizeof(struct in_addr));
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/ |
H A D | dynstr_test.c | 144 const char *src = "String 1, String 2"; local 147 RE(atf_dynstr_init_raw(&str, src, 0)); 151 RE(atf_dynstr_init_raw(&str, src, 8)); 155 RE(atf_dynstr_init_raw(&str, src + 10, 8)); 225 atf_dynstr_t src; local 228 RE(atf_dynstr_init_fmt(&src, "Str 1, Str 2")); 230 RE(atf_dynstr_init_substr(&str, &src, 0, 0)); 234 RE(atf_dynstr_init_substr(&str, &src, 0, atf_dynstr_npos)); 238 RE(atf_dynstr_init_substr(&str, &src, 0, 100)); 242 RE(atf_dynstr_init_substr(&str, &src, [all...] |
H A D | dynstr.c | 250 atf_dynstr_init_substr(atf_dynstr_t *ad, const atf_dynstr_t *src, argument 253 if (beg > src->m_length) 254 beg = src->m_length; 256 if (end == atf_dynstr_npos || end > src->m_length) 257 end = src->m_length; 259 return atf_dynstr_init_raw(ad, src->m_data + beg, end - beg); 263 atf_dynstr_copy(atf_dynstr_t *dest, const atf_dynstr_t *src) argument 267 dest->m_data = (char *)malloc(src->m_datasize); 271 memcpy(dest->m_data, src->m_data, src [all...] |
H A D | list.c | 374 atf_list_append_list(atf_list_t *l, atf_list_t *src) argument 379 ghost2 = (struct list_entry *)src->m_begin; 390 l->m_end = src->m_end; 391 l->m_size += src->m_size;
|
H A D | fs.c | 378 atf_fs_path_copy(atf_fs_path_t *dest, const atf_fs_path_t *src) argument 380 return atf_dynstr_copy(&dest->m_data, &src->m_data); 581 atf_fs_stat_copy(atf_fs_stat_t *dest, const atf_fs_stat_t *src) argument 583 dest->m_type = src->m_type; 584 dest->m_sb = src->m_sb;
|
/bind-9.6-ESV-R11/unit/atf-src/atf-run/ |
H A D | config.cpp | 98 merge_maps(std::map< K, V >& dest, const std::map< K, V >& src) argument 100 for (typename std::map< K, V >::const_iterator iter = src.begin(); 101 iter != src.end(); iter++)
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/ |
H A D | mapper.c | 343 unsigned long *src, *dst; local 369 src = (void *)from; 384 if (src == buffers[0]) 410 r = (ctx->schemes[i].map)(ctx->schemes[i].context, src, dst, 419 src = dst;
|
H A D | normalizer.c | 252 unsigned long *src, *dst; local 278 src = (void *)from; 293 if (src == buffers[0]) 319 r = (ctx->schemes[i]->proc)(src, dst, dstlen); 327 src = dst;
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/runidn/ |
H A D | stub.c | 319 idn_stub_getipnodebyaddr(const void *src, size_t len, int af, int *errp) { argument 320 static struct hostent *(*fp)(const void *src, size_t len, int af, 326 return ((*fp)(src, len, af, errp));
|
H A D | resolver.c | 914 ENTRY(getipnodebyaddr)(const void *src, size_t len, int af, int *errp) { argument 918 return (REAL(getipnodebyaddr)(src, len, af, errp)); 923 hp = REAL(getipnodebyaddr)(src, len, af, errp);
|
/bind-9.6-ESV-R11/lib/dns/tests/ |
H A D | dbiterator_test.c | 84 make_name(const char *src, dns_name_t *name) { argument 86 isc_buffer_constinit(&b, src, strlen(src)); 87 isc_buffer_add(&b, strlen(src));
|
/bind-9.6-ESV-R11/lib/isc/win32/ |
H A D | interfaceiter.c | 50 * instead of using src->sa_family, because the latter does not work 87 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src) { argument 92 &((struct sockaddr_in *) src)->sin_addr, 97 &((struct sockaddr_in6 *) src)->sin6_addr, 99 dst->zone = ((struct sockaddr_in6 *) src)->sin6_scope_id;
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | main.c | 264 char *src; local 276 src = argv[i]; 277 while (*src != '\0' && dst < eob) { 284 if (quoted || isalnum(*src & 0xff) || 285 *src == '-' || *src == '_' || 286 *src == '.' || *src == '/') { 287 *dst++ = *src++;
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/tests/ |
H A D | testsuite.c | 488 const char *src; local 495 for (src = string, dst = hex_string; *src != '\0'; src++) { 496 if (0x20 <= *src && *src <= 0x7e && *src != '\\') { 497 *dst++ = *src; 501 *dst++ = hex[*(const unsigned char *)src >> 4]; 502 *dst++ = hex[*src 516 const unsigned long *src; local [all...] |