Searched refs:cpyLen (Results 1 – 7 of 7) sorted by relevance
/base/hiviewdfx/faultloggerd/common/util/ |
D | musl_cutil.h | 68 size_t cpyLen = strlen(nameFilter) + 1; in ReadStringFromFile() local 69 if (cpyLen > dstSz) { in ReadStringFromFile() 70 cpyLen = dstSz; in ReadStringFromFile() 72 memcpy(dst, nameFilter, cpyLen); in ReadStringFromFile()
|
/base/telephony/cellular_call/services/control/src/ |
D | cellular_call_supplement.cpp | 379 size_t cpyLen = strlen(queryResult.number.c_str()) + 1; in BuildCallForwardQueryInfo() local 380 if (strcpy_s(response.number, cpyLen, queryResult.number.c_str()) != EOK) { in BuildCallForwardQueryInfo() 740 size_t cpyLen = strlen(QUERY_SS_FAILED.c_str()) + 1; in GetMessage() local 741 if (strcpy_s(mmiCodeInfo.message, cpyLen, QUERY_SS_FAILED.c_str()) != EOK) { in GetMessage() 748 size_t cpyLen = strlen(TRANSFER_UNCONDITIONAL_SUCCESS.c_str()) + 1; in GetMessage() local 749 … if (strcpy_s(mmiCodeInfo.message, cpyLen, TRANSFER_UNCONDITIONAL_SUCCESS.c_str()) != EOK) { in GetMessage() 756 size_t cpyLen = strlen(TRANSFER_BUSY_SUCCESS.c_str()) + 1; in GetMessage() local 757 if (strcpy_s(mmiCodeInfo.message, cpyLen, TRANSFER_BUSY_SUCCESS.c_str()) != EOK) { in GetMessage() 764 size_t cpyLen = strlen(TRANSFER_NO_REPLYL_SUCCESS.c_str()) + 1; in GetMessage() local 765 if (strcpy_s(mmiCodeInfo.message, cpyLen, TRANSFER_NO_REPLYL_SUCCESS.c_str()) != EOK) { in GetMessage() [all …]
|
D | ims_control.cpp | 439 size_t cpyLen = strlen(callInfo.number.c_str()) + 1; in EncapsulationCallReportInfo() local 440 if (cpyLen > static_cast<size_t>(kMaxNumberLen + 1)) { in EncapsulationCallReportInfo() 444 if (strcpy_s(callReportInfo.accountNum, cpyLen, callInfo.number.c_str()) != EOK) { in EncapsulationCallReportInfo()
|
D | cs_control.cpp | 473 size_t cpyLen = strlen(callInfo.number.c_str()) + 1; in EncapsulationCallReportInfo() local 474 if (cpyLen > static_cast<size_t>(kMaxNumberLen + 1)) { in EncapsulationCallReportInfo() 478 if (strcpy_s(callReportInfo.accountNum, cpyLen, callInfo.number.c_str()) != EOK) { in EncapsulationCallReportInfo()
|
/base/telephony/call_manager/services/call/call_state_observer/src/ |
D | call_data_base_helper.cpp | 168 size_t cpyLen = displayName.length() + 1; in Query() local 172 if (strcpy_s(contactInfo.name, cpyLen, displayName.c_str()) != EOK) { in Query()
|
/base/telephony/cellular_call/services/connection/src/ |
D | cellular_call_connection_ims.cpp | 36 size_t cpyLen = strlen(dialRequest.phoneNum.c_str()) + 1; in DialRequest() local 37 if (cpyLen > static_cast<size_t>(kMaxNumberLength)) { in DialRequest() 40 if (strcpy_s(callInfo.phoneNum, cpyLen, dialRequest.phoneNum.c_str()) != EOK) { in DialRequest()
|
/base/update/updater/services/diffpatch/diff/ |
D | blocks_diff.cpp | 435 int64_t cpyLen = static_cast<int64_t>(IGMDIFF_LIMIT_UNIT); in WriteDiffData() local 436 …cpyLen = (offset + cpyLen > controlDatas[i].diffLength) ? (controlDatas[i].diffLength - offset) : … in WriteDiffData() 437 for (int64_t k = 0; k < cpyLen; k++) { in WriteDiffData() 441 … BlockBuffer srcData = {reinterpret_cast<uint8_t*>(diffData.data()), static_cast<size_t>(cpyLen)}; in WriteDiffData() 447 offset += cpyLen; in WriteDiffData()
|