/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
D | InstrumentSpec.java | 40 private String className; field in InstrumentSpec 46 this.className = ""; in InstrumentSpec() 51 this.className = builder.className; in InstrumentSpec() 55 public String className() { in className() method in InstrumentSpec 56 return className; in className() 68 return this.className.equals(that.className) in equals() 79 .putUnencodedChars(className) in initHash() 92 .add("className", className) in toString() 98 private String className; field in InstrumentSpec.Builder 101 public Builder className(String className) { in className() argument [all …]
|
D | BenchmarkSpec.java | 44 private String className; field in BenchmarkSpec 50 this.className = ""; in BenchmarkSpec() 56 this.className = builder.className; in BenchmarkSpec() 61 public String className() { in className() method in BenchmarkSpec 62 return className; in className() 78 return this.className.equals(that.className) in equals() 100 .add("className", className) in toString() 110 into.putUnencodedChars(from.className) in funnel() 117 private String className; field in BenchmarkSpec.Builder 121 public Builder className(String className) { in className() method in BenchmarkSpec.Builder [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
D | InstrumentConfig.java | 40 private final String className; field in InstrumentConfig 44 this.className = builder.className; in InstrumentConfig() 48 public String className() { in className() method in InstrumentConfig 49 return className; in className() 61 return this.className.equals(that.className) in equals() 69 return Objects.hashCode(className, options); in hashCode() 74 .add("className", className) in toString() 80 private String className; field in InstrumentConfig.Builder 83 public Builder className(String className) { in className() argument 84 this.className = checkNotNull(className); in className() [all …]
|
D | ResultProcessorConfig.java | 34 private final String className; field in ResultProcessorConfig 38 this.className = builder.className; in ResultProcessorConfig() 42 public String className() { in className() method in ResultProcessorConfig 43 return className; in className() 56 return this.className.equals(that.className) in equals() 64 return Objects.hashCode(className, options); in hashCode() 69 .add("className", className) in toString() 75 private String className; field in ResultProcessorConfig.Builder 78 public Builder className(String className) { in className() method in ResultProcessorConfig.Builder 79 this.className = checkNotNull(className); in className()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/ |
D | ClassNameResolver.java | 5 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/v8/test/mjsunit/es6/ |
D | array-tostring.js | 30 function testToStringTag(className) { argument 33 obj[Symbol.toStringTag] = className; 34 assertEquals("[object " + className + "]", 40 get: function() { throw className; } 44 }, className); 49 get: function() { return className; } 51 assertEquals("[object " + className + "]", 56 obj[Symbol.toStringTag] = "X" + className; 57 assertEquals("[object X" + className + "]", 63 get: function() { return "X" + className; } [all …]
|
D | object-tostring.js | 31 function testToStringTag(className) { argument 34 obj[Symbol.toStringTag] = className; 35 assertEquals("[object " + className + "]", 41 get: function() { throw className; } 45 }, className); 50 get: function() { return className; } 52 assertEquals("[object " + className + "]", 57 obj[Symbol.toStringTag] = "X" + className; 58 assertEquals("[object X" + className + "]", 64 get: function() { return "X" + className; } [all …]
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/match/ |
D | TypeName.java | 26 private final String className; field in TypeName 28 public TypeName(String packageName, String className) { in TypeName() argument 30 this.className = className; in TypeName() 37 public String className() { in className() method in TypeName 38 return className; in className() 44 String className; in fromFullyQualifiedClassName() local 47 className = fullyQualifiedClassName; in fromFullyQualifiedClassName() 50 className = fullyQualifiedClassName.substring(packageSeparatorIndex + 1); in fromFullyQualifiedClassName() 52 return new TypeName(packageName, className); in fromFullyQualifiedClassName()
|
/external/conscrypt/src/openjdk/native/ |
D | JNIHelp.cpp | 63 static jclass findClass(JNIEnv* env, const char* className) { in findClass() argument 64 return env->FindClass(className); in findClass() 67 extern "C" int jniRegisterNativeMethods(JNIEnv* env, const char* className, in jniRegisterNativeMethods() argument 70 ALOGV("Registering %s's %d native methods...", className, numMethods); in jniRegisterNativeMethods() 72 scoped_local_ref<jclass> c(env, findClass(env, className)); in jniRegisterNativeMethods() 76 className); in jniRegisterNativeMethods() 82 (void)asprintf(&msg, "RegisterNatives failed for '%s'; aborting...", className); in jniRegisterNativeMethods() 92 int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument 93 jclass exceptionClass = env->FindClass(className); in jniThrowException() 96 ALOGD("Unable to find exception class %s", className); in jniThrowException() [all …]
|
/external/proguard/src/proguard/ |
D | FullyQualifiedClassNameChecker.java | 74 checkClassName(classSpecification.className); in checkClassSpecifications() 151 private void checkClassName(String className) in checkClassName() argument 153 if (className != null && in checkClassName() 154 !containsWildCards(className) && in checkClassName() 155 programClassPool.getClass(className) == null && in checkClassName() 156 libraryClassPool.getClass(className) == null && in checkClassName() 157 notePrinter.accepts(className)) in checkClassName() 159 notePrinter.print(className, in checkClassName() 161 ClassUtil.externalClassName(className) + "'"); in checkClassName() 165 className.lastIndexOf(ClassConstants.PACKAGE_SEPARATOR); in checkClassName() [all …]
|
D | KeepClassMemberChecker.java | 67 String className = keepClassSpecification.className; in checkClassSpecifications() local 68 if (className == null) in checkClassSpecifications() 70 className = keepClassSpecification.extendsClassName; in checkClassSpecifications() 73 if (className == null || in checkClassSpecifications() 74 notePrinter.accepts(className)) in checkClassSpecifications() 76 notePrinter.print(className, in checkClassSpecifications() 78 (className == null ? in checkClassSpecifications() 80 ClassUtil.externalClassName(className)) + "'"); in checkClassSpecifications()
|
D | AssumeNoSideEffectsChecker.java | 62 String className = classSpecification.className; in checkClassSpecifications() local 63 if (className == null) in checkClassSpecifications() 65 className = classSpecification.extendsClassName; in checkClassSpecifications() 68 if (className == null || in checkClassSpecifications() 69 notePrinter.accepts(className)) in checkClassSpecifications() 86 notePrinter.print(className, in checkClassSpecifications() 88 (className == null ? in checkClassSpecifications() 90 … ClassUtil.externalClassName(className)) + "' have any side effects"); in checkClassSpecifications()
|
D | ClassSpecification.java | 39 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()
|
D | ClassMemberChecker.java | 66 String className = classSpecification.className; in checkClassSpecifications() local 67 if (className != null && in checkClassSpecifications() 68 !containsWildCards(className) && in checkClassSpecifications() 69 notePrinter.accepts(className)) in checkClassSpecifications() 71 Clazz clazz = programClassPool.getClass(className); in checkClassSpecifications() 93 String className = clazz.getName(); in checkMemberSpecifications() local 111 notePrinter.print(className, in checkMemberSpecifications() 114 ClassUtil.externalClassName(className) + "'"); in checkMemberSpecifications() 121 notePrinter.print(className, in checkMemberSpecifications() 123 … ClassUtil.externalFullMethodDescription(className, 0, memberName, descriptor) + "' in class '" + in checkMemberSpecifications() [all …]
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TestHelper_ClassLoader.java | 40 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/conscrypt/src/compat/native/ |
D | JNIHelp.cpp | 64 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 …]
|
/external/jdiff/src/jdiff/ |
D | HTMLReportGenerator.java | 355 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/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | JavaWriter.java | 142 for (ClassName className : importCandidates) { in write() 143 if (!(className.packageName().equals(packageName) in write() 144 && !className.enclosingClassName().isPresent()) in write() 145 && !(className.packageName().equals("java.lang") in write() 146 && className.enclosingSimpleNames().isEmpty()) in write() 147 && !typeNames.contains(className.topLevelClassName())) { in write() 148 Optional<ClassName> importCandidate = Optional.of(className); in write() 221 public String sourceReferenceForClassName(ClassName className) { in sourceReferenceForClassName() argument 222 if (isImported(className)) { in sourceReferenceForClassName() 223 return className.simpleName(); in sourceReferenceForClassName() [all …]
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
D | sort.js | 49 var sortup = header.className.indexOf('down ') == 0; 76 header.className = 'up ' + header.className; 82 header.className = 'down ' + header.className; 133 if (c.className) { 134 if (c.className.indexOf('down ') == 0) { 135 c.className = c.className.slice(5); 137 if (c.className.indexOf('up ') == 0) { 138 c.className = c.className.slice(3);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | CoverageTest.java | 66 private void writeFile(String className, byte bytes[]) in writeFile() argument 68 File file = new File(path + File.separator + className + ".dat"); in writeFile() 85 private void add(String className, int classModifiers, byte bytes[]) in add() argument 87 CoverageTarget newTarget = new CoverageTarget(className, classModifiers, bytes); in add() 98 public CoverageTarget(String className, int classModifiers, byte bytes[]) in CoverageTarget() argument 100 super(className, bytes == null? null : new ByteArrayInputStream(bytes)); in CoverageTarget() 140 String className = "com.ibm.icu" + str.substring(0, ix).replace('/', '.'); in visit() local 143 if (className.startsWith("com.ibm.icu.dev.")) { in visit() 148 Class c = Class.forName(className); in visit() 153 SerializableTest.Handler handler = SerializableTest.getHandler(className); in visit() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | CoverageTest.java | 70 private void writeFile(String className, byte bytes[]) in writeFile() argument 72 File file = new File(path + File.separator + className + ".dat"); in writeFile() 89 private void add(String className, int classModifiers, byte bytes[]) in add() argument 91 CoverageTarget newTarget = new CoverageTarget(className, classModifiers, bytes); in add() 102 public CoverageTarget(String className, int classModifiers, byte bytes[]) in CoverageTarget() argument 104 super(className, bytes == null? null : new ByteArrayInputStream(bytes)); in CoverageTarget() 144 String className = "android.icu" + str.substring(0, ix).replace('/', '.'); in visit() local 147 if (className.startsWith("android.icu.dev.")) { in visit() 152 Class c = Class.forName(className); in visit() 157 SerializableTest.Handler handler = SerializableTest.getHandler(className); in visit() [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | CompilingClassLoader.java | 109 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/ |
D | ObjectFactory.java | 59 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()
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/ |
D | ClassNameTest.java | 88 ClassName className = ClassName.fromTypeElement(element); in peerNamed_topLevelClass() local 89 ClassName peerName = className.peerNamed("Foo"); in peerNamed_topLevelClass() 97 ClassName className = ClassName.fromTypeElement(element); in peerNamed_nestedClass() local 98 ClassName peerName = className.peerNamed("Foo"); in peerNamed_nestedClass() 106 ClassName className = ClassName.fromTypeElement(element); in peerNamed_deeplyNestedClass() local 107 ClassName peerName = className.peerNamed("Foo"); in peerNamed_deeplyNestedClass() 113 ClassName className = ClassName.fromClass(ClassNameTest.class); in fromClass_NonNestedClass() local 114 assertThat(className.canonicalName()).isEqualTo( in fromClass_NonNestedClass() 119 ClassName className = ClassName.fromClass(InnerClass.class); in fromClass_NestedClass() local 120 assertThat(className.canonicalName()).isEqualTo( in fromClass_NestedClass() [all …]
|
/external/proguard/src/proguard/obfuscate/ |
D | MappingReader.java | 54 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()
|