| /foundation/communication/ipc/ipc/native/src/core/source/ |
| H A D | ipc_process_skeleton.cpp | 1010 if (sprintf_s(str, sizeof(str) / sizeof(str[0]), "%011u", input) <= EOK) { in UIntToString() 1011 ZLOGE(LOG_LABEL, "sprintf_s fail"); in UIntToString()
|
| /foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/ |
| H A D | http_exec.cpp | 696 if (sprintf_s(encoded, sizeof(encoded), "%%%02X", c) < 0) { in AddCurlHandle()
|
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/ |
| H A D | kvstore_data_service.cpp | 943 auto flag = sprintf_s(version, sizeof(version), "0x%08X", data.version); in PrintfInfo()
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/ |
| H A D | distributed_test_tools.cpp | 338 int result = sprintf_s(dirName, sizeof(dirName) - 1, "%s/%s", dir, dp->d_name); in RemoveDir()
|
| /foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
| H A D | key_manager.cpp | 1820 int len = sprintf_s(path, allPathSize, "%s%u%s", rootPath, userId, basePath); in UpdateCeEceSeceUserAuth()
|
| /foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/ |
| H A D | spunge_core.c | 1556 FILLP_INT ret = sprintf_s(threadName, sizeof(threadName), "%s_%u", "Fillp_core", (FILLP_UINT)random); in SpungeSetThreadInfo() 1558 FILLP_LOGWAR("SpungeInstanceMainThread sprintf_s thread name failed(%d), random(%u)", ret, random); in SpungeSetThreadInfo()
|
| /third_party/glfw/deps/ |
| H A D | stb_image_write.h | 774 len = sprintf_s(buffer, sizeof(buffer), "EXPOSURE= 1.0000000000000\n\n-Y %d +X %d\n", y, x);
|
| /third_party/astc-encoder/Source/ |
| H A D | stb_image_write.h | 774 len = sprintf_s(buffer, sizeof(buffer), "EXPOSURE= 1.0000000000000\n\n-Y %d +X %d\n", y, x);
|
| /foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
| H A D | sta_state_machine.cpp | 1811 ret = sprintf_s(strMacTmp, arraySize, "%x", distribution(gen)); in MacAddressGenerate() 1814 ret = sprintf_s(strMacTmp, arraySize, "%x", two * distribution(gen)); in MacAddressGenerate() 1817 LOGE("StaStateMachine::MacAddressGenerate failed, sprintf_s return -1!\n"); in MacAddressGenerate()
|
| /third_party/protobuf/conformance/third_party/jsoncpp/ |
| H A D | jsoncpp.cpp | 211 #define snprintf sprintf_s 4020 #define snprintf sprintf_s
|
| /base/location/services/location_locator/locator/source/ |
| H A D | locator_ability.cpp | 335 (void)sprintf_s(valueArray, sizeof(valueArray), "%d", value); in SetLocationhubStateToSyspara()
|
| /base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/ |
| H A D | credsmanager_fuzzer.cpp | 167 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
|
| /base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/ |
| H A D | creds_manager_test.cpp | 170 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
|
| /base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
| H A D | app_spawn_sandbox_new_test.cpp | 516 int len = sprintf_s((char *)buffer, bufferLen, "%s", "Test-value-001.Test-value-002.Test-value-003.Test-value-004"); in TestVariableReplace()
|
| /foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
| H A D | canvas_component.cpp | 590 int length = sprintf_s(defaultFont, (maxBufferLen - 1), "%dpx %s", defaultFontSize, defaultFontName); in FontGetter()
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/json_fuzzer/ |
| H A D | json_fuzzer.cpp | 93 if (sprintf_s(dirName, sizeof(dirName), "%s / %s", dir, dr->d_name) < 0) { in RemoveDir()
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/jsoninner_fuzzer/ |
| H A D | jsoninner_fuzzer.cpp | 102 if (sprintf_s(dirName, sizeof(dirName), "%s / %s", dir, dr->d_name) < 0) { in RemoveDir()
|
| /foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
| H A D | nstackx_dfile_session.c | 1232 if (sprintf_s(name, sizeof(name), "%s%u", DFFILE_SEND_THREAD_NAME_PREFIX, threadIdx) < 0) { in SetSendThreadName()
|
| /foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/ |
| H A D | hdi_sink.c | 2545 int ret = sprintf_s(str, len, "%s_%s_%s_%s_of%d", streamType, streamUid, streamPid, sessionID, InputIsOffload(i)); in GetSinkInputName() 2547 AUDIO_ERR_LOG("sprintf_s fail! ret %d", ret); in GetSinkInputName()
|
| /test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/ |
| H A D | napi_test.cpp | 8019 int result = sprintf_s(str, strLen + 1, "{\"name\": \"%s\"}", g_defineObject->name); in GetObj()
|
| /third_party/libabigail/tests/lib/ |
| H A D | catch.hpp | 15790 sprintf_s(buffer, "%.3f", duration);
|