Searched refs:userdb (Results 1 - 3 of 3) sorted by relevance

/external/syslinux/com32/cmenu/libmenu/
H A Dpasswords.c22 p_pwdentry userdb[MAX_USERS]; // Array of pointers variable
32 if (userdb[i] == NULL)
34 if (strcmp(username, userdb[i]->username) == 0) {
35 strcpy(salt, userdb[i]->pwdhash);
37 if (strcmp(userdb[i]->pwdhash, crypt(pwd, salt)) == 0)
63 if (strcmp(userdb[i]->username, username) == 0) // Found the user
65 if (userdb[i]->perms == NULL)
67 tmp = strstr(userdb[i]->perms, dperm); // Search for permission
88 userdb[i] = NULL;
133 userdb[numuser
[all...]
/external/libbrillo/brillo/
H A Duserdb_utils.h17 namespace userdb { namespace in namespace:brillo
29 } // namespace userdb
H A Duserdb_utils.cc17 namespace userdb { namespace in namespace:brillo
55 } // namespace userdb

Completed in 156 milliseconds