Searched refs:isFunc (Results 1 – 4 of 4) sorted by relevance
/base/security/huks/interfaces/kits/napi/src/v8/ |
D | huks_napi_update_finish.cpp | 139 static int32_t CheckIsCallbackFuction(napi_env env, napi_value object, bool &isFunc) in CheckIsCallbackFuction() argument 141 isFunc = false; in CheckIsCallbackFuction() 150 isFunc = true; in CheckIsCallbackFuction() 196 bool isFunc = false; in GetTokenOrCallback() local 197 int32_t ret = CheckIsCallbackFuction(env, argv[index], isFunc); in GetTokenOrCallback() 201 if (isFunc) { in GetTokenOrCallback() 213 ret = CheckIsCallbackFuction(env, argv[index], isFunc); in GetTokenOrCallback() 214 if (ret != HKS_SUCCESS || !isFunc) { in GetTokenOrCallback()
|
/base/powermgr/power_manager/frameworks/napi/power/ |
D | power_napi.cpp | 146 bool isFunc = NapiUtils::CheckValueType(env, argv[INDEX_1], napi_function); in SetPowerModeCallback() local 147 if (!isNum || !isFunc) { in SetPowerModeCallback() 148 POWER_HILOGW(FEATURE_POWER_MODE, "isNum: %{public}d, isFunc: %{public}d", isNum, isFunc); in SetPowerModeCallback()
|
/base/powermgr/power_manager/frameworks/napi/runninglock/ |
D | runninglock_napi.cpp | 133 bool isFunc = NapiUtils::CheckValueType(env, argv[INDEX_2], napi_function); in CreateAsyncCallback() local 134 if (!isStr || !isNum || !isFunc) { in CreateAsyncCallback() 136 …RE_RUNNING_LOCK, "isStr: %{public}d, isNum: %{public}d, isFunc: %{public}d", isStr, isNum, isFunc); in CreateAsyncCallback()
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_sign_verify.cpp | 250 static int32_t CheckIsCallback(napi_env env, napi_value object, bool &isFunc) in CheckIsCallback() argument 252 isFunc = false; in CheckIsCallback() 261 isFunc = true; in CheckIsCallback() 278 bool isFunc = false; in ProcessFinishTwoParam() local 279 int32_t ret = CheckIsCallback(env, argv[curIndex], isFunc); in ProcessFinishTwoParam() 285 if (isFunc) { in ProcessFinishTwoParam()
|