Home
last modified time | relevance | path

Searched refs:sprintf_s (Results 201 - 225 of 378) sorted by relevance

12345678910>>...16

/test/xts/device_attest_lite/services/core/small/utils/
H A Dattest_utils_file_detail.c184 if (sprintf_s(realPath, realPathLen, "%s%s%s", formatPath, "/", fileName) < 0) { in CreateFile()
/third_party/lz4/examples/
H A DdictionaryRandomAccess.c5 # define snprintf sprintf_s
/third_party/node/deps/v8/src/utils/
H A Dostreams.cc16 #define snprintf sprintf_s
/third_party/musl/libc-test/src/functionalext/unittest/
H A Dunit_test_hilog_adapter.c63 (void)sprintf_s(randomString, STR_LENGTH, "%02d", index); in GenerateRandomString()
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dreli_test.cpp190 sprintf_s(file, len, "/data/test/media/16/%d_video_audio.mp4", i); in HWTEST_F()
222 sprintf_s(file, len, "/data/test/media/16/%d_video_audio.mp4", i); in HWTEST_F()
274 sprintf_s(file, len, "/data/test/media/16/%d_video_audio.mp4", i); in HWTEST_F()
1392 sprintf_s(file, len, "/data/test/media/16/%d_hevc_v_a.ts", i); in HWTEST_F()
1692 sprintf_s(file, len, "/data/test/media/16/%d_avc_mp3.flv", i); in HWTEST_F()
1862 sprintf_s(file, len, "/data/test/media/16/%d_h265_aac_1mvex_fmp4.mp4", i); in HWTEST_F()
2183 sprintf_s(file, len, "/data/test/media/16/%d_h264_aac.m3u8", i); in HWTEST_F()
2374 sprintf_s(file, len, "/data/test/media/16/%d_srt_test.srt", i); in HWTEST_F()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/
H A Dcoap_discover.c611 if (sprintf_s(discoverUri, sizeof(discoverUri), "coap://%s/%s", broadcastIp, COAP_DEVICE_DISCOVER_URI) < 0) {
956 if (sprintf_s(uriBuffer, sizeof(uriBuffer), "coap://%s/" COAP_SERVICE_MSG_URI, remoteIpStr) < 0) {
957 DFINDER_LOGE(TAG, "sprintf_s for coap service msg uri failed");
992 if (sprintf_s(notificationUri, sizeof(notificationUri),
1311 if (sprintf_s(remoteUrl, sizeof(remoteUrl), "coap://%s/" COAP_DEVICE_DISCOVER_URI, host) < 0) {
/base/startup/appspawn/standard/
H A Dappspawn_service.c489 int len = sprintf_s(path, sizeof(path), APPSPAWN_MSG_DIR "%s/%s_%u", in GetMapMem()
1127 int len = sprintf_s(buffer[0], sizeof(buffer[0]), " %d ", property->forkCtx.fd[1]); in AppSpawnColdStartApp()
1129 len = sprintf_s(buffer[1], sizeof(buffer[1]), " %u ", property->client.flags); in AppSpawnColdStartApp()
1131 len = sprintf_s(buffer[2], sizeof(buffer[2]), " %u ", property->forkCtx.msgSize); // 2 2 index for dest path in AppSpawnColdStartApp()
1133 len = sprintf_s(buffer[3], sizeof(buffer[3]), " %u ", property->client.id); // 3 3 index for client id in AppSpawnColdStartApp()
1181 int len = sprintf_s(path, sizeof(path), APPSPAWN_MSG_DIR "%s/%s_%u", in GetAppSpawningCtxFromArg()
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/
H A Dexif_maker_note.cpp673 if (sprintf_s(buffer, sizeof(buffer), "%02X", data[cur]) == -1) { in Dump()
678 if (sprintf_s(buffer, sizeof(buffer), " %02X", data[cur]) == -1) { in Dump()
/foundation/multimodalinput/input/util/common/src/
H A Dutil.cpp90 const int32_t ret = sprintf_s(buf, BUF_TID_SIZE, "%06d", tid); in GetThisThreadIdOfString()
92 printf("ERR: in %s, #%d, call sprintf_s failed, ret = %d", __func__, __LINE__, ret); in GetThisThreadIdOfString()
187 if (sprintf_s(buf, BUF_CMD_SIZE, "/proc/%d/cmdline", static_cast<int32_t>(getpid())) == -1) { in GetProgramName()
188 KMSG_LOGE("GetProcessInfo sprintf_s /proc/.../cmdline error"); in GetProgramName()
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_utils.cpp88 sprintf_s(buf, sizeof(buf), "%02x", byte); in ToString()
245 if (sprintf_s(buf, MAC_BYTE_HEX_SIZE, "%02x:", byte) < 0) { in MacArrayToString()
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnetwork_security_config.cpp176 if (sprintf_s(&hashedStr[BASE16_ELE_SIZE * i], sizeof(hashedStr) - BASE16_ELE_SIZE * i, "%02x", hashedHex[i]) < in GetRehashedCADirName()
255 if (sprintf_s(buf, sizeof(buf), "%08lx", X509_subject_name_hash(x509)) < 0) { in ReHashCAPathForX509()
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_p2p_msg.cpp888 if (sprintf_s(buf, sizeof(buf), "%x", bufData & 0xff) < 0) { in Bin2HexStr()
905 if (sprintf_s(buf, sizeof(buf), "%x", bufData & 0xff) < 0) { in Bin2HexStr()
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/
H A Dhdi_common_v1_1.cpp42 int ret = sprintf_s(mkdirCmd, sizeof(mkdirCmd) / sizeof(mkdirCmd[0]), in DumpImageFile()
48 ret = sprintf_s(path, sizeof(path) / sizeof(path[0]), "/data/stream-%d/%lld.%s", in DumpImageFile()
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/
H A Dhdi_common_v1_1.cpp42 int ret = sprintf_s(mkdirCmd, sizeof(mkdirCmd) / sizeof(mkdirCmd[0]), in DumpImageFile()
48 ret = sprintf_s(path, sizeof(path) / sizeof(path[0]), "/data/stream-%d/%lld.%s", in DumpImageFile()
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/
H A Dbenchmark_common.cpp42 int ret = sprintf_s(mkdirCmd, sizeof(mkdirCmd) / sizeof(mkdirCmd[0]), in DumpImageFile()
48 ret = sprintf_s(path, sizeof(path) / sizeof(path[0]), "data/stream-%d/%lld.%s", in DumpImageFile()
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
H A Dcommon.cpp42 int ret = sprintf_s(mkdirCmd, sizeof(mkdirCmd) / sizeof(mkdirCmd[0]), in DumpImageFile()
48 ret = sprintf_s(path, sizeof(path) / sizeof(path[0]), "data/stream-%d/%lld.%s", in DumpImageFile()
/third_party/jerryscript/jerry-core/api/
H A Dgenerate-bytecode.c27 extern int sprintf_s(char *strDest, size_t destMax, const char *format, ...);
39 if (sprintf_s(version_str, sizeof(version_str), in get_jerry_version_no()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_data_cloud_sync.c1014 if (sprintf_s(putKey, KEY_MAX_LEN, "%ld#%s#%s", localCaheInfo.accountId, localCaheInfo.deviceInfo.deviceUdid, key) < in LnnLedgerDataChangeSyncToDB()
1016 LNN_LOGE(LNN_BUILDER, "sprintf_s key fail"); in LnnLedgerDataChangeSyncToDB()
1020 if (sprintf_s(putValue, PUT_VALUE_MAX_LEN, "%s#%d#%llu", value, localCaheInfo.stateVersion, nowTime) < 0) { in LnnLedgerDataChangeSyncToDB()
1021 LNN_LOGE(LNN_BUILDER, "sprintf_s value fail"); in LnnLedgerDataChangeSyncToDB()
1075 if (sprintf_s(putKey, KEY_MAX_LEN, "%ld#%s", info->accountId, info->deviceInfo.deviceUdid) < 0) { in ProcessSyncToDB()
1136 if (sprintf_s(key, KEY_MAX_LEN, "%ld#%s", localCaheInfo.accountId, localCaheInfo.deviceInfo.deviceUdid) < 0) { in LnnDeleteSyncToDB()
1137 LNN_LOGE(LNN_BUILDER, "sprintf_s key fail"); in LnnDeleteSyncToDB()
1163 if (sprintf_s(key, KEY_MAX_LEN, "%ld#%s", accountId, udid) < 0) { in LnnDeleteDevInfoSyncToDB()
1164 LNN_LOGE(LNN_BUILDER, "sprintf_s key fail"); in LnnDeleteDevInfoSyncToDB()
/base/location/services/location_locator/locator/source/
H A Dlocation_config_manager.cpp279 (void)sprintf_s(valueArray, sizeof(valueArray), "%d", value); in SetCachePrivacyType()
/base/location/frameworks/location_common/common/source/
H A Dlocation_data_rdb_manager.cpp220 auto ret = sprintf_s(valueArray, sizeof(valueArray), "%s", newSwitchStr.c_str()); in SetSwitchStateToSysparaForUser()
222 LBSLOGE(COMMON_UTILS, "sprintf_s failed, ret: %{public}d", ret); in SetSwitchStateToSysparaForUser()
/base/hiviewdfx/hitrace/frameworks/native/
H A Dcommon_utils.cpp51 if (sprintf_s(resolvedPath, PATH_MAX, "%s", src) == -1) { in CanonicalizeSpecPath()
52 HILOG_ERROR(LOG_CORE, "CanonicalizeSpecPath: sprintf_s %{pubilc}s failed.", src); in CanonicalizeSpecPath()
/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/
H A Dsym_key_openssl.c208 if (sprintf_s(keySizeChar, MAX_KEY_STR_SIZE, "%d", keySize) < 0) { in GetAlgoName()
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/common/
H A Ddas_version_util.c108 if (sprintf_s(tmpStr, TMP_VERSION_STR_LEN, "%u.%u.%u", version->first, version->second, version->third) <= 0) { in VersionToString()
/base/security/device_auth/test/unittest/deviceauth/source/
H A Dmk_agree_test.cpp59 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
H A Dprivacy_enhancement_test.cpp56 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()

Completed in 28 milliseconds

12345678910>>...16