Lines Matching refs:auth
768 topo_fmri_next_auth(const char *auth)
772 colon = strchr(auth + 1, ':');
773 slash = strchr(auth, '/');
824 hc_auth_to_type(const char *auth, size_t *authlen)
829 if (auth[0] != ':')
835 if (strncmp(auth + 1, hc_auth_table[i], len) == 0 &&
836 auth[len + 1] == '=') {
850 const char *auth, *next;
862 auth = next = fmri + 5;
864 auth = next;
866 if ((next = topo_fmri_next_auth(auth)) == NULL) {
867 next = auth;
871 if ((type = hc_auth_to_type(auth, NULL)) == HC_AUTH_MAX)
875 h += topo_fmri_strhash_one(auth, next - auth);
905 topo_fmri_strcmp_parse_auth(const char *auth, const char *authtype[],
916 while (*auth != '/' &&
917 (next = topo_fmri_next_auth(auth)) != NULL) {
918 if ((type = hc_auth_to_type(auth, &len)) == HC_AUTH_MAX) {
919 auth = next;
923 authtype[type] = auth + len;
924 authlen[type] = next - (auth + len);
925 auth = next;