Home
last modified time | relevance | path

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

/base/account/os_account/interfaces/kits/napi/domain_account/src/
Dnapi_domain_auth_callback.cpp80 napi_value napiRemainTimes = nullptr; in ParseDoaminAuthResult() local
81 napi_get_named_property(env, value, "remainTimes", &napiRemainTimes); in ParseDoaminAuthResult()
82 if (!GetIntProperty(env, napiRemainTimes, authResult.authStatusInfo.remainingTimes)) { in ParseDoaminAuthResult()
Dnapi_domain_account_manager.cpp173 napi_value napiRemainTimes = nullptr; in ParseAuthStatusInfo() local
174 … NAPI_CALL_BASE(env, napi_get_named_property(env, value, "remainTimes", &napiRemainTimes), false); in ParseAuthStatusInfo()
175 if (napiRemainTimes == nullptr) { in ParseAuthStatusInfo()
179 NAPI_CALL_BASE(env, napi_get_value_int32(env, napiRemainTimes, &info.remainingTimes), false); in ParseAuthStatusInfo()
/base/account/os_account/interfaces/kits/napi/common/src/
Dnapi_account_common.cpp383 napi_value napiRemainTimes = 0; in CreateAuthResult() local
384 NAPI_CALL(env, napi_create_uint32(env, remainTimes, &napiRemainTimes)); in CreateAuthResult()
385 NAPI_CALL(env, napi_set_named_property(env, object, "remainTimes", napiRemainTimes)); in CreateAuthResult()
/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_common.cpp357 napi_value napiRemainTimes = nullptr; in GeneratePropertyJs() local
358 … NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, prop.remainTimes, &napiRemainTimes)); in GeneratePropertyJs()
359 … NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, dataJs, "remainTimes", napiRemainTimes)); in GeneratePropertyJs()