Home
last modified time | relevance | path

Searched refs:sprintf_s (Results 351 - 375 of 445) sorted by relevance

1...<<1112131415161718

/drivers/peripheral/camera/test/demo_3A/
H A Dohos_camera_demo_3a.cpp332 if (sprintf_s(path, sizeof(path), "%spicture_%ld.jpeg", prefix, start.tv_usec) < 0) { in StoreImage()
333 CAMERA_LOGE("sprintf_s error ....."); in StoreImage()
374 if (sprintf_s(path, sizeof(path), "%svideo%ld.h264", prefix, seconds) < 0) { in OpenVideoFile()
/drivers/peripheral/camera/test/demo/
H A Dohos_camera_demo.cpp337 if (sprintf_s(path, sizeof(path), "%spicture_%ld.jpeg", prefix, start.tv_usec) < 0) { in StoreImage()
338 CAMERA_LOGE("sprintf_s error ....."); in StoreImage()
379 if (sprintf_s(path, sizeof(path), "%svideo%ld.h264", prefix, seconds) < 0) { in OpenVideoFile()
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
H A Ddcamera_hdf_demo.cpp313 if (sprintf_s(path, sizeof(path), "%spicture_%ld.jpeg", prefix, start.tv_usec) < 0) { in StoreImage()
314 DHLOGE("sprintf_s error ....."); in StoreImage()
350 if (sprintf_s(path, sizeof(path), "%svideo%ld.h264", prefix, seconds) < 0) { in OpenVideoFile()
/foundation/communication/dsoftbus/core/discovery/manager/src/
H A Ddisc_manager.c610 itemStrLen = sprintf_s(&dumpStr[dumpStrPos], DUMP_STR_LEN - dumpStrPos, "%d,", infoNode->id); in DumpDiscInfoList()
614 itemStrLen = sprintf_s(&dumpStr[dumpStrPos], DUMP_STR_LEN - dumpStrPos, "%d,", infoNode->id); in DumpDiscInfoList()
615 DISC_CHECK_AND_RETURN_LOGW(itemStrLen > 0, DISC_CONTROL, "sprintf_s failed"); in DumpDiscInfoList()
/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dmine_softbus_listener.cpp403 retValue = sprintf_s(&output[*outLen], DM_DEVICE_NUMBER_LEN, "%010d", optionInfo[i].startNumber); in ParseScopeDeviceJsonArray()
409 retValue = sprintf_s(&output[*outLen], DM_DEVICE_NUMBER_LEN, "%010d", optionInfo[i].endNumber); in ParseScopeDeviceJsonArray()
/test/xts/acts/communication_lite/lwip_posix/src/
H A DActsLwipTest.cpp124 rst = sprintf_s(dataBuf, sizeof(dataBuf), sendMsgList[i], clnFd); in CommTcpClientTask()
126 printf("[comm client]sprintf_s error!\n"); in CommTcpClientTask()
359 sprintf_s(dataBuf, sizeof(dataBuf), "server timeout:%d", timeout); in TcpServerForFork()
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/
H A Dhdi_common_v1_2.cpp43 int ret = sprintf_s(mkdirCmd, sizeof(mkdirCmd) / sizeof(mkdirCmd[0]), in DumpImageFile()
49 ret = sprintf_s(path, sizeof(path) / sizeof(path[0]), "/data/stream-%d/%lld.%s", in DumpImageFile()
/test/xts/device_attest/services/core/network/
H A Dattest_network.c210 retCode = sprintf_s(tracekId, traceIdLen, "%s_%s", tracekId, randomUuid); in SetSocketTracekId()
214 ATTEST_LOG_ERROR("[SetSocketTracekId] sprintf_s tracekId failed"); in SetSocketTracekId()
525 int newLen = sprintf_s(reqHeadData, headerMaxLen, HTTPS_POST_FORMAT, FILL_HTTPS_POST_FORMAT_ARGS(msgHttpPack)); in BuildHttpsHead()
530 ATTEST_LOG_ERROR("[BuildHttpsHead] reqHeadData sprintf_s fail"); in BuildHttpsHead()
/base/security/device_auth/services/data_manager/src/
H A Ddata_manager.c191 if (sprintf_s(infoPath, pathBufferLen, "%s/%d/deviceauth/hcgroup.dat", beginPath, osAccountId) <= 0) { in GetOsAccountInfoPathCe()
207 writeByteNum = sprintf_s(infoPath, pathBufferLen, "%s/hcgroup.dat", beginPath); in GetOsAccountInfoPathDe()
209 writeByteNum = sprintf_s(infoPath, pathBufferLen, "%s/hcgroup%d.dat", beginPath, osAccountId); in GetOsAccountInfoPathDe()
212 LOGE("[DB]: sprintf_s fail!"); in GetOsAccountInfoPathDe()
/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/
H A Dasy_token_manager.c101 if (sprintf_s(tokenPath, pathBufferLen, "%s/%d/deviceauth/account/account_data_asy.dat", in GetTokenPathCe()
118 writeByteNum = sprintf_s(tokenPath, pathBufferLen, "%s/account_data_asy.dat", beginPath); in GetTokenPathDe()
120 writeByteNum = sprintf_s(tokenPath, pathBufferLen, "%s/account_data_asy%d.dat", beginPath, osAccountId); in GetTokenPathDe()
123 LOGE("sprintf_s fail!"); in GetTokenPathDe()
/drivers/hdf_core/framework/model/audio/usb/src/
H A Daudio_usb_mixer.c807 return sprintf_s(name, KCTL_NAME_LEN, "Unit %d", usbAudioTerm->id); in AudioUsbGetTermName()
1701 (void)sprintf_s(kcontrol->name, KCTL_NAME_LEN, "Mixer Source %d", mixCtlParam->itemChannels + 1); in AudioUsbBuildMixerUnitCtl()
1867 sprintf_s(nameList[i], MAX_ITEM_NAME_LEN, "Input %u", i); in AudioUsbSetTermName()
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/
H A Dhevc_decoder.cpp199 int ret = sprintf_s(fileName, sizeof(fileName), "%s/input_%p.h265", DUMP_PATH, this); in OpenDumpFile()
210 int ret = sprintf_s(fileName, sizeof(fileName), "%s/output_%p.yuv", DUMP_PATH, this); in OpenDumpFile()
219 ret = sprintf_s(fileName, sizeof(fileName), "%s/outConvert_%p.data", DUMP_PATH, this); in OpenDumpFile()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/
H A Dwifi_device_service_impl.cpp1911 if (sprintf_s(cmd, sizeof(cmd), "ENABLE=%d BSSID=%s", uiFlag, bssid.c_str()) < 0) { in EnableHiLinkHandshake()
1920 if (sprintf_s(cmd, sizeof(cmd), "ENABLE=%d BSSID=%s", uiFlag, bssid.c_str()) < 0) { in EnableHiLinkHandshake()
1937 if (sprintf_s(cmd, sizeof(cmd), "HILINK_MAC=%s", currentMac.c_str()) < 0) { in EnableHiLinkHandshake()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_file_manager.c435 ret = sprintf_s(fullPath, fullPathLength, "%s%s", path, fileName); in GetFullFilePath()
437 ret = sprintf_s(fullPath, fullPathLength, "%s%c%s", path, PATH_SEPARATOR, fileName); in GetFullFilePath()
855 if (sprintf_s(name, sizeof(name), "%s%u", DFFILE_IO_THREAD_NAME_PREFIX, threadIdx) < 0) { in SetIOThreadName()
/base/startup/init/services/param/linux/
H A Dparam_service.c268 int ret = sprintf_s(condition, buffSize - 1, "%s=%s", msg->key, valueContent->content); in HandleParamWaitAdd()
/base/security/permission_lite/services/pms/src/
H A Dpms_impl.c265 if (sprintf_s(buf, BUFF_PARAM_SIZE, "%d", permissions[i].flags) < 0) { in SavePermissions()
/drivers/peripheral/usb/ddk/device/src/
H A Dusbfn_dev_mgr.c136 ret = sprintf_s(fnDevMgr->name, MAX_NAMELEN, "g%d", devCnt); in CreatDev()
/foundation/multimedia/audio_framework/frameworks/native/audioutils/include/
H A Daudio_utils.h225 int len = ::sprintf_s(buf, sizeof(buf), fmt, args...); in AppendFormat()
/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/
H A Ddisc_nstackx_adapter.c249 if (sprintf_s(serviceData, NSTACKX_MAX_SERVICE_DATA_LEN, "port:%d,", authPort) == -1) { in DiscCoapRegisterServiceData()
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_management.cpp238 sprintf_s(buf, sizeof(buf), "%02x:%02x:%02x:%02x:%02x:%02x", hwaddr[0], hwaddr[INDEX_ONE], in HwAddrToStr()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Djson_payload.c438 if (sprintf_s(coapUriBuffer, sizeof(coapUriBuffer), "coap://%s/" COAP_DEVICE_DISCOVER_URI, locaIpStr) < 0) { in PrepareServiceDiscoverEx()
/test/xts/device_attest/services/core/security/
H A Dattest_security.c662 if (sprintf_s(buf, sizeof(buf), "%02x", value) < 0) { in MD5Encode()
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.cpp655 (void)sprintf_s(options, sizeof(options), "fd=%d," in DoDlpAppMountStrategy()
1824 int len = sprintf_s(path, allPathSize, "%s%u%s%s", rootPath, uid, basePath, bundleName);
1851 int len = sprintf_s(path, allPathSize, "%s%u/%s%s", rootPath, info->uid / userIdBase, bundleName, targetPath);
/base/hiviewdfx/hidumper/frameworks/native/src/manager/
H A Ddump_implement.cpp344 if (sprintf_s(currentTime, sizeof(currentTime), "%s-%03d", buffer, milli) < 0) { in GetTime()
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/
H A Dnativetoken_kit_test.cpp608 int32_t ret = sprintf_s(processName[i], MAX_PROCESS_NAME_LEN, "processName_%d", i); in HWTEST_F()

Completed in 62 milliseconds

1...<<1112131415161718