Home
last modified time | relevance | path

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

/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_init.cpp53 eventTypeMap["FAULT"] = NapiUtil::CreateInt32(env, FAULT_EVENT_TYPE); in InitEventTypeMap()
54 eventTypeMap["STATISTIC"] = NapiUtil::CreateInt32(env, STATISTIC_EVENT_TYPE); in InitEventTypeMap()
55 eventTypeMap["SECURITY"] = NapiUtil::CreateInt32(env, SECURITY_EVENT_TYPE); in InitEventTypeMap()
56 eventTypeMap["BEHAVIOR"] = NapiUtil::CreateInt32(env, BEHAVIOR_EVENT_TYPE); in InitEventTypeMap()
Dnapi_app_event_holder.cpp109 …NapiUtil::SetNamedProperty(env, packageObj, "packageId", NapiUtil::CreateInt32(env, package->packa… in NapiTakeNext()
110 NapiUtil::SetNamedProperty(env, packageObj, "row", NapiUtil::CreateInt32(env, package->row)); in NapiTakeNext()
111 NapiUtil::SetNamedProperty(env, packageObj, "size", NapiUtil::CreateInt32(env, package->size)); in NapiTakeNext()
Dnapi_hiappevent_write.cpp72 results[VALUE_INDEX] = NapiUtil::CreateInt32(env, asyncContext->result); in Write()
78 NapiUtil::CreateInt32(env, asyncContext->result)); in Write()
Dnapi_app_event_watcher.cpp126 NapiUtil::CreateInt32(context->env, context->row), in OnTrigger()
127 NapiUtil::CreateInt32(context->env, context->size), in OnTrigger()
Dnapi_util.cpp329 napi_value CreateInt32(const napi_env env, int32_t num) in CreateInt32() function
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
Dnapi_util.h59 napi_value CreateInt32(const napi_env env, int32_t num);
/base/print/print_fwk/frameworks/helper/include/
Dnapi_print_utils.h52 static napi_value CreateInt32(napi_env env, int32_t code);
/base/print/print_fwk/frameworks/helper/src/
Dnapi_print_utils.cpp119 napi_value NapiPrintUtils::CreateInt32(napi_env env, int32_t code) in CreateInt32() function in OHOS::Print::NapiPrintUtils
146 napi_value jsValue = CreateInt32(env, value); in SetInt32Property()