Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/
H A Dnapi_hitrace_js.cpp32 bool ParseInt32Param(const napi_env& env, const napi_value& origin, int& dest) in ParseInt32Param() function
91 !ParseInt32Param(env, params[ParamIndex::PARAM_SECOND], flag) && in Begin()
178 if (!ParseInt32Param(env, params[ParamIndex::PARAM_FIRST], communicationModeInt)) { in Tracepoint()
184 if (!ParseInt32Param(env, params[ParamIndex::PARAM_SECOND], tracePointTypeInt)) { in Tracepoint()
251 if (!ParseInt32Param(env, params[ParamIndex::PARAM_SECOND], traceFlagInt)) { in IsFlagEnabled()
279 if (!ParseInt32Param(env, params[ParamIndex::PARAM_SECOND], traceFlagInt)) { in EnableFlag()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/performancemonitor/
H A Dnapi_perf_monitor.cpp91 bool ParseInt32Param(const napi_env& env, const napi_value& value, int& dest) in ParseInt32Param() function
149 if (!ParseInt32Param(env, argv[SECOND_ARG_INDEX], inputType)) { in JSSceneStart()
190 if (!ParseInt32Param(env, argv[FIRST_ARG_INDEX], type)) { in JSRecordInputEventTime()
195 if (!ParseInt32Param(env, argv[SECOND_ARG_INDEX], sourceType)) { in JSRecordInputEventTime()
/ohos5.0/base/hiviewdfx/hitrace/interfaces/js/kits/napi/hitracemeter/
H A Dnapi_hitrace_meter.cpp107 bool ParseInt32Param(const napi_env& env, const napi_value& value, int& dest) in ParseInt32Param() function
207 if (!ParseInt32Param(env, argv[SECOND_ARG_INDEX], taskId)) { in JSTraceStart()
226 if (!ParseInt32Param(env, nValue, taskId)) { in JSTraceFinish()