Searched refs:nlist (Results 1 – 2 of 2) sorted by relevance
2677 int nlist = 0; in tls_mbedtls_match_altsubject() local2689 list[nlist].p = s; in tls_mbedtls_match_altsubject()2690 list[nlist].n = tok ? (size_t)(tok - s) : os_strlen(s); in tls_mbedtls_match_altsubject()2691 if (list[nlist].n && ++nlist == sizeof(list) / sizeof(*list)) in tls_mbedtls_match_altsubject()2723 for (int i = 0; i < nlist; ++i) in tls_mbedtls_match_altsubject()2738 static int tls_mbedtls_match_suffix(const char *v, size_t vlen, const struct mlist *list, int nlist… in tls_mbedtls_match_suffix() argument2742 for (int i = 0; i < nlist; ++i) in tls_mbedtls_match_suffix()2756 int nlist = 0; in tls_mbedtls_match_suffixes() local2760 list[nlist].p = s; in tls_mbedtls_match_suffixes()2761 list[nlist].n = tok ? (size_t)(tok - s) : os_strlen(s); in tls_mbedtls_match_suffixes()[all …]
2796 struct wpa_ssid *prev, **nlist; in wpa_config_add_prio_network() local2813 nlist = os_realloc_array(config->pssid, config->num_prio + 1, in wpa_config_add_prio_network()2815 if (nlist == NULL) in wpa_config_add_prio_network()2819 if (nlist[prio]->priority < ssid->priority) { in wpa_config_add_prio_network()2820 os_memmove(&nlist[prio + 1], &nlist[prio], in wpa_config_add_prio_network()2827 nlist[prio] = ssid; in wpa_config_add_prio_network()2829 config->pssid = nlist; in wpa_config_add_prio_network()