Lines Matching refs:tlen
648 size_t tlen; in wpa_config_parse_string() local
653 tlen = pos - value; in wpa_config_parse_string()
654 tstr = dup_binstr(value, tlen); in wpa_config_parse_string()
658 str = os_malloc(tlen + 1); in wpa_config_parse_string()
664 *len = printf_decode((u8 *) str, tlen + 1, tstr); in wpa_config_parse_string()
670 size_t tlen, hlen = os_strlen(value); in wpa_config_parse_string() local
673 tlen = hlen / 2; in wpa_config_parse_string()
674 str = os_malloc(tlen + 1); in wpa_config_parse_string()
677 if (hexstr2bin(value, str, tlen)) { in wpa_config_parse_string()
681 str[tlen] = '\0'; in wpa_config_parse_string()
682 *len = tlen; in wpa_config_parse_string()