/external/libunwind/src/mi/ |
H A D | strerror.c | 33 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 D | base_device.c | 44 char *str, *cp; local 52 cp = str; 55 if (strncmp(cp, "/dev/", 5) != 0) 57 cp += 5; 60 if (strncmp(cp, "dsk/", 4) == 0) 61 cp += 4; 67 if (cp[0] == 'm' && cp[1] == 'd') { 68 *(cp+2) = 0; 73 if (strncmp(cp, "r 154 char buf[256], *cp; local [all...] |
/external/expat/xmlwf/ |
H A D | codepage.h | 33 int codepageMap(int cp, int *map); 34 int codepageConvert(int cp, const char *p);
|
/external/fio/oslib/ |
H A D | inet_aton.c | 3 int inet_aton(const char *cp, struct in_addr *inp) argument 5 return inet_pton(AF_INET, cp, inp);
|
/external/e2fsprogs/intl/ |
H A D | 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[ [all...] |
/external/e2fsprogs/lib/uuid/ |
H A D | isnull.c | 41 const unsigned char *cp; local 44 for (i=0, cp = uu; i < 16; i++) 45 if (*cp++)
|
/external/cn-cbor/src/ |
H A D | cn-get.c | 8 cn_cbor* cp; local 10 for (cp = cb->first_child; cp && cp->next; cp = cp->next->next) { 11 switch(cp->type) { 13 if (cp->v.uint == (unsigned long)key) { 14 return cp->next; 18 if (cp 30 cn_cbor *cp; local 53 cn_cbor *cp; local [all...] |
/external/mesa3d/src/gallium/drivers/ilo/ |
H A D | ilo_cp.c | 37 ilo_cp_release_owner(struct ilo_cp *cp) argument 39 if (cp->owner != &ilo_cp_default_owner) { 40 const struct ilo_cp_owner *owner = cp->owner; 42 cp->owner = &ilo_cp_default_owner; 44 assert(ilo_cp_space(cp) >= owner->reserve); 45 owner->release(cp, owner->data); 62 ilo_cp_set_owner(struct ilo_cp *cp, enum intel_ring_type ring, argument 68 if (cp->ring != ring) { 69 ilo_cp_submit(cp, "ring change"); 70 cp 84 ilo_cp_end_batch(struct ilo_cp *cp, unsigned *used) argument 109 ilo_cp_detect_hang(struct ilo_cp *cp) argument 142 ilo_cp_submit_internal(struct ilo_cp *cp) argument 188 ilo_cp_destroy(struct ilo_cp *cp) argument 204 struct ilo_cp *cp; local [all...] |
H A D | ilo_cp.h | 39 typedef void (*ilo_cp_callback)(struct ilo_cp *cp, void *data); 86 ilo_cp_destroy(struct ilo_cp *cp); 89 ilo_cp_submit_internal(struct ilo_cp *cp); 92 ilo_cp_submit(struct ilo_cp *cp, const char *reason) argument 96 (cp->ring == INTEL_RING_RENDER) ? "render" : "unknown", reason); 97 ilo_builder_batch_print_stats(&cp->builder); 100 ilo_cp_submit_internal(cp); 104 ilo_cp_set_owner(struct ilo_cp *cp, enum intel_ring_type ring, 111 ilo_cp_space(struct ilo_cp *cp) argument 113 const int space = ilo_builder_batch_space(&cp 125 ilo_cp_set_one_off_flags(struct ilo_cp *cp, unsigned flags) argument 135 ilo_cp_set_submit_callback(struct ilo_cp *cp, ilo_cp_callback callback, void *data) argument [all...] |
/external/clang/test/CodeGen/ |
H A D | 2010-02-10-PointerName.c | 7 char *cp = &i; local
|
/external/clang/test/Parser/ |
H A D | 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/tcpdump/ |
H A D | print-aoe.c | 144 const u_char *cp, const u_int len) 146 const u_char *ep = cp + len; 151 ND_TCHECK2(*cp, 1); 152 ND_PRINT((ndo, "\n\tAFlags: [%s]", bittok2str(aoev1_aflag_str, "none", *cp))); 153 cp += 1; 155 ND_TCHECK2(*cp, 1); 156 ND_PRINT((ndo, ", Err/Feature: %u", *cp)); 157 cp += 1; 159 ND_TCHECK2(*cp, 1); 160 ND_PRINT((ndo, ", Sector Count: %u", *cp)); 143 aoev1_issue_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument 207 aoev1_query_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument 256 aoev1_mac_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument 307 aoev1_reserve_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument 343 aoev1_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument 400 aoe_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument [all...] |
H A D | print-ahcp.c | 101 ahcp_time_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 107 if (cp + 4 != ep) 109 ND_TCHECK2(*cp, 4); 110 t = EXTRACT_32BITS(cp); 121 ND_TCHECK2(*cp, ep - cp); 129 ahcp_seconds_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 131 if (cp + 4 != ep) 133 ND_TCHECK2(*cp, 4); 134 ND_PRINT((ndo, ": %us", EXTRACT_32BITS(cp))); 147 ahcp_ipv6_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 171 ahcp_ipv4_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 195 ahcp_ipv6_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 219 ahcp_ipv4_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 262 ahcp1_options_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 303 ahcp1_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 348 ahcp_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument [all...] |
H A D | print-loopback.c | 58 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 D | print-openflow.c | 79 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 D | print-domain.c | 55 register const u_char *cp) 59 if (!ND_TTEST2(*cp, 1)) 61 i = *cp++; 64 return (cp + 1); 70 if (!ND_TTEST2(*cp, 1)) 72 if ((bitlen = *cp++) == 0) 75 cp += bytelen; 77 cp += i; 78 if (!ND_TTEST2(*cp, 1)) 80 i = *cp 54 ns_nskip(netdissect_options *ndo, register const u_char *cp) argument 87 blabel_print(netdissect_options *ndo, const u_char *cp) argument 124 labellen(netdissect_options *ndo, const u_char *cp) argument 148 ns_nprint(netdissect_options *ndo, register const u_char *cp, register const u_char *bp) argument 234 ns_cprint(netdissect_options *ndo, register const u_char *cp) argument 323 ns_qprint(netdissect_options *ndo, register const u_char *cp, register const u_char *bp, int is_mdns) argument 358 ns_rprint(netdissect_options *ndo, register const u_char *cp, register const u_char *bp, int is_mdns) argument 582 register const u_char *cp; local [all...] |
/external/pdfium/third_party/agg23/ |
H A D | agg_curves.h | 23 float cp[8]; member in struct:agg::curve4_points 30 cp[0] = x1; 31 cp[1] = y1; 32 cp[2] = x2; 33 cp[3] = y2; 34 cp[4] = x3; 35 cp[5] = y3; 36 cp[6] = x4; 37 cp[7] = y4; 44 cp[ 76 curve4_div(const curve4_points& cp) argument 90 init(const curve4_points& cp) argument 149 curve4(const curve4_points& cp) argument 164 init(const curve4_points& cp) argument [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | version.c | 30 const char *cp; local 33 for (cp = ver_string; *cp; cp++) { 34 if (*cp == '.') { 40 if (!isdigit(*cp)) 42 version = (version * 10) + (*cp - '0');
|
/external/pdfium/third_party/libtiff/ |
H A D | tif_swab.c | 38 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/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/ |
H A D | dereference.runtime.fail.cpp | 21 const std::unique_ptr<int[]>& cp = p; local 23 TEST_IGNORE_NODISCARD (*cp); // expected-error {{indirection requires pointer operand ('const std::unique_ptr<int []>' invalid)}}
|
H A D | op_subscript.single.fail.cpp | 21 std::unique_ptr<int> const& cp = p; member in class:std 23 cp[1]; // expected-error {{type 'const std::unique_ptr<int>' does not provide a subscript operator}}
|
/external/libunwind/src/ |
H A D | os-linux.h | 45 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/protobuf/src/google/protobuf/util/internal/ |
H A D | json_escaping.cc | 120 // Returns true if the given unicode code point cp is 122 inline bool IsSupplementalCodePoint(uint32 cp) { argument 124 // return kMinSupplementaryCodePoint <= cp && cp <= kMaxCodePoint; 126 return (cp & ~(JsonEscaping::kMinSupplementaryCodePoint - 1)) 130 // Returns true if the given unicode code point cp is a valid 131 // unicode code point (i.e. in the range 0 <= cp <= kMaxCodePoint). 132 inline bool IsValidCodePoint(uint32 cp) { argument 133 return cp <= JsonEscaping::kMaxCodePoint; 152 inline uint16 ToLowSurrogate(uint32 cp) { argument 160 ToHighSurrogate(uint32 cp) argument 185 ReadCodePoint(StringPiece str, int index, uint32 *cp, int* num_left, int *num_read) argument 250 ToHex(uint16 cp, char* buffer) argument 264 ToSurrogateHex(uint32 cp, char* buffer) argument 294 EscapeCodePoint(uint32 cp, char* buffer) argument 332 EscapeCodePoint(uint32 cp, char* buffer, bool force_output) argument 361 uint32 cp = 0; // Current unicode code point. local [all...] |
/external/e2fsprogs/lib/e2p/ |
H A D | mntopts.c | 84 static char *skip_over_blanks(char *cp) argument 86 while (*cp && isspace(*cp)) 87 cp++; 88 return cp; 91 static char *skip_over_word(char *cp) argument 93 while (*cp && !isspace(*cp) && *cp != ',') 94 cp 105 char *cp, *buf, *next; local [all...] |
/external/ltp/testcases/kernel/fs/doio/ |
H A D | pattern.c | 43 char *cp; local 48 cp = buf; 60 return (memcmp(cp, pat + patshift, nleft) ? -1 : 0); 62 if (memcmp(cp, pat + patshift, nb)) 66 cp += nb; 72 return (memcmp(cp, pat, nleft) ? -1 : 0); 74 if (memcmp(cp, pat, nb)) 78 cp += nb; 87 ncmp = cp - buf; 90 if (memcmp(buf, cp, n 104 char *cp; local [all...] |