/bionic/libc/wchar/ |
wcscat.c | 42 wchar_t *cp; local 44 cp = s1; 45 while (*cp != L'\0') 46 cp++; 47 while ((*cp++ = *s2++) != L'\0')
|
wcscpy.c | 42 wchar_t *cp; local 44 cp = s1; 45 while ((*cp++ = *s2++) != L'\0')
|
/external/clang/test/Sema/ |
format-strings-non-iso.c | 7 char *cp; local 14 scanf("%ms", &cp); // expected-warning{{'m' length modifier is not supported by ISO C}}
|
/bionic/libc/netbsd/net/ |
getservbyname_r.c | 53 char **cp; local 62 for (cp = s->s_aliases; *cp; cp++) 63 if (strcmp(name, *cp) == 0)
|
getservent_r.c | 84 char *p, *cp, **q; local 106 cp = strpbrk(p, ",/"); 107 if (cp == NULL) 109 *cp++ = '\0'; 111 sp->s_proto = cp; 123 cp = strpbrk(cp, " \t"); 124 if (cp != NULL) 125 *cp++ = '\0'; 126 while (cp && *cp) [all...] |
/external/clang/test/CodeGen/ |
2010-02-10-PointerName.c | 5 char *cp = &i; local
|
/external/compiler-rt/BlocksRuntime/tests/ |
cast.c | 26 char *cp; local 30 cp = (char *)aBlock; 33 aBlock = (void (^)(void))cp;
|
/external/e2fsprogs/lib/ext2fs/ |
crc16.c | 61 const unsigned char *cp = buffer; local 71 crc16_table[(crc ^ *cp++) & 0xffU]) & 0x0000ffffU;
|
version.c | 29 const char *cp; local 32 for (cp = ver_string; *cp; cp++) { 33 if (*cp == '.') { 39 if (!isdigit(*cp)) 41 version = (version * 10) + (*cp - '0');
|
/external/e2fsprogs/lib/uuid/ |
isnull.c | 40 const unsigned char *cp; local 43 for (i=0, cp = uu; i < 16; i++) 44 if (*cp++)
|
parse.c | 46 const char *cp; local 51 for (i=0, cp = in; i <= 36; i++,cp++) { 54 if (*cp == '-') 60 if (*cp == 0) 62 if (!isxdigit(*cp)) 69 cp = in+24; 72 buf[0] = *cp++; 73 buf[1] = *cp++;
|
/external/v8/test/mjsunit/ |
this-in-callbacks.js | 34 function cp(x, y) { function 39 [1, 2].sort(cp);
|
/external/icu4c/test/intltest/ |
utxttest.h | 41 UChar32 cp; member in struct:UTextTest::m
|
/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/e2fsprogs/lib/blkid/ |
version.c | 27 const char *cp; local 30 for (cp = ver_string; *cp; cp++) { 31 if (*cp == '.') 33 if (!isdigit(*cp)) 35 version = (version * 10) + (*cp - '0');
|
/external/elfutils/libebl/ |
eblmachineflagname.c | 73 char *cp = buf; local 82 if (cp + 1 >= buf + len) 84 *cp++ = ','; 91 snprintf (cp, buf + len - cp, "%#x", flags); 96 if ((size_t) (buf + len - cp) < machstrlen) 98 *((char *) mempcpy (cp, machstr, buf + len - cp - 1)) = '\0'; 102 cp = mempcpy (cp, machstr, machstrlen) [all...] |
/external/iproute2/lib/ |
ll_addr.c | 77 char *cp = strchr(arg, ':'); local 78 if (cp) { 79 *cp = 0; 80 cp++; 91 if (!cp) 93 arg = cp;
|
/bionic/libc/stdlib/ |
getenv.c | 51 char **p, *cp; local 58 for (p = environ; (cp = *p) != NULL; ++p) { 59 for (np = name, i = len; i && *cp; i--) 60 if (*cp++ != *np++) 62 if (i == 0 && *cp++ == '=') { 64 return (cp);
|
/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...] |
/external/e2fsprogs/lib/ss/ |
error.c | 39 register char *cp; local 45 cp = ret_val; 48 *cp++ = *cp1++; 49 *cp++ = ' '; 50 *cp++ = '('; 53 *cp++ = *cp1++; 54 *cp++ = ')'; 55 *cp = '\0';
|
parse.c | 50 register char **argv, *cp; local 65 cp = line_ptr; /* cp is for output */ 82 cp = line_ptr++; 84 argv[argc++] = cp; 90 cp = line_ptr; 98 *cp++ = '\0'; 102 *cp++ = '\0'; 111 *cp++ = *line_ptr++; 124 *cp++ = '"' [all...] |
/external/e2fsprogs/misc/ |
base_device.c | 43 char *str, *cp; local 51 cp = str; 54 if (strncmp(cp, "/dev/", 5) != 0) 56 cp += 5; 59 if (strncmp(cp, "dsk/", 4) == 0) 60 cp += 4; 66 if (cp[0] == 'm' && cp[1] == 'd') { 67 *(cp+2) = 0; 72 if (strncmp(cp, "rd/", 3) == 0) 153 char buf[256], *cp; local [all...] |
/external/icu4c/samples/layout/ |
UnicodeReader.cpp | 35 const char *cp = ""; local 53 cp = "UTF-16BE"; 57 cp = "UTF-32LE"; 60 cp = "UTF-16LE"; 64 cp = "UTF-8"; 67 cp = "SCSU"; 71 cp = "UTF-32BE"; 102 UnicodeString myText(byteBuffer, fileSize, cp);
|
/external/oprofile/libop/ |
op_parse_event.c | 65 char const * cp = events[i]; local 66 char * part = next_part(&cp); 76 fprintf(stderr, "Invalid event %s\n", cp); 82 part = next_part(&cp); 93 part = next_part(&cp); 102 part = next_part(&cp); 110 part = next_part(&cp);
|
/external/valgrind/main/coregrind/m_ume/ |
script.c | 86 Char* cp; local 109 for (cp = interp; cp < end && !VG_(isspace)(*cp); cp++) 112 eol = (*cp == '\n'); 114 *cp++ = '\0'; 116 if (!eol && cp < end) { 118 while (cp < end && VG_(isspace)(*cp) && *cp != '\n' [all...] |