Home
last modified time | relevance | path

Searched +defs:assertion +defs:error (Results 1 – 6 of 6) sorted by relevance

/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/
Dnapi_preferences_error.h29 #define PRE_NAPI_ASSERT_BASE(env, assertion, error, retVal) \ argument
40 #define PRE_NAPI_ASSERT(env, assertion, error) PRE_NAPI_ASSERT_BASE(env, assertion, error, nullptr) argument
42 #define PRE_NAPI_ASSERT_RETURN_VOID(env, assertion, error) \ argument
53 #define PRE_CHECK_RETURN_NULLPTR(context, assertion) \ argument
63 #define PRE_CHECK_RETURN_CALL_RESULT(assertion, theCall) \ argument
71 #define PRE_NAPI_ASSERT_RETURN_VOID(env, assertion, error) \ argument
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/
Dnapi_rdb_error.h37 #define RDB_NAPI_ASSERT_BASE(env, assertion, error, retVal) … argument
52 #define RDB_NAPI_ASSERT(env, assertion, error) RDB_NAPI_ASSERT_BASE(env, assertion, error, nullptr) argument
54 #define RDB_NAPI_ASSERT_RETURN_VOID(env, assertion, error) \ argument
65 #define RDB_CHECK_RETURN_NULLPTR(assertion) \ argument
72 #define RDB_CHECK_RETURN_CALL_RESULT(assertion, theCall) \ argument
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/
Dnapi_rdb_error.h34 #define RDB_NAPI_ASSERT_BASE(env, assertion, error, retVal) … argument
49 #define RDB_NAPI_ASSERT(env, assertion, error) RDB_NAPI_ASSERT_BASE(env, assertion, error, nullptr) argument
51 #define RDB_NAPI_ASSERT_RETURN_VOID(env, assertion, error) \ argument
62 #define RDB_CHECK_RETURN_NULLPTR(assertion) \ argument
69 #define RDB_CHECK_RETURN_CALL_RESULT(assertion, theCall) \ argument
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/include/
Ddatashare_js_utils.h28 #define NAPI_ASSERT_ERRCODE(env, assertion, error) … argument
/foundation/distributedhardware/device_manager/interfaces/kits/js/src/
Dnative_devicemanager_js.cpp114 bool CheckArgsVal(napi_env env, bool assertion, const std::string &param, const std::string &msg) in CheckArgsVal()
124 bool CheckArgsCount(napi_env env, bool assertion, const std::string &message) in CheckArgsCount()
134 bool CheckArgsType(napi_env env, bool assertion, const std::string &paramName, const std::string &t… in CheckArgsType()
148 napi_value error = nullptr; in CreateErrorForCall() local
159 napi_value error = nullptr; in CreateBusinessError() local
/foundation/ability/ability_runtime/frameworks/js/napi/wantagent/
Dnapi_want_agent.cpp30 #define NAPI_ASSERT_RETURN_NULL(env, assertion, message) \ argument
85 napi_value error = NapiGetNull(env); in CreateErrorValue() local