Home
last modified time | relevance | path

Searched refs:sprintf_s (Results 376 - 396 of 396) sorted by relevance

1...<<111213141516

/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_process_skeleton.cpp1010 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 Dhttp_exec.cpp696 if (sprintf_s(encoded, sizeof(encoded), "%%%02X", c) < 0) { in AddCurlHandle()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/
H A Dkvstore_data_service.cpp943 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 Ddistributed_test_tools.cpp338 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 Dkey_manager.cpp1820 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 Dspunge_core.c1556 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 Dstb_image_write.h774 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 Dstb_image_write.h774 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 Dsta_state_machine.cpp1811 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 Djsoncpp.cpp211 #define snprintf sprintf_s
4020 #define snprintf sprintf_s
/base/location/services/location_locator/locator/source/
H A Dlocator_ability.cpp335 (void)sprintf_s(valueArray, sizeof(valueArray), "%d", value); in SetLocationhubStateToSyspara()
/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/
H A Dcredsmanager_fuzzer.cpp167 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 Dcreds_manager_test.cpp170 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 Dapp_spawn_sandbox_new_test.cpp516 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 Dcanvas_component.cpp590 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 Djson_fuzzer.cpp93 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 Djsoninner_fuzzer.cpp102 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 Dnstackx_dfile_session.c1232 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 Dhdi_sink.c2545 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 Dnapi_test.cpp8019 int result = sprintf_s(str, strLen + 1, "{\"name\": \"%s\"}", g_defineObject->name); in GetObj()
/third_party/libabigail/tests/lib/
H A Dcatch.hpp15790 sprintf_s(buffer, "%.3f", duration);

Completed in 100 milliseconds

1...<<111213141516