Home
last modified time | relevance | path

Searched refs:sprintf_s (Results 76 - 100 of 339) sorted by relevance

12345678910>>...14

/foundation/arkui/ui_lite/frameworks/components/
H A Dtext_adapter.cpp23 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 Dgt_extractor_util.cpp209 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 Daccount_manager_test.cpp281 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 Dspinor.h106 (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 Dspinor.h106 (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 Djs_heap_stats_dumper.cpp74 if (sprintf_s(buffer, sizeof(buffer), "%d/%d ", stats.allocBytes, stats.peakAllocBytes) < 0) { in SaveStats()
/foundation/multimodalinput/input/util/napi/include/
H A Dutil_napi_error.h72 if (sprintf_s(buf, sizeof(buf), codeMsg.msg.c_str(), param1, param2) > 0) { \
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Ddefault_client_mini_adapter.c48 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 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()
/base/hiviewdfx/hilog_lite/frameworks/featured/
H A Dhiview_log.c887 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 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()
/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()

Completed in 10 milliseconds

12345678910>>...14