Home
last modified time | relevance | path

Searched refs:msgLength (Results 1 – 4 of 4) sorted by relevance

/foundation/communication/netmanager_base/frameworks/js/napi/common/
Dnapi_common.cpp151 size_t msgLength = 0; in GetStringFromValue() local
152 …_CALL_BASE(env, napi_get_value_string_utf8(env, value, msgChars, MAX_TEXT_LENGTH, &msgLength), ""); in GetStringFromValue()
153 if (msgLength > 0) { in GetStringFromValue()
154 return std::string(msgChars, 0, msgLength); in GetStringFromValue()
/foundation/ace/ace_engine_lite/frameworks/src/core/modules/presets/
Dfeature_ability_module.cpp204 uint16_t msgLength = 0; in SendMsgToPeer() local
206 char *message = MallocStringOf(msgValue, &msgLength); in SendMsgToPeer()
210 … if ((dstBundleName == nullptr) || (nameLength == 0) || (message == nullptr) || (msgLength == 0) || in SendMsgToPeer()
/foundation/ace/napi/native_engine/impl/ark/
Dark_native_engine.cpp654 size_t msgLength = exceptionStr_.length(); in GetExceptionForWorker() local
655 char* exceptionMessage = new char[msgLength + 1] { 0 }; in GetExceptionForWorker()
656 if (memcpy_s(exceptionMessage, msgLength + 1, exceptionStr_.c_str(), msgLength) != EOK) { in GetExceptionForWorker()
/foundation/communication/dsoftbus/components/nstackx/fillp/include/
Dfillpinc.h45 IN FILLP_UINT32 msgLength, IN FILLP_UINT32 traceObj, IN FILLP_UINT8 *traceDescript,