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

12

/bind-9.11.3/lib/isc/win32/
H A Dkeyboard.c58 isc_keyboard_getchar(isc_keyboard_t *keyboard, unsigned char *cp) { argument
63 REQUIRE(cp != NULL);
71 *cp = c;
/bind-9.11.3/lib/isc/
H A Dinet_aton.c73 * Check whether "cp" is a valid ascii representation
80 isc_net_aton(const char *cp, struct in_addr *addr) { argument
89 c = *cp;
100 c = *++cp;
102 base = 16, c = *++cp;
119 c = *++cp;
124 c = *++cp;
139 c = *++cp;
H A Dbuffer.c263 unsigned char *cp; local
273 cp = isc_buffer_current(b);
275 result = ((isc_uint8_t)(cp[0]));
295 unsigned char *cp; local
306 cp = isc_buffer_current(b);
308 result = ((unsigned int)(cp[0])) << 8;
309 result |= ((unsigned int)(cp[1]));
342 unsigned char *cp; local
353 cp = isc_buffer_current(b);
355 result = ((unsigned int)(cp[
378 unsigned char *cp; local
438 unsigned char *cp; local
462 unsigned char *cp; local
[all...]
H A Dprint.c171 const char *cp; local
506 cp = head;
507 while (*cp != '\0')
508 emit(*cp++, arg);
513 cp = buf;
514 while (*cp != '\0')
515 emit(*cp++, arg);
526 cp = va_arg(ap, char *);
530 * cp need not be NULL terminated.
536 assert(cp !
[all...]
/bind-9.11.3/lib/isc/unix/
H A Dkeyboard.c89 isc_keyboard_getchar(isc_keyboard_t *keyboard, unsigned char *cp) { argument
95 REQUIRE(cp != NULL);
109 *cp = c;
H A Dapp.c536 isc__nothread_wait_hack(isc_condition_t *cp, isc_mutex_t *mp) { argument
539 UNUSED(cp);
562 isc__nothread_signal_hack(isc_condition_t *cp) { argument
564 UNUSED(cp);
/bind-9.11.3/lib/lwres/
H A Dlwinetaton.c77 * Check whether "cp" is a valid ascii representation
84 lwres_net_aton(const char *cp, struct in_addr *addr) { argument
93 REQUIRE(cp != NULL);
95 c = *cp;
108 c = *++cp;
111 c = *++cp;
128 c = *++cp;
133 c = *++cp;
148 c = *++cp;
H A Dlwbuffer.c217 unsigned char *cp; local
224 cp = b->base;
225 cp += b->current;
227 result = ((unsigned int)(cp[0]));
236 unsigned char *cp; local
241 cp = b->base;
242 cp += b->used;
244 cp[0] = (val & 0x00ff);
251 unsigned char *cp; local
258 cp
271 unsigned char *cp; local
287 unsigned char *cp; local
308 unsigned char *cp; local
327 unsigned char *cp; local
342 unsigned char *cp; local
[all...]
H A Dgethost.c291 char *cp; local
321 cp = (char *)LWRES_ALIGN(buf) + nptr * sizeof(char *);
328 memmove(cp, src->h_addr_list[i], n);
329 hptr->h_addr_list[i] = cp;
330 cp += n;
339 strcpy(cp, src->h_name);
340 hptr->h_name = cp;
341 cp += n;
349 strcpy(cp, src->h_aliases[i]);
350 hptr->h_aliases[i] = cp;
[all...]
H A Dprint.c75 const char *cp; local
339 cp = head;
340 while (*cp != '\0' && size > 1U) {
341 *str++ = *cp++;
349 cp = buf;
350 while (*cp != '\0' && size > 1U) {
351 *str++ = *cp++;
365 cp = va_arg(ap, char *);
366 REQUIRE(cp != NULL);
370 * cp nee
[all...]
H A Dgetipnode.c378 const unsigned char *cp = src; local
381 cp += 12;
387 INADDRSZ, cp, &by);
397 he1 = hostfromaddr(by, AF_INET, cp);
529 char *buf = NULL, *cp, *cplim; local
586 for (cp = buf;
587 (*have_v4 == 0 || *have_v6 == 0) && cp < cplim;
588 cp += cpsize) {
589 memmove(&lifreq, cp, sizeof(lifreq));
673 char *buf = NULL, *cp, *cpli
[all...]
/bind-9.11.3/lib/lwres/win32/
H A Dlwconfig.c44 char *cp; local
68 cp = strtok((char *)searchlist, ", \0");
69 while (cp != NULL) {
72 if (strlen(cp) <= MAX_PATH && strlen(cp) > 0) {
73 confdata->search[confdata->searchnxt] = lwres_strdup(ctx, cp);
77 cp = strtok(NULL, ", \0");
/bind-9.11.3/bin/tests/
H A Dsym_test.c36 char s[1000], *cp, *key; local
73 cp = s;
75 if (cp[0] == '!') {
76 cp++;
77 result = isc_symtab_undefine(st, cp, 1);
79 printf("undefine('%s'): %s\n", cp,
82 key = cp;
83 while (*cp != '\0' && *cp != ' ' && *cp !
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Dnaptr_35.c30 char *cp; local
55 cp = regex;
80 *cp++ = c;
102 *cp++ = c;
107 *cp = '\0';
525 char *cp; local
540 cp = (char *)&sr.base[1];
541 for (i = 0; i < flagslen; i++, cp++) {
542 if (*cp == 'S' || *cp
[all...]
/bind-9.11.3/lib/dns/rdata/in_1/
H A Dapl_42.c26 char *cp, *ap, *slash; local
44 cp = DNS_AS_STR(token);
45 neg = ISC_TF(*cp == '!');
47 cp++;
48 afi = strtoul(cp, &ap, 10);
49 if (*ap++ != ':' || cp == ap)
/bind-9.11.3/lib/samples/
H A Dsample-async.c205 char *cp; local
213 cp = fgets(buf, sizeof(buf), fp);
214 if (cp == NULL)
217 if ((cp = strchr(buf, '\n')) != NULL)
218 *cp = '\0';
H A Dresolve.c350 char *cp; local
352 cp = strchr(altserver, ':');
353 if (cp == NULL) {
358 *cp = '\0';
360 altserveraddr = cp + 1;
/bind-9.11.3/lib/dns/
H A Dbyaddr.c62 char *cp; local
85 cp = textname;
87 *cp++ = hex_digits[bytes[i] & 0x0f];
88 *cp++ = '.';
89 *cp++ = hex_digits[(bytes[i] >> 4) & 0x0f];
90 *cp++ = '.';
92 remaining = sizeof(textname) - (cp - textname);
94 strlcpy(cp, "ip6.int.", remaining);
96 strlcpy(cp, "ip6.arpa.", remaining);
H A Dopensslecdsa_link.c197 unsigned char *cp = sig->base; local
228 r = BN_bin2bn(cp, siglen / 2, NULL);
229 cp += siglen / 2;
230 s = BN_bin2bn(cp, siglen / 2, NULL);
232 /* cp += siglen / 2; */
373 unsigned char *cp; local
389 cp = buf;
390 if (!i2o_ECPublicKey(eckey, &cp))
410 const unsigned char *cp; local
436 cp
[all...]
H A Dpkcs11dh_link.c652 unsigned char *cp = region->base; local
654 val = ((unsigned int)(cp[0])) << 8;
655 val |= ((unsigned int)(cp[1]));
H A Dpkcs11dsa_link.c720 CK_BYTE *cp; local
761 cp = (CK_BYTE *) subprime->pValue;
763 cp, subprime->ulValueLen);
765 cp = (CK_BYTE *) prime->pValue;
767 cp, prime->ulValueLen);
769 cp = (CK_BYTE *) base->pValue;
771 cp, base->ulValueLen);
773 cp = (CK_BYTE *) pub_key->pValue;
775 cp, pub_key->ulValueLen);
H A Dopenssldh_link.c360 unsigned char *cp = region->base; local
362 val = ((unsigned int)(cp[0])) << 8;
363 val |= ((unsigned int)(cp[1]));
H A Dopenssldsa_link.c308 unsigned char *cp = sig->base; local
338 cp++; /*%< Skip T */
342 r = BN_bin2bn(cp, ISC_SHA1_DIGESTLENGTH, NULL);
343 cp += ISC_SHA1_DIGESTLENGTH;
344 s = BN_bin2bn(cp, ISC_SHA1_DIGESTLENGTH, NULL);
H A Drcode.c362 dns_secalg_format(dns_secalg_t alg, char *cp, unsigned int size) { argument
367 REQUIRE(cp != NULL && size > 0);
368 isc_buffer_init(&b, cp, size - 1);
458 dns_dsdigest_format(dns_dsdigest_t typ, char *cp, unsigned int size) { argument
463 REQUIRE(cp != NULL && size > 0);
464 isc_buffer_init(&b, cp, size - 1);
/bind-9.11.3/lib/irs/
H A Dresconf.c275 int cp; local
281 cp = getword(fp, word, sizeof(word));
284 else if (cp == ' ' || cp == '\t')
285 cp = eatwhite(fp);
287 if (cp != EOF && cp != '\n')

Completed in 57 milliseconds

12