Home
last modified time | relevance | path

Searched refs:asBoolean (Results 1 – 16 of 16) sorted by relevance

/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DBaseCompiledTemplate.java201 public static boolean asBoolean(boolean value) { in asBoolean() method in BaseCompiledTemplate
205 public static boolean asBoolean(String value) { in asBoolean() method in BaseCompiledTemplate
206 return TypeConverter.asBoolean(value); in asBoolean()
209 public static boolean asBoolean(int value) { in asBoolean() method in BaseCompiledTemplate
213 public static boolean asBoolean(Value value) { in asBoolean() method in BaseCompiledTemplate
214 return value.asBoolean(); in asBoolean()
217 public static boolean asBoolean(Data data) { in asBoolean() method in BaseCompiledTemplate
218 return TypeConverter.asBoolean(data); in asBoolean()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/operators/
DAndFunction.java31 return literalConstant(left.asBoolean() && right.asBoolean(), left, right); in execute()
DOrFunction.java31 return literalConstant(left.asBoolean() || right.asBoolean(), left, right); in execute()
DNotFunction.java30 return literalConstant(!value.asBoolean(), value); in execute()
/external/jsilver/src/com/google/clearsilver/jsilver/values/
DVariantValue.java39 public boolean asBoolean() { in asBoolean() method in VariantValue
40 return TypeConverter.asBoolean(value()); in asBoolean()
DNumberValue.java36 public boolean asBoolean() { in asBoolean() method in NumberValue
DValue.java91 public abstract boolean asBoolean(); in asBoolean() method in Value
/external/turbine/java/com/google/turbine/binder/
DConstEvaluator.java331 return value.asBoolean(); in coerce()
365 return condition.asBoolean().value() ? evalValue(t.iftrue()) : evalValue(t.iffalse()); in evalConditional()
390 return new Const.BooleanValue(!expr.asBoolean().value()); in unaryNegate()
681 return new Const.BooleanValue(a.asBoolean().value() == b.asBoolean().value()); in equal()
707 return new Const.BooleanValue(a.asBoolean().value() != b.asBoolean().value()); in notEqual()
731 return new Const.BooleanValue(a.asBoolean().value() & b.asBoolean().value()); in bitwiseAnd()
751 return new Const.BooleanValue(a.asBoolean().value() | b.asBoolean().value()); in bitwiseOr()
771 return new Const.BooleanValue(a.asBoolean().value() ^ b.asBoolean().value()); in bitwiseXor()
824 return new Const.BooleanValue(lhs.asBoolean().value() && rhs.asBoolean().value()); in evalBinary()
826 return new Const.BooleanValue(lhs.asBoolean().value() || rhs.asBoolean().value()); in evalBinary()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DTypeConverter.java119 public static boolean asBoolean(String value) { in asBoolean() method in TypeConverter
149 public static boolean asBoolean(Data data) { in asBoolean() method in TypeConverter
DAbstractData.java41 return TypeConverter.asBoolean(getValue()); in getBooleanValue()
102 return TypeConverter.asBoolean(getChild(path)); in getBooleanValue()
/external/turbine/java/com/google/turbine/model/
DConst.java78 public BooleanValue asBoolean() { in asBoolean() method in Const.Value
122 public BooleanValue asBoolean() { in asBoolean() method in Const.BooleanValue
/external/turbine/java/com/google/turbine/bytecode/
DAnnotationWriter.java108 writeConst('Z', pool.integer(value.asBoolean().value() ? 1 : 0)); in writeConstElementValue()
DAttributeWriter.java143 output.writeShort(pool.integer(value.asBoolean().value() ? 1 : 0)); in writeConstantValue()
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DTemplateInterpreter.java245 if (value.asBoolean()) { in caseAIfCommand()
394 if (value.asBoolean()) { in caseAAltCommand()
/external/swiftshader/third_party/subzero/src/
DIceOperand.h101 virtual Variable *asBoolean() { return nullptr; } in asBoolean() function
1174 virtual Variable *asBoolean() { return BoolSource; } in asBoolean() function
DWasmTranslator.cpp977 auto *CondBool = Cond.toOperand()->asBoolean(); in Branch()