Searched refs:CreateInt32 (Results 1 – 8 of 8) sorted by relevance
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_hiappevent_init.cpp | 53 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()
|
D | napi_app_event_holder.cpp | 109 …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()
|
D | napi_hiappevent_write.cpp | 72 results[VALUE_INDEX] = NapiUtil::CreateInt32(env, asyncContext->result); in Write() 78 NapiUtil::CreateInt32(env, asyncContext->result)); in Write()
|
D | napi_app_event_watcher.cpp | 126 NapiUtil::CreateInt32(context->env, context->row), in OnTrigger() 127 NapiUtil::CreateInt32(context->env, context->size), in OnTrigger()
|
D | napi_util.cpp | 329 napi_value CreateInt32(const napi_env env, int32_t num) in CreateInt32() function
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/ |
D | napi_util.h | 59 napi_value CreateInt32(const napi_env env, int32_t num);
|
/base/print/print_fwk/frameworks/helper/include/ |
D | napi_print_utils.h | 52 static napi_value CreateInt32(napi_env env, int32_t code);
|
/base/print/print_fwk/frameworks/helper/src/ |
D | napi_print_utils.cpp | 119 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()
|