Home
last modified time | relevance | path

Searched defs:assertion (Results 1 – 20 of 20) sorted by relevance

/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/
Dnapi_preferences_error.h45 #define PRE_NAPI_ASSERT_BASE(env, assertion, error, retVal) \ argument
56 #define PRE_NAPI_ASSERT(env, assertion, error) PRE_NAPI_ASSERT_BASE(env, assertion, error, nullptr) argument
58 #define PRE_NAPI_ASSERT_RETURN_VOID(env, assertion, error) \ argument
61 #define PRE_CHECK_RETURN_CORE(assertion, theCall, revt) \ argument
69 #define PRE_CHECK_RETURN_VOID_SET(assertion, error) \ argument
72 #define PRE_CHECK_RETURN_ERR_SET(assertion, error) \ argument
75 #define PRE_CHECK_RETURN_NULL(assertion) \ argument
78 #define PRE_CHECK_RETURN_VOID(assertion) \ argument
81 #define PRE_CHECK_RETURN_ERR(assertion) \ argument
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/
Dnapi_rdb_error.h52 #define RDB_NAPI_ASSERT_BASE(env, assertion, error, retVal) … argument
67 #define RDB_NAPI_ASSERT(env, assertion, error) \ argument
70 #define CHECK_RETURN_CORE(assertion, theCall, revt) \ argument
78 #define CHECK_RETURN_SET_E(assertion, paramError) \ argument
81 #define CHECK_RETURN_SET(assertion, paramError) \ argument
84 #define CHECK_RETURN_NULL(assertion) \ argument
87 #define CHECK_RETURN_ERR(assertion) \ argument
90 #define CHECK_RETURN(assertion) \ argument
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/
Dnapi_rdb_error.h36 #define RDB_NAPI_ASSERT_BASE_FROMV9(env, assertion, error, retVal, version) … argument
57 #define RDB_NAPI_ASSERT_FROMV9(env, assertion, error, version) \ argument
60 #define RDB_NAPI_ASSERT_RETURN_VOID_FROMV9(env, assertion, error, version) \ argument
71 #define RDB_CHECK_RETURN_NULLPTR(assertion, message) \ argument
79 #define RDB_CHECK_RETURN_VOID(assertion, message) \ argument
87 #define CHECK_RETURN_CORE(assertion, theCall, revt) \ argument
95 #define CHECK_RETURN_ERR(assertion) \ argument
98 #define RDB_CHECK_RETURN_CALL_RESULT(assertion, theCall) \ argument
/foundation/distributeddatamgr/udmf/interfaces/jskits/common/
Dnapi_error_utils.h43 #define ASSERT_ERR(env, assertion, errorcode, message) \ argument
51 #define ASSERT_ERR_VOID(env, assertion, errorcode, message) \ argument
59 #define ASSERT_BUSINESS_ERR(ctxt, assertion, errorcode, message) \ argument
68 #define ASSERT_PERMISSION_ERR(ctxt, assertion, errorCode, message) \ argument
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/include/
Djs_error_utils.h41 #define ASSERT_ERR(env, assertion, errorCode, message) \ argument
49 #define ASSERT_BUSINESS_ERR(ctxt, assertion, errorCode, message) \ argument
58 #define ASSERT_PERMISSION_ERR(ctxt, assertion, errorCode, message) \ argument
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/include/
Djs_error_utils.h40 #define ASSERT_ERR(env, assertion, errorCode, message) \ argument
48 #define ASSERT_BUSINESS_ERR(ctxt, assertion, errorCode, message) \ argument
57 #define ASSERT_PERMISSION_ERR(ctxt, assertion, errorCode, message) \ argument
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/include/
Ddatashare_js_utils.h29 #define NAPI_ASSERT_ERRCODE(env, assertion, error) … argument
37 #define NAPI_ASSERT_CALL_ERRCODE(env, assertion, call, retVal) \ argument
45 #define NAPI_ASSERT_CALL_ERRCODE_SYNC(env, assertion, call, error, retVal) … argument
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/dataability/include/
Dnapi_predicates_utils.h26 #define RDB_CHECK_RETURN_NULLPTR(assertion, message) \ argument
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/adaptor/
Djs_common.h68 #define CHECK_API_VALID_ELSE_RETURN_VOID(assertion) … argument
78 #define CHECK_VALID_ELSE_RETURN_VOID(assertion, msg) \ argument
/foundation/arkui/napi/interfaces/inner_api/napi/
Dnative_common.h34 #define NAPI_ASSERT_BASE(env, assertion, message, retVal) \ argument
42 #define NAPI_ASSERT(env, assertion, message) NAPI_ASSERT_BASE(env, assertion, message, nullptr) argument
44 #define NAPI_ASSERT_RETURN_VOID(env, assertion, message) NAPI_ASSERT_BASE(env, assertion, message, … argument
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/
Djs_util.h52 #define NAPI_ASSERT_ERRCODE(env, assertion, version, err) … argument
/foundation/multimedia/player_framework/frameworks/js/ringtone_manager/include/
Dringtone_common_napi.h27 #define THROW_ERROR_ASSERT(env, assertion, code) \ argument
/foundation/window/window_manager/interfaces/kits/napi/common/
Ddm_napi_common.h38 #define GNAPI_ASSERT(env, assertion, fmt, ...) \ argument
/foundation/multimedia/audio_framework/frameworks/js/napi/audio_common/include/
Daudio_common_napi.h24 #define THROW_ERROR_ASSERT(env, assertion, code) \ argument
/foundation/multimedia/image_framework/frameworks/kits/js/common/
Dimage_packer_napi.cpp121 ImagePackerAsyncContext* context, bool assertion, const std::string msg) in BuildMsgOnError()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/
Djs_utils.cpp21 #define CHECK_RETURN_RET(assertion, message, revt) \ argument
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/src/
Dcolor_picker_napi.cpp725 bool assertion, in BuildMsgOnError()
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/
Dnative_devicemanager_js.cpp116 bool CheckArgsVal(napi_env env, bool assertion, const std::string &param, const std::string &msg) in CheckArgsVal()
126 bool CheckArgsCount(napi_env env, bool assertion, const std::string &message) in CheckArgsCount()
136 bool CheckArgsType(napi_env env, bool assertion, const std::string &paramName, const std::string &t… in CheckArgsType()
/foundation/distributedhardware/device_manager/interfaces/kits/js/src/
Dnative_devicemanager_js.cpp122 bool CheckArgsVal(napi_env env, bool assertion, const std::string &param, const std::string &msg) in CheckArgsVal()
132 bool CheckArgsCount(napi_env env, bool assertion, const std::string &message) in CheckArgsCount()
142 bool CheckArgsType(napi_env env, bool assertion, const std::string &paramName, const std::string &t… in CheckArgsType()
/foundation/ability/ability_runtime/frameworks/js/napi/wantagent/
Dnapi_want_agent.cpp33 #define NAPI_ASSERT_RETURN_NULL(env, assertion, message) \ argument