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

1234

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dfgetln.c65 char *cp; local
68 cp = __fgetstr(fp, lenp, '\n');
70 return cp;
H A Dfparseln.c80 const char *cp; local
91 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++)
111 char *ptr, *cp; local
149 for (cp = ptr; cp < ptr + s; cp++)
150 if (*cp == com && !isescaped(ptr, cp, es
[all...]
/vbox/src/libs/xpcom18a4/xpcom/tests/utils/
H A Dcp.js26 function cp(source, dest, followLinks, newName) function
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dgetprotoname.c47 register char **cp; local
53 for (cp = p->p_aliases; *cp != 0; cp++)
54 if (strcmp(*cp, name) == 0)
H A Dgetservbyname.c46 register char **cp; local
60 for (cp = p->s_aliases; *cp; cp++)
61 if (strcmp(name, *cp) == 0)
H A Dgetprotoent.c77 register char *cp, **q; local
86 cp = strpbrk(p, "#\n");
87 if (cp == NULL)
89 *cp = '\0';
91 cp = strpbrk(p, " \t");
92 if (cp == NULL)
94 *cp++ = '\0';
95 while (*cp == ' ' || *cp == '\t')
96 cp
[all...]
H A Dns_ntoa.c52 register char *cp; local
59 cp = spectHex(obuf);
60 cp2 = cp + 1;
64 sprintf(cp, ".0");
65 cp += 2;
68 sprintf(cp, ".%x", *up++);
70 while (*cp) cp++;
71 sprintf(cp, "%02x", *up++);
73 cp
[all...]
H A Dgetnetbyht.c93 register char *cp, **q; local
103 cp = strpbrk(p, "#\n");
104 if (cp == NULL)
106 *cp = '\0';
108 cp = strpbrk(p, " \t");
109 if (cp == NULL)
111 *cp++ = '\0';
112 while (*cp == ' ' || *cp == '\t')
113 cp
141 register char **cp; local
[all...]
H A Dres_mkquery.c116 register u_char *cp; local
140 cp = buf + HFIXEDSZ;
154 if ((n = dn_comp(dname, cp, buflen, dnptrs, lastdnptr)) < 0)
156 cp += n;
158 __putshort((u_int16_t)type, cp);
159 cp += INT16SZ;
160 __putshort((u_int16_t)class, cp);
161 cp += INT16SZ;
169 n = dn_comp((char *)data, cp, buflen, dnptrs, lastdnptr);
172 cp
[all...]
H A Dgethostbyht.c114 register char *cp, **q; local
128 if ( NULL == (cp = strpbrk(p, "#\n")))
130 *cp = '\0';
131 if ( NULL == (cp = strpbrk(p, " \t")))
133 *cp++ = '\0';
154 while (*cp == ' ' || *cp == '\t')
155 cp++;
156 host.h_name = cp;
158 if ((cp
179 register char **cp; local
[all...]
H A Dgethostbynis.c60 register char *cp, **q; local
89 if ((cp = index(result, '\n')))
90 *cp = '\0';
92 cp = strpbrk(result, " \t");
93 *cp++ = '\0';
99 while (*cp == ' ' || *cp == '\t')
100 cp++;
101 h.h_name = cp;
103 cp
[all...]
H A Dgetnetbynis.c59 register char *cp, **q; local
87 if ((cp = index(result, '\n')))
88 *cp = '\0';
90 cp = strpbrk(result, " \t");
91 *cp++ = '\0';
94 while (*cp == ' ' || *cp == '\t')
95 cp++;
97 h.n_net = inet_network(cp);
101 cp
131 char *str, *cp; local
[all...]
H A Dres_init.c155 register char *cp, **pp; local
215 if (issetugid() == 0 && (cp = getenv("LOCALDOMAIN")) != NULL)
217 if ((cp = getenv("LOCALDOMAIN")) != NULL)
220 (void)strncpy(_res.defdname, cp, sizeof(_res.defdname) - 1);
231 cp = _res.defdname;
233 *pp++ = cp;
234 for (n = 0; *cp && pp < _res.dnsrch + MAXDNSRCH; cp++) {
235 if (*cp == '\n') /* silly backwards compat */
237 else if (*cp
445 char *cp = options; local
[all...]
H A Dgethostnamadr.c88 char *cp, *p, buf[BUFSIZ]; local
103 while ((cp = strsep(&p, "\n \t,:;")) != NULL && *cp == '\0')
105 if (cp == NULL)
108 if (isalpha(cp[0])) {
109 service_order[cc] = get_service_name(cp);
113 while ((cp = strsep(&p, "\n \t,:;")) != NULL && *cp == '\0')
115 } while(cp != NULL && cc < SERVICE_MAX);
H A Dgetnetnamadr.c84 char *cp, *p, buf[BUFSIZ]; local
98 while ((cp = strsep(&p, "\n \t,:;")) != NULL && *cp == '\0')
100 if (cp == NULL)
103 if (isalpha(cp[0])) {
104 service_order[cc] = get_service_name(cp);
108 while ((cp = strsep(&p, "\n \t,:;")) != NULL && *cp == '\0')
110 } while(cp != NULL && cc < SERVICE_MAX);
H A Dgetservent.c212 register char *cp, **q; local
243 cp = strpbrk(p, "#\n");
244 if (cp == NULL)
246 *cp = '\0';
254 cp = strpbrk(p, ",/");
255 if (cp == NULL)
257 *cp++ = '\0';
259 serv.s_proto = cp;
261 cp = strpbrk(cp, " \
[all...]
H A Dns_addr.c66 char *hostname, *socketname, *cp; local
82 if ((cp = strchr(buf, ':')) &&
83 ((hostname && cp < hostname) || (hostname == 0))) {
84 hostname = cp;
H A Dres_query.c205 const char *cp, * const *domain; local
218 for (cp = name; *cp; cp++)
219 dots += (*cp == '.');
221 if (cp > name && *--cp == '.')
225 if (!dots && (cp = hostalias(name)) != NULL)
226 return (res_query(cp, class, type, answer, anslen));
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestID.cpp63 char* cp = id.ToString(); local
64 if (NULL == cp) {
68 if (0 != PL_strcmp(cp, ids[4*(i/4) + 3])) {
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/NetUtil/
H A Dinet_addr.c112 inet_addr(const char *cp) {
115 if (inet_aton(cp, &val))
121 * Check whether "cp" is a valid ascii representation
128 inet_aton(const char *cp, struct in_addr *addr) { argument
136 c = *cp;
147 c = *++cp;
149 base = 16, c = *++cp;
160 c = *++cp;
166 c = *++cp;
181 c = *++cp;
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dmisc.c16 int inet_aton ( const char *cp, struct in_addr *inp ) { argument
17 const char *p = cp;
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv6/
H A Dip6_addr.c64 * Check whether "cp" is a valid ascii representation
68 * @param cp IPv6 address in ascii represenation (e.g. "FF01::1")
70 * @return 1 if cp could be converted to addr, 0 on failure
73 ip6addr_aton(const char *cp, ip6_addr_t *addr) argument
81 for (s = cp; *s != 0; s++) {
92 for (s = cp; *s != 0; s++) {
/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/
H A Dvj.c82 *cp++ = 0; \
83 cp[1] = (n); \
84 cp[0] = (n) >> 8; \
85 cp += 2; \
87 *cp++ = (n); \
92 *cp++ = 0; \
93 cp[1] = (n); \
94 cp[0] = (n) >> 8; \
95 cp += 2; \
97 *cp
153 register u_char *cp = new_seq; local
459 u_char *cp; local
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv4/
H A Dip4_addr.c126 * @param cp IP address in ascii represenation (e.g. "127.0.0.1")
130 ipaddr_addr(const char *cp) argument
134 if (ipaddr_aton(cp, &val)) {
141 * Check whether "cp" is a valid ascii representation
147 * @param cp IP address in ascii represenation (e.g. "127.0.0.1")
149 * @return 1 if cp could be converted to addr, 0 on failure
152 ipaddr_aton(const char *cp, ip_addr_t *addr) argument
160 c = *cp;
172 c = *++cp;
175 c = *++cp;
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dvj.c80 *cp++ = 0; \
81 cp[1] = (u_char)(n); \
82 cp[0] = (u_char)((n) >> 8); \
83 cp += 2; \
85 *cp++ = (u_char)(n); \
90 *cp++ = 0; \
91 cp[1] = (u_char)(n); \
92 cp[0] = (u_char)((n) >> 8); \
93 cp += 2; \
95 *cp
149 register u_char *cp = new_seq; local
466 u_char *cp; local
[all...]

Completed in 1538 milliseconds

1234