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
277 SWITCH_KIND(mValueKind, CASE_UNARY, SHOULD_NOT_REACH(); return;) in evaluate()
303 SWITCH_KIND(promoted, CASE_BINARY_COMMON, SHOULD_NOT_REACH(); return;) in evaluate()
323 SWITCH_KIND(mValueKind, CASE_SHIFT, SHOULD_NOT_REACH(); return;) in evaluate()
352 SWITCH_KIND(mValueKind, CASE_TERNARY, SHOULD_NOT_REACH(); return;) in evaluate()
490 SWITCH_KIND(castKind, CASE_STR, SHOULD_NOT_REACH(); return nullptr; ); in rawValue()
499 SWITCH_KIND(mValueKind, CASE_CAST_T, SHOULD_NOT_REACH(); return 0; ); in cast()
/system/tools/aidl/
Daidl_const_expressions.cpp166 #define SWITCH_KIND(__cond__, __action__, __def__) \ macro
963 SWITCH_KIND(final_type_, CASE_UNARY, SHOULD_NOT_REACH(); final_type_ = Type::ERROR; in evaluate()
1074 SWITCH_KIND(promoted, CASE_BINARY_COMMON, SHOULD_NOT_REACH(); final_type_ = Type::ERROR; in evaluate()
1096 SWITCH_KIND(final_type_, CASE_SHIFT, SHOULD_NOT_REACH(); final_type_ = Type::ERROR; in evaluate()