Home
last modified time | relevance | path

Searched refs:MSG_MAX_SIZE (Results 1 - 6 of 6) sorted by relevance

/foundation/distributedhardware/distributed_input/services/source/transport/test/sourcetransunittest/
H A Ddistributed_input_sourcetrans_test.cpp493 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F()
505 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F()
523 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F()
536 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F()
550 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F()
571 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F()
593 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F()
612 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F()
630 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F()
660 std::string message(MSG_MAX_SIZE in HWTEST_F()
[all...]
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_message_processor.cpp25 const int32_t MSG_MAX_SIZE = 45 * 1024; member
85 int32_t thumbnailSlice = ((thumbnailSize / MSG_MAX_SIZE) + (thumbnailSize % MSG_MAX_SIZE) == 0 ? 0 : 1); in CreateAuthRequestMessage()
99 int32_t leftLen = thumbnailSize - idx * MSG_MAX_SIZE; in CreateAuthRequestMessage()
100 int32_t sliceLen = (leftLen > MSG_MAX_SIZE) ? MSG_MAX_SIZE : leftLen; in CreateAuthRequestMessage()
103 jsonObj[TAG_APP_THUMBNAIL] = authRequestContext_->appThumbnail.substr(idx * MSG_MAX_SIZE, sliceLen); in CreateAuthRequestMessage()
/foundation/distributedhardware/distributed_input/services/common/include/
H A Ddinput_softbus_define.h38 const int32_t MSG_MAX_SIZE = 45 * 1024; member
/foundation/distributedhardware/distributed_input/services/transportbase/src/
H A Ddistributed_input_transport_base.cpp527 if (message.size() > MSG_MAX_SIZE) { in SendMsg()
528 DHLOGE("SendMessage error: message.size() > MSG_MAX_SIZE, msg size: %{public}zu", message.size()); in SendMsg()
531 uint8_t *buf = reinterpret_cast<uint8_t *>(calloc((MSG_MAX_SIZE), sizeof(uint8_t))); in SendMsg()
537 if (memcpy_s(buf, MSG_MAX_SIZE, reinterpret_cast<const uint8_t *>(message.c_str()), message.size()) != EOK) { in SendMsg()
/foundation/distributedhardware/distributed_input/services/transportbase/test/transbaseunittest/
H A Ddistributed_input_transbase_test.cpp164 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F()
168 std::string messageData(MSG_MAX_SIZE - 1, 'a'); in HWTEST_F()
/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dsoftbus_server_stub.cpp56 constexpr int32_t MSG_MAX_SIZE = 1024 * 2; member
1601 if (msgLen > MSG_MAX_SIZE || msgLen != strlen(msg)) { in SyncTrustedRelationShipInner()

Completed in 8 milliseconds