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

1234567891011>>

/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-aoe.c146 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));
145 aoev1_issue_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
209 aoev1_query_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
258 aoev1_mac_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
309 aoev1_reserve_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
345 aoev1_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
402 aoe_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
[all...]
H A Dprint-ahcp.c103 ahcp_time_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
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) argument
133 if (cp + 4 != ep)
135 ND_TCHECK2(*cp, 4);
136 ND_PRINT((ndo, ": %us", EXTRACT_32BITS(cp)));
149 ahcp_ipv6_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
177 ahcp_ipv4_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
201 ahcp_ipv6_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
229 ahcp_ipv4_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
272 ahcp1_options_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
313 ahcp1_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
358 ahcp_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
[all...]
H A Dprint-loopback.c58 loopback_message_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
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_LE
109 loopback_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
[all...]
H A Dprint-openflow.c79 of_header_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
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);
135 openflow_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
[all...]
H A Dprint-domain.c53 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
52 ns_nskip(netdissect_options *ndo, register const u_char *cp) argument
85 blabel_print(netdissect_options *ndo, const u_char *cp) argument
122 labellen(netdissect_options *ndo, const u_char *cp) argument
146 ns_nprint(netdissect_options *ndo, register const u_char *cp, register const u_char *bp) argument
231 ns_cprint(netdissect_options *ndo, register const u_char *cp) argument
320 ns_qprint(netdissect_options *ndo, register const u_char *cp, register const u_char *bp, int is_mdns) argument
355 ns_rprint(netdissect_options *ndo, register const u_char *cp, register const u_char *bp, int is_mdns) argument
583 register const u_char *cp; local
[all...]
H A Dprint-openflow-1.0.c12 * * cp -- the pointer to the first octet to decode
739 const u_char *cp, const u_char *ep, const u_int len)
742 return cp;
745 ND_TCHECK2(*cp, len);
747 hex_and_ascii_print(ndo, "\n\t ", cp, len);
748 return cp + len;
757 const u_char *cp, const u_char *ep, const u_int len)
759 const u_char *cp0 = cp;
765 ND_TCHECK2(*cp, 4);
766 subtype = EXTRACT_32BITS(cp);
738 of10_data_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
756 of10_bsn_message_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
961 of10_bsn_actions_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
1035 of10_vendor_action_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
1064 of10_vendor_message_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
1094 of10_vendor_data_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
1119 of10_packet_data_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
1142 of10_phy_ports_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument
1217 of10_queue_props_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument
1293 of10_queues_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument
1341 of10_match_print(netdissect_options *ndo, const char *pfx, const u_char *cp, const u_char *ep) argument
1445 of10_actions_print(netdissect_options *ndo, const char *pfx, const u_char *cp, const u_char *ep, u_int len) argument
1612 of10_features_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
1650 of10_flow_mod_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
1708 of10_port_mod_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
1745 of10_stats_request_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument
1829 of10_desc_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
1876 of10_flow_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument
1957 of10_aggregate_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
1990 of10_table_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument
2049 of10_port_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument
2134 of10_queue_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument
2182 of10_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
2222 of10_packet_out_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
2260 of10_packet_in_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
2293 of10_flow_removed_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
2347 of10_error_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument
2379 of10_header_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const uint8_t type, const uint16_t len, const uint32_t xid) argument
[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/opencv3/3rdparty/libtiff/
H A Dtif_swab.c38 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[
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
286 TIFFReverseBits(uint8* cp, tmsize_t n) argument
[all...]
/external/pdfium/third_party/libtiff/
H A Dtif_swab.c38 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[
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
286 TIFFReverseBits(uint8* cp, tmsize_t n) argument
[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/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tokenization/
H A Dtokenizer.js96 function isWhitespace(cp) {
97 return cp === $.SPACE || cp === $.LINE_FEED || cp === $.TABULATION || cp === $.FORM_FEED;
100 function isAsciiDigit(cp) {
101 return cp >= $.DIGIT_0 && cp <= $.DIGIT_9;
104 function isAsciiUpper(cp) {
105 return cp >
[all...]
/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/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');

Completed in 657 milliseconds

1234567891011>>