Home
last modified time | relevance | path

Searched refs:newClass (Results 1 – 11 of 11) sorted by relevance

/external/jdiff/src/jdiff/
DAPIComparator.java193 ClassAPI newClass = (ClassAPI)(iter.next()); in comparePackages() local
194 int idx = Collections.binarySearch(oldPkg.classes_, newClass); in comparePackages()
197 int existsOld = oldPkg.classes_.indexOf(newClass); in comparePackages()
203 System.out.println(" Class " + newClass.name_ + " was added"); in comparePackages()
204 pkgDiff.classesAdded.add(newClass); in comparePackages()
243 public double compareClasses(ClassAPI oldClass, ClassAPI newClass, PackageDiff pkgDiff) { in compareClasses() argument
246 " and new class " + newClass.name_); in compareClasses()
250 classDiff.isInterface_ = newClass.isInterface_; // Used in the report in compareClasses()
253 if (oldClass.isInterface_ != newClass.isInterface_) { in compareClasses()
262 String inheritanceChange = ClassDiff.diff(oldClass, newClass); in compareClasses()
[all …]
DClassDiff.java84 public static String diff(ClassAPI oldClass, ClassAPI newClass) { in diff() argument
86 Collections.sort(newClass.implements_); in diff()
89 if (oldClass.extends_ != null && newClass.extends_ != null && in diff()
90 oldClass.extends_.compareTo(newClass.extends_) != 0) { in diff()
91 …rclass changed from <code>" + oldClass.extends_ + "</code> to <code>" + newClass.extends_ + "</cod… in diff()
100 int idx = Collections.binarySearch(newClass.implements_, oldInterface); in diff()
110 iter = newClass.implements_.iterator(); in diff()
/external/scudo/standalone/tools/
Dcompute_size_class_config.cpp109 for (size_t newClass = 16; newClass != largestClass; newClass += 16) { in main() local
112 if (__builtin_ctzl(newClass - headerSize) + in main()
113 __builtin_clzl(newClass - headerSize) < in main()
117 classes.push_back(newClass); in main()
122 minWastageClass = newClass; in main()
/external/llvm-project/compiler-rt/lib/scudo/standalone/tools/
Dcompute_size_class_config.cpp109 for (size_t newClass = 16; newClass != largestClass; newClass += 16) { in main() local
112 if (__builtin_ctzl(newClass - headerSize) + in main()
113 __builtin_clzl(newClass - headerSize) < in main()
117 classes.push_back(newClass); in main()
122 minWastageClass = newClass; in main()
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/runner/
DParserLoader.java66 final Class<?> newClass = defineClass(null, classData, 0, classData.length); in ParserLoader() local
67 assert(newClass != null); in ParserLoader()
68 resolveClass(newClass); in ParserLoader()
73 classList.put(className, newClass); in ParserLoader()
/external/javassist/src/main/javassist/
DCodeConverter.java108 public void replaceNew(CtClass newClass, in replaceNew() argument
110 transformers = new TransformNew(transformers, newClass.getName(), in replaceNew()
135 public void replaceNew(CtClass oldClass, CtClass newClass) { in replaceNew() argument
137 newClass.getName()); in replaceNew()
158 CtClass newClass, String newFieldname) { in redirectFieldAccess() argument
160 newClass.getName(), in redirectFieldAccess()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DRedefineClassesTest.java276 byte[] newClass = getNewClassBytes(); in testRedefineClasses001()
277 if (newClass == null) { in testRedefineClasses001()
288 checkedCommand.setNextValueAsInt(newClass.length); in testRedefineClasses001()
289 for (byte currentByte: newClass) { in testRedefineClasses001()
292 logWriter.println("=> Number of written bytes as new class file = " + newClass.length); in testRedefineClasses001()
/external/javassist/src/main/javassist/util/
DHotSwapAgent.java110 public static void redefine(Class<?> oldClass, CtClass newClass) in redefine() argument
114 CtClass[] newClasses = { newClass }; in redefine()
/external/javassist/src/test/javassist/
DJvstTest4.java1046 CtClass newClass = sloader.makeClass("test4.TestDeadcode"); in testDeadcode() local
1047 addDeadCode(newClass, "public void evaluate(){if (false) {int i = 0;}}"); in testDeadcode()
1048 addDeadCode(newClass, "public void evaluate2(){if (false == true) {int i = 0;}}"); in testDeadcode()
1049 …addDeadCode(newClass, "public void evaluate3(){if (true) {} else {} int i = 0; if (false) {} else … in testDeadcode()
1050 …addDeadCode(newClass, "public void evaluate4(){ for (;false;); int i = false ? 1 : 0; while (true)… in testDeadcode()
1051 …addDeadCode(newClass, "public void evaluate5(){ boolean b = !false; b = false && b; b = true && tr… in testDeadcode()
1053 addDeadCode(newClass, "public boolean evaluate6(){ return !false; }"); in testDeadcode()
1054 addDeadCode(newClass, "public boolean evaluate7(){ return !true; }"); in testDeadcode()
1056 newClass.debugWriteFile(); in testDeadcode()
1057 Class<?> cClass = newClass.toClass(test4.DefineClassCapability.class); in testDeadcode()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptor.java247 RubyClass klass = RubyClass.newClass(runtime, runtime.getObject()); in buildClassFromDescriptor()
/external/protobuf/php/src/Google/Protobuf/Internal/
DGPBUtil.php194 public static function checkMessage(&$var, $klass, $newClass = null) argument