Searched refs:NAPI_VALUE_STRING_LEN (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/notification/eventhandler/frameworks/napi/include/ |
H A D | events_emitter.h | 36 static const int32_t NAPI_VALUE_STRING_LEN = 10240; variable 60 char cValue[NAPI_VALUE_STRING_LEN] = {0};
|
/ohos5.0/base/notification/eventhandler/frameworks/napi/src/ |
H A D | events_emitter.cpp | 271 auto valueCStr = std::make_unique<char[]>(NAPI_VALUE_STRING_LEN + 1); in GetEventIdWithObjectOrString() 273 … napi_get_value_string_utf8(env, argv, valueCStr.get(), NAPI_VALUE_STRING_LEN, &valueStrLength); in GetEventIdWithObjectOrString() 405 auto valueCStr = std::make_unique<char[]>(NAPI_VALUE_STRING_LEN + 1); in GetEventIdWithNumberOrString() 407 … napi_get_value_string_utf8(env, argv, valueCStr.get(), NAPI_VALUE_STRING_LEN, &valueStrLength); in GetEventIdWithNumberOrString() 573 auto valueCStr = std::make_unique<char[]>(NAPI_VALUE_STRING_LEN + 1); in EmitWithEventIdString() 575 … napi_get_value_string_utf8(env, argv[0], valueCStr.get(), NAPI_VALUE_STRING_LEN, &valueStrLength); in EmitWithEventIdString()
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/js/kits/napi/include/ |
H A D | napi_hitrace_util.h | 27 constexpr int NAPI_VALUE_STRING_LEN = 10240; variable
|