Searched refs:cp (Results 1 - 25 of 1406) sorted by relevance

1234567891011>>

/external/chromium_org/tools/gyp/test/mac/postbuilds/
H A Dcopy.sh3 cp "$@"
/external/libunwind/src/mi/
H A Dstrerror.c33 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
[all...]
/external/e2fsprogs/misc/
H A Dbase_device.c43 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, "r
153 char buf[256], *cp; local
[all...]
/external/fio/lib/
H A Dinet_aton.c3 int inet_aton(const char *cp, struct in_addr *inp) argument
5 return inet_pton(AF_INET, cp, inp);
/external/e2fsprogs/intl/
H A Dexplodename.c59 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[
[all...]
/external/e2fsprogs/lib/uuid/
H A Disnull.c40 const unsigned char *cp; local
43 for (i=0, cp = uu; i < 16; i++)
44 if (*cp++)
/external/clang/test/CodeGen/
H A D2010-02-10-PointerName.c7 char *cp = &i; local
/external/clang/test/Parser/
H A Dpointer_promotion.c6 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/
H A Dprint-openflow.c54 of_header_body_print(const u_char *cp, const u_char *ep) { argument
59 if (ep < cp + OF_HEADER_LEN)
62 TCHECK2(*cp, 1);
63 version = *cp;
64 cp += 1;
66 TCHECK2(*cp, 1);
67 type = *cp;
68 cp += 1;
70 TCHECK2(*cp, 2);
71 length = EXTRACT_16BITS(cp);
109 openflow_print(const u_char *cp, const u_int len) argument
[all...]
H A Dprint-zeromq.c78 zmtp1_print_frame(const u_char *cp, const u_char *ep) { argument
83 TCHECK2(*cp, 1); /* length/0xFF */
85 if (cp[0] != 0xFF) {
87 body_len_declared = cp[0];
89 return cp + header_len; /* skip to next frame */
90 printf(" frame flags+body (8-bit) length %u", cp[0]);
91 TCHECK2(*cp, header_len + 1); /* length, flags */
92 flags = cp[1];
96 TCHECK2(*cp, header_len); /* 0xFF, length */
97 body_len_declared = EXTRACT_64BITS(cp
141 zmtp1_print(const u_char *cp, u_int len) argument
166 zmtp1_print_intermediate_part(const u_char *cp, const u_int len) argument
208 zmtp1_print_datagram(const u_char *cp, const u_int len) argument
[all...]
H A Dprint-openflow-1.0.c615 of10_data_print(const u_char *cp, const u_char *ep, const u_int len) { argument
617 return cp;
620 TCHECK2(*cp, len);
622 hex_and_ascii_print("\n\t ", cp, len);
623 return cp + len;
632 of10_vendor_data_print(const u_char *cp, const u_char *ep, const u_int len) { argument
636 TCHECK2(*cp, 4);
637 printf(", vendor 0x%08x", EXTRACT_32BITS(cp));
638 cp += 4;
640 return of10_data_print(cp, e
652 of10_packet_data_print(const u_char *cp, const u_char *ep, const u_int len) argument
673 of10_phy_ports_print(const u_char *cp, const u_char *ep, u_int len) argument
746 of10_queue_props_print(const u_char *cp, const u_char *ep, u_int len) argument
820 of10_queues_print(const u_char *cp, const u_char *ep, u_int len) argument
866 of10_match_print(const char *pfx, const u_char *cp, const u_char *ep) argument
968 of10_actions_print(const char *pfx, const u_char *cp, const u_char *ep, u_int len) argument
1133 of10_features_reply_print(const u_char *cp, const u_char *ep, const u_int len) argument
1169 of10_flow_mod_print(const u_char *cp, const u_char *ep, const u_int len) argument
1225 of10_port_mod_print(const u_char *cp, const u_char *ep) argument
1260 of10_stats_request_print(const u_char *cp, const u_char *ep, u_int len) argument
1342 of10_desc_stats_reply_print(const u_char *cp, const u_char *ep, const u_int len) argument
1387 of10_flow_stats_reply_print(const u_char *cp, const u_char *ep, u_int len) argument
1466 of10_aggregate_stats_reply_print(const u_char *cp, const u_char *ep, const u_int len) argument
1497 of10_table_stats_reply_print(const u_char *cp, const u_char *ep, u_int len) argument
1554 of10_port_stats_reply_print(const u_char *cp, const u_char *ep, u_int len) argument
1637 of10_queue_stats_reply_print(const u_char *cp, const u_char *ep, u_int len) argument
1683 of10_stats_reply_print(const u_char *cp, const u_char *ep, const u_int len) argument
1721 of10_packet_out_print(const u_char *cp, const u_char *ep, const u_int len) argument
1757 of10_packet_in_print(const u_char *cp, const u_char *ep, const u_int len) argument
1788 of10_flow_removed_print(const u_char *cp, const u_char *ep) argument
1840 of10_error_print(const u_char *cp, const u_char *ep, const u_int len) argument
1870 of10_header_body_print(const u_char *cp, const u_char *ep, const uint8_t type, const uint16_t len, const uint32_t xid) argument
[all...]
H A Dprint-domain.c57 ns_nskip(register const u_char *cp) argument
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
89 blabel_print(const u_char *cp) argument
125 labellen(const u_char *cp) argument
148 ns_nprint(register const u_char *cp, register const u_char *bp) argument
232 ns_cprint(register const u_char *cp) argument
320 ns_qprint(register const u_char *cp, register const u_char *bp, int is_mdns) argument
357 ns_rprint(register const u_char *cp, register const u_char *bp, int is_mdns) argument
583 register const u_char *cp; local
[all...]
/external/libpcap/Win32/Src/
H A Dgetnetent.c34 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
[all...]
H A Dgetnetbynm.c30 register char **cp; local
36 for (cp = p->n_aliases; *cp != 0; cp++)
37 if (strcmp(*cp, name) == 0)
H A Dinet_net.c47 inet_network(const char *cp) argument
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...]
H A Dgetservent.c82 register char *cp, **q; local
91 cp = strpbrk(p, "#\n");
92 if (cp == NULL)
94 *cp = '\0';
102 cp = strpbrk(p, ",/");
103 if (cp == NULL)
105 *cp++ = '\0';
107 serv.s_proto = cp;
109 cp = strpbrk(cp, " \
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dversion.c29 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/qemu/util/
H A Dunicode.c51 int cp; local
62 cp = byte; /* one byte sequence */
64 cp = -1; /* impossible bytes 0xFE, 0xFF */
66 cp = -1; /* unexpected continuation byte */
74 cp = byte & (mask - 1);
78 cp = -1; /* continuation byte missing */
82 cp <<= 6;
83 cp |= byte & 0x3F;
85 if (cp > 0x10FFFF) {
86 cp
[all...]
/external/libunwind/src/
H A Dos-linux.h45 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, "/map
101 skip_whitespace(char *cp) argument
112 scan_hex(char *cp, unsigned long *valp) argument
142 scan_dec(char *cp, unsigned long *valp) argument
169 scan_char(char *cp, char *valp) argument
185 scan_string(char *cp, char *valp, size_t buf_size) argument
209 char perm[16], dash = 0, colon = 0, *cp; local
[all...]
/external/strace/qemu_multiarch_testing/hdc.dir/
H A Dinit5 # Had a case where cp SEGVs, let's have diagnostics for it
6 cp -a /mnt /home || { echo "cp: $?"; exit 1; }
/external/e2fsprogs/lib/e2p/
H A Dmntopts.c82 static char *skip_over_blanks(char *cp) argument
84 while (*cp && isspace(*cp))
85 cp++;
86 return cp;
89 static char *skip_over_word(char *cp) argument
91 while (*cp && !isspace(*cp) && *cp != ',')
92 cp
103 char *cp, *buf, *next; local
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Dconfig.py82 cp = configparser.RawConfigParser()
83 cp.read(files)
86 if cp.has_option('run', 'branch'):
87 self.branch = cp.getboolean('run', 'branch')
88 if cp.has_option('run', 'cover_pylib'):
89 self.cover_pylib = cp.getboolean('run', 'cover_pylib')
90 if cp.has_option('run', 'data_file'):
91 self.data_file = cp.get('run', 'data_file')
92 if cp.has_option('run', 'include'):
93 self.include = self.get_list(cp, 'ru
[all...]
/external/e2fsprogs/lib/blkid/
H A Dversion.c27 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/0.153/libebl/
H A Deblmachineflagname.c73 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, machst
[all...]
/external/jsoncpp/src/lib_json/
H A Djson_tool.h19 codePointToUTF8(unsigned int cp) argument
25 if (cp <= 0x7f)
28 result[0] = static_cast<char>(cp);
30 else if (cp <= 0x7FF)
33 result[1] = static_cast<char>(0x80 | (0x3f & cp));
34 result[0] = static_cast<char>(0xC0 | (0x1f & (cp >> 6)));
36 else if (cp <= 0xFFFF)
39 result[2] = static_cast<char>(0x80 | (0x3f & cp));
40 result[1] = 0x80 | static_cast<char>((0x3f & (cp >> 6)));
41 result[0] = 0xE0 | static_cast<char>((0xf & (cp >> 1
[all...]

Completed in 1717 milliseconds

1234567891011>>