Home
last modified time | relevance | path

Searched refs:sprintf_s (Results 101 - 125 of 442) sorted by relevance

12345678910>>...18

/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/
H A Dnstackx_dfinder_hidump.h27 ret = sprintf_s(data + index, size - index, fmt, ##__VA_ARGS__); \
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_expand.c60 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 Dappspawn_mount_template.c147 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 Dhnp_zip.c188 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 Drs_modifier_extractor.cpp482 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 Dreli_test.cpp208 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 Dmodulectl.c34 int ret = sprintf_s(combinedArgs, sizeof(combinedArgs), "ohos.servicectrl.%s", argv[0]); in ModuleInstallCmd()
/foundation/multimedia/audio_framework/frameworks/native/audioutils/include/
H A Daudio_utils_c.h39 int AUTO_NAME(ret) = sprintf_s(AUTO_NAME(str), SPRINTF_STRING_LEN, fmt, ##args); \
/kernel/liteos_m/testsuites/sample/kernel/task/
H A DIt_los_task_040.c55 (void)sprintf_s(acName, TASK_NAME_NUM, "Tsk040A%d", index); in TestCase()
/kernel/liteos_a/testsuites/unittest/libc/io/full/
H A DIO_test_dcgettext_001.cpp51 int ret = sprintf_s(domain, sizeof(domain), "www.%s.com", tmp); in testcase()
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/
H A DIt_process_plimits_devices_001.cpp53 ret = sprintf_s(writeBuf, sizeof(writeBuf), "%d", getpid()); in ItProcessPlimitsDevices001()
/test/xts/device_attest/services/core/utils/
H A Dattest_utils_log.c63 ret = sprintf_s(outStr, sizeof(outStr), fmt, strDup); in AttestLogAnonyStr()
H A Dattest_utils_file.c41 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 Dusage_event_report.cpp296 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 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()
/kernel/liteos_a/compat/posix/src/
H A Dmisc.c70 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 Ddevice_attest_oem_file.c42 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 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()
/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()

Completed in 14 milliseconds

12345678910>>...18