Searched refs:EXTENSION_API_CHECK (Results 1 – 1 of 1) sorted by relevance
/test/testfwk/arkxtest/uitest/addon/ |
D | extension_executor.cpp | 91 #define EXTENSION_API_CHECK(cond, errorMessage, errorCode) \ macro 103 EXTENSION_API_CHECK(buffer.data != nullptr, "Illegal buffer pointer", ERR_BAD_ARG); in WriteToBuffer() 104 EXTENSION_API_CHECK(buffer.size != nullptr, "Illegal outLen pointer", ERR_BAD_ARG); in WriteToBuffer() 105 …EXTENSION_API_CHECK(buffer.capacity > data.length(), "Char buffer capacity is not enough", ERR_BAD… in WriteToBuffer() 120 …EXTENSION_API_CHECK(level >= LogRank::DEBUG && level <= LogRank::ERROR, "Illegal log level", ERR_B… in PrintLog() 121 …EXTENSION_API_CHECK(label.data != nullptr && format.data != nullptr, "Illegal log tag/format", ERR… in PrintLog() 123 … EXTENSION_API_CHECK(vsprintf_s(buf, sizeof(buf), format.data, ap) >= 0, format.data, ERR_BAD_ARG); in PrintLog() 197 EXTENSION_API_CHECK(handler != nullptr, "Null callback handler!", ERR_BAD_ARG); in SetCallbackMessageHandler() 212 …EXTENSION_API_CHECK(stage >= ActionStage::DOWN && stage <= ActionStage::UP, "Illegal stage", ERR_B… in AtomicTouch() 217 EXTENSION_API_CHECK(err.code_ == NO_ERROR, err.message_, err.code_); in AtomicTouch() [all …]
|