Searched defs:sp (Results 1 - 11 of 11) sorted by relevance

/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/
H A Ddump.c93 const char *sp; local
96 for (sp = name, dp = buff; *sp != '\0'; sp++) {
97 if (*sp >= 0x21 && *sp <= 0x7e) {
101 *dp++ = *sp;
109 sprintf(dp + 2, "%02x", *sp & 0xff);
/bind-9.6-ESV-R11/contrib/queryperf/missing/
H A Dgetnameinfo.c94 struct servent *sp; local
136 sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp");
137 if (sp) {
138 if (strlen(sp->s_name) > servlen)
140 strcpy(serv, sp->s_name);
H A Dgetaddrinfo.c295 struct servent *sp; local
313 if ((sp = getservbyname(servname, proto)) == NULL)
315 port = sp->s_port;
317 if (strcmp(sp->s_proto, "udp") == 0) {
320 } else if (strcmp(sp->s_proto, "tcp") == 0) {
/bind-9.6-ESV-R11/lib/lwres/
H A Dgetnameinfo.c165 struct servent *sp; local
232 (sp = getservbyport(port, proto)) == NULL) {
238 if ((strlen(sp->s_name) + 1) > servlen)
240 strcpy(serv, sp->s_name);
H A Dgetaddrinfo.c177 struct servent *sp; local
290 sp = getservbyname(servname, proto);
291 if (sp == NULL)
293 port = sp->s_port;
295 if (strcmp(sp->s_proto, "tcp") == 0)
297 else if (strcmp(sp->s_proto, "udp") == 0)
/bind-9.6-ESV-R11/bin/dig/
H A Dnslookup.c824 dig_server_t *s, *sp; local
851 sp = s;
853 ISC_LIST_DEQUEUE(l->my_server_list, sp, link);
854 isc_mem_free(mctx, sp);
/bind-9.6-ESV-R11/bin/tests/
H A Drdata_test.c46 void *sp = NULL; local
57 result = dns_rdata_tostruct(rdata, sp = &in_a6, NULL);
64 result = dns_rdata_tostruct(rdata, sp = &hs_a, NULL);
69 result = dns_rdata_tostruct(rdata, sp = &in_a, NULL);
80 result = dns_rdata_tostruct(rdata, sp = &in_aaaa, NULL);
85 result = dns_rdata_tostruct(rdata, sp = &afsdb, NULL);
96 result = dns_rdata_tostruct(rdata, sp = &in_apl, NULL);
107 result = dns_rdata_tostruct(rdata, sp = &cert, NULL);
112 result = dns_rdata_tostruct(rdata, sp = &cname, NULL);
117 result = dns_rdata_tostruct(rdata, sp
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dprocess.c64 stream_prepare_init(stream_prepare_t *sp, const atf_process_stream_t *sb) argument
70 sp->m_sb = sb;
71 sp->m_pipefds_ok = false;
74 if (pipe(sp->m_pipefds) == -1)
78 sp->m_pipefds_ok = true;
88 stream_prepare_fini(stream_prepare_t *sp) argument
90 if (sp->m_pipefds_ok) {
91 close(sp->m_pipefds[0]);
92 close(sp->m_pipefds[1]);
333 child_connect(const stream_prepare_t *sp, in argument
372 parent_connect(const stream_prepare_t *sp, int *fd) argument
[all...]
/bind-9.6-ESV-R11/bin/named/
H A Dxfrout.c403 ixfr_rrstream_destroy(rrstream_t **sp);
417 rrstream_t **sp)
422 INSIST(sp != NULL && *sp == NULL);
435 *sp = (rrstream_t *) s;
505 rrstream_t **sp)
510 INSIST(sp != NULL && *sp == NULL);
522 *sp = (rrstream_t *) s;
625 rrstream_t **sp)
413 ixfr_rrstream_create(isc_mem_t *mctx, const char *journal_filename, isc_uint32_t begin_serial, isc_uint32_t end_serial, rrstream_t **sp) argument
504 axfr_rrstream_create(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *ver, rrstream_t **sp) argument
624 soa_rrstream_create(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *ver, rrstream_t **sp) argument
731 compound_rrstream_create(isc_mem_t *mctx, rrstream_t **soa_stream, rrstream_t **data_stream, rrstream_t **sp) argument
[all...]
/bind-9.6-ESV-R11/contrib/nslint-2.1a3/
H A Dnslint.c2256 register struct servent *sp; local
2267 while ((sp = getservent()) != NULL) {
2268 (void)sprintf(psbuf, "%s/%s", sp->s_name, sp->s_proto);
/bind-9.6-ESV-R11/lib/dns/
H A Drdata.c1115 unsigned char *sp; local
1120 sp = source->base;
1124 n = *sp++;
1133 if (*sp < 0x20 || *sp >= 0x7f) {
1137 *tp++ = 0x30 + ((*sp / 100) % 10);
1138 *tp++ = 0x30 + ((*sp / 10) % 10);
1139 *tp++ = 0x30 + (*sp % 10);
1140 sp++;
1145 if (*sp
1259 unsigned char *sp; local
[all...]

Completed in 34 milliseconds