Home
last modified time | relevance | path

Searched refs:newName (Results 1 – 25 of 42) sorted by relevance

12

/external/lzma/CPP/7zip/Archive/Common/
DItemNameUtils.cpp24 UString newName = name; in GetOSName() local
25 newName.Replace(kDirDelimiter, kOSDirDelimiter); in GetOSName()
26 return newName; in GetOSName()
33 UString newName = GetOSName(name); in GetOSName2() local
34 if (newName[newName.Length() - 1] == kOSDirDelimiter) in GetOSName2()
35 newName.Delete(newName.Length() - 1); in GetOSName2()
36 return newName; in GetOSName2()
55 UString newName = name; in WinNameToOSName() local
56 newName.Replace(L'\\', kOSDirDelimiter); in WinNameToOSName()
57 return newName; in WinNameToOSName()
/external/proguard/src/proguard/obfuscate/
DMemberObfuscator.java95 String newName = newMemberName(member); in visitAnyMember() local
98 if (newName == null) in visitAnyMember()
105 newName = nameFactory.nextName(); in visitAnyMember()
107 while (nameMap.containsKey(newName)); in visitAnyMember()
110 nameMap.put(newName, name); in visitAnyMember()
113 setNewMemberName(member, newName); in visitAnyMember()
207 private String newName; field in MemberObfuscator.MyFixedName
210 public MyFixedName(String newName) in MyFixedName() argument
212 this.newName = newName; in MyFixedName()
220 return newName; in getVisitorInfo()
[all …]
DClassRenamer.java76 String newName = MemberObfuscator.newMemberName(programMember); in visitProgramMember() local
77 if (newName != null && in visitProgramMember()
78 !newName.equals(name)) in visitProgramMember()
81 new ConstantPoolEditor(programClass).addUtf8Constant(newName); in visitProgramMember()
88 String newName = MemberObfuscator.newMemberName(libraryMember); in visitLibraryMember() local
89 if (newName != null) in visitLibraryMember()
91 libraryMember.name = newName; in visitLibraryMember()
101 String newName = ClassObfuscator.newClassName(clazz); in visitClassConstant() local
102 if (newName != null) in visitClassConstant()
106 new ConstantPoolEditor((ProgramClass)clazz).addUtf8Constant(newName); in visitClassConstant()
DMappingPrinter.java73 String newName = ClassObfuscator.newClassName(programClass); in visitProgramClass() local
77 ClassUtil.externalClassName(newName) + in visitProgramClass()
90 String newName = MemberObfuscator.newMemberName(programField); in visitProgramField() local
91 if (newName != null) in visitProgramField()
99 newName); in visitProgramField()
114 String newName = MemberObfuscator.newMemberName(programMethod); in visitProgramMethod() local
115 if (newName != null) in visitProgramMethod()
125 newName); in visitProgramMethod()
DMemberNameCollector.java73 String newName = MemberObfuscator.newMemberName(member); in visitAnyMember() local
76 if (newName != null) in visitAnyMember()
95 String otherName = (String)nameMap.get(newName); in visitAnyMember()
101 nameMap.put(newName, name); in visitAnyMember()
DSimpleNameFactory.java94 String name = newName(index); in name()
104 private String newName(int index) in newName() method in SimpleNameFactory
117 String newName = baseIndex == 0 ? in newName() local
121 return newName; in newName()
DMemberNameConflictFixer.java123 String newName = MemberObfuscator.newMemberName(member); in visitMember() local
126 String previousName = (String)nameMap.get(newName); in visitMember()
143 "' can't be mapped to '" + newName + in visitMember()
148 "', which is already being mapped to '" + newName + "'"); in visitMember() local
DMappingReader.java164 String newName = line.substring(arrowIndex + 2).trim(); in processClassMemberMapping()
169 newName.length() > 0) in processClassMemberMapping()
174 mappingProcessor.processFieldMapping(className, type, name, newName); in processClassMemberMapping()
195 newName); in processClassMemberMapping()
DMappingKeeper.java69 String newName = ClassUtil.internalClassName(newClassName); in processClassMapping() local
77 !currentNewName.equals(newName)) in processClassMapping()
90 ClassObfuscator.setNewClassName(clazz, newName); in processClassMapping()
/external/lzma/CPP/7zip/Archive/
DSplitHandler.cpp71 UString newName; in GetNextName() local
82 newName = c + newName; in GetNextName()
88 newName = c + newName; in GetNextName()
96 newName.Empty(); in GetNextName()
99 newName += newChar; in GetNextName()
102 newName = c + newName; in GetNextName()
105 newName = _changedPart[i] + newName; in GetNextName()
119 newName = c + newName; in GetNextName()
121 newName = UString(L'1') + newName; in GetNextName()
125 newName = c + newName; in GetNextName()
[all …]
/external/proguard/src/proguard/io/
DDataEntryRenamer.java87 String newName = (String)nameMap.get(name); in read() local
88 if (newName != null) in read()
92 newName.length() > 0) in read()
94 newName = newName.substring(0, newName.length() - 1); in read()
97 renamedDataEntryReader.read(new RenamedDataEntry(dataEntry, newName)); in read()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCallablesTest.java46 final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName"); in testRenaming() local
49 assertEquals(Thread.currentThread().getName(), newName.get()); in testRenaming()
53 Callables.threadRenaming(callable, newName).call(); in testRenaming()
59 final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName"); in testRenaming_exceptionalReturn() local
63 assertEquals(Thread.currentThread().getName(), newName.get()); in testRenaming_exceptionalReturn()
68 Callables.threadRenaming(callable, newName).call(); in testRenaming_exceptionalReturn()
85 Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName"); in testRenaming_noPermissions() local
92 Callables.threadRenaming(callable, newName).call(); in testRenaming_noPermissions()
/external/proguard/src/proguard/classfile/editor/
DMemberReferenceFixer.java104 String newName = referencedMember.getName(referencedClass); in visitStringConstant() local
106 if (!stringConstant.getString(clazz).equals(newName)) in visitStringConstant()
115 new ConstantPoolEditor((ProgramClass)clazz).addUtf8Constant(newName); in visitStringConstant()
130 String newName = referencedMember.getName(referencedClass); in visitFieldrefConstant() local
133 if (!fieldrefConstant.getName(clazz).equals(newName) || in visitFieldrefConstant()
143 … new ConstantPoolEditor((ProgramClass)clazz).addNameAndTypeConstant(newName, newType); in visitFieldrefConstant()
158 String newName = referencedMember.getName(referencedClass); in visitInterfaceMethodrefConstant() local
161 if (!interfaceMethodrefConstant.getName(clazz).equals(newName) || in visitInterfaceMethodrefConstant()
171 … new ConstantPoolEditor((ProgramClass)clazz).addNameAndTypeConstant(newName, newType); in visitInterfaceMethodrefConstant()
214 String newName = referencedMember.getName(referencedClass); in visitMethodrefConstant() local
[all …]
DClassReferenceFixer.java115 String newName = newUniqueMemberName(name, descriptor); in visitProgramField() local
117 constantPoolEditor.addUtf8Constant(newName); in visitProgramField()
146 String newName = newUniqueMemberName(name, descriptor); in visitProgramMethod() local
148 constantPoolEditor.addUtf8Constant(newName); in visitProgramMethod()
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumDescriptorSimplifier.java98 String newName = simplifyDescriptor(name, referencedClass); in visitStringConstant() local
101 constantPoolEditor.addUtf8Constant(newName); in visitStringConstant()
147 String newName = simplifyDescriptor(name, referencedClass); in visitClassConstant() local
150 constantPoolEditor.addUtf8Constant(newName); in visitClassConstant()
170 …String newName = name + ClassConstants.SPECIAL_MEMBER_SEPARATOR + Long.toHexString(Math.abs((descr… in visitProgramField() local
174 …Simplifier: ["+programClass.getName()+"."+name+" "+descriptor + "] -> ["+newName+" "+newDescriptor… in visitProgramField()
182 constantPoolEditor.addUtf8Constant(newName); in visitProgramField()
224 String newName = name; in visitProgramMethod() local
229newName += ClassConstants.SPECIAL_MEMBER_SEPARATOR + Long.toHexString(Math.abs((descriptor).hashCo… in visitProgramMethod()
234 …riptorSimplifier: ["+programClass.getName()+"."+name+descriptor+"] -> ["+newName+newDescriptor+"]"… in visitProgramMethod()
[all …]
/external/smali/util/src/main/java/org/jf/util/
DClassFileNameHandler.java460 StringBuilder newName = new StringBuilder(pathElement.length() + suffix.length() + 1); in addSuffixBeforeExtension() local
462 newName.append(pathElement); in addSuffixBeforeExtension()
463 newName.append(suffix); in addSuffixBeforeExtension()
465 newName.append(pathElement.subSequence(0, extensionStart)); in addSuffixBeforeExtension()
466 newName.append(suffix); in addSuffixBeforeExtension()
467 newName.append(pathElement.subSequence(extensionStart, pathElement.length())); in addSuffixBeforeExtension()
469 return newName.toString(); in addSuffixBeforeExtension()
/external/proguard/src/proguard/optimize/
DMethodDescriptorShrinker.java91 String newName = name; in visitProgramMethod() local
96newName += ClassConstants.SPECIAL_MEMBER_SEPARATOR + Long.toHexString(Math.abs((descriptor).hashCo… in visitProgramMethod()
103 if (!newName.equals(name)) in visitProgramMethod()
106 constantPoolEditor.addUtf8Constant(newName); in visitProgramMethod()
121 System.out.println(" -> ["+newName+newDescriptor+"]"); in visitProgramMethod()
/external/javassist/src/main/javassist/bytecode/
DConstPool.java997 public void renameClass(String oldName, String newName) { in renameClass() argument
1003 ci.renameClass(this, oldName, newName); in renameClass()
1132 public void renameClass(ConstPool cp, String oldName, String newName) {} in renameClass() argument
1189 public void renameClass(ConstPool cp, String oldName, String newName) { in renameClass() argument
1192 name = cp.addUtf8Info(newName); in renameClass()
1194 String nameStr2 = Descriptor.rename(nameStr, oldName, newName); in renameClass()
1203 String newName = Descriptor.rename(oldName, map); in renameClass() local
1204 if (oldName != newName) in renameClass()
1205 name = cp.addUtf8Info(newName); in renameClass()
1208 String newName = (String)map.get(oldName); in renameClass() local
[all …]
DFieldInfo.java143 public void setName(String newName) { in setName() argument
144 name = constPool.addUtf8Info(newName); in setName()
145 cachedName = newName; in setName()
DAnnotationsAttribute.java446 String newName = Descriptor.rename(name, classnames); in renameType() local
447 if (!name.equals(newName)) { in renameType()
448 int index2 = cpool.addUtf8Info(newName); in renameType()
557 String newName = Descriptor.rename(name, classnames); in copyType() local
558 return destPool.addUtf8Info(newName); in copyType()
/external/clang/test/SemaObjC/
Dproperty-ns-returns-not-retained-attr.m5 @property (nonatomic, retain) id newName __attribute__((ns_returns_not_retained)) ;
15 @synthesize newName;
/external/jmdns/src/javax/jmdns/impl/
DServiceInfoImpl.java359 String newName = name.trim(); in removeSeparators() local
360 if (newName.startsWith(".")) { in removeSeparators()
361 newName = newName.substring(1); in removeSeparators()
363 if (newName.startsWith("_")) { in removeSeparators()
364 newName = newName.substring(1); in removeSeparators()
366 if (newName.endsWith(".")) { in removeSeparators()
367 newName = newName.substring(0, newName.length() - 1); in removeSeparators()
369 return newName; in removeSeparators()
/external/javassist/src/main/javassist/
DClassPool.java385 public CtClass getAndRename(String orgName, String newName) in getAndRename() argument
395 clazz.setName(newName); // indirectly calls in getAndRename()
410 String newName = clazz.getName(); in classNameChanged() local
411 checkNotFrozen(newName); in classNameChanged()
412 cacheCtClass(newName, clazz, false); in classNameChanged()
/external/mockito/src/org/mockito/internal/util/
DMockUtil.java87 public void maybeRedefineMockName(Object mock, String newName) { in maybeRedefineMockName() argument
91 …((CreationSettings) getMockHandler(mock).getMockSettings()).setMockName(new MockNameImpl(newName)); in maybeRedefineMockName()
/external/lzma/CPP/7zip/UI/Console/
DExtractCallbackConsole.cpp64 const wchar_t *newName, const FILETIME *, const UInt64 *, in AskOverwrite() argument
69 (*OutStream) << newName; in AskOverwrite()

12