/netbsd-6-1-5-RELEASE/sys/arch/hp300/stand/common/ |
H A D | cons.c | 72 struct consdev *cp; local 77 for (cp = constab; cp->cn_probe; cp++) { 78 (*cp->cn_probe)(cp); 79 if (cp->cn_pri > CN_DEAD && 80 (cn_tab == NULL || cp->cn_pri > cn_tab->cn_pri)) { 81 cn_tab = cp;
|
/netbsd-6-1-5-RELEASE/lib/libc/inet/ |
H A D | _inet_aton.c | 24 inet_aton(const char *cp, struct in_addr *addr) 27 return _inet_aton(cp, addr);
|
/netbsd-6-1-5-RELEASE/games/larn/ |
H A D | bill.c | 127 const char **cp; local 133 cp = mail; 138 while (*cp != NULL) { 139 if (*cp[0] == '1') { 144 } else if (*cp[0] == '2') { 150 write(fd, *cp, strlen(*cp)); 151 cp++; 153 cp++;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/ |
H A D | findprog.c | 51 char *cp; 66 for (dir = path; ; dir = cp + 1) 72 for (cp = dir; *cp != '\0' && *cp != ':'; cp++) 74 last = (*cp == '\0'); 75 *cp = '\0'; 78 if (dir == cp)
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/ |
H A D | is_header.c | 50 const unsigned char *cp; local 67 for (len = 0, state = INIT, cp = CU_CHAR_PTR(str); /* see below */; cp++) { 70 switch (c = *cp) {
|
H A D | quote_822_local.c | 89 const char *cp; local 102 for (cp = local_part; cp < end && (ch = *(unsigned char *) cp) != 0; cp++) { 103 if (ch == '.' && (cp + 1) < end && cp[1] == '.') 119 if (cp[-1] == '.') 129 const char *cp; local 137 for (cp 185 const char *cp; local [all...] |
H A D | header_token.c | 114 const unsigned char *cp; local 124 cp = CU_CHAR_PTR(*ptr); 136 while ((ch = *cp) != 0 && (user_terminator != 0 || tok_count < token_len)) { 137 cp++; 156 while ((ch = *cp) != 0) { 157 cp++; 164 if ((ch = *cp) == 0) 166 cp++; 180 while ((ch = *cp) != 0) { 181 cp [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | unvis.c | 94 rk_unvis(char *cp, int c, int *astate, int flag) argument 97 _DIAGASSERT(cp != NULL); 111 *cp = 0; 116 *cp = c; 122 *cp = c; 127 *cp = (c - '0'); 131 *cp = (u_char)0200; 138 *cp = '\n'; 142 *cp = '\r'; 146 *cp [all...] |
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/smtpd/ |
H A D | smtpd_token.c | 71 static char *smtp_quoted(char *cp, SMTPD_TOKEN *arg, int start, int last) argument 93 if ((c = *cp) == 0) 95 cp++; 98 if ((c = *cp) == 0) 100 cp++; 104 return (cp); 113 return (cp); 116 /* smtp_next_token - extract next token from input, update cp */ 118 static char *smtp_next_token(char *cp, SMTPD_TOKEN *arg) argument 130 if ((c = *cp) 177 smtpd_token(char *cp, SMTPD_TOKEN **argvp) argument [all...] |
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/ |
H A D | valid_hostname.c | 83 const char *cp; local 101 for (cp = name; (ch = *(unsigned char *) cp) != 0; cp++) { 114 if (label_length == 0 || cp[1] == 0) { 123 if (label_length == 1 || cp[1] == 0 || cp[1] == '.') { 150 if (cp - name > VALID_HOSTNAME_LEN) { 153 myname, (int) (cp - name), name); 187 const char *cp; local 252 unsigned char *cp = (unsigned char *) addr; local [all...] |
H A D | base64_code.c | 70 const unsigned char *cp; local 77 for (cp = UNSIG_CHAR_PTR(in), count = len; count > 0; count -= 3, cp += 3) { 78 VSTRING_ADDCH(result, to_b64[cp[0] >> 2]); 80 VSTRING_ADDCH(result, to_b64[(cp[0] & 0x3) << 4 | cp[1] >> 4]); 82 VSTRING_ADDCH(result, to_b64[(cp[1] & 0xf) << 2 | cp[2] >> 6]); 83 VSTRING_ADDCH(result, to_b64[cp[2] & 0x3f]); 85 VSTRING_ADDCH(result, to_b64[(cp[ 105 const unsigned char *cp; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/ |
H A D | hesiod.c | 80 char *cp; local 111 if ((cp = getenv("HES_DOMAIN")) != NULL) { 112 size_t RHSlen = strlen(cp) + 2; 120 if (cp[0] == '.') { 121 strcpy(ctx->RHS, cp); /* (checked) */ 124 strcat(ctx->RHS, cp); /* (checked) */ 179 const char *RHS, *cp; local 181 /* Decide what our RHS is, and set cp to the end of the actual name. */ 182 if ((cp = strchr(name, '@')) != NULL) { 183 if (strchr(cp 275 char *key, *data, *cp, **cpp; local 354 u_char *cp, *erdata, *eom; local [all...] |
/netbsd-6-1-5-RELEASE/lib/libc/resolv/ |
H A D | res_init.c | 199 register char *cp, **pp; local 293 char buf[sizeof(statp->defdname)], *cp; local 300 cp = strchr(buf, '.'); 301 cp = (cp == NULL) ? buf : (cp + 1); 302 (void)strlcpy(statp->defdname, cp, 309 if ((cp = getenv("LOCALDOMAIN")) != NULL) { 310 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); 321 cp 599 const char *cp = options; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/compat/ |
H A D | unvis.c | 54 unvis(char *cp, char c, int *astate, int flag) argument 68 *cp = 0; 73 *cp = c; 79 *cp = c; 84 *cp = (c - '0'); 88 *cp = (char) 0200; 95 *cp = '\n'; 99 *cp = '\r'; 103 *cp = '\b'; 107 *cp [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/mail/ |
H A D | list.c | 98 const char *cp; local 103 cp = line; 105 cp = skip_WSP(cp); 106 if (*cp == '\0') 115 while ((c = *cp) != '\0') { 116 cp++; 121 switch (c = *cp++) { 124 cp--; 129 if (*cp > 267 get_colmod(int colmod, char *cp) argument 321 char *cp, *cp2; local 450 const char *cp; local 523 char *cp; local 784 char *cp; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/pmax/pmax/ |
H A D | promcall.c | 174 char *cp; local 180 cp = prom_getenv("systype"); 181 return (cp != NULL) ? strtoul(cp, NULL, 0) : 0; 224 char *cp; local 227 cp = prom_getenv(scsiid_var); 228 return (cp != NULL) ? strtoul(cp, NULL, 0) : DEFAULT_SCSIID; 237 char *cp; local 246 cp [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/vis/ |
H A D | vis.c | 159 char *cp = nul + 1; /* so *(cp-1) starts out != '\n' */ local 167 cp = buff; 168 *cp++ = c; 170 *cp++ = '\\'; 171 *cp = '\0'; 173 cp = buff; 175 *cp++ = '\\'; 176 *cp++ = '$'; 177 *cp [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/shark/shark/ |
H A D | autoconf.c | 95 char devname[16], *cp; local 107 cp = name; 108 while (*cp >= '0' && *cp <= '9') 109 unit = (unit * 10) + (*cp++ - '0'); 110 if (cp == name) 113 if (*cp >= 'a' && *cp <= ('a' + MAXPARTITIONS)) 114 part = *cp - 'a'; 115 else if (*cp ! [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/hpcarm/hpcarm/ |
H A D | autoconf.c | 79 const char *cp; local 91 cp = name; 92 while (*cp >= '0' && *cp <= '9') 93 unit = (unit * 10) + (*cp++ - '0'); 94 if (cp == name) 97 if (*cp >= 'a' && *cp <= ('a' + MAXPARTITIONS)) 98 part = *cp - 'a'; 99 else if (*cp ! [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/cats/cats/ |
H A D | autoconf.c | 74 const char *cp; local 86 cp = name; 87 while (*cp >= '0' && *cp <= '9') 88 unit = (unit * 10) + (*cp++ - '0'); 89 if (cp == name) 92 if (*cp >= 'a' && *cp <= ('a' + MAXPARTITIONS)) 93 part = *cp - 'a'; 94 else if (*cp ! [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/emips/stand/common/ |
H A D | raw.c | 87 char *file, *cp; local 107 cp = file; 108 cp = getxnum(cp,&start_sector); 109 if (cp == NULL) goto Bad; 110 cp = getxnum(cp,§or_count); 111 if (cp == NULL) goto Bad; 112 cp = getxnum(cp, [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/acorn32/acorn32/ |
H A D | autoconf.c | 83 char devname[16], *cp; local 95 cp = name; 96 while (*cp >= '0' && *cp <= '9') 97 unit = (unit * 10) + (*cp++ - '0'); 98 if (cp == name) 101 if (*cp >= 'a' && *cp <= ('a' + MAXPARTITIONS)) 102 part = *cp - 'a'; 103 else if (*cp ! [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/ |
H A D | print-ip6.c | 87 register const u_char *cp; local 141 cp = (const u_char *)ip6; 144 while (cp < snapend && advance > 0) { 145 cp += advance; 148 if (cp == (const u_char *)(ip6 + 1) && 157 advance = hbhopt_print(cp); 158 nh = *cp; 161 advance = dstopt_print(cp); 162 nh = *cp; 165 advance = frag6_print(cp, (cons [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/ofppc/stand/ofwboot/ |
H A D | ofdev.c | 67 char *cp, *lp; local 75 for (cp = str; *cp; lp = cp) { 78 while (*++cp && *cp != '/') 80 savec = *cp; 81 *cp = 0; 85 *cp = savec; 96 for (cp 193 char *cp; local [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/btkey/ |
H A D | device.c | 167 hci_read_stored_link_key_cp cp; local 169 bdaddr_copy(&cp.bdaddr, BDADDR_ANY); 170 cp.read_all = 0x01; 173 &cp, sizeof(cp), list_device_cc, 205 hci_read_stored_link_key_cp cp; local 207 bdaddr_copy(&cp.bdaddr, &raddr); 208 cp.read_all = 0x00; 211 &cp, sizeof(cp), read_device_c 234 struct stored_link_keys cp; local 264 hci_delete_stored_link_key_cp cp; local [all...] |