Home
last modified time | relevance | path

Searched refs:qualifiers (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DQualifiers.java21 private final String qualifiers; field in Qualifiers
24 public static Qualifiers parse(String qualifiers) { in parse() argument
25 return parse(qualifiers, true); in parse()
28 public static Qualifiers parse(String qualifiers, boolean applyVersionForCompat) { in parse() argument
30 if (!qualifiers.isEmpty() in parse()
31 && !ConfigDescription.parse(qualifiers, config, applyVersionForCompat)) { in parse()
32 throw new IllegalArgumentException("failed to parse qualifiers '" + qualifiers + "'." in parse()
36 return new Qualifiers(qualifiers, config); in parse()
39 protected Qualifiers(String qualifiers, ResTable_config config) { in Qualifiers() argument
40 this.qualifiers = qualifiers; in Qualifiers()
[all …]
DXmlContext.java8 private final Qualifiers qualifiers; field in XmlContext
10 public XmlContext(String packageName, FsFile xmlFile, Qualifiers qualifiers) { in XmlContext() argument
13 this.qualifiers = qualifiers; in XmlContext()
21 return qualifiers.getConfig(); in getConfig()
25 return qualifiers; in getQualifiers()
DDocumentLoader.java39 Qualifiers qualifiers; in loadFile() local
41 qualifiers = Qualifiers.fromParentDir(dir); in loadFile()
48 loadResourceXmlFile(new XmlContext(packageName, file, qualifiers)); in loadFile()
DRawResourceLoader.java31 Qualifiers qualifiers; in loadRawFiles() local
33 qualifiers = Qualifiers.fromParentDir(rawDir); in loadRawFiles()
43 new XmlContext(resourceTable.getPackageName(), file, qualifiers))); in loadRawFiles()
DDrawableResourceLoader.java36 Qualifiers qualifiers = null; in listDrawableResources() local
38 qualifiers = Qualifiers.fromParentDir(dir); in listDrawableResources()
62 XmlContext fakeXmlContext = new XmlContext(resourceTable.getPackageName(), f, qualifiers); in listDrawableResources()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DQualifiersTest.java39 @Config(qualifiers = "en", sdk = 26)
46 @Config(qualifiers = "land")
51 @Config(qualifiers = "en")
57 @Config(qualifiers = "ja")
63 @Config(qualifiers = "fr")
69 @Test @Config(qualifiers = "fr")
74 @Test @Config(qualifiers = "de")
89 @Test @Config(qualifiers = "sw720dp")
98 @Test @Config(qualifiers = "b+sr+Latn", minSdk = VERSION_CODES.LOLLIPOP)
109 @Test @Config(qualifiers = "land")
[all …]
DConfigMergerTest.java424 String qualifiers,
434 assertThat(config.qualifiers()).isEqualTo(qualifiers);
451 qualifiers = "from-test",
473 qualifiers = "from-method",
499 qualifiers = "from-method",
506 @Config(qualifiers = "from-subclass")
511 @Config(qualifiers = "from-subclass")
535 qualifiers = "from-method5",
542 qualifiers = "from-class6",
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/
DConfig.java119 String qualifiers() default DEFAULT_QUALIFIERS; in qualifiers() method
175 private final String qualifiers; field in Config.Implementation
276 String qualifiers, in Implementation() argument
288 this.qualifiers = qualifiers; in Implementation()
326 public String qualifiers() { in qualifiers() method in Config.Implementation
327 return qualifiers; in qualifiers()
371 protected String qualifiers = Config.DEFAULT_QUALIFIERS; field in Config.Builder
388 qualifiers = config.qualifiers(); in Builder()
418 public Builder setQualifiers(String qualifiers) { in setQualifiers() argument
419 this.qualifiers = qualifiers; in setQualifiers()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResBundleTest.java184 for (String qualifiers : qualifierses) { in asResMap()
185 resMap.put(resName, createStringTypedResource(qualifiers, qualifiers)); in asResMap()
190 private static TypedResource<String> createStringTypedResource(String qualifiers) { in createStringTypedResource() argument
191 return createStringTypedResource("title from resourceLoader1", qualifiers); in createStringTypedResource()
197 Qualifiers qualifiers = Qualifiers.parse(qualifiersStr); in createStringTypedResource() local
198 when(mockXmlContext.getQualifiers()).thenReturn(qualifiers); in createStringTypedResource()
199 when(mockXmlContext.getConfig()).thenReturn(qualifiers.getConfig()); in createStringTypedResource()
203 private static ResTable_config from(String qualifiers) { in from() argument
205 if (!Strings.isNullOrEmpty(qualifiers) && in from()
206 !ConfigDescription.parse(qualifiers, config, false)) { in from()
[all …]
/external/rust/crates/rustversion/src/
Dconstfn.rs28 let mut qualifiers = Qualifiers::None; in insert_const() localVariable
41 TokenTree::Ident(ref ident) if Qualifiers::from_ident(ident) > qualifiers => { in insert_const()
42 qualifiers = Qualifiers::from_ident(ident); in insert_const()
45 TokenTree::Literal(_) if qualifiers == Qualifiers::Extern => { in insert_const()
46 qualifiers = Qualifiers::Abi; in insert_const()
50 qualifiers = Qualifiers::None; in insert_const()
/external/angle/src/compiler/translator/
DQualifierTypes.cpp75 bool IsInvariantCorrect(const TTypeQualifierBuilder::QualifierSequence &qualifiers) in IsInvariantCorrect() argument
79 return qualifiers.size() >= 1 && IsScopeQualifierWrapper(qualifiers[0]); in IsInvariantCorrect()
91 bool HasRepeatingQualifiers(const TTypeQualifierBuilder::QualifierSequence &qualifiers, in HasRepeatingQualifiers() argument
106 for (size_t i = 1; i < qualifiers.size(); ++i) in HasRepeatingQualifiers()
108 switch (qualifiers[i]->getType()) in HasRepeatingQualifiers()
157 static_cast<const TLayoutQualifierWrapper *>(qualifiers[i])->getQualifier(); in HasRepeatingQualifiers()
179 static_cast<const TStorageQualifierWrapper *>(qualifiers[i])->getQualifier(); in HasRepeatingQualifiers()
187 if (qualifiers[j]->getType() == QtStorage) in HasRepeatingQualifiers()
190 static_cast<const TStorageQualifierWrapper *>(qualifiers[j]); in HasRepeatingQualifiers()
209 static_cast<const TMemoryQualifierWrapper *>(qualifiers[i])->getQualifier(); in HasRepeatingQualifiers()
[all …]
/external/clang/test/SemaObjCXX/
Darc-type-conversion.mm73 …ected-error{{reinterpret_cast from '__strong id const *' to '__strong id *' casts away qualifiers}}
74 … expected-error{{reinterpret_cast from '__weak id const *' to '__weak id *' casts away qualifiers}}
75 …xpected-error{{reinterpret_cast from '__strong id const *' to '__weak id *' casts away qualifiers}}
76 …xpected-error{{reinterpret_cast from '__weak id const *' to '__strong id *' casts away qualifiers}}
82 // qualifiers (beyond what the normal implicit conversion allows).
84 …)wip; // expected-error{{C-style cast from '__weak id *' to '__strong id *' casts away qualifiers}}
85 …// expected-error{{C-style cast from '__weak id const *' to '__strong id *' casts away qualifiers}}
86 …)sip; // expected-error{{C-style cast from '__strong id *' to '__weak id *' casts away qualifiers}}
87 …// expected-error{{C-style cast from '__strong id const *' to '__weak id *' casts away qualifiers}}
89 …// expected-error{{C-style cast from '__weak id *' to '__strong id const *' casts away qualifiers}}
[all …]
/external/llvm-project/clang/test/SemaObjCXX/
Darc-type-conversion.mm73 …ected-error{{reinterpret_cast from '__strong id const *' to '__strong id *' casts away qualifiers}}
74 … expected-error{{reinterpret_cast from '__weak id const *' to '__weak id *' casts away qualifiers}}
75 …xpected-error{{reinterpret_cast from '__strong id const *' to '__weak id *' casts away qualifiers}}
76 …xpected-error{{reinterpret_cast from '__weak id const *' to '__strong id *' casts away qualifiers}}
82 // qualifiers (beyond what the normal implicit conversion allows).
84 …)wip; // expected-error{{C-style cast from '__weak id *' to '__strong id *' casts away qualifiers}}
85 …// expected-error{{C-style cast from '__weak id const *' to '__strong id *' casts away qualifiers}}
86 …)sip; // expected-error{{C-style cast from '__strong id *' to '__weak id *' casts away qualifiers}}
87 …// expected-error{{C-style cast from '__strong id const *' to '__weak id *' casts away qualifiers}}
89 …// expected-error{{C-style cast from '__weak id *' to '__strong id const *' casts away qualifiers}}
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dhlsl.inoutquals.negative.frag.out2 ERROR: 0:1: 'invalid1' : in/out qualifiers are only valid on parameters
3 ERROR: 0:2: 'invalid2' : in/out qualifiers are only valid on parameters
4 ERROR: 0:3: 'invalid3' : in/out qualifiers are only valid on parameters
5 ERROR: 0:4: 'invalid4' : in/out qualifiers are only valid on parameters
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.inoutquals.negative.frag.out2 ERROR: 0:1: 'invalid1' : in/out qualifiers are only valid on parameters
3 ERROR: 0:2: 'invalid2' : in/out qualifiers are only valid on parameters
4 ERROR: 0:3: 'invalid3' : in/out qualifiers are only valid on parameters
5 ERROR: 0:4: 'invalid4' : in/out qualifiers are only valid on parameters
/external/skia/tools/skpbench/
Dsheet.py55 def qualified_name(self, qualifiers=RESULT_QUALIFIERS): argument
57 {x:getattr(self, x) for x in qualifiers})
59 def get_qualified_name(name, qualifiers): argument
60 if not qualifiers:
63 args = ('%s=%s' % (k,v) for k,v in qualifiers.iteritems())
/external/skqp/tools/skpbench/
Dsheet.py55 def qualified_name(self, qualifiers=RESULT_QUALIFIERS): argument
57 {x:getattr(self, x) for x in qualifiers})
59 def get_qualified_name(name, qualifiers): argument
60 if not qualifiers:
63 args = ('%s=%s' % (k,v) for k,v in qualifiers.iteritems())
/external/llvm-project/clang/test/SemaObjC/
Dgc-attributes.m12 … expected-warning{{passing 'A *__weak *' to parameter of type 'A *__strong *' discards qualifiers}}
21 … expected-warning{{passing 'A *__strong *' to parameter of type 'A *__weak *' discards qualifiers}}
24 // These qualifiers should silently expand to nothing in GC mode.
/external/clang/test/SemaObjC/
Dgc-attributes.m12 …expected-warning{{passing 'A *__weak *' to parameter of type 'A *__strong *' discards qualifiers}}
21 …expected-warning{{passing 'A *__strong *' to parameter of type 'A *__weak *' discards qualifiers}}
24 // These qualifiers should silently expand to nothing in GC mode.
/external/boringssl/src/crypto/x509v3/
Dv3_cpols.c108 ASN1_SEQUENCE_OF_OPT(POLICYINFO, qualifiers, POLICYQUALINFO)
236 if (!pol->qualifiers) in policy_section()
237 pol->qualifiers = sk_POLICYQUALINFO_new_null(); in policy_section()
240 if (!sk_POLICYQUALINFO_push(pol->qualifiers, qual)) in policy_section()
273 if (!pol->qualifiers) in policy_section()
274 pol->qualifiers = sk_POLICYQUALINFO_new_null(); in policy_section()
275 if (!sk_POLICYQUALINFO_push(pol->qualifiers, qual)) in policy_section()
422 if (pinfo->qualifiers) in i2r_certpol()
423 print_qualifiers(out, pinfo->qualifiers, indent + 2); in i2r_certpol()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_cpols.c108 ASN1_SEQUENCE_OF_OPT(POLICYINFO, qualifiers, POLICYQUALINFO)
236 if (!pol->qualifiers) in policy_section()
237 pol->qualifiers = sk_POLICYQUALINFO_new_null(); in policy_section()
240 if (!sk_POLICYQUALINFO_push(pol->qualifiers, qual)) in policy_section()
273 if (!pol->qualifiers) in policy_section()
274 pol->qualifiers = sk_POLICYQUALINFO_new_null(); in policy_section()
275 if (!sk_POLICYQUALINFO_push(pol->qualifiers, qual)) in policy_section()
422 if (pinfo->qualifiers) in i2r_certpol()
423 print_qualifiers(out, pinfo->qualifiers, indent + 2); in i2r_certpol()
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/
DBindValueMetadata.java134 ImmutableList<AnnotationMirror> qualifiers = Processors.getQualifierAnnotations(element); in create() local
136 qualifiers.size() <= 1, in create()
140 qualifiers); in create() local
171 qualifiers.isEmpty() in create()
173 : Optional.<AnnotationMirror>of(qualifiers.get(0)), in create()
/external/deqp/external/openglcts/docs/specs/
DCTS_ARB_fragment_shader_interlock.txt55 * Create fragment shader for ordered layout qualifiers added by this
74 There is no method to test if unordered qualifiers works correctly
75 because for those qualifiers fragment shader invocations are generally
77 ordered or unordered. Tests for unordered qualifiers would be
84 * Create two fragment shaders for all layout qualifiers added by this
/external/llvm-project/llvm/test/DebugInfo/Generic/
Ddebug-info-qualifiers.ll1 ; Test (r)value qualifiers on C++11 non-static member functions.
2 ; Generated from tools/clang/test/CodeGenCXX/debug-info-qualifiers.cpp
64 !1 = !DIFile(filename: "debug-info-qualifiers.cpp", directory: "")
68 !5 = !DIFile(filename: "debug-info-qualifiers.cpp", directory: "")
78 !18 = !DIFile(filename: "debug-info-qualifiers.cpp", directory: "")
/external/deqp/modules/gles31/functional/
Des31fSSBOArrayLengthTests.cpp291 } qualifiers[] = in init() local
301 for (int qualifierNdx = 0; qualifierNdx < DE_LENGTH_OF_ARRAY(qualifiers); ++qualifierNdx) in init()
303 …std::string() + ((arraysSized[sizeNdx]) ? ("sized_") : ("unsized_")) + qualifiers[qualifierNdx].na… in init()
304 …ength() of ") + ((arraysSized[sizeNdx]) ? ("sized ") : ("unsized ")) + qualifiers[qualifierNdx].na… in init()
306 …this->addChild(new SSBOArrayLengthCase(m_context, name.c_str(), desc.c_str(), qualifiers[qualifier… in init()

12345678910>>...18