Home
last modified time | relevance | path

Searched refs:msgSize (Results 1 - 10 of 10) sorted by relevance

/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/
H A Dmessage_queue_utils.cpp26 QueueHandler MessageQueueUtils::CreateMessageQueue(uint32_t capacity, uint32_t msgSize) in CreateMessageQueue() argument
29 (void)(msgSize); in CreateMessageQueue()
/foundation/multimedia/media_foundation/engine/include/foundation/utils/
H A Dbuffer_pool.h56 void Init(size_t msgSize = DEFAULT_FRAME_SIZE, Plugin::BufferMetaType type = Plugin::BufferMetaType::AUDIO, in Init()
59 if (msgSize_ == msgSize && align == align_) { in Init()
63 msgSize_ = msgSize; in Init()
68 buf->AllocMemory(nullptr, msgSize); in Init()
/foundation/arkui/ace_engine_lite/frameworks/native_engine/async/
H A Dmessage_queue_utils.cpp49 QueueHandler MessageQueueUtils::CreateMessageQueue(uint32_t capacity, uint32_t msgSize) in CreateMessageQueue() argument
51 if (capacity == 0 || msgSize == 0) { in CreateMessageQueue()
59 osMessageQueueId_t queueId = osMessageQueueNew(capacity, msgSize, nullptr); in CreateMessageQueue()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Dsnapshot.cpp169 uint32_t msgSize = *reinterpret_cast<const uint32_t *>(dataBuffer); in Create() local
170 if (msgSize >= totalSize || msgSize + sizeof(uint32_t) >= totalSize) { in Create()
176 bool ret = dataParcel.WriteBuffer(dataBuffer, msgSize); in Create()
186 dataBuffer += msgSize; in Create()
187 uint32_t remainSize = totalSize - msgSize - sizeof(uint32_t); in Create()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_spawn_msg_wrapper.cpp85 size_t msgSize = sizeof(AppSpawnMsg) + 1; in AssembleMsg() local
86 msg_ = static_cast<AppSpawnMsg *>(malloc(msgSize)); in AssembleMsg()
91 if (memset_s(msg_, msgSize, 0, msgSize) != EOK) { in AssembleMsg()
/foundation/communication/dsoftbus/core/common/message_handler/
H A Dmessage_handler.c47 unsigned int msgSize; member
141 context->msgSize--; in LoopTask()
145 PRIu64 ", msgSize=%{public}u, time=%{public}" PRId64, in LoopTask()
146 context->name, msg->handler ? msg->handler->name : "null", msg->what, msg->arg1, context->msgSize, in LoopTask()
232 COMM_LOGW(COMM_UTILS, "many messages left unprocessed, msgSize=%{public}u", in DumpLooperLocked()
233 context->msgSize); in DumpLooperLocked()
333 context->msgSize++; in PostMessageAtTime()
403 context->msgSize--; in LoopRemoveMessageCustom()
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/async/
H A Dmessage_queue_utils.h113 * @param [in] msgSize: message size in bytes
116 static QueueHandler CreateMessageQueue(uint32_t capacity, uint32_t msgSize);
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_message.c288 uint32_t msgSize = 0; in ProcessDeviceInfoMessage() local
292 if (DecryptInner(&sessionKeyList, info->connInfo.type, &inDataInfo, &msg, &msgSize) != SOFTBUS_OK) { in ProcessDeviceInfoMessage()
300 AUTH_LOGI(AUTH_FSM, "before decompress, msgSize=%{public}u", msgSize); in ProcessDeviceInfoMessage()
301 if (DataDecompress((uint8_t *)msg, msgSize, &decompressData, &decompressLen) != SOFTBUS_OK) { in ProcessDeviceInfoMessage()
316 devInfo.len = msgSize; in ProcessDeviceInfoMessage()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dsync_engine.cpp518 int msgSize = 0; in MessageReciveCallbackInner() local
520 msgSize = GetMsgSize(inMsg); in MessageReciveCallbackInner()
521 if (msgSize <= 0) { in MessageReciveCallbackInner()
529 if ((queueCacheSize_ + msgSize) > maxQueueCacheSize_) { in MessageReciveCallbackInner()
536 PutMsgIntoQueue(targetDev, inMsg, msgSize); in MessageReciveCallbackInner()
552 void SyncEngine::PutMsgIntoQueue(const std::string &targetDev, Message *inMsg, int msgSize) in PutMsgIntoQueue() argument
567 queueCacheSize_ += msgSize; in PutMsgIntoQueue()
H A Dsync_engine.h184 void PutMsgIntoQueue(const std::string &targetDev, Message *inMsg, int msgSize);

Completed in 7 milliseconds