/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
imageop.c | 22 #define CHARP(cp, xmax, x, y) ((char *)(cp+y*xmax+x))
23 #define SHORTP(cp, xmax, x, y) ((short *)(cp+2*(y*xmax+x)))
24 #define LONGP(cp, xmax, x, y) ((Py_Int32 *)(cp+4*(y*xmax+x)))
118 char *cp, *ncp;
local 125 if ( !PyArg_ParseTuple(args, "s#iiiiiii", &cp, &len, &size, &x, &y,
159 *ncp++ = *CHARP(cp, x, ix, iy);
161 *nsp++ = *SHORTP(cp, x, ix, iy); 173 char *cp, *ncp; local 223 unsigned char *cp, *ncp; local 274 unsigned char *cp, *ncp; local 312 unsigned char *cp, *ncp; local 349 unsigned char *cp, *ncp; local 386 unsigned char *cp, *ncp; local 428 unsigned char *cp, *ncp; local 469 unsigned char *cp, *ncp; local 508 unsigned char *cp, *ncp; local 547 unsigned char *cp, *ncp; local 584 unsigned char *cp; local 627 unsigned char *cp; local 677 unsigned char *cp; local 722 unsigned char *cp; local [all...] |
/external/python/cpython2/Modules/ |
imageop.c | 22 #define CHARP(cp, xmax, x, y) ((char *)(cp+y*xmax+x)) 23 #define SHORTP(cp, xmax, x, y) ((short *)(cp+2*(y*xmax+x))) 24 #define LONGP(cp, xmax, x, y) ((Py_Int32 *)(cp+4*(y*xmax+x))) 121 char *cp, *ncp; local 128 if ( !PyArg_ParseTuple(args, "s#iiiiiii", &cp, &len, &size, &x, &y, 162 *ncp++ = *CHARP(cp, x, ix, iy); 164 *nsp++ = *SHORTP(cp, x, ix, iy) 176 char *cp, *ncp; local 226 unsigned char *cp, *ncp; local 277 unsigned char *cp, *ncp; local 315 unsigned char *cp, *ncp; local 352 unsigned char *cp, *ncp; local 389 unsigned char *cp, *ncp; local 431 unsigned char *cp, *ncp; local 472 unsigned char *cp, *ncp; local 511 unsigned char *cp, *ncp; local 550 unsigned char *cp, *ncp; local 587 unsigned char *cp; local 630 unsigned char *cp; local 680 unsigned char *cp; local 725 unsigned char *cp; local [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
res_update.c | 127 u_char *cp, *eom;
local 217 cp = answer + HFIXEDSZ;
220 n = dn_skipname(cp, eom);
221 if (n < 0 || cp + n + 2 * INT16SZ > eom)
223 cp += n + 2 * INT16SZ;
246 if ((n = dn_expand(answer, eom, cp, zname,
249 cp += n;
250 if (cp + 2 * INT16SZ > eom)
252 GETSHORT(type, cp);
253 GETSHORT(class, cp);
[all...] |
/system/core/liblog/ |
event_tag_map.cpp | 234 static const char* endOfTag(const char* cp) { 235 while (*cp && (isalnum(*cp) || strchr("_.-@,", *cp))) ++cp; 236 return cp; 254 const char* cp = ep; local 255 if (cp == pData) { 272 while ((*++cp != '\n') && isspace(*cp)) { 351 const char* cp = static_cast<char*>(map->mapAddr[which]); local 523 const char* cp = ep; local 574 char* cp = const_cast<char*>(tagStr); local 613 char* cp; local [all...] |
/bionic/libc/dns/resolv/ |
res_debug.c | 202 const u_char *cp = ns_rr_rdata(rr); local 205 GETSHORT(optcode, cp); 206 GETSHORT(optlen, cp); 216 cp[i]); 220 isprint(cp[i])? 221 cp[i] : '.'); 233 cp[i]); 237 isprint(cp[i]) ? 238 cp[i] : '.'); 351 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) 781 const char *cp; local 819 const char *cp; local 916 const char *cp, *maxcp; local 1028 const u_char *cp = binary; local [all...] |
/external/syslinux/com32/elflink/ldlinux/ |
colors.c | 72 struct color_table *cp = tbl + message_base_color; local 116 cp->argb_fg = fg_rgb; 117 cp->argb_bg = bg_rgb; 118 cp->shadow = shadow; 119 cp++; 127 struct color_table *cp; local 136 cp = color_table; 139 *cp = *dp; 140 cp->ansi = refstrdup(dp->ansi); 141 cp++ 168 struct color_table *color_table, *cp; local [all...] |
/external/syslinux/com32/menu/ |
colors.c | 72 struct color_table *cp = tbl + message_base_color; local 116 cp->argb_fg = fg_rgb; 117 cp->argb_bg = bg_rgb; 118 cp->shadow = shadow; 119 cp++; 127 struct color_table *cp; local 136 cp = color_table; 139 *cp = *dp; 140 cp->ansi = refstrdup(dp->ansi); 141 cp++ 168 struct color_table *color_table, *cp; local [all...] |
/external/e2fsprogs/lib/ss/ |
get_readline.c | 48 char *tmp, *cp, *next; local 64 for (cp = tmp; cp; cp = next) { 65 next = strchr(cp, ':'); 68 if (*cp == 0) 70 if ((handle = dlopen(cp, RTLD_NOW))) { 71 /* printf("Using %s for readline library\n", cp); */
|
/external/expat/xmlwf/ |
codepage.c | 43 codepageMap(int cp, int *map) 47 if (!GetCPInfo(cp, &info) || info.MaxCharSize > 2) 65 if (MultiByteToWideChar(cp, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS, 74 codepageConvert(int cp, const char *p) 77 if (MultiByteToWideChar(cp, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS, 86 codepageMap(int UNUSED_P(cp), int *UNUSED_P(map)) 92 codepageConvert(int UNUSED_P(cp), const char *UNUSED_P(p))
|
/external/javassist/src/main/javassist/convert/ |
TransformNewClass.java | 34 public void initialize(ConstPool cp, CodeAttribute attr) { 47 ConstPool cp) throws CannotCompileException 53 if (cp.getClassInfo(index).equals(classname)) { 59 newClassIndex = cp.addClassInfo(newClassName); 67 int typedesc = cp.isConstructor(classname, index); 69 int nt = cp.getMethodrefNameAndType(index); 72 newMethodIndex = cp.addMethodrefInfo(newClassIndex, nt);
|
/external/ltp/testcases/kernel/mem/shmt/ |
shmt07.c | 62 char *cp = NULL; local 78 cp = shmat(shmid, NULL, 0); 80 if (cp == (char *)-1) { 89 *cp = '1'; 90 *(cp + 1) = '2'; 102 if (*cp != '1') { 105 if (*(cp + 1) != '2') { 114 tst_resm(TPASS, "cp & cp+1 correct");
|
/art/tools/dmtracedump/ |
createtesttrace.cc | 129 char* cp = buf; local 130 if (*cp == '#') continue; 132 if (isdigit(*cp)) { 133 while (isspace(*cp)) cp += 1; 134 int32_t threadId = strtoul(cp, &cp, 0); 137 indentEnd = cp; 139 if (indentEnd - cp + 1 > maxFrames) maxFrames = indentEnd - cp + 1 166 char* cp = buf; local [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/ |
inet_addr.c | 112 inet_addr(const char *cp) {
115 if (inet_aton(cp, &val))
121 * Check whether "cp" is a valid ascii representation
128 inet_aton(const char *cp, struct in_addr *addr) {
136 c = *cp;
147 c = *++cp;
149 base = 16, c = *++cp;
160 c = *++cp;
166 c = *++cp;
181 c = *++cp;
[all...] |
/external/libedit/src/ |
unvis.c | 194 unvis(char *cp, int c, int *astate, int flag) 207 _DIAGASSERT(cp != NULL); 228 *cp = 0; 245 *cp = c; 251 *cp = c; 256 *cp = (c - '0'); 260 *cp = (char)0200; 267 *cp = '\n'; 271 *cp = '\r'; 275 *cp = '\b' [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
PatternTokenizer.java | 169 int cp; local 170 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { 171 cp = UTF16.charAt(string, i); 172 if (escapeCharacters.contains(cp)) { 178 appendEscaped(result, cp); 182 if (needingQuoteCharacters.contains(cp)) { 185 UTF16.append(result, cp); 186 if (usingQuote && cp == SINGLE_QUOTE) { // double it 194 UTF16.append(result, cp); 198 if (cp == SINGLE_QUOTE) { // double it and continu 266 int cp; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
PatternTokenizer.java | 167 int cp; local 168 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { 169 cp = UTF16.charAt(string, i); 170 if (escapeCharacters.contains(cp)) { 176 appendEscaped(result, cp); 180 if (needingQuoteCharacters.contains(cp)) { 183 UTF16.append(result, cp); 184 if (usingQuote && cp == SINGLE_QUOTE) { // double it 192 UTF16.append(result, cp); 196 if (cp == SINGLE_QUOTE) { // double it and continu 264 int cp; local [all...] |
/external/javassist/src/main/javassist/bytecode/annotation/ |
Annotation.java | 66 * @param cp the constant pool table. 70 public Annotation(int type, ConstPool cp) { 71 pool = cp; 81 * @param cp the constant pool table. 85 public Annotation(String typeName, ConstPool cp) { 86 this(cp.addUtf8Info(Descriptor.of(typeName)), cp); 94 * @param cp the constant pool table. 98 public Annotation(ConstPool cp, CtClass clazz) 102 this(cp.addUtf8Info(Descriptor.of(clazz.getName())), cp) [all...] |
/external/libevent/test/ |
bench_cascade.c | 84 evutil_socket_t *cp; local 95 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { 96 if (evutil_socketpair(AF_UNIX, SOCK_STREAM, 0, cp) == -1) { 109 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { 110 evutil_socket_t fd = i < num_pipes - 1 ? cp[3] : -1; 111 event_set(&events[i], cp[0], EV_READ, read_cb, 127 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) [all...] |
/external/tcpdump/ |
print-ip.c | 59 register const u_char *cp, u_int length) 70 ND_TCHECK(cp[2]); 71 ptr = cp[2] - 1; 73 ND_PRINT((ndo, " [bad ptr %u]", cp[2])); 76 ND_TCHECK2(cp[len], 4); 77 ND_PRINT((ndo, " %s", ipaddr_string(ndo, &cp[len]))); 100 const u_char *cp; local 103 cp = (const u_char *)(ip + 1); 106 for (; length > 0; cp += len, length -= len) { 109 ND_TCHECK(*cp); 332 const u_char *cp; member in struct:ip_print_demux_state [all...] |
print-sl.c | 197 const char *str, register const u_char *cp) 201 if ((i = *cp++) == 0) { 202 i = EXTRACT_16BITS(cp); 203 cp += 2; 206 return (cp); 211 register const u_char *cp) 215 if ((i = *cp++) == 0) { 216 i = EXTRACT_16BITS(cp); 217 cp += 2; 223 return (cp); 231 register const u_char *cp = chdr; local [all...] |
/external/javassist/src/main/javassist/expr/ |
MethodCall.java | 34 private int getNameAndType(ConstPool cp) { 40 return cp.getInterfaceMethodrefNameAndType(index); 42 return cp.getMethodrefNameAndType(index); 85 ConstPool cp = getConstPool(); local 91 cname = cp.getInterfaceMethodrefClassName(index); 93 cname = cp.getMethodrefClassName(index); 105 ConstPool cp = getConstPool(); local 106 int nt = getNameAndType(cp); 107 return cp.getUtf8Info(cp.getNameAndTypeName(nt)) 128 ConstPool cp = getConstPool(); local 204 ClassPool cp = thisClass.getClassPool(); local [all...] |
/art/test/071-dexfile-get-static-size/ |
build | 25 cp res/test1.dex test-jar/classes.dex 26 cp res/test2.dex test-jar/classes2.dex
|
/dalvik/dx/tests/121-sccp/ |
run | 17 cp Blort.nodebug.class Blort.class 20 cp Blort.debug.class Blort.class
|
/dalvik/dx/tests/122-switch-with-high-register/ |
run | 17 cp Blort.nodebug.class Blort.class 20 cp Blort.debug.class Blort.class
|
/external/clang/test/SemaTemplate/ |
implicit-instantiation-1.cpp | 21 void test_add(char *cp, int i, int *ip) { 22 char* cp2 = add(cp, i); 23 add(cp, cp); // expected-note{{instantiation of}}
|