Home
last modified time | relevance | path

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

/ohos5.0/base/startup/init/interfaces/kits/jskits/src_enhance/
H A Dnative_parameters_js.cpp83 #define PARAM_NAPI_ASSERT(env, assertion, result, info) \ macro
152 PARAM_NAPI_ASSERT(env, argc >= ARGC_NUMBER, SYSPARAM_INVALID_INPUT, "requires 2 parameter"); in Set()
195PARAM_NAPI_ASSERT(env, argc == ARGC_NUMBER, SYSPARAM_INVALID_INPUT, "Wrong number of arguments"); in SetSync()
200 PARAM_NAPI_ASSERT(env, valuetype0 == napi_string && valuetype1 == napi_string, in SetSync()
236PARAM_NAPI_ASSERT(env, argc == 1 || argc == ARGC_NUMBER, SYSPARAM_INVALID_INPUT, "Wrong number of … in GetSync()
239PARAM_NAPI_ASSERT(env, valuetype0 == napi_string, SYSPARAM_INVALID_INPUT, "Wrong argument type. Nu… in GetSync()
244 PARAM_NAPI_ASSERT(env, (valuetype1 == napi_string) || (valuetype1 == napi_undefined), in GetSync()
339 PARAM_NAPI_ASSERT(env, argc >= 1, SYSPARAM_INVALID_INPUT, "requires 1 parameter"); in Get()