Searched defs:cp (Results 1 - 25 of 32) sorted by relevance

12

/bind-9.6-ESV-R11/lib/isc/win32/
H A Dkeyboard.c67 isc_keyboard_getchar(isc_keyboard_t *keyboard, unsigned char *cp) { argument
72 REQUIRE(cp != NULL);
80 *cp = c;
/bind-9.6-ESV-R11/lib/isc/
H A Dinet_aton.c82 * Check whether "cp" is a valid ascii representation
89 isc_net_aton(const char *cp, struct in_addr *addr) { argument
97 c = *cp;
108 c = *++cp;
110 base = 16, c = *++cp;
127 c = *++cp;
132 c = *++cp;
147 c = *++cp;
H A Dbuffer.c265 unsigned char *cp; local
275 cp = isc_buffer_current(b);
277 result = ((isc_uint8_t)(cp[0]));
292 unsigned char *cp; local
303 cp = isc_buffer_current(b);
305 result = ((unsigned int)(cp[0])) << 8;
306 result |= ((unsigned int)(cp[1]));
329 unsigned char *cp; local
340 cp = isc_buffer_current(b);
342 result = ((unsigned int)(cp[
360 unsigned char *cp; local
410 unsigned char *cp; local
[all...]
H A Dprint.c87 const char *cp; local
392 cp = head;
393 while (*cp != '\0' && size > 1) {
394 *str++ = *cp++;
402 cp = buf;
403 while (*cp != '\0' && size > 1) {
404 *str++ = *cp++;
418 cp = va_arg(ap, char *);
419 REQUIRE(cp != NULL);
423 * cp nee
[all...]
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dkeyboard.c98 isc_keyboard_getchar(isc_keyboard_t *keyboard, unsigned char *cp) { argument
104 REQUIRE(cp != NULL);
118 *cp = c;
H A Dapp.c391 isc__nothread_wait_hack(isc_condition_t *cp, isc_mutex_t *mp) { argument
394 UNUSED(cp);
417 isc__nothread_signal_hack(isc_condition_t *cp) { argument
419 UNUSED(cp);
H A Dfile.c201 char *cp; local
207 cp = templet;
208 while (*cp != '\0')
209 cp++;
210 if (cp == templet)
213 x = cp--;
214 while (cp >= templet && *cp == 'X') {
216 *cp = alphnum[which % (sizeof(alphnum) - 1)];
217 x = cp
248 char *cp; local
[all...]
/bind-9.6-ESV-R11/lib/lwres/
H A Dlwinetaton.c86 * Check whether "cp" is a valid ascii representation
93 lwres_net_aton(const char *cp, struct in_addr *addr) { argument
101 REQUIRE(cp != NULL);
103 c = *cp;
116 c = *++cp;
119 c = *++cp;
136 c = *++cp;
141 c = *++cp;
156 c = *++cp;
H A Dlwbuffer.c226 unsigned char *cp; local
233 cp = b->base;
234 cp += b->current;
236 result = ((unsigned int)(cp[0]));
245 unsigned char *cp; local
250 cp = b->base;
251 cp += b->used;
253 cp[0] = (val & 0x00ff);
260 unsigned char *cp; local
267 cp
280 unsigned char *cp; local
296 unsigned char *cp; local
317 unsigned char *cp; local
336 unsigned char *cp; local
351 unsigned char *cp; local
[all...]
H A Dgethost.c297 char *cp; local
327 cp = (char *)LWRES_ALIGN(buf) + nptr * sizeof(char *);
334 memmove(cp, he->h_addr_list[i], n);
335 hptr->h_addr_list[i] = cp;
336 cp += n;
345 strcpy(cp, he->h_name);
346 hptr->h_name = cp;
347 cp += n;
355 strcpy(cp, he->h_aliases[i]);
356 hptr->h_aliases[i] = cp;
[all...]
H A Dprint.c84 const char *cp; local
329 cp = head;
330 while (*cp != '\0' && size > 1U) {
331 *str++ = *cp++;
339 cp = buf;
340 while (*cp != '\0' && size > 1U) {
341 *str++ = *cp++;
355 cp = va_arg(ap, char *);
356 REQUIRE(cp != NULL);
360 * cp nee
[all...]
/bind-9.6-ESV-R11/lib/lwres/win32/
H A Dlwconfig.c53 char *cp; local
77 cp = strtok((char *)searchlist, ", \0");
78 while (cp != NULL) {
81 if (strlen(cp) <= MAX_PATH && strlen(cp) > 0) {
82 confdata->search[confdata->searchnxt] = lwres_strdup(ctx, cp);
86 cp = strtok(NULL, ", \0");
/bind-9.6-ESV-R11/bin/tests/
H A Dsym_test.c44 char s[1000], *cp, *key; local
81 cp = s;
83 if (cp[0] == '!') {
84 cp++;
85 result = isc_symtab_undefine(st, cp, 1);
87 printf("undefine('%s'): %s\n", cp,
90 key = cp;
91 while (*cp != '\0' && *cp != ' ' && *cp !
[all...]
/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dloc_ntoa.c125 const u_char *cp = binary; local
140 versionval = *cp++;
150 sizeval = *cp++;
152 hpval = *cp++;
153 vpval = *cp++;
155 GETLONG(templ, cp);
158 GETLONG(templ, cp);
161 GETLONG(templ, cp);
H A Dloc.c286 skipName (cp, endOfMsg)
287 u_char *cp;
292 if ((n = dn_skipname (cp, endOfMsg)) < 0)
300 * skipToData -- This routine advances the cp pointer to the *
305 skipToData (cp, type, class, ttl, dlen, endOfMsg)
306 u_char *cp;
313 u_char *tmp_cp = cp; /* temporary version of cp */
327 return (tmp_cp - cp);
355 u_char *cp; /* characte local
499 u_char *cp; /* character pointer to parse DNS packet */ local
[all...]
/bind-9.6-ESV-R11/contrib/zkt/
H A Dzone.c140 zone_t *zone_new (zone_t **zp, const char *zone, const char *dir, const char *file, const char *signed_ext, const zconf_t *cp) argument
148 dbg_val3 ("zone_new: (zp, zone: %s, dir: %s, file: %s, cp)\n", zone, dir, file);
153 file = cp->zonefile;
183 new->conf = cp;
215 dbg_val4 ("zone_readdir: (dir: \"%s\", zone: \"%s\", zfile: \"%s\", zp, cp, dyn_zone = %d)\n",
H A Dzkt-ls.c128 static void usage (char *mesg, zconf_t *cp);
320 static void usage (char *mesg, zconf_t *cp) argument
H A Ddnssec-zkt.c138 static void usage (char *mesg, zconf_t *cp);
409 static void usage (char *mesg, zconf_t *cp) argument
431 fprintf (stderr, "\t\tKSK (use -k): %s %d bits\n", dki_algo2str (cp->k_algo), cp->k_bits);
432 fprintf (stderr, "\t\tZSK (default): %s %d bits\n", dki_algo2str (cp->k_algo), cp->z_bits);
H A Dzkt-keyman.c126 static void usage (char *mesg, zconf_t *cp);
340 static void usage (char *mesg, zconf_t *cp) argument
347 fprintf (stderr, "\t\tKSK (use -k): %s %d bits\n", dki_algo2str (cp->k_algo), cp->k_bits);
348 fprintf (stderr, "\t\tZSK (default): %s %d bits\n", dki_algo2str (cp->k_algo), cp->z_bits);
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssectool.c101 type_format(const dns_rdatatype_t type, char *cp, unsigned int size) { argument
106 isc_buffer_init(&b, cp, size - 1);
114 alg_format(const dns_secalg_t alg, char *cp, unsigned int size) { argument
119 isc_buffer_init(&b, cp, size - 1);
127 sig_format(dns_rdata_rrsig_t *sig, char *cp, unsigned int size) { argument
133 snprintf(cp, size, "%s/%s/%d", namestr, algstr, sig->keyid);
137 key_format(const dst_key_t *key, char *cp, unsigned int size) { argument
143 snprintf(cp, size, "%s/%s/%d", namestr, algstr, dst_key_id(key));
/bind-9.6-ESV-R11/lib/dns/
H A Dbyaddr.c90 char *cp; local
111 cp = textname;
113 *cp++ = hex_digits[bytes[i] & 0x0f];
114 *cp++ = '.';
115 *cp++ = hex_digits[(bytes[i] >> 4) & 0x0f];
116 *cp++ = '.';
119 strcpy(cp, "ip6.int.");
121 strcpy(cp, "ip6.arpa.");
H A Dopenssldsa_link.c228 unsigned char *cp = sig->base; local
258 cp++; /*%< Skip T */
262 dsasig->r = BN_bin2bn(cp, ISC_SHA1_DIGESTLENGTH, NULL);
263 cp += ISC_SHA1_DIGESTLENGTH;
264 dsasig->s = BN_bin2bn(cp, ISC_SHA1_DIGESTLENGTH, NULL);
H A Dopenssldh_link.c246 unsigned char *cp = region->base; local
248 val = ((unsigned int)(cp[0])) << 8;
249 val |= ((unsigned int)(cp[1]));
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dnaptr_35.c433 char *cp; local
448 cp = (char *)&sr.base[1];
449 for (i = 0; i < flagslen; i++, cp++) {
450 if (*cp == 'S' || *cp == 's') {
454 if (*cp == 'A' || *cp == 'a') {
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/
H A Dapl_42.c35 char *cp, *ap, *slash; local
53 cp = DNS_AS_STR(token);
54 neg = ISC_TF(*cp == '!');
56 cp++;
57 afi = strtoul(cp, &ap, 10);
58 if (*ap++ != ':' || cp == ap)

Completed in 43 milliseconds

12