Searched defs:cp (Results 26 - 50 of 505) sorted by relevance

1234567891011>>

/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/e2fsprogs/resize/
H A Dtest_extent.c22 char *cp, *cmd, *arg1, *arg2; local
43 cp = strchr(buf, '\n');
44 if (cp)
45 *cp = '\0';
53 cp = strchr(buf, ' ');
54 if (cp) {
55 *cp++ = '\0';
56 arg1 = cp;
59 cp = strchr(cp, ' ');
[all...]
/external/expat/xmlwf/
H A Dcodepage.c14 codepageMap(int cp, int *map) argument
18 if (!GetCPInfo(cp, &info) || info.MaxCharSize > 2)
36 if (MultiByteToWideChar(cp, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS,
45 codepageConvert(int cp, const char *p) argument
48 if (MultiByteToWideChar(cp, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS,
57 codepageMap(int cp, int *map) argument
63 codepageConvert(int cp, const char *p) argument
/external/icu4c/samples/layout/
H A DUnicodeReader.cpp35 const char *cp = ""; local
53 cp = "UTF-16BE";
57 cp = "UTF-32LE";
60 cp = "UTF-16LE";
64 cp = "UTF-8";
67 cp = "SCSU";
71 cp = "UTF-32BE";
102 UnicodeString myText(byteBuffer, fileSize, cp);
/external/iproute2/lib/
H A Dll_addr.c77 char *cp = strchr(arg, ':'); local
78 if (cp) {
79 *cp = 0;
80 cp++;
91 if (!cp)
93 arg = cp;
/external/javassist/src/main/javassist/
H A DCtNewNestedClass.java26 CtNewNestedClass(String realName, ClassPool cp, boolean isInterface, argument
28 super(realName, cp, isInterface, superclass);
/external/javassist/src/main/javassist/bytecode/
H A DAnnotationDefaultAttribute.java74 * @param cp constant pool
79 public AnnotationDefaultAttribute(ConstPool cp, byte[] info) { argument
80 super(cp, tag, info);
87 * @param cp constant pool
90 public AnnotationDefaultAttribute(ConstPool cp) { argument
91 this(cp, new byte[] { 0, 0 });
97 AnnotationDefaultAttribute(ConstPool cp, int n, DataInputStream in) argument
100 super(cp, n, in);
H A DConstantAttribute.java31 ConstantAttribute(ConstPool cp, int n, DataInputStream in) argument
34 super(cp, n, in);
40 * @param cp a constant pool table.
44 public ConstantAttribute(ConstPool cp, int index) { argument
45 super(cp, tag);
H A DEnclosingMethodAttribute.java31 EnclosingMethodAttribute(ConstPool cp, int n, DataInputStream in) argument
34 super(cp, n, in);
40 * @param cp a constant pool table.
45 public EnclosingMethodAttribute(ConstPool cp, String className, argument
47 super(cp, tag);
48 int ci = cp.addClassInfo(className);
49 int ni = cp.addNameAndTypeInfo(methodName, methodDesc);
62 * @param cp a constant pool table.
65 public EnclosingMethodAttribute(ConstPool cp, String className) { argument
66 super(cp, ta
[all...]
H A DLocalVariableTypeAttribute.java36 public LocalVariableTypeAttribute(ConstPool cp) { argument
37 super(cp, tag, new byte[2]);
41 LocalVariableTypeAttribute(ConstPool cp, int n, DataInputStream in) argument
44 super(cp, n, in);
47 private LocalVariableTypeAttribute(ConstPool cp, byte[] dest) { argument
48 super(cp, tag, dest);
59 LocalVariableAttribute makeThisAttr(ConstPool cp, byte[] dest) { argument
60 return new LocalVariableTypeAttribute(cp, dest);
H A DSourceFileAttribute.java31 SourceFileAttribute(ConstPool cp, int n, DataInputStream in) argument
34 super(cp, n, in);
40 * @param cp a constant pool table.
43 public SourceFileAttribute(ConstPool cp, String filename) { argument
44 super(cp, tag);
45 int index = cp.addUtf8Info(filename);
/external/javassist/src/main/javassist/convert/
H A DTransformWriteField.java30 ConstPool cp) throws BadBytecode
35 String typedesc = isField(tclazz.getClassPool(), cp,
61 int mi = cp.addClassInfo(methodClassname);
63 int methodref = cp.addMethodrefInfo(mi, methodName, type);
29 transform(CtClass tclazz, int pos, CodeIterator iterator, ConstPool cp) argument
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/
H A DPhysicsCollisionEventFactory.java45 public PhysicsCollisionEvent getEvent(int type, PhysicsCollisionObject source, PhysicsCollisionObject nodeB, ManifoldPoint cp) { argument
48 event = new PhysicsCollisionEvent(type, source, nodeB, cp);
50 event.refactor(type, source, nodeB, cp);
/external/libppp/src/
H A Dacf.c62 const u_char cp[2] = { HDLC_ADDR, HDLC_UI }; local
65 bp = m_prepend(bp, cp, 2, 0);
77 u_char cp[2]; local
84 if (mbuf_View(bp, cp, 2) == 2) {
87 bp = mbuf_Read(bp, cp, 2);
88 if (cp[0] != HDLC_ADDR) {
91 log_Printf(LogDEBUG, "acf_LayerPull: addr 0x%02x\n", cp[0]);
95 if (cp[1] != HDLC_UI) {
98 log_Printf(LogDEBUG, "acf_LayerPull: control 0x%02x\n", cp[1]);
103 } else if (cp[
[all...]
H A Dproto.c58 u_char cp[2]; local
60 cp[0] = proto >> 8;
61 cp[1] = proto & 0xff;
63 if (comp && cp[0] == 0)
64 bp = m_prepend(bp, cp + 1, 1, extra);
66 bp = m_prepend(bp, cp, 2, extra);
88 u_char cp[2]; local
91 if ((got = mbuf_View(bp, cp, 2)) == 0) {
96 *proto = cp[0];
102 bp = mbuf_Read(bp, cp,
[all...]
/external/oprofile/libop/
H A Dop_parse_event.c65 char const * cp = events[i]; local
66 char * part = next_part(&cp);
76 fprintf(stderr, "Invalid event %s\n", cp);
82 part = next_part(&cp);
93 part = next_part(&cp);
102 part = next_part(&cp);
110 part = next_part(&cp);
/external/tcpdump/
H A Dprint-ip6.c56 register const u_char *cp; local
110 cp = (const u_char *)ip6;
113 while (cp < snapend && advance > 0) {
114 cp += advance;
117 if (cp == (const u_char *)(ip6 + 1) &&
126 advance = hbhopt_print(cp);
127 nh = *cp;
130 advance = dstopt_print(cp);
131 nh = *cp;
134 advance = frag6_print(cp, (cons
[all...]
H A Dprint-mobile.c73 const u_char *cp = bp +8 ; local
90 cp +=4 ;
H A Dprint-tftp.c78 register const char *cp; local
91 cp = tok2str(op2str, "tftp-#%d", opcode);
92 printf(" %s", cp);
94 if (*cp == 't')
/external/valgrind/main/coregrind/m_initimg/
H A Dinitimg-pathscan.c66 char *cp, *entry; local
73 entry = cp = colsep;
76 end = (*cp == '\0');
78 if (*cp == ':' || *cp == '\0') {
79 char save = *cp;
81 *cp = '\0';
83 *cp = save;
86 *cp = save;
87 entry = cp
[all...]
/external/valgrind/main/coregrind/m_ume/
H A Dscript.c86 Char* cp; local
109 for (cp = interp; cp < end && !VG_(isspace)(*cp); cp++)
112 eol = (*cp == '\n');
114 *cp++ = '\0';
116 if (!eol && cp < end) {
118 while (cp < end && VG_(isspace)(*cp)
[all...]
/external/valgrind/main/none/tests/x86/
H A Dbug126147-x86.c139 char *cp; variable
/external/clang/test/Sema/
H A Doverloadable-complex.c34 char *cp = promote_or_convert(fc); // expected-error{{call to 'promote_or_convert' is ambiguous}} local
42 int *cp = promote_or_convert2(fc); local
49 char *cp = promote_or_convert3(sc); local
/external/clang/test/SemaCXX/
H A Dcomplex-overload.cpp34 char *cp = promote_or_convert(fc); local
42 int *cp = promote_or_convert2(fc); local
49 char *cp = promote_or_convert3(sc); local
/external/clang/test/SemaTemplate/
H A Dimplicit-instantiation-1.cpp21 void test_add(char *cp, int i, int *ip) { argument
22 char* cp2 = add(cp, i);
23 add(cp, cp); // expected-note{{instantiation of}}

Completed in 1441 milliseconds

1234567891011>>