Home
last modified time | relevance | path

Searched refs:isBoolean (Results 1 – 25 of 53) sorted by relevance

123

/external/caliper/caliper/src/main/java/com/google/caliper/options/
DCommandLineParser.java184 abstract boolean isBoolean(); in isBoolean() method in CommandLineParser.InjectableOption
196 @Override boolean isBoolean() { in forClass()
274 private boolean isBoolean; field in CommandLineParser.FieldOption
279 this.isBoolean = c == boolean.class || c == Boolean.class; in FieldOption()
287 @Override boolean isBoolean() { in isBoolean() method in CommandLineParser.FieldOption
288 return isBoolean; in isBoolean()
311 private boolean isBoolean; field in CommandLineParser.MethodOption
316 this.isBoolean = c == boolean.class || c == Boolean.class; in MethodOption()
326 @Override boolean isBoolean() { in isBoolean() method in CommandLineParser.MethodOption
327 return isBoolean; in isBoolean()
[all …]
/external/llvm-project/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp77 EXPECT_FALSE(Value.isBoolean()); in TEST()
85 EXPECT_FALSE(Value.isBoolean()); in TEST()
95 EXPECT_TRUE(Value.isBoolean()); in TEST()
106 EXPECT_FALSE(Value.isBoolean()); in TEST()
114 EXPECT_FALSE(Value.isBoolean()); in TEST()
122 EXPECT_FALSE(Value.isBoolean()); in TEST()
/external/skia/src/sksl/ir/
DSkSLConstructorScalarCast.cpp23 } else if (constructorType.isBoolean()) { in cast_scalar_literal()
35 } else if (constructorType.isBoolean()) { in cast_scalar_literal()
47 } else if (constructorType.isBoolean()) { in cast_scalar_literal()
DSkSLPrefixExpression.cpp167 if (!baseType.isBoolean()) { in Convert()
214 SkASSERT(base->type().isBoolean()); in Make()
DSkSLBoolLiteral.h40 SkASSERT(type->isBoolean()); in Make()
/external/autotest/frontend/client/src/autotest/moblab/rpc/
DJsonRpcEntity.java26 if (value != null && value.isBoolean() != null) { in getBooleanFieldOrDefault()
27 return value.isBoolean().booleanValue(); in getBooleanFieldOrDefault()
DOperationStatus.java42 ok = value != null && value.isBoolean() != null && value.isBoolean().booleanValue(); in fromJson()
DMoblabRpcHelper.java204 boolean didSucceed = result.isArray().get(0).isBoolean().booleanValue(); in addMoblabDut()
224 boolean didSucceed = result.isArray().get(0).isBoolean().booleanValue(); in removeMoblabDut()
246 boolean didSucceed = result.isArray().get(0).isBoolean().booleanValue(); in addMoblabLabel()
268 boolean didSucceed = result.isArray().get(0).isBoolean().booleanValue(); in removeMoblabLabel()
292 boolean didSucceed = result.isArray().get(0).isBoolean().booleanValue(); in setMoblabAttribute()
314 boolean didSucceed = result.isArray().get(0).isBoolean().booleanValue(); in removeMoblabAttribute()
DConnectedDutInfo.java45 leaseObject.get("ssh_connection_ok").isBoolean().booleanValue()); in fromJson()
DNetworkInfo.java59 connectedToGoogle = connectedObject.isBoolean().booleanValue(); in fromJson()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DGeneratedMonitorTest.java198 private static boolean isBoolean(Method method) { in isBoolean() method in GeneratedMonitorTest
252 assertFalse(desc, isBoolean(method)); in validateMethod()
254 assertTrue(desc, isBoolean(method)); in validateMethod()
270 assertTrue(desc, isBoolean(method)); in validateMethod()
273 assertTrue(desc, isBoolean(method)); in validateMethod()
277 assertEquals(desc, isTimed(method), isBoolean(method)); in validateMethod()
279 assertEquals(desc, isTimed(method), isBoolean(method)); in validateMethod()
305 ? (isBoolean(method) ? Outcome.FAILURE : Outcome.HANG) in addTests()
320 isBoolean(method) ? Outcome.FAILURE : Outcome.HANG); in addTests()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DGeneratedMonitorTest.java213 private static boolean isBoolean(Method method) { in isBoolean() method in GeneratedMonitorTest
277 assertFalse(desc, isBoolean(method)); in validateMethod()
279 assertTrue(desc, isBoolean(method)); in validateMethod()
295 assertTrue(desc, isBoolean(method)); in validateMethod()
298 assertTrue(desc, isBoolean(method)); in validateMethod()
302 assertEquals(desc, isTimed(method), isBoolean(method)); in validateMethod()
304 assertEquals(desc, isTimed(method), isBoolean(method)); in validateMethod()
330 ? (isBoolean(method) ? Outcome.FAILURE : Outcome.HANG) in addTests()
345 isBoolean(method) ? Outcome.FAILURE : Outcome.HANG); in addTests()
/external/autotest/frontend/client/test/autotest/moblab/rpc/
DCloudStorageInfoTest.java16 assertFalse(jsonInfo.get(CloudStorageInfo.JSON_FIELD_USE_EXISTING_BOTO_FILE).isBoolean() in testSerialization()
33 assertTrue(jsonInfo.get(CloudStorageInfo.JSON_FIELD_USE_EXISTING_BOTO_FILE).isBoolean() in testSerialization()
DNetworkInfoTest.java16 assertTrue(jsonInfo.get(NetworkInfo.JSON_FIELD_IS_CONNECTED).isBoolean() in testSerialization()
32 assertTrue(jsonInfo.get(NetworkInfo.JSON_FIELD_IS_CONNECTED).isBoolean() in testSerialization()
/external/autotest/frontend/client/src/autotest/afe/create/
DCreateJobViewPresenter.java230 display.getSkipVerify().setValue(!jobObject.get("run_verify").isBoolean().booleanValue()); in cloneJob()
231 display.getSkipReset().setValue(!jobObject.get("run_reset").isBoolean().booleanValue()); in cloneJob()
235 jobObject.get("parse_failed_repair").isBoolean().booleanValue()); in cloneJob()
236 display.getHostless().setValue(cloneObject.get("hostless").isBoolean().booleanValue()); in cloneJob()
243 … display.getRequireSSP().setValue(jobObject.get("require_ssp").isBoolean().booleanValue()); in cloneJob()
244 if (staticData.getData("drone_sets_enabled").isBoolean().booleanValue()) { in cloneJob()
387 boolean isServer = controlInfo.get("is_server").isBoolean().booleanValue(); in generateControlFile()
417 boolean runVerify = test.get("run_verify").isBoolean().booleanValue(); in handleSkipVerify()
435 boolean runReset = test.get("run_reset").isBoolean().booleanValue(); in handleSkipReset()
629 if (staticData.getData("drone_sets_enabled").isBoolean().booleanValue()) { in initialize()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DRequiredAccessorTest.java33 assertTrue(TEST_OBJECT.requiredAt("/array/0").isBoolean()); in testRequiredAtObjectOk()
39 assertTrue(TEST_ARRAY.requiredAt("/0").isBoolean()); in testRequiredAtArrayOk()
DTestJsonNode.java23 assertTrue(f.isBoolean()); in testBoolean()
34 assertTrue(t.isBoolean()); in testBoolean()
49 assertTrue(result.isBoolean()); in testBoolean()
/external/vogar/src/vogar/
DOptionParser.java301 if (handler.isBoolean()) { in parseLongOption()
321 if (handler.isBoolean()) { in parseGroupedShortOptions()
409 boolean isBoolean() { in isBoolean() method in OptionParser.Handler
421 @Override boolean isBoolean() { in isBoolean() method in OptionParser.BooleanHandler
/external/autotest/frontend/client/src/autotest/afe/
DTestSelector.java122 if (!test.get("run_verify").isBoolean().booleanValue()) { in writeSkipVerify()
176 && test.get("experimental").isBoolean().booleanValue()) { in populateTests()
190 return user.get("show_experimental").isBoolean().booleanValue(); in includeExperimentalTests()
DHostDetailView.java267 if (currentHostObject.get("locked").isBoolean().booleanValue()) { in handlePage()
398 boolean locked = currentHostObject.get("locked").isBoolean().booleanValue(); in initialize()
405 boolean locked = currentHostObject.get("locked").isBoolean().booleanValue(); in initialize()
484 boolean locked = currentHostObject.get("locked").isBoolean().booleanValue(); in updateLockButton()
493 boolean locked = currentHostObject.get("locked").isBoolean().booleanValue(); in updateLockReasonInput()
/external/skia/src/sksl/dsl/
DDSLType.cpp18 bool DSLType::isBoolean() const { in isBoolean() function in SkSL::dsl::DSLType
19 return this->skslType().isBoolean(); in isBoolean()
/external/clang/lib/Analysis/
DBodyFarm.cpp292 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap() local
293 if (!isBoolean && !ResultTy->isIntegralType(C)) in create_OSAtomicCompareAndSwap()
334 Expr *RetVal = isBoolean ? M.makeIntegralCastToBoolean(BoolVal) in create_OSAtomicCompareAndSwap()
341 RetVal = isBoolean ? M.makeIntegralCastToBoolean(BoolVal) in create_OSAtomicCompareAndSwap()
/external/deqp/framework/delibs/decpp/
DdeCommandLine.hpp133 template<typename T> inline bool isBoolean (void) { return false; } in isBoolean() function
134 template<> inline bool isBoolean<bool> (void) { return true; } in isBoolean() function
137 template<class Option> inline bool isBooleanOpt (void) { return isBoolean<typename OptTraits<Option… in isBooleanOpt()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DVariantValue.cpp316 bool VariantValue::isBoolean() const { in isBoolean() function in clang::ast_matchers::dynamic::VariantValue
321 assert(isBoolean()); in getBoolean()
394 if (!isBoolean()) in isConvertibleTo()
/external/antlr/runtime/JavaScript/src/org/
Dantlr.js279 isBoolean: function(o) {
482 return (l.isObject(o) || l.isString(o) || l.isNumber(o) || l.isBoolean(o));

123