Home
last modified time | relevance | path

Searched refs:SWITCH_KIND (Results 1 – 2 of 2) sorted by relevance

/system/tools/hidl/
DConstantExpression.cpp45 #define SWITCH_KIND(__cond__, __action__, __def__) \ macro
271 SWITCH_KIND(mValueKind, CASE_UNARY, SHOULD_NOT_REACH(); return;) in evaluate()
297 SWITCH_KIND(promoted, CASE_BINARY_COMMON, SHOULD_NOT_REACH(); return;) in evaluate()
317 SWITCH_KIND(mValueKind, CASE_SHIFT, SHOULD_NOT_REACH(); return;) in evaluate()
346 SWITCH_KIND(mValueKind, CASE_TERNARY, SHOULD_NOT_REACH(); return;) in evaluate()
484 SWITCH_KIND(castKind, CASE_STR, SHOULD_NOT_REACH(); return nullptr; ); in rawValue()
493 SWITCH_KIND(mValueKind, CASE_CAST_T, SHOULD_NOT_REACH(); return 0; ); in cast()
/system/tools/aidl/
Daidl_const_expressions.cpp58 #define SWITCH_KIND(__cond__, __action__, __def__) \ macro
214 SWITCH_KIND(final_type_, CASE_CAST_T, SHOULD_NOT_REACH(); return 0;); in cast()
677 SWITCH_KIND(final_type_, CASE_UNARY, SHOULD_NOT_REACH(); final_type_ = Type::ERROR; in evaluate()
790 SWITCH_KIND(promoted, CASE_BINARY_COMMON, SHOULD_NOT_REACH(); final_type_ = Type::ERROR; in evaluate()
811 SWITCH_KIND(final_type_, CASE_SHIFT, SHOULD_NOT_REACH(); final_type_ = Type::ERROR; in evaluate()