/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getservbyname.c | 46 register char **cp;
local 60 for (cp = p->s_aliases; *cp; cp++)
61 if (strcmp(name, *cp) == 0)
|
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...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Trie2_16.java | 185 int cp = startingCP; local 196 if (cp >= limit) { 199 if (cp < 0x0d800 || (cp > 0x0dbff && cp <= 0x0ffff)) { 204 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; 205 } else if (cp < 0xffff) { 206 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 208 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; 209 } else if (cp < highStart) [all...] |
Trie2_32.java | 182 int cp = startingCP; local 193 if (cp >= limit) { 196 if (cp < 0x0d800 || (cp > 0x0dbff && cp <= 0x0ffff)) { 201 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; 202 } else if (cp < 0xffff) { 203 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 205 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; 206 } else if (cp < highStart) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Trie2_16.java | 183 int cp = startingCP; local 194 if (cp >= limit) { 197 if (cp < 0x0d800 || (cp > 0x0dbff && cp <= 0x0ffff)) { 202 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; 203 } else if (cp < 0xffff) { 204 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 206 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; 207 } else if (cp < highStart) [all...] |
Trie2_32.java | 180 int cp = startingCP; local 191 if (cp >= limit) { 194 if (cp < 0x0d800 || (cp > 0x0dbff && cp <= 0x0ffff)) { 199 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; 200 } else if (cp < 0xffff) { 201 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 203 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; 204 } else if (cp < highStart) [all...] |
/external/javassist/src/main/javassist/bytecode/ |
SourceFileAttribute.java | 31 SourceFileAttribute(ConstPool cp, int n, DataInputStream in) 34 super(cp, n, in); 40 * @param cp a constant pool table. 43 public SourceFileAttribute(ConstPool cp, String filename) { 44 super(cp, tag); 45 int index = cp.addUtf8Info(filename);
|
AttributeInfo.java | 38 protected AttributeInfo(ConstPool cp, int attrname, byte[] attrinfo) { 39 constPool = cp; 44 protected AttributeInfo(ConstPool cp, String attrname) { 45 this(cp, attrname, (byte[])null); 51 * @param cp constant pool table 56 public AttributeInfo(ConstPool cp, String attrname, byte[] attrinfo) { 57 this(cp, cp.addUtf8Info(attrname), attrinfo); 60 protected AttributeInfo(ConstPool cp, int n, DataInputStream in) 63 constPool = cp; [all...] |
/external/mmc-utils/ |
mmc.c | 217 struct Command *cp; local 220 for( cp = commands; cp->verb; cp++ ) 221 print_help(np, cp, BASIC_HELP); 255 struct Command *cp; local 259 for( match = 0, cp = commands; cp->verb; cp++ ){ 263 if( cp->ncmds < i 349 struct Command *cp; local [all...] |
/external/e2fsprogs/lib/ss/ |
parse.c | 48 register char **argv, **new_argv, *cp; local 63 cp = line_ptr; /* cp is for output */ 80 cp = line_ptr++; 88 argv[argc++] = cp; 94 cp = line_ptr; 108 *cp++ = '\0'; 112 *cp++ = '\0'; 121 *cp++ = *line_ptr++; 134 *cp++ = '"' [all...] |
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/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/ |
remove_if.pass.cpp | 38 Predicate cp(g); 39 c1.remove_if(std::ref(cp)); 41 assert(cp.count() == static_cast<std::size_t>(std::distance(std::begin(t1), std::end(t1)))); 50 Predicate cp(g); 51 c1.remove_if(std::ref(cp)); 53 assert(cp.count() == static_cast<std::size_t>(std::distance(std::begin(t1), std::end(t1)))); 63 Predicate cp(g); 64 c1.remove_if(std::ref(cp)); 66 assert(cp.count() == static_cast<std::size_t>(std::distance(std::begin(t1), std::end(t1)))); 74 Predicate cp(g) [all...] |
/external/robolectric/v3/ |
update_robolectric.sh | 14 cp $MVN_ROOT/org/robolectric/robolectric/3.1-SNAPSHOT/robolectric-3.1-SNAPSHOT.jar $ROBOLECTRIC_DIR/. 15 cp $MVN_ROOT/org/robolectric/robolectric-annotations/3.1-SNAPSHOT/robolectric-annotations-3.1-SNAPSHOT.jar $ROBOLECTRIC_DIR/. 16 cp $MVN_ROOT/org/robolectric/robolectric-processor/3.1-SNAPSHOT/robolectric-processor-3.1-SNAPSHOT.jar $ROBOLECTRIC_DIR/. 17 cp $MVN_ROOT/org/robolectric/robolectric-resources/3.1-SNAPSHOT/robolectric-resources-3.1-SNAPSHOT.jar $ROBOLECTRIC_DIR/. 18 cp $MVN_ROOT/org/robolectric/robolectric-utils/3.1-SNAPSHOT/robolectric-utils-3.1-SNAPSHOT.jar $ROBOLECTRIC_DIR/. 20 cp $MVN_ROOT/org/robolectric/shadows-httpclient/3.1-SNAPSHOT/shadows-httpclient-3.1-SNAPSHOT.jar $ROBOLECTRIC_DIR/. 21 cp $MVN_ROOT/org/robolectric/shadows-support-v4/3.1-SNAPSHOT/shadows-support-v4-3.1-SNAPSHOT.jar $ROBOLECTRIC_DIR/. 22 cp $MVN_ROOT/org/robolectric/shadows-multidex/3.1-SNAPSHOT/shadows-multidex-3.1-SNAPSHOT.jar $ROBOLECTRIC_DIR/. 24 cp $MVN_ROOT/org/robolectric/shadows-play-services/3.1-SNAPSHOT/shadows-play-services-3.1-SNAPSHOT.jar $ROBOLECTRIC_DIR/. 26 cp $MVN_ROOT/org/robolectric/shadows-core/3.1-SNAPSHOT/shadows-core-3.1-SNAPSHOT-16.jar $ROBOLECTRIC_ (…) [all...] |
/external/syslinux/core/lwip/src/netif/ppp/ |
ppp.h | 185 * cp MUST be u_char *. 187 #define GETCHAR(c, cp) { \ 188 (c) = *(cp)++; \ 190 #define PUTCHAR(c, cp) { \ 191 *(cp)++ = (u_char) (c); \ 195 #define GETSHORT(s, cp) { \ 196 (s) = *(cp); (cp)++; (s) <<= 8; \ 197 (s) |= *(cp); (cp)++; [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/forwardlist/forwardlist.ops/ |
remove_if.pass.cpp | 37 Predicate cp(g); 38 c1.remove_if(std::ref(cp)); 40 assert(cp.count() == std::distance(std::begin(t1), std::end(t1))); 49 Predicate cp(g); 50 c1.remove_if(std::ref(cp)); 52 assert(cp.count() == std::distance(std::begin(t1), std::end(t1))); 62 Predicate cp(g); 63 c1.remove_if(std::ref(cp)); 65 assert(cp.count() == std::distance(std::begin(t1), std::end(t1))); 73 Predicate cp(g) [all...] |
/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...] |
/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/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...] |
/external/openssh/ |
auth-options.c | 97 const char *cp; local 107 cp = "cert-authority"; 108 if (strncasecmp(opts, cp, strlen(cp)) == 0) { 110 opts += strlen(cp); 113 cp = "no-port-forwarding"; 114 if (strncasecmp(opts, cp, strlen(cp)) == 0) { 117 opts += strlen(cp); 120 cp = "no-agent-forwarding" [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...] |