/external/libunwind/src/mi/ |
strerror.c | 33 const char *cp; local 37 case UNW_ESUCCESS: cp = "no error"; break; 38 case UNW_EUNSPEC: cp = "unspecified (general) error"; break; 39 case UNW_ENOMEM: cp = "out of memory"; break; 40 case UNW_EBADREG: cp = "bad register number"; break; 41 case UNW_EREADONLYREG: cp = "attempt to write read-only register"; break; 42 case UNW_ESTOPUNWIND: cp = "stop unwinding"; break; 43 case UNW_EINVALIDIP: cp = "invalid IP"; break; 44 case UNW_EBADFRAME: cp = "bad frame"; break; 45 case UNW_EINVAL: cp = "unsupported operation or bad value"; break [all...] |
/external/e2fsprogs/misc/ |
base_device.c | 44 char *str, *cp; local 52 cp = str; 55 if (strncmp(cp, "/dev/", 5) != 0) 57 cp += 5; 60 if (strncmp(cp, "dsk/", 4) == 0) 61 cp += 4; 67 if (cp[0] == 'm' && cp[1] == 'd') { 68 *(cp+2) = 0; 73 if (strncmp(cp, "rd/", 3) == 0) 154 char buf[256], *cp; local [all...] |
/external/fio/lib/ |
inet_aton.c | 3 int inet_aton(const char *cp, struct in_addr *inp) 5 return inet_pton(AF_INET, cp, inp);
|
/external/e2fsprogs/intl/ |
explodename.c | 59 char *cp; local 75 *language = cp = name; 76 cp = _nl_find_language (*language); 78 if (*language == cp) 81 cp = strchr (*language, '\0'); 82 else if (cp[0] == '_') 85 cp[0] = '\0'; 86 *territory = ++cp; 88 while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@ [all...] |
/toolchain/binutils/binutils-2.25/intl/ |
explodename.c | 66 char *cp; local 82 *language = cp = name; 83 cp = _nl_find_language (*language); 85 if (*language == cp) 88 cp = strchr (*language, '\0'); 89 else if (cp[0] == '_') 92 cp[0] = '\0'; 93 *territory = ++cp; 95 while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@ [all...] |
/external/e2fsprogs/lib/uuid/ |
isnull.c | 41 const unsigned char *cp; local 44 for (i=0, cp = uu; i < 16; i++) 45 if (*cp++)
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
memrchr.c | 28 const unsigned char *cp; variable 31 cp = (unsigned char *)s + n; 33 if (*(--cp) == (unsigned char)c) 34 return((void *)cp);
|
/external/clang/test/CodeGen/ |
2010-02-10-PointerName.c | 7 char *cp = &i; local
|
/external/clang/test/Parser/ |
pointer_promotion.c | 6 char *cp; local 11 if (ip < cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}} 12 if (cp < fp) {} // expected-warning {{comparison of distinct pointer types ('char *' and 'struct foo *')}} 16 if (ip == cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}}
|
/external/tcpdump/ |
print-aoe.c | 146 const u_char *cp, const u_int len) 148 const u_char *ep = cp + len; 153 ND_TCHECK2(*cp, 1); 154 ND_PRINT((ndo, "\n\tAFlags: [%s]", bittok2str(aoev1_aflag_str, "none", *cp))); 155 cp += 1; 157 ND_TCHECK2(*cp, 1); 158 ND_PRINT((ndo, ", Err/Feature: %u", *cp)); 159 cp += 1; 161 ND_TCHECK2(*cp, 1); 162 ND_PRINT((ndo, ", Sector Count: %u", *cp)); [all...] |
print-ahcp.c | 103 ahcp_time_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) 109 if (cp + 4 != ep) 111 ND_TCHECK2(*cp, 4); 112 t = EXTRACT_32BITS(cp); 123 ND_TCHECK2(*cp, ep - cp); 131 ahcp_seconds_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) 133 if (cp + 4 != ep) 135 ND_TCHECK2(*cp, 4); 136 ND_PRINT((ndo, ": %us", EXTRACT_32BITS(cp))); [all...] |
print-loopback.c | 58 loopback_message_print(netdissect_options *ndo, const u_char *cp, const u_int len) 60 const u_char *ep = cp + len; 66 ND_TCHECK2(*cp, 2); 67 function = EXTRACT_LE_16BITS(cp); 68 cp += 2; 76 ND_TCHECK2(*cp, 2); 77 ND_PRINT((ndo, ", receipt number %u", EXTRACT_LE_16BITS(cp))); 78 cp += 2; 81 ND_TCHECK2(*cp, len - 4); 87 ND_TCHECK2(*cp, ETHER_ADDR_LEN) [all...] |
print-openflow.c | 79 of_header_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) 85 if (ep < cp + OF_HEADER_LEN) 88 ND_TCHECK2(*cp, 1); 89 version = *cp; 90 cp += 1; 92 ND_TCHECK2(*cp, 1); 93 type = *cp; 94 cp += 1; 96 ND_TCHECK2(*cp, 2); 97 length = EXTRACT_16BITS(cp); [all...] |
print-domain.c | 53 register const u_char *cp) 57 if (!ND_TTEST2(*cp, 1)) 59 i = *cp++; 62 return (cp + 1); 68 if (!ND_TTEST2(*cp, 1)) 70 if ((bitlen = *cp++) == 0) 73 cp += bytelen; 75 cp += i; 76 if (!ND_TTEST2(*cp, 1)) 78 i = *cp++ 583 register const u_char *cp; local [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getprotoent.c | 77 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...] |
res_init.c | 155 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 == ' ' || *cp == '\t') { 445 char *cp = options; local [all...] |
/external/libpcap/Win32/Src/ |
getnetent.c | 34 extern u_int32_t inet_network(const char *cp); 61 register char *cp, **q; local 71 cp = any(p, "#\n"); 72 if (cp == NULL) 74 *cp = '\0'; 76 cp = any(p, " \t"); 77 if (cp == NULL) 79 *cp++ = '\0'; 80 while (*cp == ' ' || *cp == '\t' [all...] |
getnetbynm.c | 30 register char **cp; local 36 for (cp = p->n_aliases; *cp != 0; cp++) 37 if (strcmp(*cp, name) == 0)
|
inet_net.c | 47 inet_network(const char *cp) 65 if (*cp == '0') { 66 if (*++cp == 'x' || *cp == 'X') 67 base = 16, cp++; 71 while ((c = *cp)) { 74 cp++; 79 cp++; 84 if (*cp == '.') { 87 *pp++ = val, cp++ [all...] |
/external/e2fsprogs/lib/ext2fs/ |
version.c | 30 const char *cp; local 33 for (cp = ver_string; *cp; cp++) { 34 if (*cp == '.') { 40 if (!isdigit(*cp)) 42 version = (version * 10) + (*cp - '0');
|
/external/pdfium/third_party/libtiff/ |
tif_swab.c | 38 register unsigned char* cp = (unsigned char*) wp; local 41 t = cp[1]; cp[1] = cp[0]; cp[0] = t; 49 register unsigned char* cp = (unsigned char*) lp; local 52 t = cp[3]; cp[3] = cp[0]; cp[0] = t 61 register unsigned char* cp = (unsigned char*) lp; local 75 register unsigned char* cp; local 91 unsigned char* cp; local 107 register unsigned char *cp; local 124 register unsigned char *cp; local 143 register unsigned char* cp = (unsigned char*) fp; local 155 register unsigned char *cp; local 172 register unsigned char* cp = (unsigned char*) dp; local 186 register unsigned char *cp; local [all...] |
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcscat.c | 42 wchar_t *cp; local 44 cp = s1; 45 while (*cp != L'\0') 46 cp++; 47 while ((*cp++ = *s2++) != L'\0')
|
/external/openssh/openbsd-compat/ |
strnlen.c | 30 const char *cp; local 32 for (cp = str; maxlen != 0 && *cp != '\0'; cp++, maxlen--) 35 return (size_t)(cp - str);
|
/bionic/libc/dns/resolv/ |
res_mkquery.c | 127 register u_char *cp, *ep; local 149 cp = buf + HFIXEDSZ; 161 if (ep - cp < QFIXEDSZ) 163 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, 166 cp += n; 167 ns_put16(type, cp); 168 cp += INT16SZ; 169 ns_put16(class, cp); 170 cp += INT16SZ 237 register u_char *cp, *ep; local [all...] |
/external/libunwind/src/ |
os-linux.h | 45 char *cp = buf, tmp; local 50 *cp++ = '0' + (val % 10); 56 len = cp - buf; 57 --cp; 61 buf[i] = cp[-i]; 62 cp[-i] = tmp; 70 char path[sizeof ("/proc/0123456789/maps")], *cp; local 73 cp = ltoa (path + 6, pid); 74 assert (cp + 6 < path + sizeof (path)); 75 memcpy (cp, "/maps", 6) 209 char perm[16], dash = 0, colon = 0, *cp; local [all...] |