Home | History | Annotate | Download | only in src

Lines Matching refs:str_len

213 * @param str_len length of the string after a copy
218 static inline int _rmnetctl_check_len(int str_len, uint16_t *error_code) {
221 if ((str_len < 0) || (str_len > RMNET_MAX_STR_LEN)) {
364 int str_len = -1, return_code = RMNETCTL_LIB_ERR;
379 str_len = strlcpy((char *)(request.data), dev_name, RMNET_MAX_STR_LEN);
380 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
398 int str_len = -1, return_code = RMNETCTL_LIB_ERR;
409 str_len = strlcpy((char *)(request.data), dev_name, RMNET_MAX_STR_LEN);
410 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
433 int str_len = -1, return_code = RMNETCTL_LIB_ERR;
444 str_len = strlcpy((char *)(request.data_format.dev),
447 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
473 int str_len = -1, return_code = RMNETCTL_LIB_ERR;
483 str_len = strlcpy((char *)(request.data_format.dev),
486 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
510 int str_len = -1, return_code = RMNETCTL_LIB_ERR;
521 str_len = strlcpy((char *)(request.data_format.dev),
524 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
547 int str_len = -1, return_code = RMNETCTL_LIB_ERR;
558 str_len = strlcpy((char *)(request.data_format.dev),
561 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
589 int str_len = -1, return_code = RMNETCTL_LIB_ERR;
602 str_len = strlcpy((char *)(request.local_ep_config.dev),
605 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
608 str_len = strlcpy((char *)(request.local_ep_config.next_dev),
611 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
632 int str_len = -1, return_code = RMNETCTL_LIB_ERR;
644 str_len = strlcpy((char *)(request.local_ep_config.dev),
648 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
672 int str_len = -1, return_code = RMNETCTL_LIB_ERR;
683 str_len = strlcpy((char *)(request.local_ep_config.dev),
686 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
697 str_len = strlcpy(*next_dev,
700 if (_rmnetctl_check_len(str_len, error_code) != RMNETCTL_SUCCESS)
717 int str_len = -1;
729 str_len = strlcpy((char *)request.vnd.vnd_name,
731 if (_rmnetctl_check_len(str_len, error_code)
770 uint32_t str_len;
789 str_len = strlcpy(buf,
792 if (str_len >= buflen) {