Home
last modified time | relevance | path

Searched refs:ConstantExpression (Results 1 – 12 of 12) sorted by relevance

/system/tools/hidl/
DConstantExpression.h30 struct ConstantExpression { struct
40 ConstantExpression(); argument
42 ConstantExpression(const ConstantExpression& other);
44 ConstantExpression(const ConstantExpression& other, std::string expr);
46 ConstantExpression(const char *value);
48 ConstantExpression(const ConstantExpression *value1,
49 const char *op, const ConstantExpression* value2);
51 ConstantExpression(const char *op, const ConstantExpression *value);
53 ConstantExpression(const ConstantExpression *cond,
54 const ConstantExpression *trueVal,
[all …]
DConstantExpression.cpp152 ConstantExpression::ConstantExpression() { in ConstantExpression() function in android::ConstantExpression
155 ConstantExpression ConstantExpression::Zero(ScalarType::Kind kind) { in Zero()
156 ConstantExpression ce = ValueOf(kind, 0); in Zero()
161 ConstantExpression ConstantExpression::One(ScalarType::Kind kind) { in One()
162 ConstantExpression ce = ValueOf(kind, 1); in One()
167 ConstantExpression ConstantExpression::ValueOf(ScalarType::Kind kind, uint64_t value) { in ValueOf()
168 ConstantExpression ce; in ValueOf()
178 ConstantExpression::ConstantExpression(const ConstantExpression& other) { in ConstantExpression() function in android::ConstantExpression
183 ConstantExpression::ConstantExpression(const ConstantExpression& other, std::string expr) { in ConstantExpression() function in android::ConstantExpression
189 ConstantExpression& ConstantExpression::operator=(const ConstantExpression& other) { in operator =()
[all …]
DArrayType.h27 struct ConstantExpression;
31 ArrayType(ArrayType *srcArray, ConstantExpression *size);
33 ArrayType(Type *elementType, ConstantExpression *size);
40 void prependDimension(ConstantExpression *size);
41 void appendDimension(ConstantExpression *size);
136 std::vector<ConstantExpression *> mSizes;
Dhidl-gen_y.yy23 #include "ConstantExpression.h"
299 android::ConstantExpression *constantExpression;
306 std::vector<android::ConstantExpression *> *constExprVec;
424 $$ = new std::vector<ConstantExpression *>;
433 $$ = new std::vector<ConstantExpression *>;
711 : INTEGER { $$ = new ConstantExpression($1); }
733 $$ = new ConstantExpression(
742 $$ = new ConstantExpression(*(v->constExpr()), $1->string());
747 $$ = new ConstantExpression($1, $3, $5);
749 | const_expr LOGICAL_OR const_expr { $$ = new ConstantExpression($1, "||", $3); }
[all …]
DAnnotation.cpp32 std::vector<ConstantExpression *> *values) in AnnotationParam()
35 for(ConstantExpression *ce : *values) { in AnnotationParam()
DEnumType.h122 EnumValue(const char *name, ConstantExpression *value = nullptr);
130 ConstantExpression *constExpr() const;
137 ConstantExpression *mValue;
DArrayType.cpp26 ArrayType::ArrayType(ArrayType *srcArray, ConstantExpression *size) in ArrayType()
32 ArrayType::ArrayType(Type *elementType, ConstantExpression *size) in ArrayType()
37 void ArrayType::prependDimension(ConstantExpression *size) { in prependDimension()
41 void ArrayType::appendDimension(ConstantExpression *size) { in appendDimension()
DAnnotation.h35 std::vector<ConstantExpression *> *values);
DEnumType.cpp659 EnumValue::EnumValue(const char *name, ConstantExpression *value) in EnumValue()
688 ConstantExpression *EnumValue::constExpr() const { in constExpr()
697 ConstantExpression *value = new ConstantExpression(); in autofill()
699 *value = ConstantExpression::Zero(type->getKind()); in autofill()
DAndroid.bp72 "ConstantExpression.cpp",
DInterface.cpp291 std::function<std::string(const ConstantExpression &)> byteToString) { in emitDigestChain()
299 out << byteToString(ConstantExpression::ValueOf(ScalarType::Kind::KIND_UINT8, e)); in emitDigestChain()
Dhidl-gen_l.ll36 #include "ConstantExpression.h"