Home
last modified time | relevance | path

Searched refs:sprintf_s (Results 126 - 150 of 432) sorted by relevance

12345678910>>...18

/foundation/communication/ipc/ipc/native/c/manager/src/
H A Drpc_log.c71 ret = sprintf_s(szStr, sizeof(szStr), "[%s]", g_logInfo[module].name); in RpcLog()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_trans_log.cpp59 int32_t secRet = sprintf_s(tempBuffer, INT32_STRING_LENGTH, "%d", value); in GetAnonyInt32()
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Danonymous_string.cpp63 int32_t secRet = sprintf_s(tempBuffer, INT32_STRING_LENGTH, "%d", value); in GetAnonyInt32()
/kernel/liteos_m/testsuites/sample/kernel/task/
H A DIt_los_task_083.c71 (void)sprintf_s(acName, TASK_NAME_NUM, "Tsk083_%d", g_index); in TestCase()
H A DIt_los_task_086.c69 (void)sprintf_s(acName, TASK_NAME_NUM, "Tsk086_%d", g_index); in HwiF01()
H A DIt_los_task_087.c79 (void)sprintf_s(acName, TASK_NAME_NUM, "Tsk087_%d", index); in TestCase()
/kernel/liteos_a/testsuites/unittest/net/resolv/smoke/
H A Dnet_resolv_test_003.cpp51 (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 Dnet_resolv_test_002.cpp50 (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 Dattest_utils_file.c40 if (sprintf_s(filePath, filePathLen, "%s%s%s", dirPath, "/", fileName) < 0) { in GenFilePath()
/base/startup/init/services/begetctl/
H A Dparam_cmd.c94 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 Dbundle_util.cpp279 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 Dlocation_info_callback_host.cpp71 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 Dutil_napi_error.h61 int32_t ret = sprintf_s(buf, sizeof(buf), codeMsg.c_str(), param1, param2); \
/base/startup/init/services/modules/udid/
H A Dudid_adp.c46 int len = sprintf_s(buf, sizeof(buf), "%02X", value); in GetSha256Value()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
H A Dhi_stdlib.h263 extern int sprintf_s(char *dest, size_t dest_max, const char *format, ...);
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_stdlib.h256 extern int sprintf_s(char *dest, size_t dest_max, const char *format, ...);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_utils.cpp30 (void)sprintf_s(token, HEX_FORMAT_SIZE, "%02X", value); in IntToHexString()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_utils.cpp29 (void)sprintf_s(token, HEX_FORMAT_SIZE, "%02X", value); in IntToHexString()
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Draw_address.cpp55 (void)sprintf_s(token, in ConvertToString()
/foundation/communication/nfc/test/fuzztest/services_test/nfccontrollercallbackstub_test/nfccontrollercallbackstub/nfccontrollercallbackstub_fuzzer/
H A Dnfccontrollercallbackstub_fuzzer.cpp54 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 Doncardemulationnotifycbstub_fuzzer.cpp55 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 Dhcesessionstub_fuzzer.cpp56 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 Dsys_log.c76 ret = sprintf_s(szStr, sizeof(szStr), "%u %s: ", logLevel, moduleName); in NstackxHiLogImpl()
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_log.c76 ret = sprintf_s(szStr, sizeof(szStr), "%u %s: ", logLevel, moduleName); in NstackxHiLogImpl()
/kernel/liteos_m/testsuites/sample/kernel/sem/
H A DIt_los_sem_035.c70 (void)sprintf_s(acName, sizeof(acName), "Sem1_%d", i); in Testcase()

Completed in 11 milliseconds

12345678910>>...18