HomeSort by: relevance | last modified time | path
    Searched defs:license_hash (Results 1 - 1 of 1) sorted by relevancy

  /src/external/bsd/pkg_install/dist/lib/
license.c 118 static char **license_hash[HASH_SIZE]; variable
145 if (license_hash[slot] == NULL) {
146 license_hash[slot] = calloc(sizeof(char *), 2);
147 license_hash[slot][0] = new_license;
149 for (i = 0; license_hash[slot][i]; ++i) {
150 if (!memcmp(license_hash[slot][i], license, len) &&
151 license_hash[slot][i][len] == '\0') {
161 license_hash[slot] = realloc(license_hash[slot],
163 license_hash[slot][i] = new_license
    [all...]

Completed in 52 milliseconds