| /foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/ |
| D | napi_preferences_error.h | 29 #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/ |
| D | napi_rdb_error.h | 37 #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/ |
| D | napi_rdb_error.h | 34 #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/ |
| D | datashare_js_utils.h | 28 #define NAPI_ASSERT_ERRCODE(env, assertion, error) … argument
|
| /foundation/distributedhardware/device_manager/interfaces/kits/js/src/ |
| D | native_devicemanager_js.cpp | 114 bool CheckArgsVal(napi_env env, bool assertion, const std::string ¶m, 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 ¶mName, 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/ |
| D | napi_want_agent.cpp | 30 #define NAPI_ASSERT_RETURN_NULL(env, assertion, message) \ argument 85 napi_value error = NapiGetNull(env); in CreateErrorValue() local
|