Lines Matching refs:f_user

199     const char *f_user = data, *n;  in mod_authn_file_htdigest_get_loop()  local
201 n = strchr(f_user, '\n'); in mod_authn_file_htdigest_get_loop()
203 if (NULL == n) n = f_user + strlen(f_user); in mod_authn_file_htdigest_get_loop()
209 if (f_user[0] == '\n' || f_user[0] == '\r' || in mod_authn_file_htdigest_get_loop()
210 f_user[0] == '#' || f_user[0] == '\0') continue; in mod_authn_file_htdigest_get_loop()
212 if (n - f_user > 1024) continue; in mod_authn_file_htdigest_get_loop()
224 if (NULL == (f_realm = memchr(f_user, ':', n - f_user)) in mod_authn_file_htdigest_get_loop()
233 u_len = f_realm - f_user; in mod_authn_file_htdigest_get_loop()
252 ai->username = memcpy(ai->userbuf, f_user, u_len); in mod_authn_file_htdigest_get_loop()
260 && 0 == memcmp(ai->username, f_user, u_len) in mod_authn_file_htdigest_get_loop()
277 } while (*n && *(f_user = n+1)); in mod_authn_file_htdigest_get_loop()
347 const char *f_user = data, *n; in mod_authn_file_htpasswd_get() local
349 n = strchr(f_user, '\n'); in mod_authn_file_htpasswd_get()
351 if (NULL == n) n = f_user + strlen(f_user); in mod_authn_file_htpasswd_get()
357 if (f_user[0] == '\n' || f_user[0] == '\r' || in mod_authn_file_htpasswd_get()
358 f_user[0] == '#' || f_user[0] == '\0') continue; in mod_authn_file_htpasswd_get()
360 if (n - f_user > 1024) continue; in mod_authn_file_htpasswd_get()
368 if (NULL == (f_pwd = memchr(f_user, ':', n - f_user))) { in mod_authn_file_htpasswd_get()
376 u_len = f_pwd - f_user; in mod_authn_file_htpasswd_get()
379 if (userlen == u_len && 0 == memcmp(username, f_user, u_len)) { in mod_authn_file_htpasswd_get()
390 } while (*n && *(f_user = n+1)); in mod_authn_file_htpasswd_get()