Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 25 of 25) sorted by relevance

/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_cli/
Dcli_main.c847 int str_len = 0;
851 str_len = strlen(argv[i]);
852 if ((buf_len + str_len + 3) < CPU1_CMD_BUF_SIZE)
854 os_memcpy(&cpu1_cmd_buf[buf_len], argv[i], str_len);
855 buf_len += str_len;
874 int str_len = 0; in cli_cpu1_command() local
878 str_len = strlen(argv[i]); in cli_cpu1_command()
879 for(j = 0; j < str_len; j++) in cli_cpu1_command()
887 if(j < str_len) /* contains ' ' in string. */ in cli_cpu1_command()
890 for(j = 0; j < str_len; j++) in cli_cpu1_command()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tests/kutf/
Dkutf_helpers_user.c59 static int validate_val_name(const char *val_str, int str_len) in validate_val_name() argument
63 for (i = 0; str_len && i <= KUTF_HELPER_MAX_VAL_NAME_LEN && val_str[i] != '\0'; ++i, --str_len) { in validate_val_name()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_cfg80211.c413 s32 str_len; in wl_dongle_filter() local
421 str_len = strlen(str); in wl_dongle_filter()
423 buf_len = str_len + 1; in wl_dongle_filter()
425 pkt_filterp = (struct wl_pkt_filter *)(buf + str_len + 1); in wl_dongle_filter()
Ddhd_common.c5993 int str_len; in dhd_pktfilter_offload_enable() local
6019 str_len = strlen(str); in dhd_pktfilter_offload_enable()
6022 buf_len = str_len + 1; in dhd_pktfilter_offload_enable()
6024 pkt_filterp = (wl_pkt_filter_enable_t *)(buf + str_len + 1); in dhd_pktfilter_offload_enable()
6113 int str_len; in dhd_pktfilter_offload_set() local
6160 str_len = strlen(str); in dhd_pktfilter_offload_set()
6161 bcm_strncpy_s(buf, MAX_PKTFLT_BUF_SIZE, str, str_len); in dhd_pktfilter_offload_set()
6162 buf[ str_len ] = '\0'; in dhd_pktfilter_offload_set()
6163 buf_len = str_len + 1; in dhd_pktfilter_offload_set()
6165 pkt_filterp = (wl_pkt_filter_t *) (buf + str_len + 1); in dhd_pktfilter_offload_set()
[all …]
Ddhd_sdio.c11371 int str_len; in read_more_btbytes() local
11378 str_len = dhd_os_gets_image(bus->dhd, line, BTFW_MAX_STR_LEN, file); in read_more_btbytes()
11380 DHD_TRACE(("%s: Len :0x%x %s\n", __FUNCTION__, str_len, line)); in read_more_btbytes()
11382 if (str_len == 0) { in read_more_btbytes()
11384 } else if (str_len > 9) { in read_more_btbytes()
Ddhd_linux.c18102 uint str_len = 0; in dhd_os_gets_image() local
18113 str_len = (uint)(str_end - str); in dhd_os_gets_image()
18116 fp->f_pos += str_len + 1; in dhd_os_gets_image()
18117 bzero(str_end, rd_len - str_len); in dhd_os_gets_image()
18120 return str_len; in dhd_os_gets_image()
Dwl_cfg80211.c21873 u8 str_len = 0; in wl_cfg80211_start_mkeep_alive() local
21948 str_len = strlen(str); in wl_cfg80211_start_mkeep_alive()
21950 buf_len = str_len + 1; in wl_cfg80211_start_mkeep_alive()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
Dat.c428 hi_void at_printf_decode_slash(hi_u8 *buf, const char **str_pos, size_t *str_len) in at_printf_decode_slash() argument
431 size_t len = *str_len; in at_printf_decode_slash()
497 *str_len = len; in at_printf_decode_slash()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Dplat_firmware.h230 hi_bool parse_mac_addr(const hi_u8 *str, hi_u8 str_len, hi_u8 *mac, hi_u8 size);
Dplat_firmware.c1859 hi_bool parse_mac_addr(const hi_u8 *str, hi_u8 str_len, hi_u8 *mac, hi_u8 size) in parse_mac_addr() argument
1868 for (i = 0; (i < str_len) && (idx < size); ++i) { in parse_mac_addr()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/
Devent_log_payload.h59 #define XTLV_STRING_FULL_LEN(str_len) (BCM_XTLV_HDR_SIZE + (str_len) * sizeof(char)) argument
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Ddhd_common.c3306 int str_len; in dhd_pktfilter_offload_enable() local
3332 str_len = strlen(str); in dhd_pktfilter_offload_enable()
3335 buf_len = str_len + 1; in dhd_pktfilter_offload_enable()
3337 pkt_filterp = (wl_pkt_filter_enable_t *)(buf + str_len + 1); in dhd_pktfilter_offload_enable()
3415 int str_len; in dhd_pktfilter_offload_set() local
3457 str_len = strlen(str); in dhd_pktfilter_offload_set()
3458 bcm_strncpy_s(buf, BUF_SIZE, str, str_len); in dhd_pktfilter_offload_set()
3459 buf[ str_len ] = '\0'; in dhd_pktfilter_offload_set()
3460 buf_len = str_len + 1; in dhd_pktfilter_offload_set()
3462 pkt_filterp = (wl_pkt_filter_t *) (buf + str_len + 1); in dhd_pktfilter_offload_set()
[all …]
Ddhd_linux.c13764 uint str_len = 0; in dhd_os_gets_image() local
13779 str_len = (uint)(str_end - str); in dhd_os_gets_image()
13782 fp->f_pos += str_len + 1; in dhd_os_gets_image()
13783 bzero(str_end, rd_len - str_len); in dhd_os_gets_image()
13786 return str_len; in dhd_os_gets_image()
15205 int str_len = 0; in dhd_dev_start_mkeep_alive() local
15275 str_len = strlen(str); in dhd_dev_start_mkeep_alive()
15276 strncpy(pbuf, str, str_len); in dhd_dev_start_mkeep_alive()
15277 pbuf[str_len] = '\0'; in dhd_dev_start_mkeep_alive()
15279 mkeep_alive_pktp = (wl_mkeep_alive_pkt_t *) (pbuf + str_len + 1); in dhd_dev_start_mkeep_alive()
[all …]
Ddhd_sdio.c9634 int str_len; in read_more_btbytes() local
9641 str_len = dhd_os_gets_image(bus->dhd, line, BTFW_MAX_STR_LEN, file); in read_more_btbytes()
9643 DHD_TRACE(("%s: Len :0x%x %s\n", __FUNCTION__, str_len, line)); in read_more_btbytes()
9645 if (str_len == 0) { in read_more_btbytes()
9647 } else if (str_len > 9) { in read_more_btbytes()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Devent_log_payload.h91 #define XTLV_STRING_FULL_LEN(str_len) \ argument
92 (BCM_XTLV_HDR_SIZE + (str_len) * sizeof(char))
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Devent_log_payload.h89 #define XTLV_STRING_FULL_LEN(str_len) (BCM_XTLV_HDR_SIZE + (str_len) * sizeof(char)) argument
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_common.c4038 int str_len; in dhd_pktfilter_offload_enable() local
4065 str_len = strlen(str); in dhd_pktfilter_offload_enable()
4068 buf_len = str_len + 1; in dhd_pktfilter_offload_enable()
4070 pkt_filterp = (wl_pkt_filter_enable_t *)(buf + str_len + 1); in dhd_pktfilter_offload_enable()
4159 int str_len; in dhd_pktfilter_offload_set() local
4208 str_len = strlen(str); in dhd_pktfilter_offload_set()
4209 bcm_strncpy_s(buf, MAX_PKTFLT_BUF_SIZE, str, str_len); in dhd_pktfilter_offload_set()
4210 buf[str_len] = '\0'; in dhd_pktfilter_offload_set()
4211 buf_len = str_len + 1; in dhd_pktfilter_offload_set()
4213 pkt_filterp = (wl_pkt_filter_t *)(buf + str_len + 1); in dhd_pktfilter_offload_set()
[all …]
Ddhd_linux.c13757 uint str_len = 0; in dhd_os_gets_image() local
13769 str_len = (uint)(str_end - str); in dhd_os_gets_image()
13772 fp->f_pos += str_len + 1; in dhd_os_gets_image()
13773 bzero(str_end, rd_len - str_len); in dhd_os_gets_image()
13776 return str_len; in dhd_os_gets_image()
15383 int str_len = 0; in dhd_dev_start_mkeep_alive() local
15456 str_len = strlen(str); in dhd_dev_start_mkeep_alive()
15457 strncpy(pbuf, str, str_len); in dhd_dev_start_mkeep_alive()
15458 pbuf[str_len] = '\0'; in dhd_dev_start_mkeep_alive()
15460 mkeep_alive_pktp = (wl_mkeep_alive_pkt_t *)(pbuf + str_len + 1); in dhd_dev_start_mkeep_alive()
[all …]
Ddhd_sdio.c10763 int str_len; in read_more_btbytes() local
10769 str_len = dhd_os_gets_image(bus->dhd, line, BTFW_MAX_STR_LEN, file); in read_more_btbytes()
10771 DHD_TRACE(("%s: Len :0x%x %s\n", __FUNCTION__, str_len, line)); in read_more_btbytes()
10773 if (str_len == 0) { in read_more_btbytes()
10775 } else if (str_len > 0x9) { in read_more_btbytes()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_common.c3901 int str_len; in dhd_pktfilter_offload_enable() local
3927 str_len = strlen(str); in dhd_pktfilter_offload_enable()
3930 buf_len = str_len + 1; in dhd_pktfilter_offload_enable()
3932 pkt_filterp = (wl_pkt_filter_enable_t *)(buf + str_len + 1); in dhd_pktfilter_offload_enable()
4021 int str_len; in dhd_pktfilter_offload_set() local
4068 str_len = strlen(str); in dhd_pktfilter_offload_set()
4069 bcm_strncpy_s(buf, MAX_PKTFLT_BUF_SIZE, str, str_len); in dhd_pktfilter_offload_set()
4070 buf[ str_len ] = '\0'; in dhd_pktfilter_offload_set()
4071 buf_len = str_len + 1; in dhd_pktfilter_offload_set()
4073 pkt_filterp = (wl_pkt_filter_t *) (buf + str_len + 1); in dhd_pktfilter_offload_set()
[all …]
Ddhd_linux.c13356 uint str_len = 0; in dhd_os_gets_image() local
13367 str_len = (uint)(str_end - str); in dhd_os_gets_image()
13370 fp->f_pos += str_len + 1; in dhd_os_gets_image()
13371 bzero(str_end, rd_len - str_len); in dhd_os_gets_image()
13374 return str_len; in dhd_os_gets_image()
14843 int str_len = 0; in dhd_dev_start_mkeep_alive() local
14913 str_len = strlen(str); in dhd_dev_start_mkeep_alive()
14914 strncpy(pbuf, str, str_len); in dhd_dev_start_mkeep_alive()
14915 pbuf[str_len] = '\0'; in dhd_dev_start_mkeep_alive()
14917 mkeep_alive_pktp = (wl_mkeep_alive_pkt_t *) (pbuf + str_len + 1); in dhd_dev_start_mkeep_alive()
[all …]
Ddhd_sdio.c10059 int str_len; in read_more_btbytes() local
10066 str_len = dhd_os_gets_image(bus->dhd, line, BTFW_MAX_STR_LEN, file); in read_more_btbytes()
10068 DHD_TRACE(("%s: Len :0x%x %s\n", __FUNCTION__, str_len, line)); in read_more_btbytes()
10070 if (str_len == 0) { in read_more_btbytes()
10072 } else if (str_len > 9) { in read_more_btbytes()
/device/soc/winnermicro/wm800/board/include/bt/
Dwm_bt_def.h1036 uint16_t str_len; member
1043 uint16_t str_len; member
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Devent_log_payload.h83 #define XTLV_STRING_FULL_LEN(str_len) (BCM_XTLV_HDR_SIZE + (str_len) * sizeof(char)) argument
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_trace.c3876 uint32_t str_len = len; in hal_trace_output_crlf() local
3898 for(int i =0;i<str_len;i++){ in hal_trace_output_crlf()