Home
last modified time | relevance | path

Searched refs:sprintf_s (Results 426 - 450 of 485) sorted by relevance

1...<<11121314151617181920

/base/startup/appspawn/test/moduletest/
H A Dappspawn_module_test.cpp81 if (sprintf_s(filePath, sizeof(filePath), "/proc/%d/%s", pid, fileName) <= 0) { in ReadFileInfo()
82 HILOG_ERROR(LOG_CORE, "filePath sprintf_s fail ."); in ReadFileInfo()
237 if (sprintf_s(filePath, sizeof(filePath), "/proc/%d", pid) <= 0) { in CheckProcessIsDestroyed()
238 HILOG_ERROR(LOG_CORE, "filePath sprintf_s fail ."); in CheckProcessIsDestroyed()
/drivers/peripheral/usb/ddk/host/src/
H A Dlinux_adapter.c128 int32_t ret = sprintf_s(path, PATH_LEN, USB_DEVICE_MMAP_PATH "%03u_%03u", dev->busNum, dev->devAddr); in GetMmapFd()
146 int32_t ret = sprintf_s(path, sizeof(path), USB_DEV_FS_PATH "/%03u/%03u", dev->busNum, dev->devAddr); in GetUsbDevicePath()
/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/
H A Dfcodec.cpp101 ret = sprintf_s(fileName, sizeof(fileName), "%s/input_%p.h264", DUMP_PATH, this); in OpenDumpFile()
112 ret = sprintf_s(fileName, sizeof(fileName), "%s/output_%p.yuv", DUMP_PATH, this); in OpenDumpFile()
/foundation/communication/ipc/ipc/native/src/mock/source/
H A Dbinder_invoker.cpp1616 int ret = sprintf_s(buf, ACCESS_TOKEN_MAX_LEN + 1, "%010" PRIu64, tempTokenId); in ResetCallingIdentity()
1622 ret = sprintf_s(buf, ACCESS_TOKEN_MAX_LEN + 1, "%010d", tempRealPid); in ResetCallingIdentity()
H A Ddbinder_databus_invoker.cpp941 int ret = sprintf_s(buf, ACCESS_TOKEN_MAX_LEN + 1, "%010" PRIu64, callerTokenID_); in ResetCallingIdentity()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger.c556 if (sprintf_s(key, INT_TO_STR_SIZE + UUID_BUF_LEN, "%d%s", type, uuid) == -1) { in CreateCnnCodeKey()
684 if (sprintf_s(accountString, LONG_TO_STRING_MAX_LEN, "%" PRId64, info->accountId) == -1) { in UpdateNewNodeAccountHash()
/test/xts/dcts/distributedhardware/distributedcameratest/
H A Ddcamera_hdf_demo.cpp332 if (sprintf_s(path, sizeof(path), "%spicture_%ld.jpeg", prefix, start.tv_usec) < 0) { in StoreImage()
333 DHLOGI("sprintf_s error ....."); in StoreImage()
369 if (sprintf_s(path, sizeof(path), "%svideo%ld.h264", prefix, seconds) < 0) { in OpenVideoFile()
/test/xts/hats/hdf/camera/cameraMg/v1_3/src/
H A Dhdi_common_v1_3.cpp52 int ret = sprintf_s(mkdirCmd, sizeof(mkdirCmd) / sizeof(mkdirCmd[0]), in DumpImageFile()
58 ret = sprintf_s(path, sizeof(path) / sizeof(path[0]), "/data/stream-%d/%lld.%s", in DumpImageFile()
/base/telephony/ril_adapter/services/vendor/src/
H A Dat_network.c1581 (void)sprintf_s(cmd, MAX_CMD_LENGTH, "%s", "AT+COPS=0"); in PrepareSetNetworkSelectionMode()
1586 (void)sprintf_s(cmd, MAX_CMD_LENGTH, "AT+COPS=1,2,%s", setModeInfo->oper); in PrepareSetNetworkSelectionMode()
/base/security/device_auth/test/fuzztest/devauthfunc_fuzzer/
H A Ddevauthfunc_fuzzer.cpp218 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
/base/update/updater/utils/
H A Dutils.cpp639 if (sprintf_s(buf, MAX_RESULT_BUFF_SIZE - 1, "%s\n", result.c_str()) < 0) { in WriteDumpResult()
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Djs_fwk_common.cpp635 if (sprintf_s(traceData, traceDataLen, "%s is bigger than %zu KB.\n", (ptr + 1), currentLimitation) < 0) { in OutputFileMaxLimitationTrace()
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt.cpp107 (void)sprintf_s(token, sizeof(token), "%02X", scanResult.advData[i]);
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Degl_state.cpp150 if (sprintf_s(error, sizeof(error), "Unknown error %x", aError) < 0) { in EglErrorStr()
151 PLUGIN_LOG_E("EglErrorStr: sprintf_s failed"); in EglErrorStr()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dplugin_texture_encode_test.cpp545 if (sprintf_s(inFile, sizeof(inFile), "%s/%dx%d/a%04ld_%dx%d.rgb", testPath.c_str(), in ReadFileExtern()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/
H A Dlnn_heartbeat_fsm.c1065 if (sprintf_s(hbFsm->fsmName, HB_FSM_NAME_LEN, "LnnHbFsm-%u", hbFsm->id) == -1) { in InitHeartbeatFsm()
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_binder_databus_invoker_unittest.cpp595 int ret = sprintf_s(buf, ACCESS_TOKEN_MAX_LEN + 1, "%010u", tokenId); in HWTEST_F()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_wpa_p2p_impl.c793 if (sprintf_s(cfgValue, sizeof(cfgValue), "%s", value) < 0) { in HdiP2pSetSingleConfig()
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_client_exec.cpp324 if (sprintf_s(encoded, sizeof(encoded), "%%%02X", c) < 0) { in EncodeUrlParam()
/kernel/linux/common_modules/tzdriver/core/
H A Dagent.c116 rc = sprintf_s(cmdstring, MAX_PATH_SIZE, "/proc/%d/exe", current->tgid); in get_proc_dpath()
/kernel/liteos_m/components/fs/vfs/
H A Dvfs_fs.c149 if (-1 == sprintf_s(tmpBuf, tmpLen, "/%s/%s/", cwd, path)) { in GetCanonicalPath()
/test/xts/acts/communication_lite/lwip_hal/src/
H A Dlwip_func_test.c139 rst = sprintf_s(dataBuf, sizeof(dataBuf), sendMsgList[i], clnFd); in CommTcpClientTask()
141 printf("[comm client]sprintf_s error!\n"); in CommTcpClientTask()
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp1011 sprintf_s(buffer, sizeof(buffer), "Line %d, Column %d", line, column);
1974 sprintf_s(buffer, sizeof(buffer), "Line %d, Column %d", line, column);
4059 len = sprintf_s(buffer, sizeof(buffer), "%.17g", value);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp1011 sprintf_s(buffer, sizeof(buffer), "Line %d, Column %d", line, column);
1974 sprintf_s(buffer, sizeof(buffer), "Line %d, Column %d", line, column);
4059 len = sprintf_s(buffer, sizeof(buffer), "%.17g", value);
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp1011 sprintf_s(buffer, sizeof(buffer), "Line %d, Column %d", line, column);
1974 sprintf_s(buffer, sizeof(buffer), "Line %d, Column %d", line, column);
4059 len = sprintf_s(buffer, sizeof(buffer), "%.17g", value);

Completed in 58 milliseconds

1...<<11121314151617181920