/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/expat/xmlwf/ |
codepage.h | 5 int codepageMap(int cp, int *map); 6 int codepageConvert(int cp, const char *p);
|
/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/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/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/e2fsprogs/lib/ext2fs/ |
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');
|
/bionic/libc/netbsd/resolv/ |
res_mkquery.c | 128 register u_char *cp, *ep; local 150 cp = buf + HFIXEDSZ; 162 if (ep - cp < QFIXEDSZ) 164 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, 167 cp += n; 168 ns_put16(type, cp); 169 cp += INT16SZ; 170 ns_put16(class, cp); 171 cp += INT16SZ 238 register u_char *cp, *ep; local [all...] |
res_init.c | 175 register char *cp, **pp; local 179 if ((cp = strchr(statp->defdname, '\n')) != NULL) 180 *cp = '\0'; 181 cp = statp->defdname; 184 while (*cp == ' ' || *cp == '\t') /* skip leading white space */ 185 cp++; 186 if (*cp == '\0') /* stop if nothing more */ 188 *pp++ = cp; /* record this search domain */ 189 while (*cp) { /* zero-terminate it * 211 register char *cp, **pp; local 595 const char *cp = options; local [all...] |
/external/tcpdump/ |
print-domain.c | 57 ns_nskip(register const u_char *cp) 61 if (!TTEST2(*cp, 1)) 63 i = *cp++; 66 return (cp + 1); 72 if (!TTEST2(*cp, 1)) 74 if ((bitlen = *cp++) == 0) 77 cp += bytelen; 79 cp += i; 80 if (!TTEST2(*cp, 1)) 82 i = *cp++ 564 register const u_char *cp; local [all...] |
print-krb.c | 132 krb4_print_hdr(const u_char *cp) 134 cp += 2; 136 #define PRINT if ((cp = c_print(cp, snapend)) == NULL) goto trunc 143 return (cp); 153 krb4_print(const u_char *cp) 159 #define PRINT if ((cp = c_print(cp, snapend)) == NULL) goto trunc 162 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp) [all...] |
print-ip6.c | 56 register const u_char *cp; local 110 cp = (const u_char *)ip6; 113 while (cp < snapend && advance > 0) { 114 cp += advance; 117 if (cp == (const u_char *)(ip6 + 1) && 126 advance = hbhopt_print(cp); 127 nh = *cp; 130 advance = dstopt_print(cp); 131 nh = *cp; 134 advance = frag6_print(cp, (const u_char *)ip6) [all...] |
print-sl.c | 162 print_sl_change(const char *str, register const u_char *cp) 166 if ((i = *cp++) == 0) { 167 i = EXTRACT_16BITS(cp); 168 cp += 2; 171 return (cp); 175 print_sl_winchange(register const u_char *cp) 179 if ((i = *cp++) == 0) { 180 i = EXTRACT_16BITS(cp); 181 cp += 2; 187 return (cp); 194 register const u_char *cp = chdr; local [all...] |
/external/e2fsprogs/lib/e2p/ |
mntopts.c | 77 static char *skip_over_blanks(char *cp) 79 while (*cp && isspace(*cp)) 80 cp++; 81 return cp; 84 static char *skip_over_word(char *cp) 86 while (*cp && !isspace(*cp) && *cp != ',') 87 cp++ 98 char *cp, *buf, *next; local [all...] |
/external/elfutils/libebl/ |
eblmachineflagname.c | 37 char *cp = buf; local 46 if (cp + 1 >= buf + len) 48 *cp++ = ','; 55 snprintf (cp, buf + len - cp, "%#x", flags); 60 if ((size_t) (buf + len - cp) < machstrlen) 62 *((char *) mempcpy (cp, machstr, buf + len - cp - 1)) = '\0'; 66 cp = mempcpy (cp, machstr, machstrlen) [all...] |
/external/libpng/contrib/pngminim/decoder/ |
gather.sh | 0 cp ../../pngminus/png2pnm.c pngm2pnm.c 2 cp ../../../*.h . 3 cp ../../../*.c . 7 cp ../../../../zlib/*.h . 8 cp ../../../../zlib/*.c .
|
/external/libpng/contrib/pngminim/encoder/ |
gather.sh | 0 cp ../../pngminus/pnm2png.c pnm2pngm.c 2 cp ../../../*.h . 3 cp ../../../*.c . 7 cp ../../../../zlib/*.h . 8 cp ../../../../zlib/*.c .
|
/cts/tools/host/test/com/android/cts/ |
CommandParserTest.java | 35 CommandParser cp; local 36 cp = CommandParser.parse(action + " " + option + " " + value); 37 assertEquals(1, cp.getOptionSize()); 38 assertEquals(action, cp.getAction()); 39 assertTrue(cp.containsKey(CTSCommand.OPTION_PLAN)); 40 assertEquals(value, cp.getValue(CTSCommand.OPTION_PLAN)); 54 CommandParser cp; local 55 cp = CommandParser.parse(action + " " + option1 + " " + value1 57 assertEquals(2, cp.getOptionSize()); 58 assertEquals(action, cp.getAction()) 91 CommandParser cp; local 106 CommandParser cp = CommandParser.parse(action + " " + actionValue); local 140 CommandParser cp; local 168 CommandParser cp; local 182 CommandParser cp; local 201 CommandParser cp; local 218 CommandParser cp; local 235 CommandParser cp = CommandParser.parse(action + " " + actionValue1 + " " local 257 CommandParser cp; local [all...] |
/external/iproute2/doc/ |
do-psnup | 14 echo "cp $1 $2" 15 cp $1 $2
|
/external/tcpdump/missing/ |
inet_aton.c | 56 inet_aton(const char *cp, struct in_addr *addr) 58 addr->s_addr = inet_addr(cp);
|
/system/core/sh/ |
machdep.h | 42 #define SHELL_SIZE (sizeof(union {int i; char *cp; double d; }) - 1)
|
/external/libpng/contrib/pngminim/preader/ |
gather.sh | 0 cp ../../gregbook/rpng2-x.c ../../gregbook/readpng2.[ch] . 2 cp ../../gregbook/COPYING ../../gregbook/LICENSE . 3 cp ../../../*.h . 4 cp ../../../*.c . 8 cp ../../../../zlib/*.h . 9 cp ../../../../zlib/*.c .
|
/bionic/libc/netbsd/net/ |
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/e2fsprogs/resize/ |
test_extent.c | 22 char *cp, *cmd, *arg1, *arg2; local 43 cp = strchr(buf, '\n'); 44 if (cp) 45 *cp = '\0'; 53 cp = strchr(buf, ' '); 54 if (cp) { 55 *cp++ = '\0'; 56 arg1 = cp; 59 cp = strchr(cp, ' '); [all...] |
/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);
|