Home
last modified time | relevance | path

Searched refs:hasProperty (Results 1 – 25 of 36) sorted by relevance

12

/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/beans/
DHasPropertyWithValueTest.java14 import static org.hamcrest.beans.HasPropertyWithValue.hasProperty;
33 return hasProperty("irrelevant", anything()); in createMatcher()
37 assertMatches("with property", hasProperty("property", equalTo("is expected")), shouldMatch); in testMatchesInfolessBeanWithMatchedNamedProperty()
39 hasProperty("property", equalTo("is expected")), shouldNotMatch); in testMatchesInfolessBeanWithMatchedNamedProperty()
43 assertMatches("with bean info", hasProperty("property", equalTo("with info")), beanWithInfo); in testMatchesBeanWithInfoWithMatchedNamedProperty()
45 hasProperty("property", equalTo("without info")), beanWithInfo); in testMatchesBeanWithInfoWithMatchedNamedProperty()
50 hasProperty("nonExistentProperty", anything()), shouldNotMatch); in testDoesNotMatchInfolessBeanWithoutMatchedNamedProperty()
55 hasProperty("writeOnlyProperty", anything()), shouldNotMatch); in testDoesNotMatchWriteOnlyProperty()
59 assertDescription("hasProperty(\"property\", <true>)", hasProperty("property", equalTo(true))); in testDescribeTo()
63 assertMatches("property with value", hasProperty( "property", anything()), beanWithInfo); in testMatchesPropertyAndValue()
[all …]
DHasPropertyTest.java7 import static org.hamcrest.beans.HasProperty.hasProperty;
22 Matcher<Object> matcher = hasProperty("irrelevant"); in copesWithNullsAndUnknownTypes()
30 assertMatches(hasProperty("writeOnlyProperty"), bean); in matchesWhenThePropertyExists()
35 assertDoesNotMatch(hasProperty("aNonExistentProp"), bean); in doesNotMatchIfPropertyDoesNotExist()
40 assertDescription("hasProperty(\"property\")", hasProperty("property")); in describesItself()
46 hasProperty("aNonExistentProp"), bean); in describesAMismatch()
/external/clang/test/SemaCXX/
Dblocks.cpp50 __attribute__((__blocks__(byref))) bool hasProperty = false; in test3() local
54 func(hasProperty); in test3()
55 if (hasProperty) in test3()
56 hasProperty = 0; in test3()
58 hasProperty = 1; in test3()
59 return hasProperty; in test3()
61 func(hasProperty); in test3()
64 if (hasProperty) in test3()
65 hasProperty = 1; in test3()
68 return hasProperty = 1; in test3()
/external/llvm/include/llvm/CodeGen/
DMachineInstr.h404 bool hasProperty(unsigned MCFlag, QueryType Type = AnyInBundle) const {
418 return hasProperty(MCID::Variadic, Type);
424 return hasProperty(MCID::HasOptionalDef, Type);
430 return hasProperty(MCID::Pseudo, Type);
434 return hasProperty(MCID::Return, Type);
438 return hasProperty(MCID::Call, Type);
445 return hasProperty(MCID::Barrier, Type);
454 return hasProperty(MCID::Terminator, Type);
462 return hasProperty(MCID::Branch, Type);
468 return hasProperty(MCID::IndirectBranch, Type);
[all …]
DMachineRegisterInfo.h163 return MF->getProperties().hasProperty( in isSSA()
175 return MF->getProperties().hasProperty( in tracksLiveness()
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.cc291 Boolean hasProperty = in SpeakerVolume() local
293 if (hasProperty) { in SpeakerVolume()
306 hasProperty = AudioObjectHasProperty(_outputDeviceID, &propertyAddress); in SpeakerVolume()
307 if (hasProperty) { in SpeakerVolume()
527 Boolean hasProperty = in SpeakerMute() local
529 if (hasProperty) { in SpeakerMute()
541 hasProperty = AudioObjectHasProperty(_outputDeviceID, &propertyAddress); in SpeakerMute()
542 if (hasProperty) { in SpeakerMute()
703 Boolean hasProperty = in MicrophoneMute() local
705 if (hasProperty) { in MicrophoneMute()
[all …]
Daudio_device_mac.cc1097 Boolean hasProperty = in InitPlayout() local
1099 if (hasProperty) { in InitPlayout()
1622 Boolean hasProperty = in StopPlayout() local
1624 if (hasProperty) { in StopPlayout()
/external/testng/gradle/
Dpublishing-jcenter.gradle42 …def a_user = hasProperty('artifactory_user') ? artifactory_user : System.getenv('artifactory_user')
43 …def a_password = hasProperty('artifactory_password') ? artifactory_password : System.getenv('artif…
44 …def a_contextUrl = hasProperty('artifactory_contextUrl') ? artifactory_password : System.getenv('a…
/external/conscrypt/
Dbuild.gradle124 … if (rootProject.hasProperty('failOnWarnings') && rootProject.failOnWarnings.toBoolean()) {
175 if (rootProject.hasProperty('repositoryId')) {
182 … if (rootProject.hasProperty('ossrhUsername') && rootProject.hasProperty('ossrhPassword')) {
/external/hamcrest/
Dbuild.gradle67 if (hasProperty('ossrhUsername') && hasProperty('ossrhPassword')) {
/external/conscrypt/android/
Dbuild.gradle146 if (rootProject.hasProperty('repositoryId')) {
153 … if (rootProject.hasProperty('ossrhUsername') && rootProject.hasProperty('ossrhPassword')) {
/external/droiddriver/
Dbuild.gradle6 …ext.bintrayUser = project.hasProperty('bintrayUser') ? project.bintrayUser : System.getenv('BIN…
7 …ext.bintrayKey = project.hasProperty('bintrayKey') ? project.bintrayKey : System.getenv('BIN…
/external/skia/platform_tools/android/apps/
Dbuild.gradle28 buildNativeLib.onlyIf { !project.hasProperty("suppressNativeBuild") }
86 if (project.hasProperty(propName)) {
/external/testng/
Dbuild.gradle3 …def a_user = hasProperty('artifactory_user') ? artifactory_user : System.getenv('artifactory_user')
4 …def a_password = hasProperty('artifactory_password') ? artifactory_password : System.getenv('artif…
/external/swiftshader/third_party/LLVM/utils/TableGen/
DDAGISelMatcherEmitter.cpp394 if (Pattern.hasProperty(SDNPHasChain)) in EmitMatcher()
649 if (P.hasProperty(SDNPHasChain)) in EmitPredicateFunctions()
659 if (P.hasProperty(SDNPWantRoot)) in EmitPredicateFunctions()
664 if (P.hasProperty(SDNPWantParent)) in EmitPredicateFunctions()
DDAGISelMatcherGen.cpp370 PInfo.hasProperty(SDNPHasChain) || in EmitOperatorMatchCode()
371 PInfo.hasProperty(SDNPInGlue) || in EmitOperatorMatchCode()
372 PInfo.hasProperty(SDNPOptInGlue); in EmitOperatorMatchCode()
508 if (CP.hasProperty(SDNPHasChain)) { in EmitMatcherCode()
DCodeGenTarget.h186 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() function
DCodeGenDAGPatterns.cpp1343 return CP->hasProperty(Property); in NodeHasProperty()
1350 return CGP.getSDNodeInfo(Operator).hasProperty(Property); in NodeHasProperty()
1684 if (NodeInfo.hasProperty(SDNPCommutative) || isCommIntrinsic) { in canPatternMatch()
2427 if (CP.hasProperty(SDNPMayStore)) mayStore = true; in AnalyzeNode()
2428 if (CP.hasProperty(SDNPMayLoad)) mayLoad = true; in AnalyzeNode()
2429 if (CP.hasProperty(SDNPSideEffect)) HasSideEffects = true; in AnalyzeNode()
2449 if (OpInfo.hasProperty(SDNPMayStore)) mayStore = true; in AnalyzeNode()
2450 if (OpInfo.hasProperty(SDNPMayLoad)) mayLoad = true; in AnalyzeNode()
2451 if (OpInfo.hasProperty(SDNPSideEffect)) HasSideEffects = true; in AnalyzeNode()
2452 if (OpInfo.hasProperty(SDNPVariadic)) IsVariadic = true; in AnalyzeNode()
[all …]
/external/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp436 if (Pattern.hasProperty(SDNPHasChain)) in EmitMatcher()
685 if (P.hasProperty(SDNPHasChain)) in EmitPredicateFunctions()
695 if (P.hasProperty(SDNPWantRoot)) in EmitPredicateFunctions()
700 if (P.hasProperty(SDNPWantParent)) in EmitPredicateFunctions()
DDAGISelMatcherGen.cpp405 PInfo.hasProperty(SDNPHasChain) || in EmitOperatorMatchCode()
406 PInfo.hasProperty(SDNPInGlue) || in EmitOperatorMatchCode()
407 PInfo.hasProperty(SDNPOptInGlue); in EmitOperatorMatchCode()
549 if (CP.hasProperty(SDNPHasChain)) { in EmitMatcherCode()
DCodeGenTarget.h209 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() function
DCodeGenDAGPatterns.cpp1636 return CP->hasProperty(Property); in NodeHasProperty()
1643 return CGP.getSDNodeInfo(Operator).hasProperty(Property); in NodeHasProperty()
2025 if (NodeInfo.hasProperty(SDNPCommutative) || isCommIntrinsic) { in canPatternMatch()
2793 if (CP.hasProperty(SDNPMayStore)) mayStore = true; in AnalyzeNode()
2794 if (CP.hasProperty(SDNPMayLoad)) mayLoad = true; in AnalyzeNode()
2795 if (CP.hasProperty(SDNPSideEffect)) hasSideEffects = true; in AnalyzeNode()
3680 if (NodeInfo.hasProperty(SDNPAssociative)) { in GenerateVariantsOf()
3742 if (NodeInfo.hasProperty(SDNPCommutative) || isCommIntrinsic) { in GenerateVariantsOf()
/external/junit/
Dbuild.gradle52 if (project.hasProperty("usePrebuilts") && project.usePrebuilts == "true") {
/external/smali/
Dbuild.gradle151 … if (rootProject.hasProperty('sonatypeUsername') && rootProject.hasProperty('sonatypePassword')) {
/external/volley/
Dbintray.gradle64 publish = project.hasProperty("release")

12