| /foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/ |
| H A D | nstackx_dfinder_hidump.h | 27 ret = sprintf_s(data + index, size - index, fmt, ##__VA_ARGS__); \
|
| /base/startup/appspawn/modules/sandbox/ |
| H A D | sandbox_expand.c | 60 int len = sprintf_s(context->buffer[0].buffer, context->buffer[0].bufferLen, "%s%s/%s/%s", in MountAllHsp() 64 len = sprintf_s(context->buffer[1].buffer, context->buffer[1].bufferLen, "%s%s%s/%s", in MountAllHsp() 113 int len = sprintf_s(context->buffer[0].buffer, context->buffer[0].bufferLen, "%s%s%s", in MountAllGroup() 161 int len = sprintf_s(sandboxContext->buffer[1].buffer, sandboxContext->buffer[1].bufferLen, "%s%s", in SetOverlayAppPath()
|
| H A D | appspawn_mount_template.c | 147 len = sprintf_s(buffer + currLen, bufferSize - currLen - 1, " %s ", "|"); in DumpSandboxFlags() 152 len = sprintf_s(buffer + currLen, bufferSize - currLen, "%s", flagsInfos[i].name); in DumpSandboxFlags()
|
| /base/startup/appspawn/service/hnp/base/ |
| H A D | hnp_zip.c | 188 if (sprintf_s(fullPath, MAX_FILE_PATH_LEN, "%s%s", sourcePath, entry->d_name) < 0) {
in ZipAddDir() 259 ret = sprintf_s(sourcePath, MAX_FILE_PATH_LEN, "%s%c", inputDir, DIR_SPLIT_SYMBOL);
in HnpZip() 374 ret = sprintf_s(hnpSignMapInfos[sum].key, MAX_FILE_PATH_LEN, "%s!/%s", hnpSignKeyPrefix, key);
in HnpInstallAddSignMap() 453 if (sprintf_s(filePath, MAX_FILE_PATH_LEN, "%s/%s", outputDir, slash) < 0) {
in HnpUnZip()
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
| H A D | rs_modifier_extractor.cpp | 482 if (sprintf_s(buffer, UINT8_MAX, "Bounds[%.1f %.1f %.1f %.1f] Frame[%.1f %.1f %.1f %.1f]", in Dump() 492 sprintf_s(buffer, UINT8_MAX, ", BackgroundColor[#%08X]", GetBackgroundColor().AsArgbInt()) != -1) { in Dump() 501 sprintf_s(buffer, UINT8_MAX, ", Alpha[%.1f]", GetAlpha()) != -1) { in Dump() 516 if (sprintf_s(buffer, UINT8_MAX, ", BackgroundFilter[radius: %.2f, saturation: %.2f, brightness: %.2f, " in Dump()
|
| /foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/ |
| H A D | reli_test.cpp | 208 sprintf_s(file, len, "/data/test/media/VIDEO_HWENC_RELI_WHILE_0010_%d.h265", i); in HWTEST_F() 254 sprintf_s(file, len, "/data/test/media/VIDEO_HWENC_RELI_WHILE_0020_%d.h265", i); in HWTEST_F() 300 sprintf_s(file, len, "/data/test/media/VIDEO_HWENC_RELI_WHILE_0030_%d.h265", i); in HWTEST_F() 338 sprintf_s(file, len, "/data/test/media/VIDEO_HWENC_RELI_WHILE_0040_%d.h265", i); in HWTEST_F()
|
| /base/startup/init/services/begetctl/ |
| H A D | modulectl.c | 34 int ret = sprintf_s(combinedArgs, sizeof(combinedArgs), "ohos.servicectrl.%s", argv[0]); in ModuleInstallCmd()
|
| /foundation/multimedia/audio_framework/frameworks/native/audioutils/include/ |
| H A D | audio_utils_c.h | 39 int AUTO_NAME(ret) = sprintf_s(AUTO_NAME(str), SPRINTF_STRING_LEN, fmt, ##args); \
|
| /kernel/liteos_m/testsuites/sample/kernel/task/ |
| H A D | It_los_task_040.c | 55 (void)sprintf_s(acName, TASK_NAME_NUM, "Tsk040A%d", index);
in TestCase()
|
| /kernel/liteos_a/testsuites/unittest/libc/io/full/ |
| H A D | IO_test_dcgettext_001.cpp | 51 int ret = sprintf_s(domain, sizeof(domain), "www.%s.com", tmp); in testcase()
|
| /kernel/liteos_a/testsuites/unittest/process/plimits/smoke/ |
| H A D | It_process_plimits_devices_001.cpp | 53 ret = sprintf_s(writeBuf, sizeof(writeBuf), "%d", getpid()); in ItProcessPlimitsDevices001()
|
| /test/xts/device_attest/services/core/utils/ |
| H A D | attest_utils_log.c | 63 ret = sprintf_s(outStr, sizeof(outStr), fmt, strDup); in AttestLogAnonyStr()
|
| H A D | attest_utils_file.c | 41 if (sprintf_s(filePath, filePathLen, "%s%s%s", dirPath, "/", fileName) < 0) { in GenFilePath() 189 if (sprintf_s(realPath, realPathLen, "%s%s%s", formatPath, "/", fileName) < 0) { in CreateFileImpl()
|
| /base/hiviewdfx/hiview/plugins/usage_event_report/ |
| H A D | usage_event_report.cpp | 296 if (sprintf_s(lastRTBuf, len, "%" PRIu64, lastReportTime_) < 0) {
in StartServiceByOption() 301 if (sprintf_s(lastSRTBuf, len, "%" PRIu64, lastSysReportTime_) < 0) {
in StartServiceByOption()
|
| /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()
|
| /kernel/liteos_a/compat/posix/src/ |
| H A D | misc.c | 70 INT32 ret = sprintf_s(name->version, sizeof(name->version), "%s %u.%u.%u.%u %s %s", in uname() 78 ret = sprintf_s(name->release, sizeof(name->release), "%u.%u.%u.%u", in uname()
|
| /test/xts/device_attest/services/oem_adapter/src/ |
| H A D | device_attest_oem_file.c | 42 if (sprintf_s(filePath, filePathLen, "%s%s%s", dirPath, "/", fileName) < 0) { in OEMGenFilePath() 178 if (sprintf_s(realPath, realPathLen, "%s%s%s", formatPath, "/", fileName) < 0) { in OEMCreateFileImpl()
|
| /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()
|
| /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()
|