| /foundation/arkui/ui_lite/frameworks/components/ |
| H A D | text_adapter.cpp | 23 if (sprintf_s(outText, textLen, "%d", value) < 0) { in Format() 136 if (sprintf_s(buf, sizeof(buf), "%02d", integerTextStart_ + index) < 0) { in GetIntegerText()
|
| /foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
| H A D | gt_extractor_util.cpp | 209 if (sprintf_s(destPath, len, "%s%s", installPath, path) < 0) { in HasWrittenFile() 222 if (sprintf_s(destName, PATH_LENGTH, "%s%s/%s", installPath, path, filename) < 0) { in HasWrittenFile()
|
| /foundation/multimodalinput/input/service/account_manager/test/ |
| H A D | account_manager_test.cpp | 281 EXPECT_FALSE(sprintf_s(buf, sizeof(buf), SECURE_SETTING_URI_PROXY.c_str(), accountSetting.accountId_) > 0);
in HWTEST_F() 315 EXPECT_FALSE(sprintf_s(buf, sizeof(buf), SECURE_SETTING_URI_PROXY.c_str(), accountSetting.accountId_) > 0);
in HWTEST_F()
|
| /device/board/hisilicon/hispark_aries/liteos_a/board/include/hisoc/ |
| H A D | spinor.h | 106 (VOID)sprintf_s(buffer, sizeof(buffer), "%dM", clk_reg); in hisfc350_get_clock_str()
|
| /device/board/hisilicon/hispark_taurus/liteos_a/board/include/hisoc/ |
| H A D | spinor.h | 106 (VOID)sprintf_s(buffer, sizeof(buffer), "%dM", clk_reg); in hisfc350_get_clock_str()
|
| /foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/utils/ |
| H A D | js_heap_stats_dumper.cpp | 74 if (sprintf_s(buffer, sizeof(buffer), "%d/%d ", stats.allocBytes, stats.peakAllocBytes) < 0) {
in SaveStats()
|
| /foundation/multimodalinput/input/util/napi/include/ |
| H A D | util_napi_error.h | 72 if (sprintf_s(buf, sizeof(buf), codeMsg.msg.c_str(), param1, param2) > 0) { \
|
| /foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
| H A D | default_client_mini_adapter.c | 48 int count = sprintf_s(saName, MAX_COUNT_NUM * MAX_NAME_LEN + MAX_COUNT_NUM,
in QueryRemoteIdentityInner() 53 HILOG_ERROR(HILOG_MODULE_SAMGR, "sprintf_s failed");
in QueryRemoteIdentityInner()
|
| /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()
|
| /base/hiviewdfx/hilog_lite/frameworks/featured/ |
| H A D | hiview_log.c | 887 textLen = sprintf_s(formatBuf.str, SECUREC_BUFFER_SIZE + 1, (char *)fltFmtStr, in HiLogSecOutputS() 890 textLen = sprintf_s(formatBuf.str, SECUREC_BUFFER_SIZE + 1, (char *)fltFmtStr, in HiLogSecOutputS() 893 textLen = sprintf_s(formatBuf.str, SECUREC_BUFFER_SIZE + 1, (char *)fltFmtStr, in HiLogSecOutputS() 896 textLen = sprintf_s(formatBuf.str, SECUREC_BUFFER_SIZE + 1, (char *)fltFmtStr, tmp); in HiLogSecOutputS() 903 textLen = sprintf_s(formatBuf.str, SECUREC_BUFFER_SIZE + 1, (char *)fltFmtStr, in HiLogSecOutputS() 906 textLen = sprintf_s(formatBuf.str, SECUREC_BUFFER_SIZE + 1, (char *)fltFmtStr, in HiLogSecOutputS() 909 textLen = sprintf_s(formatBuf.str, SECUREC_BUFFER_SIZE + 1, (char *)fltFmtStr, in HiLogSecOutputS() 912 textLen = sprintf_s(formatBuf.str, SECUREC_BUFFER_SIZE + 1, (char *)fltFmtStr, tmp); in HiLogSecOutputS()
|
| /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()
|
| /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()
|