/base/security/huks/utils/compatibility_bin/ |
D | compatibility_bin.c | 45 int ret = EOK; in ChangeDirAndFilesPerm() 53 if (ret != EOK) { in ChangeDirAndFilesPerm() 57 if (ret != EOK) { in ChangeDirAndFilesPerm() 61 if (ret != EOK) { in ChangeDirAndFilesPerm() 66 if (ret != EOK) { in ChangeDirAndFilesPerm() 80 if (ret != EOK) { in ChangeDirAndFilesPerm() 119 if (ret != EOK) { in ConstructSrcAndTargetPath() 123 if (ret != EOK) { in ConstructSrcAndTargetPath() 128 if (ret != EOK) { in ConstructSrcAndTargetPath() 133 if (ret != EOK) { in ConstructSrcAndTargetPath() [all …]
|
/base/telephony/cellular_data/services/src/apn_manager/ |
D | apn_item.cpp | 70 if (strcpy_s(apnItem->attr_.types_, ALL_APN_ITEM_CHAR_LENGTH, apnType.c_str()) != EOK) { in MakeDefaultApn() 76 if (strcpy_s(apnItem->attr_.apn_, ALL_APN_ITEM_CHAR_LENGTH, apn.c_str()) != EOK) { in MakeDefaultApn() 95 … if (strcpy_s(apnItem->attr_.types_, ALL_APN_ITEM_CHAR_LENGTH, apnData.apnTypes.c_str()) != EOK) { in MakeApn() 100 if (strcpy_s(apnItem->attr_.numeric_, ALL_APN_ITEM_CHAR_LENGTH, numeric.c_str()) != EOK) { in MakeApn() 104 …strcpy_s(apnItem->attr_.protocol_, ALL_APN_ITEM_CHAR_LENGTH, apnData.pdpProtocol.c_str()) != EOK) { in MakeApn() 109 apnData.roamPdpProtocol.c_str()) != EOK) { in MakeApn() 113 if (strcpy_s(apnItem->attr_.apn_, ALL_APN_ITEM_CHAR_LENGTH, apnData.apn.c_str()) != EOK) { in MakeApn() 117 …(strcpy_s(apnItem->attr_.apnName_, ALL_APN_ITEM_CHAR_LENGTH, apnData.profileName.c_str()) != EOK) { in MakeApn() 121 if (strcpy_s(apnItem->attr_.user_, ALL_APN_ITEM_CHAR_LENGTH, apnData.authUser.c_str()) != EOK) { in MakeApn() 125 …if (strcpy_s(apnItem->attr_.password_, ALL_APN_ITEM_CHAR_LENGTH, apnData.authPwd.c_str()) != EOK) { in MakeApn()
|
/base/startup/init/test/unittest/param/ |
D | param_shell_unittest.cpp | 69 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "cd const") != EOK) { in TestParamShellCmd() 75 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "cat aaa") != EOK) { in TestParamShellCmd() 81 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "testnotcmd") != EOK) { in TestParamShellCmd() 88 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "\"ls") != EOK) { in TestParamShellCmd() 95 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), ",ls") != EOK) { in TestParamShellCmd() 101 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "$test$") != EOK) { in TestParamShellCmd() 107 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "exit") != EOK) { in TestParamShellCmd() 119 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "pwd") != EOK) { in TestParamShellCmd1() 125 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "help") != EOK) { in TestParamShellCmd1() 131 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "dump") != EOK) { in TestParamShellCmd1() [all …]
|
/base/telephony/sms_mms/test/fuzztest/cdmasmsencode_fuzzer/ |
D | cdmasmsencode_fuzzer.cpp | 30 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in TeleserviceIdEncode() 45 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in ServiceCategoryEncode() 60 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in BearerReplyEncode() 75 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in CauseCodesEncode() 90 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in AddressParameterEncode() 105 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in SubaddressEncode() 120 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in BearerDataEncode() 135 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in BaseParameterEncode() 161 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in MessageIdEncode() 176 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in AbsoluteTimeEncode() [all …]
|
/base/security/huks/test/unittest/modify_old_version_key_test_util/ |
D | hks_test_modify_old_key.c | 100 int ret = EOK; in ChangeDirAndFiles() 108 if (ret != EOK) { in ChangeDirAndFiles() 112 if (ret != EOK) { in ChangeDirAndFiles() 116 if (ret != EOK) { in ChangeDirAndFiles() 121 if (ret != EOK) { in ChangeDirAndFiles() 128 if (ret != EOK) { in ChangeDirAndFiles()
|
/base/hiviewdfx/faultloggerd/test/fuzztest/faultloggerd_fuzzer/ |
D | faultloggerd_fuzzer.cpp | 43 if (err != EOK) { in DumpStackTraceTest() 48 if (err != EOK) { in DumpStackTraceTest() 82 if (err != EOK) { in FaultloggerdClientTest() 87 if (err != EOK) { in FaultloggerdClientTest() 92 if (err != EOK) { in FaultloggerdClientTest() 115 if (err != EOK) { in FaultloggerdServerTest() 120 if (err != EOK) { in FaultloggerdServerTest()
|
/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_mgr_system_test.cpp | 112 if (ret < EOK) { in InitNode() 204 EXPECT_EQ(true, ret >= EOK); 221 EXPECT_EQ(true, ret >= EOK); 243 EXPECT_EQ(true, ret >= EOK); 260 EXPECT_EQ(true, ret >= EOK); 282 EXPECT_EQ(true, ret >= EOK); 299 EXPECT_EQ(true, ret >= EOK); 321 EXPECT_EQ(true, ret >= EOK); 338 EXPECT_EQ(true, ret >= EOK); 359 EXPECT_EQ(true, ret >= EOK); [all …]
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | global.c | 50 if (strcpy_s(g_locale, MAX_LOCALE_LENGTH, appLanguage) != EOK) { in GLOBAL_ConfigLanguage() 63 if (ret != EOK) { in GLOBAL_GetLanguage() 73 …return (strncpy_s(language, len, localeArray[0], MAX_LANGUAGE_LENGTH - 1) != EOK) ? MC_FAILURE : M… in GLOBAL_GetLanguage() 81 if (ret != EOK) { in GLOBAL_IsRTL() 90 if (strncpy_s(script, MAX_SCRIPT_LENGTH, localeArray[1], MAX_SCRIPT_LENGTH - 1) != EOK) { in GLOBAL_IsRTL() 99 if (strncpy_s(language, MAX_LANGUAGE_LENGTH, localeArray[0], MAX_LANGUAGE_LENGTH - 1) != EOK) { in GLOBAL_IsRTL() 117 if (ret != EOK) { in GLOBAL_GetRegion() 127 …return (strncpy_s(region, len, localeArray[1], MAX_REGION_LENGTH - 1) != EOK) ? MC_FAILURE : MC_SU… in GLOBAL_GetRegion() 180 if (*value == NULL || strcpy_s(*value, idItem.valueLen, idItem.value) != EOK) { in GLOBAL_GetValueByIdInternal() 205 if (ret != EOK) { in GLOBAL_GetValueById() [all …]
|
/base/hiviewdfx/hiview_lite/ |
D | hiview_cache.c | 76 if (memcpy_s(cache->buffer + cache->wCursor, firstLen, data, firstLen) == EOK) { in WriteToCache() 87 … if (memcpy_s(cache->buffer + cache->wCursor, secondLen, data + firstLen, secondLen) == EOK) { in WriteToCache() 96 if (memcpy_s(cache->buffer + cache->wCursor, wLen, data, wLen) == EOK) { in WriteToCache() 127 if (memcpy_s(data, firstLen, cache->buffer + rCursor, firstLen) != EOK) { in ReadFromCache() 133 if (memcpy_s(data + firstLen, secondLen, cache->buffer, secondLen) != EOK) { in ReadFromCache() 138 if (memcpy_s(data, rLen, cache->buffer + rCursor, rLen) != EOK) { in ReadFromCache() 165 if (memcpy_s(data, firstLen, cache->buffer + rCursor, firstLen) != EOK) { in PrereadFromCache() 171 if (memcpy_s(data + firstLen, secondLen, cache->buffer, secondLen) != EOK) { in PrereadFromCache() 176 if (memcpy_s(data, rLen, cache->buffer + rCursor, rLen) != EOK) { in PrereadFromCache()
|
/base/security/huks/utils/file_operator/ |
D | hks_file_operator.c | 38 if (strncpy_s(fullFileName, fullFileNameLen, path, strlen(path)) != EOK) { in GetFileName() 43 if (strncat_s(fullFileName, fullFileNameLen, "/", strlen("/")) != EOK) { in GetFileName() 48 if (strncat_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName() 52 if (strncpy_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName() 133 if (memcpy_s(filePath, sizeof(filePath) - 1, fileName, strlen(fileName)) != EOK) { in FileWrite() 278 … if (memcpy_s(direntInfo->fileName, sizeof(direntInfo->fileName) - 1, dire->d_name, len) != EOK) { in HksGetDirFile() 304 if (ret != EOK) { in HksGetStoragePath() 351 if (strncpy_s(deletePath, sizeof(deletePath), path, strlen(path)) != EOK) { in HksDeletDirPartTwo() 357 if (strncat_s(deletePath, sizeof(deletePath), "/", strlen("/")) != EOK) { in HksDeletDirPartTwo() 363 if (strncat_s(deletePath, sizeof(deletePath), dire->d_name, strlen(dire->d_name)) != EOK) { in HksDeletDirPartTwo() [all …]
|
/base/security/appverify/interfaces/innerkits/appverify/src/common/ |
D | hap_byte_buffer.cpp | 40 if (memcpy_s(buffer.get(), capacity, other.GetBufferPtr(), other.GetCapacity()) != EOK) { in HapByteBuffer() 76 if (memcpy_s(buffer.get(), capacity, other.GetBufferPtr(), other.GetCapacity()) != EOK) { in operator =() 123 …if (memcpy_s(&value, sizeof(value), (buffer.get() + position + index), sizeof(long long)) != EOK) { in GetInt64() 157 … if (memcpy_s(&value, sizeof(value), (buffer.get() + position + index), sizeof(int32_t)) != EOK) { in GetInt32() 171 … if (memcpy_s(&value, sizeof(value), (buffer.get() + position + index), sizeof(uint32_t)) != EOK) { in GetUInt32() 195 … if (memcpy_s(&value, sizeof(value), (buffer.get() + position + index), sizeof(uint16_t)) != EOK) { in GetUInt16() 205 if (memcpy_s((buffer.get() + offset), (limit - offset), &value, sizeof(value)) != EOK) { in PutInt32() 214 if (memcpy_s((buffer.get() + offset), (limit - offset), (&value), sizeof(value)) != EOK) { in PutByte() 223 if (memcpy_s((buffer.get() + offset), (limit - offset), data, len) != EOK) { in PutData() 245 …if (memcpy_s(newBuffer.get(), newCapacity, (buffer.get() + position), (limit - position)) != EOK) { in Slice() [all …]
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/ |
D | raw_data.cpp | 51 if (ret != EOK) { in RawData() 74 if (ret != EOK) { in RawData() 97 if (ret != EOK) { in operator =() 150 auto ret = EOK; in Update() 158 if (ret != EOK) { in Update() 171 if (ret != EOK) { in Update()
|
/base/hiviewdfx/hiview/base/event_raw/base/ |
D | raw_data.cpp | 51 if (ret != EOK) { in RawData() 70 if (ret != EOK) { in RawData() 92 if (ret != EOK) { in operator =() 147 auto ret = EOK; in Update() 155 if (ret != EOK) { in Update() 168 if (ret != EOK) { in Update()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_file_operator.c | 33 if (strncpy_s(fullFileName, fullFileNameLen, path, strlen(path)) != EOK) { in GetFileName() 38 if (strncat_s(fullFileName, fullFileNameLen, "/", strlen("/")) != EOK) { in GetFileName() 43 if (strncat_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName() 47 if (strncpy_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName() 145 if (memcpy_s(filePath, sizeof(filePath) - 1, fileName, strlen(fileName)) != EOK) { in FileWrite() 257 … if (memcpy_s(direntInfo->fileName, sizeof(direntInfo->fileName) - 1, dire->d_name, len) != EOK) { in CmGetDirFile() 337 if (memcpy_s(fileNames[count].data, CM_MAX_FILE_NAME_LEN, filePath, filePathLen) != EOK) { in CmUidLayerGetFileNames() 364 if (strncpy_s(uidPath, sizeof(uidPath), path, strlen(path)) != EOK) { in CmUidLayerGetFileCountAndNames() 370 if (strncat_s(uidPath, sizeof(uidPath), "/", strlen("/")) != EOK) { in CmUidLayerGetFileCountAndNames() 376 if (strncat_s(uidPath, sizeof(uidPath), dire->d_name, strlen(dire->d_name)) != EOK) { in CmUidLayerGetFileCountAndNames() [all …]
|
/base/hiviewdfx/hidumper/frameworks/native/src/util/ |
D | dump_compressor.cpp | 47 if (memset_s(zData_, zDataSize_, 0, zDataSize_) != EOK) { in Compress() 83 MAX_COMPRESS_BUFFER_SIZE - destBuffer->offset, zData_, dstPos) != EOK) { in Compress() 99 … if (memmove_s(buffIn, CHUNK, srcBuffer->content + src_pos, srcBufferOffset - src_pos) != EOK) { in FillBuffer() 106 if (memmove_s(buffIn, CHUNK, srcBuffer->content + src_pos, toRead) != EOK) { in FillBuffer() 130 if (memmove_s(zData_ + dstPos, zDataSize_ - dstPos, buffOut, have) != EOK) { in DeflateBuffer()
|
/base/update/sys_installer_lite/frameworks/source/verify/ |
D | hota_verify.c | 32 if (memset_s(g_hash, HASH_LENGTH, 0, HASH_LENGTH) != EOK) { in HotaHashInit() 57 if (memset_s(buffer, length, 0, length) != EOK) { in HotaGetHash() 64 if (memcpy_s(buffer, HASH_LENGTH, g_hash, HASH_LENGTH) != EOK) { in HotaGetHash() 85 if (memset_s(hash, hashLen, 0, hashLen) != EOK) { in HotaCalcImageHash()
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_message.cpp | 44 if (ret != EOK) { in CalcReplyEncodeAddress() 49 if (ret != EOK) { in CalcReplyEncodeAddress() 73 if (ret != EOK) { in SetSmsTpduDestAddress() 86 if (ret != EOK) { in SetSmsTpduDestAddress() 165 if (ret != EOK) { in SetHeaderReply() 176 if (ret != EOK) { in SetHeaderReply() 232 if (memset_s(encodeData, sizeof(encodeData), 0x00, sizeof(encodeData)) != EOK) { in CreateDataSubmitSmsTpdu() 245 sizeof(smsTpdu_->data.submit.userData.data)) != EOK) { in CreateDataSubmitSmsTpdu() 251 sizeof(smsTpdu_->data.submit.userData.data)) != EOK) { in CreateDataSubmitSmsTpdu() 257 endcodeLen) != EOK) { in CreateDataSubmitSmsTpdu() [all …]
|
D | gsm_sms_tpdu_encode.cpp | 62 … if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), position, address.data(), position) != EOK) { in EncodeSubmitPdu() 85 …if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), bufferLen, dcs.data(), HEX_VALUE_01) != EOK) { in EncodeSubmitPduPartData() 101 … if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), position, vpTime.data(), position) != EOK) { in EncodeSubmitPduPartData() 298 if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), length, address.data(), length) != EOK) { in EncodeDeliverPartData() 325 …if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), bufferLen, dcs.data(), HEX_VALUE_01) != EOK) { in EncodeDeliverData() 339 if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), length, scts.data(), length) != EOK) { in EncodeDeliverData() 414 …if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), bufferLen, dcs.data(), HEX_VALUE_01) != EOK) { in EncodeDeliverReportPartData() 502 if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), length, address.data(), length) != EOK) { in EncodeStatusReportPartData() 517 if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), length, scts.data(), length) != EOK) { in EncodeStatusReportPartData() 531 if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), length, dt.data(), length) != EOK) { in EncodeStatusReportPartData() [all …]
|
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/ |
D | standard_exchange_message_util.c | 35 if (memcpy_s(exAuthInfoVal, exAuthInfoLen, nonce->val, nonce->length) != EOK) { in PackageNonceAndCipherToJson() 41 cipher->val, cipher->length) != EOK) { in PackageNonceAndCipherToJson() 74 if (memcpy_s(nonce->val, nonce->length, exAuthInfoVal, nonce->length) != EOK) { in ParseNonceAndCipherFromJson() 86 exAuthInfoLen - nonce->length) != EOK) { in ParseNonceAndCipherFromJson()
|
/base/security/device_auth/services/protocol/src/iso_protocol/ |
D | iso_protocol_common.c | 99 if (memcpy_s(messagePeer, length, params->randPeer.val, params->randPeer.length) != EOK) { in IsoCalSelfToken() 105 …s(messagePeer + usedLen, length - usedLen, params->randSelf.val, params->randSelf.length) != EOK) { in IsoCalSelfToken() 111 …ssagePeer + usedLen, length - usedLen, params->authIdSelf.val, params->authIdSelf.length) != EOK) { in IsoCalSelfToken() 117 …ssagePeer + usedLen, length - usedLen, params->authIdPeer.val, params->authIdPeer.length) != EOK) { in IsoCalSelfToken() 145 if (memcpy_s(messageSelf, length, params->randSelf.val, params->randSelf.length) != EOK) { in IsoCalPeerToken() 151 …s(messageSelf + usedLen, length - usedLen, params->randPeer.val, params->randPeer.length) != EOK) { in IsoCalPeerToken() 157 …ssageSelf + usedLen, length - usedLen, params->authIdPeer.val, params->authIdPeer.length) != EOK) { in IsoCalPeerToken() 163 …ssageSelf + usedLen, length - usedLen, params->authIdSelf.val, params->authIdSelf.length) != EOK) { in IsoCalPeerToken() 183 …y_s(hkdfSaltBuf->val, hkdfSaltBuf->length, params->randSelf.val, params->randSelf.length) != EOK) { in IsoCombineHkdfSalt() 188 params->randPeer.val, params->randPeer.length) != EOK) { in IsoCombineHkdfSalt() [all …]
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client_serialization.c | 30 if (memcpy_s(value, sizeof(uint32_t), srcBlob->data + *srcOffset, sizeof(uint32_t)) != EOK) { in GetUint32FromBuffer() 95 …certificateList->certAbstract[i].subjectName, MAX_LEN_SUBJECT_NAME, blob.data, blob.size) != EOK) { in CmCertificateListUnpackFromService() 113 … if (memcpy_s(certificateList->certAbstract[i].uri, MAX_LEN_URI, blob.data, blob.size) != EOK) { in CmCertificateListUnpackFromService() 123 …y_s(certificateList->certAbstract[i].certAlias, MAX_LEN_CERT_ALIAS, blob.data, blob.size) != EOK) { in CmCertificateListUnpackFromService() 204 if (memcpy_s(cInfo->certInfo.data, cInfo->certInfo.size, bufBlob.data, bufBlob.size) != EOK) { in CmCertificateInfoUnpackFromService() 229 if (memcpy_s(cInfo->certAlias, MAX_LEN_CERT_ALIAS, bufBlob.data, bufBlob.size) != EOK) { in CmCertificateInfoUnpackFromService() 235 if (memcpy_s(cInfo->uri, MAX_LEN_URI, certUri->data, certUri->size) != EOK) { in CmCertificateInfoUnpackFromService()
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_test_file_operator.c | 37 if (strncpy_s(fullFileName, fullFileNameLen, path, strlen(path)) != EOK) { in GetFileName() 42 if (strncat_s(fullFileName, fullFileNameLen, "/", strlen("/")) != EOK) { in GetFileName() 47 if (strncat_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName() 51 if (strncpy_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName() 137 if (memcpy_s(filePath, sizeof(filePath) - 1, fileName, strlen(fileName)) != EOK) { in FileWrite()
|
/base/telephony/cellular_call/services/connection/src/ |
D | cellular_call_connection_ims.cpp | 31 if (memset_s(&callInfo, sizeof(callInfo), 0, sizeof(callInfo)) != EOK) { in DialRequest() 43 if (strcpy_s(callInfo.phoneNum, cpyLen, phoneNumber_.c_str()) != EOK) { in DialRequest() 67 if (memset_s(&callInfo, sizeof(callInfo), 0, sizeof(callInfo)) != EOK) { in HangUpRequest() 74 if (strcpy_s(callInfo.phoneNum, strlen(phoneNum.c_str()) + 1, phoneNum.c_str()) != EOK) { in HangUpRequest() 99 if (memset_s(&callInfo, sizeof(callInfo), 0, sizeof(callInfo)) != EOK) { in AnswerRequest() 106 if (strcpy_s(callInfo.phoneNum, strlen(phoneNum.c_str()) + 1, phoneNum.c_str()) != EOK) { in AnswerRequest() 130 if (memset_s(&callInfo, sizeof(callInfo), 0, sizeof(callInfo)) != EOK) { in RejectRequest() 137 if (strcpy_s(callInfo.phoneNum, strlen(phoneNum.c_str()) + 1, phoneNum.c_str()) != EOK) { in RejectRequest() 265 if (memset_s(&imsCallInfo, sizeof(imsCallInfo), 0, sizeof(imsCallInfo)) != EOK) { in UpdateCallMediaModeRequest() 274 if (result != EOK) { in UpdateCallMediaModeRequest()
|
/base/startup/appspawn/standard/ |
D | main.c | 73 int isRet = memset_s(argv[0], argvSize, 0, (size_t)argvSize) != EOK; in main() 76 … isRet = strncpy_s(argv[0], argvSize, NWEBSPAWN_SERVER_NAME, strlen(NWEBSPAWN_SERVER_NAME)) != EOK; in main() 78 … isRet = strncpy_s(argv[0], argvSize, APPSPAWN_SERVER_NAME, strlen(APPSPAWN_SERVER_NAME)) != EOK; in main()
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hisysevent_wrapper/src/ |
D | hks_report_wrapper.c | 75 if (memcpy_s(extraOut + *index, EXTRA_DATA_SIZE - *index, tag->data, tag->size) != EOK) { in AppendToExtra() 85 if (memcpy_s(extraOut + *index, EXTRA_DATA_SIZE - *index, &split, sizeof(char)) != EOK) { in AppendToExtra() 101 if (memcpy_s(extraOut + *index, EXTRA_DATA_SIZE - *index, &split, sizeof(char)) != EOK) { in AppendToExtra() 178 processInfo->processName.size) != EOK) { in ReportFaultEvent()
|