Searched refs:getTimeResult (Results 1 – 2 of 2) sorted by relevance
/base/time/time_service/framework/js/napi/common/src/ |
D | napi_utils.cpp | 192 napi_value getTimeResult = nullptr; in ParseParametersBySetTime() local 193 napi_call_function(env, argv[0], getTimeFunc, 0, nullptr, &getTimeResult); in ParseParametersBySetTime() 194 NAPI_CALL(env, napi_typeof(env, getTimeResult, &resValueType)); in ParseParametersBySetTime() 196 napi_get_value_int64(env, getTimeResult, ×); in ParseParametersBySetTime()
|
/base/time/time_service/framework/js/napi/system_date_time/src/ |
D | napi_system_date_time.cpp | 121 napi_value getTimeResult = nullptr; in SetDate() local 122 napi_call_function(env, argv[0], getTimeFunc, 0, nullptr, &getTimeResult); in SetDate() 123 napi_typeof(env, getTimeResult, &resValueType); in SetDate() 126 … setDateContext->status = napi_get_value_int64(env, getTimeResult, &setDateContext->time); in SetDate()
|