Home
last modified time | relevance | path

Searched refs:className (Results 1 – 25 of 704) sorted by relevance

12345678910>>...29

/external/robolectric/src/main/java/com/xtremelabs/robolectric/internal/
DClassNameResolver.java5 private String className; field in ClassNameResolver
7 public ClassNameResolver(String packageName, String className) { in ClassNameResolver() argument
9 this.className = className; in ClassNameResolver()
14 if (looksFullyQualified(className)) { in resolve()
15 aClass = safeClassForName(className); in resolve()
17 aClass = safeClassForName(packageName + "." + className); in resolve()
19 aClass = safeClassForName(packageName + className); in resolve()
25 + packageName + " and class name: " + className); in resolve()
30 private boolean looksFullyQualified(String className) { in looksFullyQualified() argument
31 return className.contains(".") && !className.startsWith("."); in looksFullyQualified()
/external/chromium_org/third_party/skia/include/core/
DSkInstCnt.h36 #define SK_DECLARE_INST_COUNT(className) \ argument
37 SK_DECLARE_INST_COUNT_INTERNAL(className, \
42 #define SK_DECLARE_INST_COUNT_ROOT(className) \ argument
43 SK_DECLARE_INST_COUNT_INTERNAL(className, atexit(exitPrint);)
45 #define SK_DECLARE_INST_COUNT_INTERNAL(className, initStep) \ argument
82 SkOnce(&once, className::SkInstanceCountHelper::create_mutex, &childrenMutex);\
99 4*level, ' ', #className, \
138 #define SK_DECLARE_INST_COUNT(className) static void AddInstChild() { INHERITED::AddInstChild(); } argument
139 #define SK_DECLARE_INST_COUNT_ROOT(className) static void AddInstChild() { } argument
143 #define SK_DECLARE_INST_COUNT_TEMPLATE(className) SK_DECLARE_INST_COUNT(className) argument
[all …]
/external/skia/include/core/
DSkInstCnt.h36 #define SK_DECLARE_INST_COUNT(className) \ argument
37 SK_DECLARE_INST_COUNT_INTERNAL(className, \
42 #define SK_DECLARE_INST_COUNT_ROOT(className) \ argument
43 SK_DECLARE_INST_COUNT_INTERNAL(className, atexit(exitPrint);)
45 #define SK_DECLARE_INST_COUNT_INTERNAL(className, initStep) \ argument
94 4*level, ' ', #className, \
133 #define SK_DECLARE_INST_COUNT(className) static void AddInstChild() { INHERITED::AddInstChild(); } argument
134 #define SK_DECLARE_INST_COUNT_ROOT(className) static void AddInstChild() { } argument
138 #define SK_DECLARE_INST_COUNT_TEMPLATE(className) SK_DECLARE_INST_COUNT(className) argument
139 #define SK_DEFINE_INST_COUNT(className) argument
[all …]
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_ClassLoader.java40 public Class<?> findClass(String className) throws ClassNotFoundException { in findClass() argument
43 if (!className in findClass()
48 String classNameAsFile = className.replace('.', '/') + ".class"; in findClass()
60 theClass = loadClassFromJar(theClassPaths[i], className, in findClass()
63 theClass = loadClassFromFile(theClassPaths[i], className, in findClass()
72 public Class<?> loadClass(String className) throws ClassNotFoundException { in loadClass() argument
82 theClass = findLoadedClass(className); in loadClass()
87 theClass = this.findClass(className); in loadClass()
91 if (element.equals(className)) { in loadClass()
95 theClass = Class.forName(className); in loadClass()
[all …]
/external/proguard/src/proguard/
DClassSpecification.java39 public String className; field in ClassSpecification
72 classSpecification.className, in ClassSpecification()
111 String className, in ClassSpecification() argument
119 className, in ClassSpecification()
160 String className, in ClassSpecification() argument
170 this.className = className; in ClassSpecification()
227 …(this.className == null ? other.className == null : this.className.equa… in equals()
241 (className == null ? 0 : className.hashCode() ) ^ in hashCode()
DKeepClassMemberChecker.java70 String className = keepClassSpecification.className; in checkClassSpecifications() local
71 if (className == null) in checkClassSpecifications()
73 className = keepClassSpecification.extendsClassName; in checkClassSpecifications()
76 if (notePrinter.accepts(className)) in checkClassSpecifications()
78 notePrinter.print(className, in checkClassSpecifications()
80 (className == null ? in checkClassSpecifications()
82 ClassUtil.externalClassName(className)) + "'"); in checkClassSpecifications()
DFullyQualifiedClassNameChecker.java71 checkClassName(classSpecification.className); in checkClassSpecifications()
148 private void checkClassName(String className) in checkClassName() argument
150 if (className != null && in checkClassName()
151 !containsWildCards(className) && in checkClassName()
152 programClassPool.getClass(className) == null && in checkClassName()
153 libraryClassPool.getClass(className) == null && in checkClassName()
154 notePrinter.accepts(className)) in checkClassName()
156 notePrinter.print(className, in checkClassName()
158 ClassUtil.externalClassName(className) + "'"); in checkClassName()
162className.substring(className.lastIndexOf(ClassConstants.INTERNAL_PACKAGE_SEPARATOR)+1); in checkClassName()
/external/conscrypt/src/compat/native/
DJNIHelp.cpp64 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass() argument
66 return (*env)->FindClass(e, className); in findClass()
69 extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods() argument
74 ALOGV("Registering %s's %d native methods...", className, numMethods); in jniRegisterNativeMethods()
76 scoped_local_ref<jclass> c(env, findClass(env, className)); in jniRegisterNativeMethods()
79 asprintf(&msg, "Native registration unable to find class '%s'; aborting...", className); in jniRegisterNativeMethods()
85 asprintf(&msg, "RegisterNatives failed for '%s'; aborting...", className); in jniRegisterNativeMethods()
92 extern "C" int jniThrowException(C_JNIEnv* c_env, const char* className, const char* msg) { in jniThrowException() argument
94 jclass exceptionClass = env->FindClass(className); in jniThrowException()
97 ALOGD("Unable to find exception class %s", className); in jniThrowException()
[all …]
DJNIHelp.h45 int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, const JNINativeMethod* gMethods,…
61 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg);
122 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods() argument
123 return jniRegisterNativeMethods(&env->functions, className, gMethods, numMethods); in jniRegisterNativeMethods()
126 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
127 return jniThrowException(&env->functions, className, msg); in jniThrowException()
130 extern "C" int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list …
136 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt() argument
139 return jniThrowExceptionFmt(&env->functions, className, fmt, args); in jniThrowExceptionFmt()
/external/jdiff/src/jdiff/
DHTMLReportGenerator.java355 String className = classAPI.name_; in reportChangedPackage() local
356 if (trace) System.out.println("Class/Interface " + className + " was removed."); in reportChangedPackage()
357 … writeClassTableEntry(pkgName, className, 0, classAPI.isInterface_, classAPI.doc_, false); in reportChangedPackage()
385 String className = classAPI.name_; in reportChangedPackage() local
386 if (trace) System.out.println("Class/Interface " + className + " was added."); in reportChangedPackage()
387 … writeClassTableEntry(pkgName, className, 1, classAPI.isInterface_, classAPI.doc_, false); in reportChangedPackage()
416 String className = classDiff.name_; in reportChangedPackage() local
417 … System.out.println("Package " + pkgDiff.name_ + ", class/Interface " + className + " was changed.… in reportChangedPackage()
418 writeClassTableEntry(pkgName, className, 2, classDiff.isInterface_, null, false); in reportChangedPackage()
440 String className = classDiff.name_; in reportChangedClass() local
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DPrivateScriptRunner.cpp68 static void installPrivateScript(v8::Isolate* isolate, String className) in installPrivateScript() argument
75 if (className == kPrivateScriptSourcesForTesting[index].className) { in installPrivateScript()
85 if (className == kPrivateScriptSources[index].className) { in installPrivateScript()
93 …ate script error: Target source code was not found. (Class name = %s)\n", className.utf8().data()); in installPrivateScript()
100 const String className = "PrivateScriptRunner"; in installPrivateScriptRunner() local
105 if (className == kPrivateScriptSources[index].className) in installPrivateScriptRunner()
109 …ate script error: Target source code was not found. (Class name = %s)\n", className.utf8().data()); in installPrivateScriptRunner()
113 …return compileAndRunPrivateScript(isolate, className, resourceData.utf8().data(), resourceData.len… in installPrivateScriptRunner()
116 static v8::Handle<v8::Object> classObjectOfPrivateScript(ScriptState* scriptState, String className) in classObjectOfPrivateScript() argument
121 …:Handle<v8::Value> compiledClass = scriptState->perContextData()->compiledPrivateScript(className); in classObjectOfPrivateScript()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DCompilingClassLoader.java109 public CompilingClassLoader(ClassLoader parent, String className, CharSequence sourceCode, in CompilingClassLoader() argument
112 if (!compileSourceCodeToByteCode(className, sourceCode, diagnosticListener)) { in CompilingClassLoader()
113 throw new CompilerException("Could not compile " + className); in CompilingClassLoader()
133 private boolean compileSourceCodeToByteCode(String className, CharSequence sourceCode, in compileSourceCodeToByteCode() argument
140 JavaFileObject javaFile = new InMemoryJavaFile(className, sourceCode); in compileSourceCodeToByteCode()
174 public JavaFileObject getJavaFileForOutput(Location location, final String className, in getJavaFileForOutput() argument
178 ByteArrayOutputStream outputStream = byteCodeForClasses.get(className); in getJavaFileForOutput()
184 byteCodeForClasses.put(className, outputStream); in getJavaFileForOutput()
195 public InMemoryJavaFile(String className, CharSequence sourceCode) {
196 super(makeUri(className), Kind.SOURCE);
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DObjectFactory.java59 static Class findProviderClass(String className, ClassLoader cl, in findProviderClass() argument
68 final int lastDot = className.lastIndexOf("."); in findProviderClass()
69 String packageName = className; in findProviderClass()
70 if (lastDot != -1) packageName = className.substring(0, lastDot); in findProviderClass()
88 providerClass = Class.forName(className); in findProviderClass()
91 providerClass = cl.loadClass(className); in findProviderClass()
97 providerClass = Class.forName(className); in findProviderClass()
100 providerClass = cl.loadClass(className); in findProviderClass()
DExtensionNamespacesManager.java167 String className = classOrPackage; in defineJavaNamespace()
168 if (className.startsWith("class:")) in defineJavaNamespace()
169 className = className.substring(6); in defineJavaNamespace()
171 int lastSlash = className.lastIndexOf("/"); in defineJavaNamespace()
173 className = className.substring(lastSlash + 1); in defineJavaNamespace()
177 if(null == className || className.trim().length() == 0) in defineJavaNamespace()
182 ExtensionHandler.getClassForName(className); in defineJavaNamespace()
186 new Object[]{ns, "javaclass", className}); in defineJavaNamespace()
193 new Object[]{ns, "javapackage", className + "."}); in defineJavaNamespace()
/external/proguard/src/proguard/obfuscate/
DMappingReader.java54 String className = null; in pump() local
74 className = processClassMapping(line, mappingProcessor); in pump()
76 else if (className != null) in pump()
80 processClassMemberMapping(className, line, mappingProcessor); in pump()
126 String className = line.substring(0, arrowIndex).trim(); in processClassMapping() local
130 boolean interested = mappingProcessor.processClassMapping(className, newClassName); in processClassMapping()
132 return interested ? className : null; in processClassMapping()
140 private void processClassMemberMapping(String className, in processClassMemberMapping() argument
174 mappingProcessor.processFieldMapping(className, type, name, newName); in processClassMemberMapping()
189 mappingProcessor.processMethodMapping(className, in processClassMemberMapping()
DMappingKeeper.java60 public boolean processClassMapping(String className, in processClassMapping() argument
64 String name = ClassUtil.internalClassName(className); in processClassMapping()
82 className + in processClassMapping()
100 public void processFieldMapping(String className, in processFieldMapping() argument
122 warningPrinter.print(ClassUtil.internalClassName(className), in processFieldMapping()
124 className + in processFieldMapping()
138 public void processMethodMapping(String className, in processMethodMapping() argument
163 warningPrinter.print(ClassUtil.internalClassName(className), in processMethodMapping()
165 className + in processMethodMapping()
/external/jarjar/src/main/com/tonicsystems/jarjar/
DPathClass.java22 private String className; field in PathClass
24 public PathClass(String classPath, String className) { in PathClass() argument
26 this.className = className; in PathClass()
34 return className; in getClassName()
38 return classPath + "!" + className; in toString()
/external/chromium-trace/trace-viewer/src/tracing/analysis/
Danalysis_results.js21 this.className = 'analysis-results';
55 td.className = table.className + '-col-' + cellnum;
66 td.className = table.className + '-col-' + cellnum;
68 span.className = 'tooltip';
80 appendTable: function(className, numColumns) { argument
83 table.className = className + ' analysis-table';
94 th.className = 'analysis-table-header';
108 row.className = 'analysis-table-row';
130 row.className = 'analysis-table-row';
186 row.className = 'analysis-table-row';
/external/chromium_org/chrome/browser/resources/about_sys/
Dabout_sys.js42 if (valueDiv.parentNode.className == 'number-collapsed') {
43 valueDiv.parentNode.className = 'number-expanded';
46 valueDiv.parentNode.className = 'number-collapsed';
58 if (button && button.className != 'button-hidden') {
60 valueDivs[i].parentNode.className = 'number-collapsed';
72 if (button && button.className != 'button-hidden') {
74 valueDivs[i].parentNode.className = 'number-expanded';
89 button.className = '';
91 valueDivs[i].parentNode.className = 'number-collapsed';
93 button.className = 'button-hidden';
[all …]
/external/javassist/src/main/javassist/util/
DHotSwapper.java155 public void reload(String className, byte[] classFile) { in reload() argument
156 ReferenceType classtype = toRefType(className); in reload()
159 reload2(map, className); in reload()
174 String className = null; in reload() local
177 className = (String)e.getKey(); in reload()
178 map.put(toRefType(className), e.getValue()); in reload()
181 if (className != null) in reload()
182 reload2(map, className + " etc."); in reload()
185 private ReferenceType toRefType(String className) { in toRefType() argument
186 List list = jvm.classesByName(className); in toRefType()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
DApplicationCacheItemsView.js46 this.connectivityMessage.className = "storage-application-cache-connectivity";
50 this.divider.className = "status-bar-item status-bar-divider";
54 this.statusMessage.className = "storage-application-cache-status";
118 … statusInformation[applicationCache.UNCACHED] = { className: "red-ball", text: "UNCACHED" }; property
119 statusInformation[applicationCache.IDLE] = { className: "green-ball", text: "IDLE" }; property
120 … statusInformation[applicationCache.CHECKING] = { className: "orange-ball", text: "CHECKING" }; property
121 …statusInformation[applicationCache.DOWNLOADING] = { className: "orange-ball", text: "DOWNLOADING"… property
122 …statusInformation[applicationCache.UPDATEREADY] = { className: "green-ball", text: "UPDATEREADY" … property
123 …statusInformation[applicationCache.OBSOLETE] = { className: "red-ball", text: "OBSOLETE" }; property
127 this.statusIcon.className = "storage-application-cache-status-icon " + info.className;
[all …]
/external/mockito/src/org/mockito/internal/util/
DDecamelizer.java15 public static String decamelizeMatcher(String className) { in decamelizeMatcher() argument
16 if (className.length() == 0) { in decamelizeMatcher()
20 String decamelized = decamelizeClassName(className); in decamelizeMatcher()
23 return "<" + className + ">"; in decamelizeMatcher()
29 private static String decamelizeClassName(String className) { in decamelizeClassName() argument
30 Matcher match = CAPS.matcher(className); in decamelizeClassName()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DStatusBarButton.js85 WebInspector.StatusBarCounter = function(counters, className) argument
88 this.element.className = "status-bar-item status-bar-counter hidden";
89 if (className)
90 this.element.classList.add(className);
163 WebInspector.StatusBarText = function(text, className) argument
166 this.element.className = "status-bar-item status-bar-text";
167 if (className)
168 this.element.classList.add(className);
193 this.element.className = "status-bar-item";
239 WebInspector.StatusBarButton = function(title, className, states) argument
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DSerializerFactory.java105 String className = in getSerializer() local
109 if (null == className) in getSerializer()
114 className = in getSerializer()
116 if (null == className) { in getSerializer()
129 Class cls = ObjectFactory.findProviderClass(className, loader, true); in getSerializer()
156 className = SerializerConstants.DEFAULT_SAX_SERIALIZER; in getSerializer()
157 cls = ObjectFactory.findProviderClass(className, loader, true); in getSerializer()
172 new Object[] { className})); in getSerializer()
/external/javassist/src/main/javassist/bytecode/annotation/
DNoSuchClassError.java23 private String className; field in NoSuchClassError
28 public NoSuchClassError(String className, Error cause) { in NoSuchClassError() argument
30 this.className = className; in NoSuchClassError()
37 return className; in getClassName()

12345678910>>...29