/external/ipsec-tools/src/racoon/ |
genlist.c | 140 char *cp; 163 for (cp = genlist_next (cf->l2, &gpb); cp; cp = genlist_next (0, &gpb)) 164 printf("%s\n", cp);
|
/external/tcpdump/ |
print-icmp.c | 336 char *cp; local 454 cp = buf + strlen(buf); 458 (void)strncpy(cp, " lifetime ", sizeof(buf) - (cp - buf)); 459 cp = buf + strlen(buf); 462 (void)snprintf(cp, sizeof(buf) - (cp - buf), "%u", 465 (void)snprintf(cp, sizeof(buf) - (cp - buf), "%u:%02u", 468 (void)snprintf(cp, sizeof(buf) - (cp - buf) [all...] |
print-chdlc.c | 146 chdlc_slarp_print(const u_char *cp, u_int length) 155 slarp = (const struct cisco_slarp *)cp; 182 cp += SLARP_MIN_LEN; 183 if (!TTEST2(*cp, 4)) 185 sec = EXTRACT_32BITS(cp) / 1000; 195 print_unknown_data(cp+4,"\n\t",length-4); 202 print_unknown_data(cp+4,"\n\t",length-4);
|
util.c | 243 print_unknown_data(const u_char *cp,const char *ident,int len) 250 if (snapend - cp < len) 251 len = snapend - cp; 257 hex_print(ident,cp,len); 478 register char *cp; local 488 cp = malloc((u_int)buf.st_size + 1); 489 if (cp == NULL) 492 cc = read(fd, cp, (u_int)buf.st_size); 501 if (cp[i] == '#') 502 while (i < cc && cp[i] != '\n' [all...] |
/external/stlport/src/c_locale_win32/ |
c_locale_win32.c | 185 UINT cp; member in struct:_Locale_ctype 191 char cp[MAX_CP_LEN + 1]; member in struct:_Locale_numeric 199 char cp[MAX_CP_LEN + 1]; member in struct:_Locale_time 215 char cp[MAX_CP_LEN + 1]; member in struct:_Locale_collate 220 char cp[MAX_CP_LEN + 1]; member in struct:_Locale_monetary 237 static int __GetLCIDFromName(const char* lname, LCID* lcid, char *cp, _Locale_lcid_t *hint); 238 static char const* __GetLocaleName(LCID lcid, const char* cp, char* buf); 241 static void __GetLocaleInfoUsingACP(LCID lcid, const char* cp, LCTYPE lctype, char* buf, int buf_size, wchar_t* wbuf, int wbuf_size); 327 ltype->cp = atoi(cp_name); 341 if ((UINT)NativeCP != ltype->cp) { 888 char cp[MAX_CP_LEN + 1]; local 1652 char cp[MAX_CP_LEN + 1]; local 1688 char cp[6]; local 1703 char cp[6]; local 1710 int cp = __intGetACP(lcid); local [all...] |
/external/grub/stage2/ |
tparm.c | 336 register const char *cp; local 374 for (cp = string; (cp - string) < (int) len2;) { 375 if (*cp == '%') { 376 cp++; 377 cp = parse_format(cp, format, &len); 378 switch (*cp) { 399 cp++; 400 i = (*cp - '0') [all...] |
/external/icu4c/test/intltest/ |
punyref.c | 52 /* basic(cp) tests whether cp is a basic code point: */ 53 #define basic(cp) ((punycode_uint)(cp) < 0x80) 55 /* delim(cp) tests whether cp is a delimiter: */ 56 #define delim(cp) ((cp) == delimiter) 59 /* decode_digit(cp) returns the numeric value of a basic code */ 61 /* base-1, or base if cp is does not represent a value. * [all...] |
/external/ppp/pppd/plugins/pppoatm/ |
pppoatm.c | 38 static int setdevname_pppoatm(const char *cp, const char **argv, int doit); 58 * 0 if we can't parse "cp" as a valid name of a device 59 * 1 if "cp" is a reasonable thing to name a device 68 int (*old_setdevname_hook)(const char* cp) = NULL; 69 static int setdevname_pppoatm(const char *cp, const char **argv, int doit) 75 //info("PPPoATM setdevname_pppoatm: '%s'", cp); 77 if (text2atm(cp, (struct sockaddr *) &addr, sizeof(addr), 80 info("atm does not recognize: %s", cp); 86 strlcpy(devnam, cp, sizeof devnam); 96 info("PPPoATM setdevname_pppoatm - SUCCESS:%s", cp); [all...] |
/external/stlport/test/unit/ |
multiset_test.cpp | 82 pair<mset::const_iterator, mset::const_iterator> cp; local 84 cp = s.equal_range(5); 85 CPPUNIT_ASSERT(*(cp.first) == 6); 86 CPPUNIT_ASSERT(*(cp.second) == 6); 95 cp = crs.equal_range(5); 96 CPPUNIT_ASSERT(*(cp.first) == 6); 97 CPPUNIT_ASSERT(*(cp.second) == 6);
|
/external/qemu/ |
charpipe.c | 234 CharPipeState* cp = _s_charpipes; local 235 CharPipeState* cp_end = cp + MAX_CHAR_PIPES; 237 for ( ; cp < cp_end; cp++ ) { 238 if ( cp->a->peer == NULL && cp->b->peer == NULL ) 242 if (cp == cp_end) { /* can't allocate one */ 248 charpipehalf_init( cp->a, cp->b ); 249 charpipehalf_init( cp->b, cp->a ) 445 CharPipeState* cp = _s_charpipes; local [all...] |
/external/srec/srec/EventLog/src/ |
riff.c | 108 unsigned char *cp = (unsigned char *) & converted; local 110 *cp ^= *(cp + 3); 111 *(cp + 3) ^= *cp; 112 *cp ^= *(cp + 3); 113 *(cp + 1) ^= *(cp + 2); 114 *(cp + 2) ^= *(cp + 1) 123 unsigned char *cp = (unsigned char *) & converted; local 136 char *cp, *end, tmp; local 151 char *cp, *end; local [all...] |
/external/icu4c/tools/toolutil/ |
ucbuf.c | 52 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, UErrorCode* error){ 63 *cp = ucnv_detectUnicodeSignature(start, numRead, signatureLength, error); 71 if(*cp==NULL){ 77 *conv = ucnv_open(*cp,error); 96 static UBool ucbuf_isCPKnown(const char* cp){ 97 if(ucnv_compareNames("UTF-8",cp)==0){ 100 if(ucnv_compareNames("UTF-16BE",cp)==0){ 103 if(ucnv_compareNames("UTF-16LE",cp)==0){ 106 if(ucnv_compareNames("UTF-16",cp)==0){ 109 if(ucnv_compareNames("UTF-32",cp)==0) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/cdrom/bsdi/ |
SDL_syscdrom.c | 98 unsigned char *cp; local 114 cp = suc.suc_sus.sus_sense; 126 cp[0], cp[1], cp[2], cp[3], cp[4], cp[5], 127 cp[6], cp[7], cp[8], cp[9], cp[10], cp[11] [all...] |
/external/bluetooth/bluez/tools/ |
csr_bcsp.c | 151 unsigned char cp[254], rp[254]; local 170 memset(cp, 0, sizeof(cp)); 171 cp[0] = 0x00; 172 cp[1] = 0xfc; 173 cp[2] = (size * 2) + 1; 174 cp[3] = 0xc2; 175 memcpy(cp + 4, cmd, sizeof(cmd)); 176 memcpy(cp + 14, value, length); 184 memcpy(send_packet.payload, cp, (size * 2) + 4) [all...] |
/external/e2fsprogs/e2fsck/ |
profile_helpers.c | 68 char **cp; local 77 for (cp = list->list; *cp; cp++) 78 free(*cp); 130 char **cp; local 135 for (cp = list; *cp; cp++) 136 free(*cp); [all...] |
/external/e2fsprogs/misc/ |
logsave.c | 72 char buffer[4096], *cp, *sep; local 80 cp = buffer; 81 while (*cp) { 83 cp = strchr(cp, '\002'); 84 if (!cp) 86 cp++; 90 sep = strchr(cp, '\001'); 93 send_output(cp, 0, SEND_LOG); 95 cp = sep + 1 [all...] |
/external/libpcap/ |
pcap-dlpi.c | 463 register char *cp; local 496 cp = strrchr(device, '/'); 497 if (cp == NULL) 500 strlcpy(dname, cp + 1, sizeof(dname)); 506 cp = split_dname(dname, &ppa, ebuf); 507 if (cp == NULL) 509 *cp = '\0'; 522 cp = "/dev/dlpi"; 523 if ((p->fd = open(cp, O_RDWR)) < 0) { 525 "%s: %s", cp, pcap_strerror(errno)) 977 char *cp; local 1549 char *cp; local 1802 register const char *cp; local [all...] |
/external/genext2fs/ |
mkbootimg_ext2.sh | 86 cp -f $KERNEL $TMPDIR/kernel 87 cp -f $RAMDISK $TMPDIR/ramdisk 91 cp -f $GRUBCONF $TMPDIR/boot/grub/menu.lst
|
/external/iptables/extensions/ |
libip6t_ah.c | 58 char *cp; local 61 if ((cp = strchr(buffer, ':')) == NULL) 64 *cp = '\0'; 65 cp++; 68 spis[1] = cp[0] ? parse_ah_spi(cp, "spi") : 0xFFFFFFFF;
|
libip6t_esp.c | 53 char *cp; local 56 if ((cp = strchr(buffer, ':')) == NULL) 59 *cp = '\0'; 60 cp++; 63 spis[1] = cp[0] ? parse_esp_spi(cp) : 0xFFFFFFFF;
|
libip6t_udp.c | 37 char *cp; local 40 if ((cp = strchr(buffer, ':')) == NULL) 43 *cp = '\0'; 44 cp++; 47 ports[1] = cp[0] ? parse_port(cp, "udp") : 0xFFFF;
|
libipt_ah.c | 54 char *cp; local 57 if ((cp = strchr(buffer, ':')) == NULL) 60 *cp = '\0'; 61 cp++; 64 spis[1] = cp[0] ? parse_ah_spi(cp) : 0xFFFFFFFF;
|
libipt_esp.c | 54 char *cp; local 57 if ((cp = strchr(buffer, ':')) == NULL) 60 *cp = '\0'; 61 cp++; 64 spis[1] = cp[0] ? parse_esp_spi(cp) : 0xFFFFFFFF;
|
libipt_udp.c | 38 char *cp; local 41 if ((cp = strchr(buffer, ':')) == NULL) 44 *cp = '\0'; 45 cp++; 48 ports[1] = cp[0] ? parse_port(cp, "udp") : 0xFFFF;
|
/external/ppp/pppd/ |
pppd.h | 724 * cp MUST be u_char *. 726 #define GETCHAR(c, cp) { \ 727 (c) = *(cp)++; \ 729 #define PUTCHAR(c, cp) { \ 730 *(cp)++ = (u_char) (c); \ 734 #define GETSHORT(s, cp) { \ 735 (s) = *(cp)++ << 8; \ 736 (s) |= *(cp)++; \ 738 #define PUTSHORT(s, cp) { \ 739 *(cp)++ = (u_char) ((s) >> 8); [all...] |