Home
last modified time | relevance | path

Searched refs:classname (Results 1 – 25 of 109) sorted by relevance

12345

/external/javassist/src/main/javassist/
DClassPool.java237 protected CtClass getCached(String classname) { in getCached() argument
238 return (CtClass)classes.get(classname); in getCached()
248 protected void cacheCtClass(String classname, CtClass c, boolean dynamic) { in cacheCtClass() argument
249 classes.put(classname, c); in cacheCtClass()
259 protected CtClass removeCached(String classname) { in removeCached() argument
260 return (CtClass)classes.remove(classname); in removeCached()
431 public CtClass get(String classname) throws NotFoundException { in get() argument
433 if (classname == null) in get()
436 clazz = get0(classname, true); in get()
439 throw new NotFoundException(classname); in get()
[all …]
DByteArrayClassPath.java49 protected String classname; field in ByteArrayClassPath
60 this.classname = name; in ByteArrayClassPath()
70 return "byte[]:" + classname; in toString()
76 public InputStream openClassfile(String classname) { in openClassfile() argument
77 if(this.classname.equals(classname)) in openClassfile()
86 public URL find(String classname) { in find() argument
87 if(this.classname.equals(classname)) { in find()
88 String cname = classname.replace('.', '/') + ".class"; in find()
DURLClassPath.java76 public InputStream openClassfile(String classname) { in openClassfile() argument
78 URLConnection con = openClassfile0(classname); in openClassfile()
86 private URLConnection openClassfile0(String classname) throws IOException { in openClassfile0() argument
87 if (packageName == null || classname.startsWith(packageName)) { in openClassfile0()
89 = directory + classname.replace('.', '/') + ".class"; in openClassfile0()
101 public URL find(String classname) { in find() argument
103 URLConnection con = openClassfile0(classname); in find()
130 String directory, String classname) in fetchClass() argument
135 directory + classname.replace('.', '/') + ".class"); in fetchClass()
148 + classname); in fetchClass()
DClassPoolTail.java41 public InputStream openClassfile(String classname) { in openClassfile() argument
45 + classname.replace('.', sep) + ".class"; in openClassfile()
53 public URL find(String classname) { in find() argument
56 + classname.replace('.', sep) + ".class"; in find()
93 public InputStream openClassfile(String classname) throws NotFoundException { in openClassfile() argument
96 InputStream is = jars[i].openClassfile(classname); in openClassfile()
104 public URL find(String classname) { in find() argument
107 URL url = jars[i].find(classname); in find()
137 public InputStream openClassfile(String classname) in openClassfile() argument
141 String jarname = classname.replace('.', '/') + ".class"; in openClassfile()
[all …]
DLoader.java200 public void delegateLoadingOf(String classname) { in delegateLoadingOf() argument
201 if (classname.endsWith(".")) in delegateLoadingOf()
202 notDefinedPackages.addElement(classname); in delegateLoadingOf()
204 notDefinedHere.put(classname, this); in delegateLoadingOf()
287 public void run(String classname, String[] args) throws Throwable { in run() argument
288 Class c = loadClass(classname); in run()
423 protected Class delegateToParent(String classname) in delegateToParent() argument
428 return cl.loadClass(classname); in delegateToParent()
430 return findSystemClass(classname); in delegateToParent()
DClassClassPath.java72 public InputStream openClassfile(String classname) { in openClassfile() argument
73 String jarname = "/" + classname.replace('.', '/') + ".class"; in openClassfile()
82 public URL find(String classname) { in find() argument
83 String jarname = "/" + classname.replace('.', '/') + ".class"; in find()
DLoaderClassPath.java64 public InputStream openClassfile(String classname) { in openClassfile() argument
65 String cname = classname.replace('.', '/') + ".class"; in openClassfile()
80 public URL find(String classname) { in find() argument
81 String cname = classname.replace('.', '/') + ".class"; in find()
/external/javassist/src/main/javassist/scopedpool/
DScopedClassPool.java131 public synchronized void flushClass(String classname) { in flushClass() argument
132 classes.remove(classname); in flushClass()
133 softcache.remove(classname); in flushClass()
165 protected CtClass getCached(String classname) { in getCached() argument
166 CtClass clazz = getCachedLocally(classname); in getCached()
172 final int lastIndex = classname.lastIndexOf('$'); in getCached()
175 classResourceName = classname.replaceAll("[\\.]", "/") in getCached()
179 classResourceName = classname.substring(0, lastIndex) in getCached()
181 + classname.substring(lastIndex) + ".class"; in getCached()
199 clazz = pool.getCachedLocally(classname); in getCached()
[all …]
/external/javassist/src/main/javassist/bytecode/annotation/
DClassMemberValue.java65 final String classname = getValue(); in getValue() local
66 if (classname.equals("void")) in getValue()
68 else if (classname.equals("int")) in getValue()
70 else if (classname.equals("byte")) in getValue()
72 else if (classname.equals("long")) in getValue()
74 else if (classname.equals("double")) in getValue()
76 else if (classname.equals("float")) in getValue()
78 else if (classname.equals("char")) in getValue()
80 else if (classname.equals("short")) in getValue()
82 else if (classname.equals("boolean")) in getValue()
[all …]
DMemberValue.java51 static Class loadClass(ClassLoader cl, String classname) in loadClass() argument
55 return Class.forName(convertFromArray(classname), true, cl); in loadClass()
58 throw new NoSuchClassError(classname, e); in loadClass()
62 private static String convertFromArray(String classname) in convertFromArray() argument
64 int index = classname.indexOf("[]"); in convertFromArray()
66 String rawType = classname.substring(0, index); in convertFromArray()
70 index = classname.indexOf("[]", index + 1); in convertFromArray()
74 return classname; in convertFromArray()
/external/valgrind/coregrind/
Dm_vkiscnums.c63 const HChar* classname = NULL; in VG_() local
65 case VG_DARWIN_SYSCALL_CLASS_MACH: classname = "mach"; break; in VG_()
66 case VG_DARWIN_SYSCALL_CLASS_UNIX: classname = "unix"; break; in VG_()
67 case VG_DARWIN_SYSCALL_CLASS_MDEP: classname = "mdep"; break; in VG_()
68 case VG_DARWIN_SYSCALL_CLASS_DIAG: classname = "diag"; break; in VG_()
69 default: classname = "UNKNOWN"; break; in VG_()
71 VG_(sprintf)(buf, "%s:%ld", classname, VG_DARWIN_SYSNO_INDEX(sysnum)); in VG_()
/external/javassist/sample/evolve/
DEvolution.java45 public void onLoad(ClassPool _pool, String classname) in onLoad() argument
47 onLoadUpdatable(classname); in onLoad()
53 CtClass clazz = _pool.get(classname); in onLoad()
60 private void onLoadUpdatable(String classname) throws NotFoundException, in onLoadUpdatable() argument
65 int i = classname.lastIndexOf("$$"); in onLoadUpdatable()
69 String orgname = classname.substring(0, i); in onLoadUpdatable()
75 version = Integer.parseInt(classname.substring(i + 2)); in onLoadUpdatable()
78 throw new NotFoundException(classname, e); in onLoadUpdatable()
81 CtClass clazz = pool.getAndRename(orgname, classname); in onLoadUpdatable()
88 public void makeUpdatable(String classname) throws NotFoundException, in makeUpdatable() argument
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant-apache-bcel.jar ... .DescendingVisitor traverser java.io.IOException ioe String classname java.util.Enumeration e String className org. ...
/external/javassist/src/main/javassist/bytecode/
DDescriptor.java37 public static String toJvmName(String classname) { in toJvmName() argument
38 return classname.replace('.', '/'); in toJvmName()
50 public static String toJavaName(String classname) { in toJavaName() argument
51 return classname.replace('/', '.'); in toJavaName()
124 public static String of(String classname) { in of() argument
125 if (classname.equals("void")) in of()
127 else if (classname.equals("int")) in of()
129 else if (classname.equals("byte")) in of()
131 else if (classname.equals("long")) in of()
133 else if (classname.equals("double")) in of()
[all …]
DBytecode.java822 public void addCheckcast(String classname) { in addCheckcast() argument
824 addIndex(constPool.addClassInfo(classname)); in addCheckcast()
832 public void addInstanceof(String classname) { in addInstanceof() argument
834 addIndex(constPool.addClassInfo(classname)); in addInstanceof()
996 public void addInvokestatic(String classname, String name, String desc) { in addInvokestatic() argument
997 addInvokestatic(constPool.addClassInfo(classname), name, desc); in addInvokestatic()
1064 public void addInvokevirtual(String classname, String name, String desc) { in addInvokevirtual() argument
1065 addInvokevirtual(constPool.addClassInfo(classname), name, desc); in addInvokevirtual()
1130 public void addInvokeinterface(String classname, String name, in addInvokeinterface() argument
1132 addInvokeinterface(constPool.addClassInfo(classname), name, desc, in addInvokeinterface()
[all …]
/external/javassist/src/main/javassist/convert/
DTransformNew.java24 private String classname, trapClass, trapMethod; field in TransformNew
27 String classname, String trapClass, String trapMethod) { in TransformNew() argument
29 this.classname = classname; in TransformNew()
57 if (cp.getClassInfo(index).equals(classname)) { in transform()
81 int typedesc = cp.isConstructor(classname, index); in transform()
97 Descriptor.changeReturnType(classname, in computeMethodref()
DTransformNewClass.java24 private String classname, newClassName; field in TransformNewClass
28 String classname, String newClassName) { in TransformNewClass() argument
30 this.classname = classname; in TransformNewClass()
53 if (cp.getClassInfo(index).equals(classname)) { in transform()
67 int typedesc = cp.isConstructor(classname, index); in transform()
DTransformCall.java26 protected String classname, methodname, methodDescriptor; field in TransformCall
38 classname = origMethod.getDeclaringClass().getName(); in TransformCall()
47 classname = newClassname = substMethod.getDeclaringClass().getName(); in TransformCall()
84 if (classname.equals(name)) in matchClass()
89 CtClass declClazz = pool.get(classname); in matchClass()
93 return m.getDeclaringClass().getName().equals(classname); in matchClass()
/external/javassist/src/main/javassist/compiler/
DMemberResolver.java43 String classname = jvmToJavaName(jvmClassName); in recordPackage() local
45 int i = classname.lastIndexOf('.'); in recordPackage()
47 classname = classname.substring(0, i); in recordPackage()
48 classPool.recordInvalidClassName(classname); in recordPackage()
341 public CtClass lookupClass(int type, int dim, String classname) in lookupClass() argument
347 clazz = lookupClassByJvmName(classname); in lookupClass()
450 private CtClass lookupClass0(String classname, boolean notCheckInner) in lookupClass0() argument
456 cc = classPool.get(classname); in lookupClass0()
459 int i = classname.lastIndexOf('.'); in lookupClass0()
463 StringBuffer sbuf = new StringBuffer(classname); in lookupClass0()
[all …]
/external/icu/icu4c/source/test/intltest/
Ditrbbi.cpp23 #define TESTCLASS(n,classname) \ argument
25 name = #classname; \
27 logln(#classname "---"); \
29 classname t; \
/external/libxml2/python/
Dgenerator.py1029 for classname in classes_list:
1030 if classname == "None":
1033 if classname in classes_ancestor:
1034 txt.write("\n\nClass %s(%s)\n" % (classname,
1035 classes_ancestor[classname]))
1036 classes.write("class %s(%s):\n" % (classname,
1037 classes_ancestor[classname]))
1039 if classes_ancestor[classname] == "xmlCore" or \
1040 classes_ancestor[classname] == "xmlNode":
1044 classname)
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_name_resolver.cc96 const string& classname) { in MessageHasConflictingClassName() argument
97 if (message->name() == classname) return true; in MessageHasConflictingClassName()
99 if (MessageHasConflictingClassName(message->nested_type(i), classname)) { in MessageHasConflictingClassName()
104 if (message->enum_type(i)->name() == classname) { in MessageHasConflictingClassName()
159 const FileDescriptor* file, const string& classname) { in HasConflictingClassName() argument
161 if (file->enum_type(i)->name() == classname) { in HasConflictingClassName()
166 if (file->service(i)->name() == classname) { in HasConflictingClassName()
171 if (MessageHasConflictingClassName(file->message_type(i), classname)) { in HasConflictingClassName()
Djava_shared_code_generator.cc65 string classname = name_resolver_->GetDescriptorClassName(file_); in Generate() local
66 string filename = package_dir + classname + ".java"; in Generate()
87 "classname", classname); in Generate()
168 string classname = FileJavaPackage(file_->dependency(i)) + "." + in GenerateDescriptors() local
171 dependencies.push_back(make_pair(filename, classname)); in GenerateDescriptors()
/external/javassist/src/main/javassist/expr/
DMethodCall.java184 String classname, methodname, signature; in replace() local
189 classname = constPool.getInterfaceMethodrefClassName(index); in replace()
196 classname = constPool.getMethodrefClassName(index); in replace()
210 jc.recordParams(classname, params, in replace()
214 jc.recordStaticProceed(classname, methodname); in replace()
216 jc.recordSpecialProceed(Javac.param0Name, classname, in replace()
/external/javassist/src/main/javassist/tools/rmi/
DRemoteRef.java24 public String classname; field in RemoteRef
28 classname = null; in RemoteRef()
33 classname = name; in RemoteRef()

12345