/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
D | ShadowMapTest.java | 28 private ShadowMap baseShadowMap; 47 baseShadowMap = ShadowMap.createFromShadowProviders(shadowProviders); in setUp() 51 ShadowMap map = baseShadowMap.newBuilder().build(); in shouldLookUpShadowClassesByNamingConvention() 56 ShadowMap map = baseShadowMap.newBuilder() in shouldNotReturnMismatchedClassesJustBecauseTheSimpleNameMatches() 64 ShadowMap current = baseShadowMap.newBuilder().addShadowClass(A1, A2, true, false).build(); in getInvalidatedClasses_disjoin() 65 ShadowMap previous = baseShadowMap.newBuilder().addShadowClass(B1, B2, true, false).build(); in getInvalidatedClasses_disjoin() 71 ShadowMap current = in getInvalidatedClasses_overlap() 77 ShadowMap previous = in getInvalidatedClasses_overlap() 88 ShadowMap a = baseShadowMap.newBuilder().addShadowClass(A, B, true, false).build(); in equalsHashCode() 89 ShadowMap b = baseShadowMap.newBuilder().addShadowClass(A, B, true, false).build(); in equalsHashCode() [all …]
|
D | ShadowWranglerUnitTest.java | 25 shadowWrangler = new ShadowWrangler(ShadowMap.EMPTY, 23, interceptors); in setup() 71 ShadowMap shadowMap = new ShadowMap.Builder().addShadowClasses(ShadowDummyClass.class).build(); in shadowClassWithSdkRange() 81 ShadowMap shadowMap = new ShadowMap.Builder().addShadowClasses(ShadowDummyClass.class).build(); in shadowMethodWithSdkRange() 91 ShadowMap shadowMap = new ShadowMap.Builder().addShadowClasses(ShadowDummyClass.class).build(); in shadowMethodWithMinSdk() 102 ShadowMap shadowMap = new ShadowMap.Builder().addShadowClasses(ShadowDummyClass.class).build(); in shadowMethodWithMaxSdk() 113 ShadowMap shadowMap = new ShadowMap.Builder().addShadowClasses(ShadowDummyClass.class).build(); in shadowConstructor() 123 …ShadowMap shadowMap = new ShadowMap.Builder().addShadowClasses(ShadowDummyClass.class, ShadowChild… in whenChildShadowHasNarrowerSdk_createShadowFor_shouldReturnSuperShadowSometimes() 138 …ShadowMap shadowMap = new ShadowMap.Builder().addShadowClasses(ShadowDummyClass.class, ShadowChild… in whenChildShadowHasNarrowerSdk_shouldCallAppropriateShadowMethod()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ShadowMap.java | 24 public class ShadowMap { class 26 static final ShadowMap EMPTY = new ShadowMap(ImmutableMap.of(), ImmutableMap.of()); 32 public static ShadowMap createFromShadowProviders(Iterable<ShadowProvider> shadowProviders) { in createFromShadowProviders() 39 return new ShadowMap(ImmutableMap.copyOf(shadowMap), Collections.emptyMap(), in createFromShadowProviders() 43 …ShadowMap(ImmutableMap<String, String> defaultShadows, Map<String, ShadowInfo> overriddenShadows) { in ShadowMap() method in ShadowMap 47 private ShadowMap(ImmutableMap<String, String> defaultShadows, in ShadowMap() method in ShadowMap 140 public Set<String> getInvalidatedClasses(ShadowMap previous) { in getInvalidatedClasses() 179 if (!(o instanceof ShadowMap)) return false; in equals() 181 ShadowMap shadowMap = (ShadowMap) o; in equals() 204 public Builder(ShadowMap shadowMap) { in Builder() [all …]
|
D | Sandbox.java | 13 private ShadowMap shadowMap = ShadowMap.EMPTY; 37 public void replaceShadowMap(ShadowMap shadowMap) { in replaceShadowMap() 39 ShadowMap oldShadowMap = this.shadowMap; in replaceShadowMap()
|
D | ShadowWrangler.java | 71 private final ShadowMap shadowMap; 98 public ShadowWrangler(ShadowMap shadowMap, int apiLevel, Interceptors interceptors) { in ShadowWrangler() 276 ShadowInfo shadowSuperclassInfo = ShadowMap.obtainShadowInfo(shadowSuperclass, true);
|
/external/robolectric-shadows/junit/src/main/java/org/robolectric/internal/ |
D | SandboxTestRunner.java | 34 import org.robolectric.internal.bytecode.ShadowMap; 44 private static final ShadowMap BASE_SHADOW_MAP; 48 BASE_SHADOW_MAP = ShadowMap.createFromShadowProviders(shadowProviders); 174 ShadowInfo shadowInfo = ShadowMap.obtainShadowInfo(shadowClass); 200 ShadowMap.Builder builder = createShadowMap().newBuilder(); 209 ShadowMap shadowMap = builder.build(); 337 protected ShadowMap createShadowMap() { 342 protected ClassHandler createClassHandler(ShadowMap shadowMap, Sandbox sandbox) {
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | RobolectricTestRunner.java | 48 import org.robolectric.internal.bytecode.ShadowMap; 165 protected ClassHandler createClassHandler(ShadowMap shadowMap, Sandbox sandbox) { in createClassHandler()
|
/external/clang/lib/Sema/ |
D | SemaLookup.cpp | 3344 typedef llvm::DenseMap<DeclarationName, ShadowMapEntry> ShadowMap; typedef in __anon19e32a9a0611::VisibleDeclsRecord 3347 std::list<ShadowMap> ShadowMaps; 3382 typedef VisibleDeclsRecord::ShadowMap ShadowMap; typedef in __anon19e32a9a0611::ShadowContextRAII 3398 std::list<ShadowMap>::reverse_iterator SM = ShadowMaps.rbegin(); in checkHidden() 3399 for (std::list<ShadowMap>::reverse_iterator SMEnd = ShadowMaps.rend(); in checkHidden() 3401 ShadowMap::iterator Pos = SM->find(ND->getDeclName()); in checkHidden()
|
D | SemaCodeComplete.cpp | 119 typedef llvm::DenseMap<DeclarationName, ShadowMapEntry> ShadowMap; typedef in __anon28dbc1b40111::ResultBuilder 147 std::list<ShadowMap> ShadowMaps; 859 ShadowMap &SMap = ShadowMaps.back(); in MaybeAddResult() 861 ShadowMap::iterator NamePos = SMap.find(R.Declaration->getDeclName()); in MaybeAddResult() 882 std::list<ShadowMap>::iterator SM, SMEnd = ShadowMaps.end(); in MaybeAddResult() 886 ShadowMap::iterator NamePos = SM->find(R.Declaration->getDeclName()); in MaybeAddResult() 1042 for (ShadowMap::iterator E = ShadowMaps.back().begin(), in ExitScope()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 626 ValueMap<Value*, Value*> ShadowMap, OriginMap; member 1026 assert(!ShadowMap.count(V) && "Values may only have one shadow"); in setShadow() 1027 ShadowMap[V] = PropagateShadow ? SV : getCleanShadow(V); in setShadow() 1089 Value *Shadow = ShadowMap[V]; in getShadow() 1105 Value **ShadowPtr = &ShadowMap[V]; in getShadow()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 775 ValueMap<Value*, Value*> ShadowMap, OriginMap; member 1189 assert(!ShadowMap.count(V) && "Values may only have one shadow"); in setShadow() 1190 ShadowMap[V] = PropagateShadow ? SV : getCleanShadow(V); in setShadow() 1258 Value *Shadow = ShadowMap[V]; in getShadow() 1274 Value **ShadowPtr = &ShadowMap[V]; in getShadow()
|