Home | History | Annotate | Download | only in hidl

Lines Matching refs:BOOL

44             case SK(BOOL): __action__(bool)                         \
58 static inline bool isSupported(ScalarType::Kind kind) {
59 return SK(BOOL) == kind || ScalarType(kind).isValidEnumStorageType();
71 // Kinds in concern: bool, (u)int[8|16|32|64]
73 if(lft == SK(BOOL)) return rgt;
74 if(rgt == SK(BOOL)) return lft;
75 bool isLftSigned = (lft == SK(INT8)) || (lft == SK(INT16))
77 bool isRgtSigned = (rgt == SK(INT8)) || (rgt == SK(INT16))
143 bool handleLogical(bool lval, const char *op, bool rval) {
202 bool isLong = false, isUnsigned = false;
203 bool isHex = (value[0] == '0' && (value[1] == 'x' || value[1] == 'X'));
210 bool parseOK = base::ParseUint(newVal, &mValue);
267 bool isArithmeticOrBitflip = OP_IS_BIN_ARITHMETIC || OP_IS_BIN_BITFLIP;
278 : SK(BOOL); // comparison operators generates bool
306 mValueKind = SK(BOOL);
307 // easy; everything is bool.
348 bool ConstantExpression::descriptionIsTrivial() const {
397 case SK(BOOL) :
398 return this->cast<bool>() ? strdup("true") : strdup("false");
463 (including bool), it is promoted to int32_t.
473 rank: bool < int8_t < int16_t < int32_t < int64_t
490 1. Convert first operand to bool. (true if non-zero, false otherwise)
491 2. If short-circuited, return the result as type bool, value 1 or 0.
492 3. Otherwise, convert second operand to bool, evaluate the result, and return
498 2. Return type bool, value 0 or 1 the same way as logical operators.