Home
last modified time | relevance | path

Searched refs:strnlen (Results 26 - 49 of 49) sorted by relevance

12

/foundation/filemanagement/app_file_service/interfaces/kits/ndk/fileshare/src/
H A Doh_file_share.cpp46 auto uriLength = strnlen(policies[i].uri, policies[i].length); in ConvertPolicyInfo()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_tlstream.c989 msg_size += strnlen(tp_desc[i].id_str, STRLEN_MAX) + sizeof(char) + sizeof(u32); in kbasep_tlstream_timeline_header()
990 msg_size += strnlen(tp_desc[i].name, STRLEN_MAX) + sizeof(char) + sizeof(u32); in kbasep_tlstream_timeline_header()
991 msg_size += strnlen(tp_desc[i].arg_types, STRLEN_MAX) + sizeof(char) + sizeof(u32); in kbasep_tlstream_timeline_header()
992 msg_size += strnlen(tp_desc[i].arg_names, STRLEN_MAX) + sizeof(char) + sizeof(u32); in kbasep_tlstream_timeline_header()
1424 const size_t msg_s0 = sizeof(u32) + sizeof(char) + strnlen(attrib_match_list, STRLEN_MAX); in __kbase_tlstream_tl_ret_atom_lpu()
H A Dmali_kbase_mem.c1704 size = strnlen(data->buffer, sizeof(data->buffer)); in kbase_jit_debugfs_common_read()
H A Dmali_kbase_core_linux.c689 if (strnlen(screate->name, sizeof(screate->name)) >= sizeof(screate->name)) { in kbase_legacy_dispatch()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_tlstream.c1300 strnlen(tp_desc[i].id_str, STRLEN_MAX) + in kbasep_tlstream_timeline_header()
1303 strnlen(tp_desc[i].name, STRLEN_MAX) + in kbasep_tlstream_timeline_header()
1306 strnlen(tp_desc[i].arg_types, STRLEN_MAX) + in kbasep_tlstream_timeline_header()
1309 strnlen(tp_desc[i].arg_names, STRLEN_MAX) + in kbasep_tlstream_timeline_header()
1854 strnlen(attrib_match_list, STRLEN_MAX); in __kbase_tlstream_tl_ret_atom_lpu()
H A Dmali_kbase_mem.c1736 size = strnlen(data->buffer, sizeof(data->buffer)); in kbase_jit_debugfs_common_read()
H A Dmali_kbase_core_linux.c707 if (strnlen(screate->name, sizeof(screate->name)) >= sizeof(screate->name)) { in kbase_legacy_dispatch()
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_device.cpp164 if (strnlen(config->ssid, WIFI_MAX_SSID_LEN) == WIFI_MAX_SSID_LEN) { in ConvertDeviceConfigFromC()
174 if (strnlen(config->preSharedKey, WIFI_MAX_KEY_LEN) == WIFI_MAX_KEY_LEN) { in ConvertDeviceConfigFromC()
/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dsoftbus_server_stub.cpp1550 if (pkgName == nullptr || strnlen(pkgName, PKG_NAME_SIZE_MAX) >= PKG_NAME_SIZE_MAX) { in ShiftLNNGearInner()
1557 if (callerId == nullptr || strnlen(callerId, CALLER_ID_MAX_LEN) >= CALLER_ID_MAX_LEN) { in ShiftLNNGearInner()
1563 if (targetNetworkId == nullptr || strnlen(targetNetworkId, NETWORK_ID_BUF_LEN) != NETWORK_ID_BUF_LEN - 1) { in ShiftLNNGearInner()
1586 if (pkgName == nullptr || strnlen(pkgName, PKG_NAME_SIZE_MAX) >= PKG_NAME_SIZE_MAX) { in SyncTrustedRelationShipInner()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dpng_image_chunk_utils.cpp150 const size_t stringLength = strnlen(chunkData, dataLength); in FetchString()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/
H A Dosd_img.c634 HI_S32 s32StrLen = strnlen(pstContent->szStr, HI_OSD_MAX_STR_LEN); in OSD_Generate_Bitmap()
1003 pstAttr->stContent.stFontSize.u32Width * strnlen(pstOsdParam->stAttr.stContent.szStr, HI_OSD_MAX_STR_LEN); in Osd_Param_Config()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dfillp_dfx.c733 size_t len = strnlen(optArgs, FILLP_DFX_DUMP_MAX_OPT_ARG_LEN + 1); in IsCommonOptArgLegal()
/device/soc/rockchip/common/sdk_linux/scripts/dtc/
H A Dchecks.c230 l = strnlen(str, rem); in check_is_string_list()
990 for (str = prop->val.val, end = str + prop->val.len; str < end; str += strnlen(str, end - str) + 1) { in node_is_compatible()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link.c1488 if (strnlen(linkInfo->linkInfo.wlan.connInfo.addr, sizeof(linkInfo->linkInfo.wlan.connInfo.addr)) == 0 || in CreateWlanLinkInfo()
1489 strnlen(linkInfo->linkInfo.wlan.connInfo.addr, in CreateWlanLinkInfo()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_manager_service.cpp1307 if (memcpy_s(app->filePath, sizeof(app->filePath), filePath, strnlen(filePath, MAX_APP_FILE_PATH_LEN)) != 0) { in InsertPreAppInfo()
/foundation/communication/ipc/ipc/native/c/manager/src/
H A Dserializer.c383 len = strnlen(value, MAX_IO_SIZE); in WriteString()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_net_builder.c852 uint32_t addrLen = (uint32_t)strnlen((const char *)msg, size); in OnReceiveNodeAddrChangedMsg()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger.c1090 if (udid != NULL && strnlen(udid, UDID_BUF_LEN) != UDID_BUF_LEN && strncpy_s(udidData, in DfxRecordLnnSetNodeOfflineEnd()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_tracepoints.c840 + strnlen(attrib_match_list, STRLEN_MAX); in mali_kbase_kbase_tlstream_tl_ret_atom_lpu()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.c2851 size = strnlen(data->buffer, sizeof(data->buffer)); in kbase_jit_debugfs_common_read()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.c3270 size = strnlen(data->buffer, sizeof(data->buffer)); in kbase_jit_debugfs_common_read()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_tracepoints.c962 + strnlen(attrib_match_list, STRLEN_MAX); in __kbase_tlstream_tl_ret_atom_lpu()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwl_android.c795 if (strnlen(delim, IFNAMSIZ)) { in wl_android_get_rssi()
H A Ddhd_common.c1079 pars += strnlen(pars, ioc->len - 1 - sizeof(uint32)); in dhd_wl_ioctl()

Completed in 91 milliseconds

12