Home
last modified time | relevance | path

Searched refs:visitorAccepter (Results 1 – 12 of 12) sorted by relevance

/external/proguard/src/proguard/shrink/
DShortestUsageMarker.java116 protected void markAsUsed(VisitorAccepter visitorAccepter) in markAsUsed() argument
118 Object visitorInfo = visitorAccepter.getVisitorInfo(); in markAsUsed()
128 visitorAccepter.setVisitorInfo(shortestUsageMark); in markAsUsed()
132 protected boolean shouldBeMarkedAsUsed(VisitorAccepter visitorAccepter) in shouldBeMarkedAsUsed() argument
134 Object visitorInfo = visitorAccepter.getVisitorInfo(); in shouldBeMarkedAsUsed()
145 protected boolean isUsed(VisitorAccepter visitorAccepter) in isUsed() argument
147 Object visitorInfo = visitorAccepter.getVisitorInfo(); in isUsed()
155 protected void markAsPossiblyUsed(VisitorAccepter visitorAccepter) in markAsPossiblyUsed() argument
157 visitorAccepter.setVisitorInfo(new ShortestUsageMark(currentUsageMark, false)); in markAsPossiblyUsed()
161 protected boolean shouldBeMarkedAsPossiblyUsed(VisitorAccepter visitorAccepter) in shouldBeMarkedAsPossiblyUsed() argument
[all …]
DUsageMarker.java1009 protected void markAsUsed(VisitorAccepter visitorAccepter) in markAsUsed() argument
1011 visitorAccepter.setVisitorInfo(USED); in markAsUsed()
1019 protected boolean shouldBeMarkedAsUsed(VisitorAccepter visitorAccepter) in shouldBeMarkedAsUsed() argument
1021 return visitorAccepter.getVisitorInfo() != USED; in shouldBeMarkedAsUsed()
1028 protected boolean isUsed(VisitorAccepter visitorAccepter) in isUsed() argument
1030 return visitorAccepter.getVisitorInfo() == USED; in isUsed()
1037 protected void markAsPossiblyUsed(VisitorAccepter visitorAccepter) in markAsPossiblyUsed() argument
1039 visitorAccepter.setVisitorInfo(POSSIBLY_USED); in markAsPossiblyUsed()
1047 protected boolean shouldBeMarkedAsPossiblyUsed(VisitorAccepter visitorAccepter) in shouldBeMarkedAsPossiblyUsed() argument
1049 return visitorAccepter.getVisitorInfo() != USED && in shouldBeMarkedAsPossiblyUsed()
[all …]
DShortestUsagePrinter.java202 private void printReason(VisitorAccepter visitorAccepter) in printReason() argument
204 if (shortestUsageMarker.isUsed(visitorAccepter)) in printReason()
206 … ShortestUsageMark shortestUsageMark = shortestUsageMarker.getShortestUsageMark(visitorAccepter); in printReason()
DClassShrinker.java544 VisitorAccepter visitorAccepter = array[index]; in shrinkArray() local
546 if (usageMarker.isUsed(visitorAccepter)) in shrinkArray()
548 array[counter++] = visitorAccepter; in shrinkArray()
/external/proguard/src/proguard/obfuscate/
DAttributeUsageMarker.java57 private static void markAsUsed(VisitorAccepter visitorAccepter) in markAsUsed() argument
59 visitorAccepter.setVisitorInfo(USED); in markAsUsed()
67 static boolean isUsed(VisitorAccepter visitorAccepter) in isUsed() argument
69 return visitorAccepter.getVisitorInfo() == USED; in isUsed()
/external/proguard/src/proguard/optimize/
DKeepMarker.java87 private static void markAsKept(VisitorAccepter visitorAccepter) in markAsKept() argument
89 visitorAccepter.setVisitorInfo(KEPT); in markAsKept()
93 public static boolean isKept(VisitorAccepter visitorAccepter) in isKept() argument
98 MethodLinker.lastVisitorAccepter(visitorAccepter).getVisitorInfo(); in isKept()
/external/proguard/src/proguard/classfile/editor/
DNameAndTypeShrinker.java129 private void markAsUsed(VisitorAccepter visitorAccepter) in markAsUsed() argument
131 visitorAccepter.setVisitorInfo(USED); in markAsUsed()
139 private boolean isUsed(VisitorAccepter visitorAccepter) in isUsed() argument
141 return visitorAccepter.getVisitorInfo() == USED; in isUsed()
DUtf8Shrinker.java418 private void markAsUsed(VisitorAccepter visitorAccepter) in markAsUsed() argument
420 visitorAccepter.setVisitorInfo(USED); in markAsUsed()
428 private boolean isUsed(VisitorAccepter visitorAccepter) in isUsed() argument
430 return visitorAccepter.getVisitorInfo() == USED; in isUsed()
DConstantPoolShrinker.java550 private boolean isUsed(VisitorAccepter visitorAccepter) in isUsed() argument
552 return visitorAccepter.getVisitorInfo() == USED; in isUsed()
/external/proguard/src/proguard/classfile/util/
DMethodLinker.java148 public static VisitorAccepter lastVisitorAccepter(VisitorAccepter visitorAccepter) in lastVisitorAccepter() argument
150 VisitorAccepter lastVisitorAccepter = visitorAccepter; in lastVisitorAccepter()
/external/proguard/src/proguard/classfile/visitor/
DClassCleaner.java360 private void clean(VisitorAccepter visitorAccepter) in clean() argument
362 visitorAccepter.setVisitorInfo(null); in clean()
DClassPrinter.java1178 private String visitorInfo(VisitorAccepter visitorAccepter) in visitorInfo() argument
1180 return visitorAccepter.getVisitorInfo() == null ? "-" : "+"; in visitorInfo()