Home
last modified time | relevance | path

Searched refs:getQualifiers (Results 1 – 25 of 63) sorted by relevance

123

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DQualifiersTest.java34 assertThat(RuntimeEnvironment.getQualifiers()) in testDefaultQualifiers()
41 assertThat(RuntimeEnvironment.getQualifiers()) in testDefaultQualifiers_withoutRegion()
71 assertThat(RuntimeEnvironment.getQualifiers()).contains("fr"); in shouldGetFromMethod()
144 assertThat(RuntimeEnvironment.getQualifiers()).contains("-widecg-highdr-"); in testQualifiersNewIn26()
145 assertThat(RuntimeEnvironment.getQualifiers()).contains("-vrheadset-"); in testQualifiersNewIn26()
DRobolectricTestRunnerSelfTest.java66 assertThat(RuntimeEnvironment.getQualifiers()).contains("fr"); in internalBeforeTest_testValuesResQualifiers()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java120 assertThat(RuntimeEnvironment.getQualifiers()).contains("v" + Build.VERSION.RESOURCES_SDK_INT); in setUpApplicationState_setsVersionQualifierFromSdkConfig()
132 assertThat(RuntimeEnvironment.getQualifiers()) in setUpApplicationState_setsVersionQualifierFromSdkConfigWithOtherQualifiers()
219 assertThat(RuntimeEnvironment.getQualifiers()).contains("w470dp-h320dp"); in whenNotPrefixedWithPlus_setQualifiers_shouldNotBeBasedOnPreviousConfig()
220 assertThat(RuntimeEnvironment.getQualifiers()).contains("-land-"); in whenNotPrefixedWithPlus_setQualifiers_shouldNotBeBasedOnPreviousConfig()
237 assertThat(RuntimeEnvironment.getQualifiers()).contains("w124dp-h456dp"); in whenPrefixedWithPlus_setQualifiers_shouldBeBasedOnPreviousConfig()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java96 public static String getQualifiers() { in getQualifiers() method in RuntimeEnvironment
98 return getQualifiers(systemResources.getConfiguration(), systemResources.getDisplayMetrics()); in getQualifiers()
108 public static String getQualifiers(Configuration configuration, DisplayMetrics displayMetrics) { in getQualifiers() method in RuntimeEnvironment
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DInjectConstructorValidator.java40 import static dagger.internal.codegen.InjectionAnnotations.getQualifiers;
60 for (AnnotationMirror qualifier : getQualifiers(constructorElement)) { in validate()
65 ImmutableSet<? extends AnnotationMirror> qualifiers = getQualifiers(parameter); in validate()
DInjectionAnnotations.java51 ImmutableSet<? extends AnnotationMirror> qualifierAnnotations = getQualifiers(e); in getQualifier()
63 static ImmutableSet<? extends AnnotationMirror> getQualifiers(Element element) { in getQualifiers() method in InjectionAnnotations
DInjectFieldValidator.java30 import static dagger.internal.codegen.InjectionAnnotations.getQualifiers;
66 ImmutableSet<? extends AnnotationMirror> qualifiers = getQualifiers(fieldElement); in validate()
DInjectMethodValidator.java32 import static dagger.internal.codegen.InjectionAnnotations.getQualifiers;
73 ImmutableSet<? extends AnnotationMirror> qualifiers = getQualifiers(parameter); in validate()
DProvidesMethodValidator.java48 import static dagger.internal.codegen.InjectionAnnotations.getQualifiers;
162 ImmutableSet<? extends AnnotationMirror> qualifiers = getQualifiers(methodElement); in validateMethodQualifiers()
/external/clang/lib/CodeGen/
DCGValue.h375 Qualifiers qs = type.getQualifiers();
392 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(), in MakeVectorElt()
403 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(), in MakeExtVectorElt()
422 R.Initialize(type, type.getQualifiers(), Addr.getAlignment(), alignSource); in MakeBitfield()
430 R.Initialize(type, type.getQualifiers(), Reg.getAlignment(), in MakeGlobalReg()
540 Qualifiers getQualifiers() const { return Quals; } in getQualifiers() function
DCGObjCRuntime.cpp288 switch (paramDecl->getType().getQualifiers().getObjCLifetime()) { in EmitInitOfCatchParam()
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp390 Qualifiers Quals = QT.getQualifiers(); in getFullyQualifiedType()
403 Qualifiers Quals = QT.getQualifiers(); in getFullyQualifiedType()
422 Qualifiers Quals = QT.getQualifiers(); in getFullyQualifiedType()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DXmlContext.java24 public Qualifiers getQualifiers() { in getQualifiers() method in XmlContext
DResBundle.java46 … bestMatchSoFar == null ? "<none>" : bestMatchSoFar.getXmlContext().getQualifiers().toString(), in pick()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResBundleTest.java170 when(xmlContext.getQualifiers()).thenReturn(Qualifiers.parse("--")); in shouldNotOverwriteValuesWithMatchingQualifiers()
198 when(mockXmlContext.getQualifiers()).thenReturn(qualifiers); in createStringTypedResource()
/external/clang/include/clang/AST/
DType.h722 Qualifiers getQualifiers() const;
1010 return getQualifiers().getObjCLifetime();
1014 return getQualifiers().hasNonTrivialObjCLifetime();
1018 return getQualifiers().hasStrongOrWeakObjCLifetime();
1205 Qualifiers getQualifiers() const { return Quals; }
2204 Qualifiers thisQuals = PointeeType.getQualifiers();
2205 Qualifiers otherQuals = other.getPointeeType().getQualifiers();
5241 addConsistentQualifiers(extQuals->getQualifiers());
5276 Qualifiers qs = eq->getQualifiers();
5284 Quals = getExtQualsUnsafe()->getQualifiers();
[all …]
DASTContext.h1730 !type.getQualifiers().hasObjCLifetime()) in getUnqualifiedObjCPointerType()
1732 Qualifiers Qs = type.getQualifiers(); in getUnqualifiedObjCPointerType()
2201 return getTargetAddressSpace(T.getQualifiers()); in getTargetAddressSpace()
DCanonicalType.h117 Qualifiers getQualifiers() const { return Stored.getLocalQualifiers(); } in getQualifiers() function
/external/clang/lib/AST/
DASTDiagnostic.cpp1109 Qualifiers FromQual = FromType.getQualifiers(), in DiffTypes()
1110 ToQual = ToType.getQualifiers(); in DiffTypes()
1111 FromQual -= QualType(FromArgTST, 0).getQualifiers(); in DiffTypes()
1112 ToQual -= QualType(ToArgTST, 0).getQualifiers(); in DiffTypes()
1985 Qualifiers FromQual = FromTemplateType.getQualifiers(), in DiffTemplate()
1986 ToQual = ToTemplateType.getQualifiers(); in DiffTemplate()
2002 FromQual -= QualType(FromOrigTST, 0).getQualifiers(); in DiffTemplate()
2003 ToQual -= QualType(ToOrigTST, 0).getQualifiers(); in DiffTemplate()
DMicrosoftMangle.cpp508 mangleQualifiers(MPT->getPointeeType().getQualifiers(), true); in mangleVariableEncoding()
513 mangleQualifiers(Ty->getPointeeType().getQualifiers(), false); in mangleVariableEncoding()
520 mangleQualifiers(Ty.getQualifiers(), false); in mangleVariableEncoding()
523 mangleQualifiers(Ty.getQualifiers(), false); in mangleVariableEncoding()
2099 manglePointerCVQualifiers(T->getElementType().getQualifiers()); in mangleDecayedArrayType()
2172 mangleQualifiers(PointeeType.getQualifiers(), true); in mangleType()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DResourceLoaderTest.java73 assertThat(RuntimeEnvironment.getQualifiers()) in checkForPollutionHelper()
/external/clang/lib/Sema/
DSemaExprMember.cpp813 baseQuals = baseObjectExpr->getType().getQualifiers(); in BuildAnonymousStructUnionMemberReference()
829 baseQuals = objectType.getQualifiers(); in BuildAnonymousStructUnionMemberReference()
849 baseQuals = ThisTy->castAs<PointerType>()->getPointeeType().getQualifiers(); in BuildAnonymousStructUnionMemberReference()
1789 Qualifiers BaseQuals = BaseType.getQualifiers(); in BuildFieldReferenceExpr()
1799 = S.Context.getCanonicalType(MemberType).getQualifiers(); in BuildFieldReferenceExpr()
DSemaTemplateDeduction.cpp861 Qualifiers ParamQs = ParamType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf()
862 Qualifiers ArgQs = ArgType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf()
991 Qualifiers ParamQuals = Param.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
992 Qualifiers ArgQuals = Arg.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
1044 !ParamRef->getPointeeType().getQualifiers()) in DeduceTemplateArgumentsByTypeMatch()
1094 Qualifiers DeducedQs = DeducedType.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
1095 Qualifiers ParamQs = Param.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
2677 Qualifiers AQuals = A.getQualifiers(); in CheckOriginalCallArgDeduction()
2678 Qualifiers DeducedAQuals = DeducedA.getQualifiers(); in CheckOriginalCallArgDeduction()
3137 !ParamType.getQualifiers() && in AdjustFunctionParmAndArgTypesForDeduction()
DSemaCast.cpp1071 Qualifiers DestPointeeQuals = DestPointee.getQualifiers(); in TryStaticCast()
1072 Qualifiers SrcPointeeQuals = SrcPointee.getQualifiers(); in TryStaticCast()
2536 Qualifiers CastQuals = CastPtr->getPointeeType().getQualifiers(); in CheckCStyleCast()
2537 Qualifiers ExprQuals = ExprPtr->getPointeeType().getQualifiers(); in CheckCStyleCast()
/external/clang/lib/StaticAnalyzer/Checkers/
DDereferenceChecker.cpp111 return E->getType().getQualifiers().hasAddressSpace(); in suppressReport()

123