| /foundation/communication/ipc/ipc/native/c/manager/src/ |
| H A D | rpc_log.c | 71 ret = sprintf_s(szStr, sizeof(szStr), "[%s]", g_logInfo[module].name); in RpcLog()
|
| /foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
| H A D | av_trans_log.cpp | 59 int32_t secRet = sprintf_s(tempBuffer, INT32_STRING_LENGTH, "%d", value);
in GetAnonyInt32()
|
| /foundation/distributedhardware/distributed_hardware_fwk/utils/src/ |
| H A D | anonymous_string.cpp | 63 int32_t secRet = sprintf_s(tempBuffer, INT32_STRING_LENGTH, "%d", value); in GetAnonyInt32()
|
| /kernel/liteos_m/testsuites/sample/kernel/task/ |
| H A D | It_los_task_083.c | 71 (void)sprintf_s(acName, TASK_NAME_NUM, "Tsk083_%d", g_index);
in TestCase()
|
| H A D | It_los_task_086.c | 69 (void)sprintf_s(acName, TASK_NAME_NUM, "Tsk086_%d", g_index);
in HwiF01()
|
| H A D | It_los_task_087.c | 79 (void)sprintf_s(acName, TASK_NAME_NUM, "Tsk087_%d", index);
in TestCase()
|
| /kernel/liteos_a/testsuites/unittest/net/resolv/smoke/ |
| H A D | net_resolv_test_003.cpp | 51 (void)sprintf_s(mac_addr, sizeof(mac_addr), "%.2x:%.2x:%.2x:%.2x:%.2x:%.2x", r[0], r[1], r[2], r[3], r[4], r[5]); in EtherAtonrTest()
|
| H A D | net_resolv_test_002.cpp | 50 (void)sprintf_s(mac_addr, sizeof(mac_addr), "%.2x:%.2x:%.2x:%.2x:%.2x:%.2x", r[0], r[1], r[2], r[3], r[4], r[5]); in EtherAtonTest()
|
| /test/xts/device_attest_lite/services/core/utils/ |
| H A D | attest_utils_file.c | 40 if (sprintf_s(filePath, filePathLen, "%s%s%s", dirPath, "/", fileName) < 0) { in GenFilePath()
|
| /base/startup/init/services/begetctl/ |
| H A D | param_cmd.c | 94 realLen = sprintf_s(buffer, buffSize, "%s", current); in GetRealParameter() 96 realLen = sprintf_s(buffer, buffSize, "%s%s", current, name); in GetRealParameter() 99 realLen = sprintf_s(buffer, buffSize, "%s", current); in GetRealParameter() 101 realLen = sprintf_s(buffer, buffSize, "%s", name); in GetRealParameter()
|
| /foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
| H A D | bundle_util.cpp | 279 if (sprintf_s(filePath, PATH_LENGTH, "%s/%s", dirPath, dp->d_name) < 0) { in GetCurrentFolderSize() 453 if (sprintf_s(bundleJsonPath, PATH_LENGTH, "%s%s%s", JSON_PATH, bundleName, JSON_SUFFIX) < 0) { in CheckBundleJsonIsValid() 544 if (sprintf_s(bundleJsonPath, PATH_LENGTH, "%s%s%s", JSON_PATH, bundleName, JSON_SUFFIX) < 0) { in GetValueFromBundleJson() 571 if (sprintf_s(bundleJsonPath, PATH_LENGTH, "%s%s%s", JSON_PATH, bundleName, JSON_SUFFIX) < 0) { in GetValueFromBundleJson() 973 if (sprintf_s(filePath, PATH_LENGTH, "%s/%s", dirPath, dp->d_name) < 0) { in CheckDirIsEmpty()
|
| /base/location/frameworks/native/location_ndk/source/ |
| H A D | location_info_callback_host.cpp | 71 auto ret = sprintf_s(location_info.additions, sizeof(location_info.additions), "%s", additionStr.c_str()); in OnLocationReport() 73 LBSLOGE(OHOS::Location::LOCATION_CAPI, "sprintf_s failed, ret: %{public}d", ret); in OnLocationReport()
|
| /base/msdp/device_status/utils/common/include/ |
| H A D | util_napi_error.h | 61 int32_t ret = sprintf_s(buf, sizeof(buf), codeMsg.c_str(), param1, param2); \
|
| /base/startup/init/services/modules/udid/ |
| H A D | udid_adp.c | 46 int len = sprintf_s(buf, sizeof(buf), "%02X", value); in GetSha256Value()
|
| /device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/ |
| H A D | hi_stdlib.h | 263 extern int sprintf_s(char *dest, size_t dest_max, const char *format, ...);
|
| /device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
| H A D | hi_stdlib.h | 256 extern int sprintf_s(char *dest, size_t dest_max, const char *format, ...);
|
| /foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
| H A D | ble_utils.cpp | 30 (void)sprintf_s(token, HEX_FORMAT_SIZE, "%02X", value); in IntToHexString()
|
| /foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
| H A D | classic_utils.cpp | 29 (void)sprintf_s(token, HEX_FORMAT_SIZE, "%02X", value); in IntToHexString()
|
| /foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
| H A D | raw_address.cpp | 55 (void)sprintf_s(token, in ConvertToString()
|
| /foundation/communication/nfc/test/fuzztest/services_test/nfccontrollercallbackstub_test/nfccontrollercallbackstub/nfccontrollercallbackstub_fuzzer/ |
| H A D | nfccontrollercallbackstub_fuzzer.cpp | 54 int ret = sprintf_s(temp, sizeof(temp), "%02X:%02X:%02X:%02X:%02X:%02X", in BuildAddressString()
|
| /foundation/communication/nfc/test/fuzztest/services_test/oncardemulationnotifycbstub_test/oncardemulationnotifycbstub/oncardemulationnotifycbstub_fuzzer/ |
| H A D | oncardemulationnotifycbstub_fuzzer.cpp | 55 int ret = sprintf_s(temp, sizeof(temp), "%02X:%02X:%02X:%02X:%02X:%02X", in BuildAddressString()
|
| /foundation/communication/nfc/test/fuzztest/cardemulation_test/hcesessionstub/hcesessionstub_fuzzer/ |
| H A D | hcesessionstub_fuzzer.cpp | 56 int ret = sprintf_s(temp, sizeof(temp), "%02X:%02X:%02X:%02X:%02X:%02X", in BuildAddressString()
|
| /foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
| H A D | sys_log.c | 76 ret = sprintf_s(szStr, sizeof(szStr), "%u %s: ", logLevel, moduleName); in NstackxHiLogImpl()
|
| /foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/ |
| H A D | sys_log.c | 76 ret = sprintf_s(szStr, sizeof(szStr), "%u %s: ", logLevel, moduleName); in NstackxHiLogImpl()
|
| /kernel/liteos_m/testsuites/sample/kernel/sem/ |
| H A D | It_los_sem_035.c | 70 (void)sprintf_s(acName, sizeof(acName), "Sem1_%d", i);
in Testcase()
|