/base/telephony/sms_mms/test/unittest/ |
D | sms_gsm_message_test.cpp | 105 ShortMessage *message = new ShortMessage(); in Test7BitSubmitSms() local 106 if (message == nullptr) { in Test7BitSubmitSms() 110 ShortMessage::CreateMessage(pdu, u"3gpp", *message); in Test7BitSubmitSms() 111 gsmMessage_ = std::unique_ptr<ShortMessage>(message); in Test7BitSubmitSms() 123 ShortMessage *message = new ShortMessage(); in TestUcs2SubmitSms() local 124 if (message == nullptr) { in TestUcs2SubmitSms() 128 ShortMessage::CreateMessage(pdu, u"3gpp", *message); in TestUcs2SubmitSms() 129 gsmMessage_ = std::unique_ptr<ShortMessage>(message); in TestUcs2SubmitSms() 142 ShortMessage *message = new ShortMessage(); in Test7BitDeliverySms() local 143 if (message == nullptr) { in Test7BitDeliverySms() [all …]
|
/base/update/update_app/common/src/main/ets/util/ |
D | LogUtils.ts | 33 export function debug(tag: string, message: string, ...args: (string | number)[]): void { 34 Logger.debug(DOMAIN, tag, filterSensitiveInfo(message), ...args); 44 export function log(tag: string, message: string, ...args: (string | number)[]): void { 45 Logger.info(DOMAIN, tag, filterSensitiveInfo(message), ...args); 55 export function info(tag: string, message: string, ...args: (string | number)[]): void { 56 Logger.info(DOMAIN, tag, filterSensitiveInfo(message), ...args); 66 export function warn(tag: string, message: string, ...args: (string | number)[]): void { 67 Logger.warn(DOMAIN, tag, filterSensitiveInfo(message), ...args); 77 export function error(tag: string, message: string, ...args: (string | number)[]): void { 78 Logger.error(DOMAIN, tag, filterSensitiveInfo(message), ...args); [all …]
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_receive_handler.cpp | 57 CdmaSmsMessage *message = static_cast<CdmaSmsMessage *>(smsBaseMessage.get()); in HandleSmsByType() local 58 if (message->IsBroadcastMsg()) { in HandleSmsByType() 62 int service = message->GetTransTeleService(); in HandleSmsByType() 66 if (message->IsStatusReport() && !cdmaSmsSender_.expired()) { in HandleSmsByType() 74 statusInfo->SetMsgRefId(message->GetMsgRef()); in HandleSmsByType() 75 statusInfo->SetPdu(message->GetRawPdu()); in HandleSmsByType() 88 CdmaSmsMessage *message = static_cast<CdmaSmsMessage *>(smsBaseMessage.get()); in HandleSmsOtherSvcid() local 91 if (!message->IsConcatMsg()) { in HandleSmsOtherSvcid() 92 … indexer = std::make_shared<SmsReceiveIndexer>(message->GetRawPdu(), message->GetScTimestamp(), in HandleSmsOtherSvcid() 93 message->GetDestPort(), true, false, message->GetOriginatingAddress(), in HandleSmsOtherSvcid() [all …]
|
/base/sensors/sensor/test/unittest/interfaces/js/sensor/ |
D | BarometerJsunit.test.js | 74 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 85 console.info('On fail, errCode:' + error.code + ' ,msg:' + error.message); 91 console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 93 expect(error.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 113 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 124 console.info('On fail, errCode:' + error.code + ' ,msg:' + error.message); 130 console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 132 expect(error.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 152 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 168 console.info('On fail, errCode:' + error.code + ' ,msg:' + error.message); [all …]
|
D | GyroscopeJsunit.test.js | 78 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 89 console.error('On fail, errCode:' + error.code + ' ,msg:' + error.message); 95 console.info('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 97 expect(error.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 117 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 128 console.error('On fail, errCode:' + error.code + ' ,msg:' + error.message); 134 console.info('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 136 expect(error.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 156 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 172 console.info('On fail, errCode:' + error.code + ' ,msg:' + error.message); [all …]
|
D | SarJsunit.test.js | 75 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 86 console.error('On fail, errCode:' + error.code + ' ,msg:' + error.message); 92 console.info('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 94 expect(error.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 114 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 125 console.error('On fail, errCode:' + error.code + ' ,msg:' + error.message); 131 console.info('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 133 expect(error.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 153 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 169 console.info('On fail, errCode:' + error.code + ' ,msg:' + error.message); [all …]
|
D | ColorJsunit.test.js | 76 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 87 console.error('On fail, errCode:' + error.code + ' ,msg:' + error.message); 93 console.info('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 95 expect(error.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 115 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 126 console.error('On fail, errCode:' + error.code + ' ,msg:' + error.message); 132 console.info('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 134 expect(error.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 154 … console.error('getSingleSensor fail, errCode:' + error.code + ' ,msg:' + error.message); 170 console.info('On fail, errCode:' + error.code + ' ,msg:' + error.message); [all …]
|
D | SensorFrequencyJsunit.test.js | 77 … console.error('getSingleSensor fail, errCode:' + err.code + ' ,msg:' + err.message); 88 console.error('On fail, errCode:' + err.code + ' ,msg:' + err.message); 96 expect(err.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 115 … console.error('getSingleSensor fail, errCode:' + err.code + ' ,msg:' + err.message); 126 console.error('On fail, errCode:' + err.code + ' ,msg:' + err.message); 134 expect(err.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 153 … console.error('getSingleSensor fail, errCode:' + err.code + ' ,msg:' + err.message); 164 console.error('On fail, errCode:' + err.code + ' ,msg:' + err.message); 172 expect(err.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 191 … console.error('getSingleSensor fail, errCode:' + err.code + ' ,msg:' + err.message); [all …]
|
D | PedometerJsunit.test.js | 98 … console.error('getSingleSensor fail, errCode:' + err.code + ' ,msg:' + err.message); 109 console.error('On fail, errCode:' + err.code + ' ,msg:' + err.message); 117 expect(err.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 146 … console.error('getSingleSensor fail, errCode:' + err.code + ' ,msg:' + err.message); 153 console.error('On fail, errCode:' + err.code + ' ,msg:' + err.message); 155 expect(err.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 162 expect(err.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); 191 … console.error('getSingleSensor fail, errCode:' + err.code + ' ,msg:' + err.message); 202 console.error('Once fail, errCode:' + err.code + ' ,msg:' + err.message); 210 expect(err.message).assertEqual(CommonConstants.PARAMETER_ERROR_MSG); [all …]
|
/base/startup/appspawn/lite/ |
D | appspawn_process.c | 87 return prctl(PR_SET_NAME, appProperty->message.bundleName); in SetProcessName() 105 APPSPAWN_LOGE("SetUidGid %d %d", appProperty->message.uID, appProperty->message.gID); in SetUidGid() 106 if (setgid(appProperty->message.gID) != 0) { in SetUidGid() 107 … APPSPAWN_LOGE("[appspawn] setgid failed, gID %u, err: %d.", appProperty->message.gID, errno); in SetUidGid() 111 if (setuid(appProperty->message.uID) != 0) { in SetUidGid() 112 … APPSPAWN_LOGE("[appspawn] setuid failed, uID %u, err: %d.", appProperty->message.uID, errno); in SetUidGid() 117 … if (appProperty->message.gID >= LOWER_BOUND_GID && appProperty->message.gID <= UPPER_BOUND_GID) { in SetUidGid() 118 groups[0] = appProperty->message.gID; in SetUidGid() 121 … APPSPAWN_LOGE("[appspawn] setgroups failed, uID %u, err: %d.", appProperty->message.uID, errno); in SetUidGid() 134 APPSPAWN_LOGE("SetCapabilities appProperty->message.capsCnt %d", appProperty->message.capsCnt); in SetCapabilities() [all …]
|
/base/global/i18n/frameworks/intl/include/ |
D | regex_rule.h | 37 …d::vector<MatchedNumberInfo> Handle(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); 38 PhoneNumberMatch* IsValid(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); 45 icu::UnicodeString& message, bool isStartsWithNumber); 49 PhoneNumberMatch* IsValidEnd(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); 50 PhoneNumberMatch* IsValidStart(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); 51 PhoneNumberMatch* IsValidDefault(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); 52 PhoneNumberMatch* IsValidPreSuf(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); 53 PhoneNumberMatch* IsValidCode(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); 54 PhoneNumberMatch* IsValidRawstr(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); 56 …or<MatchedNumberInfo> HandleDefault(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); [all …]
|
/base/tee/tee_client/services/teecd/src/ |
D | tee_ca_auth.c | 86 struct msghdr message; in RecvCaMsg() local 96 errno_t rc = memset_s(&message, sizeof(message), 0, sizeof(struct msghdr)); in RecvCaMsg() 102 message.msg_name = NULL; in RecvCaMsg() 103 message.msg_namelen = 0; in RecvCaMsg() 104 message.msg_flags = 0; in RecvCaMsg() 105 message.msg_iov = iov; in RecvCaMsg() 106 message.msg_iovlen = 1; in RecvCaMsg() 107 message.msg_control = NULL; in RecvCaMsg() 108 message.msg_controllen = 0; in RecvCaMsg() 109 message.msg_iov[0].iov_base = caInfo; in RecvCaMsg() [all …]
|
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/ |
D | hks_crypto_hal_sm3_cipher.cpp | 90 HksBlob message = { .size = dataLen, .data = (uint8_t *)HksMalloc(dataLen) }; variable 91 ASSERT_NE(message.data, nullptr); 93 message.data[ii] = ReadHex((const uint8_t *)&hexData[HKS_COUNT_OF_HALF * ii]); 98 RunTestCase(&message, &hash); 99 HKS_FREE(message.data); 112 HksBlob message = { .size = dataLen, .data = (uint8_t *)HksMalloc(dataLen) }; variable 113 ASSERT_NE(message.data, nullptr); 115 message.data[ii] = ReadHex((const uint8_t *)&hexData[HKS_COUNT_OF_HALF * ii]); 120 RunTestCase(&message, &hash); 121 HKS_FREE(message.data); [all …]
|
D | hks_crypto_hal_api_openssl.cpp | 150 HksBlob message = { .size = 0, .data = nullptr }; variable 155 ret = HksCryptoHalEncrypt(&key, nullptr, &message, &cipherText, &tagAead); 159 ret = HksCryptoHalEncrypt(&key, nullptr, &message, &cipherText, &tagAead); 162 message = { .size = 1, .data = buff }; 163 ret = HksCryptoHalEncrypt(&key, nullptr, &message, &cipherText, &tagAead); 167 ret = HksCryptoHalEncrypt(&key, nullptr, &message, &cipherText, &tagAead); 170 ret = HksCryptoHalEncrypt(&key, &spec, &message, &cipherText, &tagAead); 185 HksBlob message = { .size = 0, .data = nullptr }; variable 189 ret = HksCryptoHalDecrypt(&key, nullptr, &message, &cipherText); 193 ret = HksCryptoHalDecrypt(&key, nullptr, &message, &cipherText); [all …]
|
D | hks_crypto_hal_api_mbedtls.cpp | 130 HksBlob message = { .size = 0, .data = nullptr }; variable 135 ret = HksCryptoHalEncrypt(&key, nullptr, &message, &cipherTextTest, &tagAead); 139 ret = HksCryptoHalEncrypt(&key, nullptr, &message, &cipherTextTest, &tagAead); 142 message = { .size = 1, .data = buff }; 143 ret = HksCryptoHalEncrypt(&key, nullptr, &message, &cipherTextTest, &tagAead); 147 ret = HksCryptoHalEncrypt(&key, nullptr, &message, &cipherTextTest, &tagAead); 150 ret = HksCryptoHalEncrypt(&key, &spec, &message, &cipherTextTest, &tagAead); 165 HksBlob message = { .size = 0, .data = nullptr }; variable 169 ret = HksCryptoHalDecrypt(&key, nullptr, &message, &cipherText); 173 ret = HksCryptoHalDecrypt(&key, nullptr, &message, &cipherText); [all …]
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_receive_handler.cpp | 109 GsmSmsMessage *message = (GsmSmsMessage *)smsBaseMessage.get(); in HandleSmsByType() local 110 if (message->IsSpecialMessage()) { in HandleSmsByType() 154 GsmSmsMessage *message = (GsmSmsMessage *)smsBaseMessage.get(); in HandleNormalSmsByType() local 157 if (!message->IsConcatMsg()) { in HandleNormalSmsByType() 158 indexer = make_shared<SmsReceiveIndexer>(message->GetRawPdu(), message->GetScTimestamp(), in HandleNormalSmsByType() 159 message->GetDestPort(), !message->GetGsm(), false, message->GetOriginatingAddress(), in HandleNormalSmsByType() 160 message->GetVisibleOriginatingAddress(), message->GetVisibleMessageBody()); in HandleNormalSmsByType() 162 std::shared_ptr<SmsConcat> smsConcat = message->GetConcatMsg(); in HandleNormalSmsByType() 167 indexer = make_shared<SmsReceiveIndexer>(message->GetRawPdu(), message->GetScTimestamp(), in HandleNormalSmsByType() 168 message->GetDestPort(), !message->GetGsm(), message->GetOriginatingAddress(), in HandleNormalSmsByType() [all …]
|
/base/time/time_service/framework/js/napi/common/include/ |
D | napi_utils.h | 30 #define NAPI_ASSERTS_BASE(env, assertion, code, message, retVal) \ argument 33 NapiUtils::ThrowError(env, message, code); \ 38 #define NAPI_ASSERTP(env, assertion, message) \ argument 39 NAPI_ASSERTS_BASE(env, assertion, ERROR, message, nullptr) 42 #define CHECK_ARGS_RETURN_VOID(module, context, condition, message, code) \ argument 46 (context)->errMessage = std::string(message); \ 48 TIME_HILOGE(module, "test (" #condition ") failed: " message); \ 53 #define CHECK_STATUS_RETURN_VOID(module, context, message, code) \ argument 56 (context)->errMessage = std::string(message); \ 58 TIME_HILOGE(module, "test (context->status == napi_ok) failed: " message); \ [all …]
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_aes.c | 99 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCrypt() argument 126 message->size, in AesCbcNoPaddingCrypt() 128 message->data, in AesCbcNoPaddingCrypt() 136 cipherText->size = message->size; in AesCbcNoPaddingCrypt() 183 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCryptUpdate() argument 194 if (message->size % HKS_AES_CBC_DATA_BLOB_SIZE != 0) { in AesCbcNoPaddingCryptUpdate() 210 message->size, in AesCbcNoPaddingCryptUpdate() 212 message->data, in AesCbcNoPaddingCryptUpdate() 221 cipherText->size = message->size; in AesCbcNoPaddingCryptUpdate() 229 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCryptFinal() argument [all …]
|
/base/security/device_auth/frameworks/deviceauth_lite/source/schedule/ |
D | distribution.c | 34 struct message *receive, struct message *send); 36 struct message *receive, struct message *send); 38 struct message *receive, struct message *send); 40 struct message *receive, struct message *send); 42 struct message *receive, struct message *send); 44 static int32_t get_operation_code(const struct header_analysis *nav, const struct message *receive); 47 struct message *receive, struct message *send); 50 struct message *receive, struct message *send); 118 const struct message *receive) in check_message_support() 152 struct message *receive, struct message *send) in proc_message() [all …]
|
/base/theme/screenlock_mgr/frameworks/js/napi/test/unittest/src/ |
D | Screenlock.test.js | 60 console.error(`SUB_MISC_THEME_screenLock_API_0001: ${error.code}, ${error.message}`); 79 console.error(`SUB_MISC_THEME_screenLock_API_0002: ${error.code}, ${error.message}`); 94 … console.info("unlock filed: error.code : " + err.code + "error.message :" + err.message); 105 console.error(`SUB_MISC_THEME_screenLock_API_0003: ${error.code}, ${error.message}`); 125 console.error(`SUB_MISC_THEME_screenLock_API_0004: ${err.code}, ${err.message}`); 130 console.error(`SUB_MISC_THEME_screenLock_API_0004: ${error.code}, ${error.message}`); 145 … console.error(`SUB_MISC_THEME_screenLock_API_0005: ${err.code}, ${err.message}`); 156 console.error(`SUB_MISC_THEME_screenLock_API_0005: ${error.code}, ${error.message}`); 176 console.error(`SUB_MISC_THEME_screenLock_API_0006: ${err.code}, ${err.message}`); 182 console.error(`SUB_MISC_THEME_screenLock_API_0006: ${error.code}, ${error.message}`); [all …]
|
/base/security/device_security_level/test/dslm_unit_test/ |
D | dslm_rpc_process_test.cpp | 65 const uint8_t message[] = {'1', '2'}; variable 66 ret = OnPeerMsgReceived(&identify, message, 0); 98 …const char *message = R"({"message":1,"payload":{"version":131072,"challenge111":"0102030405060708… variable 99 uint32_t messageLen = strlen(message) + 1; 100 int32_t ret = OnPeerMsgReceived(&identify, (const uint8_t *)message, messageLen); 113 …const char *message = R"({"message":2,"payload":{"version":131072,"challenge111":"0102030405060708… variable 114 uint32_t messageLen = strlen(message) + 1; 115 int32_t ret = OnPeerMsgReceived(&identify, (const uint8_t *)message, messageLen); 128 …const char *message = R"({"message":3,"payload":{"version":131072,"challenge111":"0102030405060708… variable 129 uint32_t messageLen = strlen(message) + 1; [all …]
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/include/ |
D | hks_openssl_aes.h | 40 int32_t HksOpensslAesEncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *… 42 int32_t HksOpensslAesEncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *… 47 int32_t HksOpensslAesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *… 49 int32_t HksOpensslAesDecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *… 55 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead); 58 const struct HksBlob *message, struct HksBlob *plainText); 91 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText); 94 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText); 97 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText); 100 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText);
|
/base/global/i18n/frameworks/intl/src/ |
D | date_rule_init.cpp | 43 std::vector<MatchedDateTimeInfo> DateRuleInit::Detect(icu::UnicodeString& message) in Detect() argument 45 std::vector<MatchedDateTimeInfo> matches = GetMatches(message); in Detect() 46 std::vector<MatchedDateTimeInfo> clearMatches = ClearFind(message); in Detect() 47 std::vector<MatchedDateTimeInfo> pastMatches = PastFind(message); in Detect() 49 matches = filter->Filter(message, matches, clearMatches, pastMatches); in Detect() 54 std::vector<MatchedDateTimeInfo> DateRuleInit::ClearFind(icu::UnicodeString& message) in ClearFind() argument 56 return this->clearRulesEngine.Match(message); in ClearFind() 60 std::vector<MatchedDateTimeInfo> DateRuleInit::PastFind(icu::UnicodeString& message) in PastFind() argument 62 return this->pastRulesEngine.Match(message); in PastFind() 112 std::vector<MatchedDateTimeInfo> DateRuleInit::GetMatches(icu::UnicodeString& message) in GetMatches() argument [all …]
|
/base/telephony/call_manager/test/fuzztest/callnotification_fuzzer/ |
D | callnotification_fuzzer.cpp | 49 std::string message(reinterpret_cast<const char *>(data), size); in IncomingCallNotificationFunc() 55 notification->IncomingCallHungUp(callObjectPtr, true, message); in IncomingCallNotificationFunc() 73 std::string message(reinterpret_cast<const char *>(data), size); in IncomingCallWakeupFunc() 82 notification->IncomingCallHungUp(callObjectPtr, true, message); in IncomingCallWakeupFunc() 97 std::string message(reinterpret_cast<const char *>(data), size); in ProximitySensorFunc() 103 notification->IncomingCallHungUp(callObjectPtr, true, message); in ProximitySensorFunc() 118 std::string message(reinterpret_cast<const char *>(data), size); in StatusBarFunc() 127 notification->IncomingCallHungUp(callObjectPtr, true, message); in StatusBarFunc() 142 std::string message(reinterpret_cast<const char *>(data), size); in WiredHeadsetHandlerFunc() 149 notification->IncomingCallHungUp(callObjectPtr, true, message); in WiredHeadsetHandlerFunc() [all …]
|
/base/tee/tee_client/frameworks/libteec_vendor/ |
D | tee_client_socket.c | 182 static void InitSockMsg(struct msghdr *message, CaRevMsg *revMsg, struct iovec *iov) in InitSockMsg() argument 184 message->msg_name = NULL; in InitSockMsg() 185 message->msg_namelen = 0; in InitSockMsg() 186 message->msg_flags = 0; in InitSockMsg() 187 message->msg_iov = iov; in InitSockMsg() 188 message->msg_iovlen = 1; in InitSockMsg() 189 message->msg_control = NULL; in InitSockMsg() 190 message->msg_controllen = 0; in InitSockMsg() 191 (message->msg_iov[0]).iov_base = revMsg; in InitSockMsg() 192 (message->msg_iov[0]).iov_len = sizeof(*revMsg); in InitSockMsg() [all …]
|