Lines Matching refs:value
167 ConstantExpression ConstantExpression::ValueOf(ScalarType::Kind kind, uint64_t value) {
174 ce.mValue = value;
199 ConstantExpression::ConstantExpression(const char *value)
200 : mExpr(value), mType(kConstExprLiteral), mTrivialDescription(true) {
201 const char* head = value, *tail = head + strlen(value) - 1;
203 bool isHex = (value[0] == '0' && (value[1] == 'x' || value[1] == 'X'));
209 char *newVal = strndup(value, tail - head + 1);
212 CHECK(parseOK) << "Could not parse as integer: " << value;
248 const ConstantExpression *value)
249 : mExpr(std::string("(") + op + value->mExpr + ")"),
251 mValueKind(value->mValueKind) {
254 mValue = handleUnary(op, static_cast<__type__>(value->mValue)); return;
339 mExpr = value();
352 std::string ConstantExpression::value() const {
356 std::string ConstantExpression::value(ScalarType::Kind castKind) const {
433 The type of literal is the first type which the value
491 2. If short-circuited, return the result as type bool, value 1 or 0.
498 2. Return type bool, value 0 or 1 the same way as logical operators.