Home
last modified time | relevance | path

Searched refs:STR_TAIL_LENGTH (Results 1 - 9 of 9) sorted by relevance

/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/common/
H A Djs_util.cpp25 constexpr size_t STR_TAIL_LENGTH = 1; member
83 char *buf = new (std::nothrow) char[maxLen + STR_TAIL_LENGTH]; in GetValue()
86 status = napi_get_value_string_utf8(env, in, buf, maxLen + STR_TAIL_LENGTH, &len); in GetValue()
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dpasteboard_common.cpp25 constexpr size_t STR_TAIL_LENGTH = 1; member
84 out.resize(len + STR_TAIL_LENGTH, 0); in GetValue()
85 NAPI_CALL_BASE(env, napi_get_value_string_utf8(env, in, out.data(), len + STR_TAIL_LENGTH, &length), false); in GetValue()
H A Dnapi_data_utils.cpp23 constexpr size_t STR_TAIL_LENGTH = 1; member
111 char *buf = new (std::nothrow) char[maxLen + STR_TAIL_LENGTH]; in GetValue()
114 status = napi_get_value_string_utf8(env, in, buf, maxLen + STR_TAIL_LENGTH, &len); in GetValue()
H A Dnapi_pastedata.cpp35 constexpr size_t STR_TAIL_LENGTH = 1; member
544 NAPI_CALL(env, napi_get_value_string_utf8(env, propNameNapi, str, STR_MAX_SIZE - STR_TAIL_LENGTH, &len)); in ParseRecord()
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/common/
H A Dnapi_data_utils.cpp21 constexpr size_t STR_TAIL_LENGTH = 1; member
105 char *buf = new (std::nothrow) char[maxLen + STR_TAIL_LENGTH]; in GetValue()
108 status = napi_get_value_string_utf8(env, in, buf, maxLen + STR_TAIL_LENGTH, &len); in GetValue()
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_utils.cpp42 static constexpr size_t STR_TAIL_LENGTH = 1; member
219 char buf[STR_MAX_LENGTH + STR_TAIL_LENGTH] {}; in GetValue()
221 status = napi_get_value_string_utf8(env, in, buf, maxLen + STR_TAIL_LENGTH, &len); in GetValue()
641 char buf[STR_MAX_LENGTH + STR_TAIL_LENGTH] {}; in GetValue()
643 status = napi_get_value_string_utf8(env, in, buf, maxLen + STR_TAIL_LENGTH, &len); in GetValue()
1466 char buf[STR_MAX_LENGTH + STR_TAIL_LENGTH] {}; in GetOptionalString()
1468 status = napi_get_value_string_utf8(env, value, buf, maxLen + STR_TAIL_LENGTH, &len); in GetOptionalString()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_util.cpp32 constexpr size_t STR_TAIL_LENGTH = 1; member
117 char* buf = new (std::nothrow) char[maxLen + STR_TAIL_LENGTH]; in GetValue()
120 status = napi_get_value_string_utf8(env, in, buf, maxLen + STR_TAIL_LENGTH, &len); in GetValue()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_util.cpp29 constexpr size_t STR_TAIL_LENGTH = 1; member
135 char* buf = new (std::nothrow) char[maxLen + STR_TAIL_LENGTH]; in GetValue()
138 status = napi_get_value_string_utf8(env, in, buf, maxLen + STR_TAIL_LENGTH, &len); in GetValue()
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/jskitsimpl/distributeddata/src/
H A Djs_util.cpp29 constexpr size_t STR_TAIL_LENGTH = 1; member
128 char* buf = new (std::nothrow) char[maxLen + STR_TAIL_LENGTH]; in GetValue()
131 status = napi_get_value_string_utf8(env, in, buf, maxLen + STR_TAIL_LENGTH, &len); in GetValue()

Completed in 16 milliseconds