Home
last modified time | relevance | path

Searched refs:sprintf_s (Results 326 - 350 of 444) sorted by relevance

1...<<1112131415161718

/base/security/device_security_level/oem_property/common/
H A Ddslm_credential_utils.c340 int ret = sprintf_s((char *)payload->data, payload->length + 1, "%s.%s", credCb->header, credCb->payload); in ParsePayloadAttestation()
/base/sensors/medical_sensor/services/medical_sensor/src/
H A Dmedical_service.cpp163 int32_t ret = sprintf_s(uidChar, sizeof(uidChar), "%d", uid); in ReportSensorUsedInfo()
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/
H A Dfs_hvb.c304 rc = sprintf_s(&num_str[0], sizeof(num_str), "%llu", num); in FsHvbVerityTargetAppendNum()
/base/startup/init/services/param/trigger/
H A Dtrigger_processor.c174 int ret = sprintf_s(buffer, bufferSize - 1, "%s=%s", name, value); in PostParamTrigger()
/base/telephony/core_service/utils/common/src/
H A Dtel_aes_crypto_util.cpp363 if (sprintf_s(encodeUnit, ENCODE_UNIT_LEN, "%02x", data[i]) <= 0) { in DecToHexString()
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Ddrm_connector.cpp138 int bytes = sprintf_s(buffer, sizeof(buffer), "%d\n", level); in SetBrightness()
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Ddrm_connector.cpp143 int bytes = sprintf_s(buffer, sizeof(buffer), "%d\n", level); in SetBrightness()
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Ddrm_connector.cpp140 int bytes = sprintf_s(buffer, sizeof(buffer), "%d\n", level); in SetBrightness()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Ddrm_connector.cpp140 int bytes = sprintf_s(buffer, sizeof(buffer), "%d\n", level); in SetBrightness()
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A Ddrm_connector.cpp144 int bytes = sprintf_s(buffer, sizeof(buffer), "%d\n", level); in SetBrightness()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/src/
H A Drtcp.cpp129 if (sprintf_s(ts + strlen(ts), sizeof(ts) - strlen(ts), ".%06lld", static_cast<long long>(tv.tv_usec)) < 0) { in GetNtpStamp()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_video.cpp682 ret = sprintf_s(timer, len, "%02d:%02d:%02d", hour, minute, second); in GetTimerFromMSecond()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_material_filter.cpp136 if (sprintf_s(maskColorStr, UINT8_MAX, "%08X", maskColor_.AsArgbInt()) != -1) { in GetDetailedDescription()
H A Drs_drawing_filter.cpp153 if (sprintf_s(maskColorStr, UINT8_MAX, "%08X", maskColor.AsArgbInt()) != -1) { in GetDetailedDescription()
/foundation/communication/dsoftbus/core/common/utils/
H A Dsoftbus_utils.c457 if (sprintf_s(buf, bufLen, "%" PRId64"", src) < 0) { in Int64ToString()
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_hitrace_unittest.cpp78 if (sprintf_s(str, sizeof(str), "%lu", data) <= 0) { in HitraceLongToString()
/foundation/communication/dsoftbus/core/common/dfx/statistics/
H A Dtrans_network_statistics.c276 if (sprintf_s(laneId, sizeof(laneId), "%" PRIu64, info->resource.laneId) < 0) { in PackNetworkStatistics()
/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c425 rc = sprintf_s(addr, addrLen, "%s%s%s", ip, ADDR_SPLIT_IPV6, ifname); in Ipv6AddrInToAddr()
427 COMM_LOGE(CONN_COMMON, "sprintf_s addr fail"); in Ipv6AddrInToAddr()
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dinterface_manager.cpp262 sprintf_s(buf, sizeof(buf), "%02x:%02x:%02x:%02x:%02x:%02x", hwaddr[0], hwaddr[ARRAY_OFFSET_1_INDEX], in HwAddrToStr()
/foundation/communication/netstack/frameworks/js/napi/fetch/fetch_exec/src/
H A Dfetch_exec.cpp203 if (sprintf_s(encoded, sizeof(encoded), "%%%02X", c) < 0) { in EncodeUrlParam()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/dumper/src/
H A Ddump_helper.cpp312 auto flag = sprintf_s(date, sizeof(date), "%04d-%02d-%02d %02d:%02d:%02d %03d", in AddErrorInfo()
/foundation/distributedhardware/distributed_input/utils/src/
H A Ddinput_utils_tool.cpp231 int32_t secRet = sprintf_s(tempBuffer, INT32_STRING_LENGTH, "%d", value); in GetAnonyInt32()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_device.c227 if (sprintf_s(deviceList->reservedInfo, sizeof(deviceList->reservedInfo), in SetReservedInfoFromDeviceInfo()
229 DFINDER_LOGE(TAG, "sprintf_s reservedInfo with wifiIpAddr fails"); in SetReservedInfoFromDeviceInfo()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/
H A Dcoap_discover.c567 if (sprintf_s(remoteUrl, sizeof(remoteUrl), "coap://%s/" COAP_DEVICE_DISCOVER_URI, host) < 0) { in SendDiscoveryRspEx()
/kernel/linux/build/test/unittest/rtg/
H A Drtg_test.cpp281 (void)sprintf_s(formatData, sizeof(formatData), "rtgId:%d;rate:%d;type:%d", rtgId, rate, rtgType); in SetFrameRateAndPrioType()

Completed in 22 milliseconds

1...<<1112131415161718