Searched refs:cp (Results 201 - 225 of 3068) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/nameser/
H A Dns_verify.c64 u_char *cp = msg, *start; local
69 if (cp + HFIXEDSZ >= eom)
75 cp += HFIXEDSZ;
77 n = ns_skiprr(cp, eom, ns_s_qd, ntohs(hp->qdcount));
80 cp += n;
82 n = ns_skiprr(cp, eom, ns_s_an, ntohs(hp->ancount));
85 cp += n;
87 n = ns_skiprr(cp, eom, ns_s_ns, ntohs(hp->nscount));
90 cp += n;
92 n = ns_skiprr(cp, eo
143 u_char *cp = msg, *eom; local
349 u_char *cp, *eom, *cp2; local
[all...]
H A Dns_sign.c96 u_char *cp, *eob; local
107 cp = msg + *msglen;
114 n = ns_name_pack(name, cp, eob - cp,
121 n = ns_name_pack(name, cp, eob - cp, NULL, NULL);
125 cp += n;
128 BOUNDS_CHECK(cp, INT16SZ + INT16SZ + INT32SZ + INT16SZ);
129 PUTSHORT(ns_t_tsig, cp);
130 PUTSHORT(ns_c_any, cp);
284 u_char *cp, *eob, *lenp; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/xlint/lint2/
H A Dread.c116 const char *cp; local
145 cp = line;
148 cline = (int)strtol(cp, &eptr, 10);
149 if (cp == eptr) {
152 cp = eptr;
156 if (*cp != '\0') {
157 rt = *cp++;
159 inperr("null cp");
163 setsrc(cp);
166 setfnid(cline, cp);
239 setsrc(const char *cp) argument
252 setfnid(int fid, const char *cp) argument
276 funccall(pos_t *posp, const char *cp) argument
360 decldef(pos_t *posp, const char *cp) argument
520 usedsym(pos_t *posp, const char *cp) argument
549 inptype(const char *cp, const char **epp) argument
740 gettlen(const char *cp, const char **epp) argument
972 findtype(const char *cp, size_t len, int h) argument
991 storetyp(type_t *tp, const char *cp, size_t len, int h) argument
1125 inpname(const char *cp, const char **epp) argument
[all...]
/netbsd-6-1-5-RELEASE/dist/nvi/ex/
H A Dex_usage.c63 EXCMDLIST const *cp; local
76 for (cp = cmds; cp->name != NULL &&
77 memcmp(ap->bp, cp->name, ap->len); ++cp);
78 if (cp->name == NULL ||
79 (newscreen && !F_ISSET(cp, E_NEWSCREEN))) {
91 "Command: %s\n Usage: %s\n", cp->help, cp->usage);
97 if (cp !
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dauthreadkeys.c30 register char *cp; local
33 cp = *str;
38 while (*cp == ' ' || *cp == '\t')
39 cp++;
44 starttok = cp;
45 while (*cp != '\0' && *cp != '\n' && *cp != ' '
46 && *cp !
[all...]
H A Ddofptoa.c21 register u_char *cp, *cpend; local
43 cp = cpend = &cbuf[5];
50 cp--;
59 *(--cp) = (u_char)(tmp - ((sv<<3) + (sv<<1)));
103 while (cp < (cpdec -1) && *cp == 0)
104 cp++;
113 while (cp < cpend) {
114 if (cp == cpdec)
116 *bp++ = (char)(*cp
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dauth-rsa.c185 char *cp; local
190 for (cp = line; *cp == ' ' || *cp == '\t'; cp++)
192 if (!*cp || *cp == '\n' || *cp == '#')
201 if (*cp < '0' || *cp > '
289 char *cp, *xoptions = NULL; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/fmt/
H A Dfmt.c212 char *cp, *cp2; local
218 cp = fgetln(fi, &len);
219 if (!cp)
224 if (!isspace((unsigned char)*cp))
226 cp++;
232 if (!isspace((unsigned char)cp[len-1]))
249 (void)putchar(cp[i]);
286 cp = lbuf.bptr;
288 while ((c = *cp++) != '\0') {
326 const char *cp; local
380 const char *cp; local
447 const char *cp; local
498 char *cp; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Dprint-sl.c167 print_sl_change(const char *str, register const u_char *cp) argument
171 if ((i = *cp++) == 0) {
172 i = EXTRACT_16BITS(cp);
173 cp += 2;
176 return (cp);
180 print_sl_winchange(register const u_char *cp) argument
184 if ((i = *cp++) == 0) {
185 i = EXTRACT_16BITS(cp);
186 cp += 2;
192 return (cp);
199 register const u_char *cp = chdr; local
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/rpc/
H A Dgetrpcent.c182 char *cp, **q; local
193 cp = strpbrk(p, "#\n");
194 if (cp == NULL)
196 *cp = '\0';
197 cp = strpbrk(p, " \t");
198 if (cp == NULL)
200 *cp++ = '\0';
203 while (*cp == ' ' || *cp == '\t')
204 cp
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/rbootd/
H A Dparseconf.c90 char *cp, *bcp; local
116 * and null terminates it. `cp' is positioned at the start
119 #define GETSTR while (isspace((unsigned char)*cp) || *cp == ',') cp++; \
120 bcp = cp; \
121 while (*cp && *cp!=',' && !isspace((unsigned char)*cp)) cp
253 char *cp; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/lwres/
H A Dlwbuffer.c228 unsigned char *cp; local
235 cp = b->base;
236 cp += b->current;
238 result = ((unsigned int)(cp[0]));
247 unsigned char *cp; local
252 cp = b->base;
253 cp += b->used;
255 cp[0] = (val & 0x00ff);
262 unsigned char *cp; local
269 cp
282 unsigned char *cp; local
298 unsigned char *cp; local
319 unsigned char *cp; local
338 unsigned char *cp; local
353 unsigned char *cp; local
[all...]
/netbsd-6-1-5-RELEASE/bin/csh/
H A Ddir.c79 Char *cp; local
88 cp = NULL;
90 cp = Strsave(hp);
94 cp = NULL;
95 if (cp == NULL) {
101 cp = SAVE("/");
113 cp = Strsave(hp);
125 cp = dcanon(SAVE(ecp), STRNULL);
130 dp->di_name = cp;
268 dnormalize(Char *cp) argument
337 Char *cp; local
376 dgoto(Char *cp) argument
414 dfollow(Char *cp) argument
526 dfind(Char *cp) argument
610 dcanon(Char *cp, Char *p) argument
[all...]
H A Dmisc.c180 strspl(char *cp, char *dp) argument
184 if (!cp)
185 cp = "";
188 for (p = cp; *p++;)
192 ep = (char *) xmalloc((size_t)(((p - cp) + (q - dp) - 1) * sizeof(char)));
193 for (p = ep, q = cp; *p++ = *q++;)
214 lastchr(Char *cp) argument
216 if (!cp)
218 if (!*cp)
220 while (cp[
325 number(Char *cp) argument
352 strend(char *cp) argument
364 strip(Char *cp) argument
377 quote(Char *cp) argument
[all...]
/netbsd-6-1-5-RELEASE/dist/dhcp/minires/
H A Dns_sign.c89 u_char *cp = msg + *msglen, *eob = msg + msgsize; local
102 cp, (unsigned)(eob - cp), NULL, NULL);
104 n = dn_comp("", cp, (unsigned)(eob - cp), NULL, NULL);
107 name = cp;
108 cp += n;
111 BOUNDS_CHECK(cp, INT16SZ + INT16SZ + INT32SZ + INT16SZ);
112 PUTSHORT(ns_t_tsig, cp);
113 PUTSHORT(ns_c_any, cp);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/
H A Dsym_test.c46 char s[1000], *cp, *key; local
83 cp = s;
85 if (cp[0] == '!') {
86 cp++;
87 result = isc_symtab_undefine(st, cp, 1);
89 printf("undefine('%s'): %s\n", cp,
92 key = cp;
93 while (*cp != '\0' && *cp != ' ' && *cp !
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/shark/stand/ofwboot/
H A Dofdev.c66 char *cp, *lp; local
74 for (cp = str; *cp; lp = cp) {
76 while (*++cp && *cp != '/');
77 savec = *cp;
78 *cp = 0;
81 *cp = savec;
87 for (cp
176 const unsigned char *cp = p; local
246 char *cp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/ia64/stand/common/
H A Dboot.c123 char *cp, *prompt; local
132 howlong = strtol(argv[1], &cp, 0);
133 if (*cp != 0) {
153 char *cp; local
155 cp = getenv("autoboot_delay");
156 if ((autoboot_tried == 0) && ((cp == NULL) || strcasecmp(cp, "NO")))
165 char *argv[2], *cp, *ep; local
172 if ((cp = getenv("autoboot_delay"))) {
173 timeout = strtol(cp,
291 char lbuf[128], *cp, *ep, *dev, *fstyp; local
350 char *cp; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/resolver/
H A Dsetup.sh21 cp ns4/tld1.db ns4/tld.db
22 cp ns6/to-be-removed.tld.db.in ns6/to-be-removed.tld.db
23 cp ns7/server.db.in ns7/server.db
/netbsd-6-1-5-RELEASE/sys/coda/
H A Dcoda_subr.h35 void coda_free(struct cnode *cp);
44 void coda_save(struct cnode *cp);
45 void coda_unsave(struct cnode *cp);
/netbsd-6-1-5-RELEASE/sys/arch/luna68k/luna68k/
H A Dautoconf.c70 char *cp; local
73 cp = bootarg;
76 if (*cp == '\0')
78 if (*cp == 'E' && memcmp("ENADDR=", cp, 7) == 0) {
82 cp++;
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dsplit_nameval.c67 char *cp; local
86 SKIP(ep, cp, ISSPACE(*cp)); /* skip blanks before '=' */
87 if (*cp != '=') /* need '=' */
90 cp++; /* skip over '=' */
91 SKIP(cp, vp, ISSPACE(*vp)); /* skip leading blanks */
H A Dtranslit.c44 char *cp; local
50 for (cp = string; *cp != 0; cp++) {
52 if (*cp == *op) {
53 *cp = replacement[op - original];
/netbsd-6-1-5-RELEASE/usr.bin/tip/
H A Dhunt.c58 char *cp; local
62 while ((cp = getremote(name)) != NULL) {
75 FD = open(cp, (O_RDWR | (DC ? O_NONBLOCK : 0)));
79 warn("%s", cp);
96 return (cp != NULL);
100 return (deadfl ? -1 : cp != NULL);
/netbsd-6-1-5-RELEASE/usr.sbin/btattach/
H A Dinit_bgb2xx.c60 hci_store_in_nvds_cp cp; local
66 cp.d0 = 0xfe;
67 cp.d1 = 0x06;
68 bt_aton(default_bdaddr, &cp.bdaddr);
70 uart_send_cmd(fd, HCI_CMD_ST_STORE_IN_NVDS, &cp, sizeof(cp));

Completed in 282 milliseconds

1234567891011>>