| /test/xts/dcts/distributedhardware/distributedcameratest/ |
| H A D | dcamera_hdf_demo.cpp | 332 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 D | hdi_common_v1_3.cpp | 52 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 D | at_network.c | 1581 (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()
|
| /device/soc/rockchip/rk3568/hardware/omx_il/component/video/dec/ |
| H A D | Rkvpu_OMX_Vdec.c | 246 sprintf_s(file_name_in, sizeof(file_name_in), "/data/video/dec_in_%d_%d.bin", pid_in, tid_in); in Rkvpu_OMX_DebugSwitchfromPropget() 262 sprintf_s(file_name_out, sizeof(file_name_out), "/data/video/dec_out_%d_%d.bin", pid_out, tid_out); in Rkvpu_OMX_DebugSwitchfromPropget()
|
| /base/security/device_auth/test/fuzztest/devauthfunc_fuzzer/ |
| H A D | devauthfunc_fuzzer.cpp | 218 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
|
| /base/update/updater/utils/ |
| H A D | utils.cpp | 639 if (sprintf_s(buf, MAX_RESULT_BUFF_SIZE - 1, "%s\n", result.c_str()) < 0) { in WriteDumpResult()
|
| /device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/ |
| H A D | at_general.c | 216 if (sprintf_s(soft_ver, HI_AT_VER_FULL_PRODUCT_NAME_MAX_SIZE, "+CSV:%s\r\n", in at_query_ver_cmd()
|
| /foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
| H A D | js_fwk_common.cpp | 635 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 D | ohos_bt_gatt.cpp | 107 (void)sprintf_s(token, sizeof(token), "%02X", scanResult.advData[i]);
|
| /foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
| H A D | egl_state.cpp | 150 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 D | plugin_texture_encode_test.cpp | 545 if (sprintf_s(inFile, sizeof(inFile), "%s/%dx%d/a%04ld_%dx%d.rgb", testPath.c_str(),
in ReadFileExtern()
|
| /foundation/communication/ipc/ipc/native/src/mock/source/ |
| H A D | dbinder_databus_invoker.cpp | 941 int ret = sprintf_s(buf, ACCESS_TOKEN_MAX_LEN + 1, "%010" PRIu64, callerTokenID_); in ResetCallingIdentity()
|
| /foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
| H A D | lnn_heartbeat_fsm.c | 1065 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 D | ipc_binder_databus_invoker_unittest.cpp | 595 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 D | wifi_hdi_wpa_p2p_impl.c | 793 if (sprintf_s(cfgValue, sizeof(cfgValue), "%s", value) < 0) { in HdiP2pSetSingleConfig()
|
| /foundation/communication/netstack/frameworks/cj/http/src/ |
| H A D | net_http_client_exec.cpp | 324 if (sprintf_s(encoded, sizeof(encoded), "%%%02X", c) < 0) { in EncodeUrlParam()
|
| /kernel/linux/common_modules/tzdriver/core/ |
| H A D | agent.c | 116 rc = sprintf_s(cmdstring, MAX_PATH_SIZE, "/proc/%d/exe", current->tgid); in get_proc_dpath()
|
| /kernel/liteos_m/components/fs/vfs/ |
| H A D | vfs_fs.c | 149 if (-1 == sprintf_s(tmpBuf, tmpLen, "/%s/%s/", cwd, path)) { in GetCanonicalPath()
|
| /test/xts/acts/communication_lite/lwip_hal/src/ |
| H A D | lwip_func_test.c | 139 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 D | jsoncpp.cpp | 1011 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 D | jsoncpp.cpp | 1011 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 D | jsoncpp.cpp | 1011 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);
|
| /foundation/arkui/napi/native_engine/impl/ark/ |
| H A D | ark_native_engine.cpp | 443 if (sprintf_s(fileName, sizeof(fileName), "lib%s.z.so/%s.js", name, name) == -1) { in ArkNativeEngine() 444 HILOG_ERROR("sprintf_s file name failed"); in ArkNativeEngine() 644 if (sprintf_s(buffer, sizeof(buffer), "napi:0x%x:%s", arkCallBackTraceId->GetChainId(), in StartNapiProfilerTrace()
|
| /base/security/crypto_framework/test/unittest/src/ |
| H A D | crypto_dh_asy_key_generator_test.cpp | 1224 if (sprintf_s(hexString + i * BIT2, (byteArrayLen - i) * BIT2 + 1, "%02x", byteArray[i]) < 0) { in ByteToHexString()
|
| /base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/ |
| H A D | huks_adapter.c | 759 if (sprintf_s((char *)(hex_str_arr + length), hex_str_arr_len - length, "%02x", byte_array[i]) < 0) { in convert_byte_to_hex_string()
|