Home
last modified time | relevance | path

Searched refs:__type__ (Results 1 – 5 of 5) sorted by relevance

/aosp12/system/tools/hidl/
H A DConstantExpression.cpp267 #define CASE_UNARY(__type__) \ in evaluate() argument
268 mValue = handleUnary(mOp, static_cast<__type__>(mUnary->mValue)); \ in evaluate()
292 #define CASE_BINARY_COMMON(__type__) \ in evaluate() argument
293 mValue = handleBinaryCommon(static_cast<__type__>(mLval->mValue), mOp, \ in evaluate()
294 static_cast<__type__>(mRval->mValue)); \ in evaluate()
313 #define CASE_SHIFT(__type__) \ in evaluate() argument
341 #define CASE_TERNARY(__type__) \ in evaluate() argument
342 mValue = mCond->mValue ? (static_cast<__type__>(mTrueVal->mValue)) \ in evaluate()
343 : (static_cast<__type__>(mFalseVal->mValue)); \ in evaluate()
482 #define CASE_STR(__type__) return std::to_string(this->cast<__type__>()); in rawValue() argument
[all …]
/aosp12/system/tools/hidl/host_utils/
H A DFormatter.cpp212 #define FORMATTER_INPUT_INTEGER(__type__) \ argument
213 Formatter& Formatter::operator<<(__type__ n) { /* NOLINT */ \
232 #define FORMATTER_INPUT_CHAR(__type__) \ argument
233 Formatter& Formatter::operator<<(__type__ c) { /* NOLINT */ \
/aosp12/system/tools/aidl/
H A Daidl_const_expressions.cpp841 #define CASE_UNARY(__type__) \ in evaluate() argument
843 handleUnary(*this, op_, static_cast<__type__>(unary_->final_value_), &final_value_); in evaluate()
951 #define CASE_BINARY_COMMON(__type__) \ in evaluate() argument
953 handleBinaryCommon(*this, static_cast<__type__>(left_val_->final_value_), op_, \ in evaluate()
954 static_cast<__type__>(right_val_->final_value_), &final_value_); in evaluate()
974 #define CASE_SHIFT(__type__) \ in evaluate() argument
975 return is_valid_ = handleShift(*this, static_cast<__type__>(left_val_->final_value_), newOp, \ in evaluate()
976 static_cast<__type__>(numBits), &final_value_); in evaluate()
/aosp12/hardware/google/gchips/libvendorgraphicbuffer/gralloc3/
H A Dvendor_graphicbuffer_meta.cpp64 #define GRALLOC_META_GETTER(__type__, __name__, __member__) \ argument
65 __type__ VendorGraphicBufferMeta::get_##__name__(buffer_handle_t hnd) \
/aosp12/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
H A Dvendor_graphicbuffer_meta.cpp161 #define GRALLOC_META_GETTER(__type__, __name__, __member__) \ argument
162 __type__ VendorGraphicBufferMeta::get_##__name__(buffer_handle_t hnd) \