Home
last modified time | relevance | path

Searched refs:username (Results 1 – 25 of 811) sorted by relevance

12345678910>>...33

/external/libcups/scheduler/
Dquotas.c21 static cupsd_quota_t *add_quota(cupsd_printer_t *p, const char *username);
33 const char *username) /* I - User */ in cupsdFindQuota() argument
40 if (!p || !username) in cupsdFindQuota()
43 strlcpy(match.username, username, sizeof(match.username)); in cupsdFindQuota()
44 if ((ptr = strchr(match.username, '@')) != NULL) in cupsdFindQuota()
50 return (add_quota(p, username)); in cupsdFindQuota()
85 const char *username, /* I - User */ in cupsdUpdateQuota() argument
95 if (!p || !username) in cupsdUpdateQuota()
101 if ((q = cupsdFindQuota(p, username)) == NULL) in cupsdUpdateQuota()
106 p->name, username, pages, k); in cupsdUpdateQuota()
[all …]
Dauth.c80 char username[HTTP_MAX_VALUE], /* Username string */ member
254 username[HTTP_MAX_VALUE], in cupsdAuthorize() local
287 username[0] = '\0'; in cupsdAuthorize()
344 username[0] = '\0'; in cupsdAuthorize()
352 strlcpy(username, authinfo->items[0].value, sizeof(username)); in cupsdAuthorize()
354 cupsdLogClient(con, CUPSD_LOG_DEBUG, "Authorized as \"%s\" using AuthRef.", username); in cupsdAuthorize()
360 if (!username[0]) in cupsdAuthorize()
384 strlcpy(username, pwd->pw_name, sizeof(username)); in cupsdAuthorize()
386 … cupsdLogClient(con, CUPSD_LOG_DEBUG, "Authorized as \"%s\" using AuthRef + PeerCred.", username); in cupsdAuthorize()
466 strlcpy(username, authorization + 9, sizeof(username)); in cupsdAuthorize()
[all …]
/external/webrtc/sdk/objc/api/peerconnection/
DRTCIceServer.mm18 @synthesize username = _username;
27 username:nil
32 username:(NSString *)username
35 username:username
41 username:(NSString *)username
45 username:username
52 username:(NSString *)username
57 username:username
65 username:(NSString *)username
71 username:username
[all …]
DRTCIceServer.h29 @property(nonatomic, readonly, nullable) NSString *username;
65 username:(nullable NSString *)username
73 username:(nullable NSString *)username
82 username:(nullable NSString *)username
92 username:(nullable NSString *)username
104 username:(nullable NSString *)username
/external/apache-http/src/org/apache/http/auth/
DBasicUserPrincipal.java51 private final String username; field in BasicUserPrincipal
53 public BasicUserPrincipal(final String username) { in BasicUserPrincipal() argument
55 if (username == null) { in BasicUserPrincipal()
58 this.username = username; in BasicUserPrincipal()
62 return this.username; in getName()
68 hash = LangUtils.hashCode(hash, this.username); in hashCode()
78 if (LangUtils.equals(this.username, that.username)) { in equals()
89 buffer.append(this.username); in toString()
DNTUserPrincipal.java51 private final String username; field in NTUserPrincipal
57 final String username) { in NTUserPrincipal() argument
59 if (username == null) { in NTUserPrincipal()
62 this.username = username; in NTUserPrincipal()
72 buffer.append(this.username); in NTUserPrincipal()
75 this.ntname = this.username; in NTUserPrincipal()
88 return this.username; in getUsername()
94 hash = LangUtils.hashCode(hash, this.username); in hashCode()
105 if (LangUtils.equals(this.username, that.username) in equals()
/external/autotest/frontend/
Dapache_auth.py19 def authenticate(self, username=None, password=None): argument
21 user = User.objects.get(username=username)
24 user = User(username=username,
31 SimpleAuthBackend.check_afe_user(username)
36 def check_afe_user(username): argument
37 user, created = models.User.objects.get_or_create(login=username)
80 username = thread_local.get_user()
82 user_object = auth.authenticate(username=username,
85 thread_local.set_user(models.User.objects.get(login=username))
/external/wpa_supplicant_8/src/eap_peer/
Dmschapv2.c15 const u8 * mschapv2_remove_domain(const u8 *username, size_t *len) in mschapv2_remove_domain() argument
26 if (username[i] == '\\') { in mschapv2_remove_domain()
28 return username + i + 1; in mschapv2_remove_domain()
32 return username; in mschapv2_remove_domain()
44 const u8 *username; in mschapv2_derive_response() local
51 username = mschapv2_remove_domain(identity, &username_len); in mschapv2_derive_response()
53 username, username_len); in mschapv2_derive_response()
60 username, username_len); in mschapv2_derive_response()
67 username, username_len, in mschapv2_derive_response()
71 username, username_len, nt_response, in mschapv2_derive_response()
[all …]
/external/libwebsockets/plugins/generic-sessions/
Dhandlers.c41 const char *username = (const char *)e->extra; in lwsgs_smtp_client_done_sentvfy() local
44 lwsl_notice("%s: registration email sent: %s\n", __func__, username); in lwsgs_smtp_client_done_sentvfy()
49 lws_sql_purify(esc, username, sizeof(esc) - 1)); in lwsgs_smtp_client_done_sentvfy()
83 u.username[0] = '\0'; in lwsgs_handler_confirm()
96 if (!u.username[0] || u.verified != 1) { in lwsgs_handler_confirm()
98 &cookie[6], u.username, u.verified); in lwsgs_handler_confirm()
102 lwsl_notice("Verifying %s\n", u.username); in lwsgs_handler_confirm()
106 lws_sql_purify(esc, u.username, sizeof(esc) - 1)); in lwsgs_handler_confirm()
118 a.username = u.username; in lwsgs_handler_confirm()
133 if (lwsgs_new_session_id(vhd, &pss->login_session, u.username, in lwsgs_handler_confirm()
[all …]
Dutils.c45 const char *username, const char *password) in lwsgw_check_admin() argument
50 if (strcmp(vhd->admin_user, username)) in lwsgw_check_admin()
199 char *username; member
214 lws_strncpy(lla->username, col_val[0], lla->len + 1); in lwsgs_lookup_callback()
215 lwsl_info("%s: %s\n", __func__, lla->username); in lwsgs_lookup_callback()
223 const lwsgw_hash *sid, char *username, int len) in lwsgs_lookup_session() argument
225 struct lla lla = { username, len, 1 }; in lwsgs_lookup_session()
253 lws_strncpy(u->username, col_val[n], sizeof(u->username)); in lwsgs_lookup_callback_user()
297 const char *username, struct lwsgs_user *u) in lwsgs_lookup_user() argument
301 u->username[0] = '\0'; in lwsgs_lookup_user()
[all …]
/external/curl/lib/
Dcurl_ntlm_wb.c120 const char *username; in ntlm_wb_init() local
139 username = userp; in ntlm_wb_init()
148 if(!username || !username[0]) { in ntlm_wb_init()
149 username = getenv("NTLMUSER"); in ntlm_wb_init()
150 if(!username || !username[0]) in ntlm_wb_init()
151 username = getenv("LOGNAME"); in ntlm_wb_init()
152 if(!username || !username[0]) in ntlm_wb_init()
153 username = getenv("USER"); in ntlm_wb_init()
155 if((!username || !username[0]) && in ntlm_wb_init()
158 username = pw.pw_name; in ntlm_wb_init()
[all …]
/external/webrtc/sdk/objc/unittests/
DRTCIceServerTest.mm37 EXPECT_EQ("", iceStruct.username);
49 EXPECT_EQ("", iceStruct.username);
56 username:@"username"
61 EXPECT_EQ("username", iceStruct.username);
68 username:@"username"
75 EXPECT_EQ("username", iceStruct.username);
83 username:@"username"
91 EXPECT_EQ("username", iceStruct.username);
100 username:@"username"
109 EXPECT_EQ("username", iceStruct.username);
[all …]
/external/autotest/client/site_tests/login_GaiaLogin/
Dlogin_GaiaLogin.py16 def run_once(self, username, password): argument
18 if not username:
24 username=username,
27 user=chrome.NormalizeEmail(username)):
29 % username)
45 ''' % username)
48 % username)
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/
DUserAccount.java54 private String username; field in UserAccount
76 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
77 setUsername(username); in UserAccount()
83 return username; in getUsername()
86 public void setUsername(String username) { in setUsername() argument
87 this.username = username; in setUsername()
179 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
194 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
210 if (username == entry.getOwner()) { in canRead()
231 if (username == entry.getOwner()) { in canWrite()
[all …]
/external/dagger2/java/dagger/example/atm/
DInMemoryDatabase.java34 public Account getAccount(String username) { in getAccount() argument
35 return accounts.computeIfAbsent(username, InMemoryAccount::new); in getAccount()
39 private final String username; field in InMemoryDatabase.InMemoryAccount
42 InMemoryAccount(String username) { in InMemoryAccount() argument
43 this.username = username; in InMemoryAccount()
47 public String username() { in username() method in InMemoryDatabase.InMemoryAccount
48 return username; in username()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/
DUserAccount.java63 private String username; field in UserAccount
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
88 setUsername(username); in UserAccount()
94 return username; in getUsername()
97 public void setUsername(String username) { in setUsername() argument
98 this.username = username; in setUsername()
188 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
219 if (equalOrBothNull(username, entry.getOwner())) { in canRead()
240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite()
[all …]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/
DUserAccount.java63 private String username; field in UserAccount
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
88 setUsername(username); in UserAccount()
94 return username; in getUsername()
97 public void setUsername(String username) { in setUsername() argument
98 this.username = username; in setUsername()
188 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
219 if (equalOrBothNull(username, entry.getOwner())) { in canRead()
240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite()
[all …]
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/
DUserAccount.java63 private String username; field in UserAccount
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
88 setUsername(username); in UserAccount()
94 return username; in getUsername()
97 public void setUsername(String username) { in setUsername() argument
98 this.username = username; in setUsername()
188 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
219 if (equalOrBothNull(username, entry.getOwner())) { in canRead()
240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java63 private String username; field in UserAccount
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
88 setUsername(username); in UserAccount()
94 return username; in getUsername()
97 public void setUsername(String username) { in setUsername() argument
98 this.username = username; in setUsername()
188 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
219 if (equalOrBothNull(username, entry.getOwner())) { in canRead()
240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java63 private String username; field in UserAccount
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
88 setUsername(username); in UserAccount()
94 return username; in getUsername()
97 public void setUsername(String username) { in setUsername() argument
98 this.username = username; in setUsername()
188 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
219 if (equalOrBothNull(username, entry.getOwner())) { in canRead()
240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite()
[all …]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/
DUserAccount.java63 private String username; field in UserAccount
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
88 setUsername(username); in UserAccount()
94 return username; in getUsername()
97 public void setUsername(String username) { in setUsername() argument
98 this.username = username; in setUsername()
188 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
219 if (equalOrBothNull(username, entry.getOwner())) { in canRead()
240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite()
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/
DUserAccount.java63 private String username; field in UserAccount
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
88 setUsername(username); in UserAccount()
94 return username; in getUsername()
97 public void setUsername(String username) { in setUsername() argument
98 this.username = username; in setUsername()
188 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
219 if (equalOrBothNull(username, entry.getOwner())) { in canRead()
240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite()
[all …]
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java63 private String username; field in UserAccount
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
88 setUsername(username); in UserAccount()
94 return username; in getUsername()
97 public void setUsername(String username) { in setUsername() argument
98 this.username = username; in setUsername()
188 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
219 if (equalOrBothNull(username, entry.getOwner())) { in canRead()
240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite()
[all …]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/
DUserAccount.java63 private String username; field in UserAccount
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
88 setUsername(username); in UserAccount()
94 return username; in getUsername()
97 public void setUsername(String username) { in setUsername() argument
98 this.username = username; in setUsername()
188 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
219 if (equalOrBothNull(username, entry.getOwner())) { in canRead()
240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite()
[all …]
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/
DUserAccount.java63 private String username; field in UserAccount
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
88 setUsername(username); in UserAccount()
94 return username; in getUsername()
97 public void setUsername(String username) { in setUsername() argument
98 this.username = username; in setUsername()
188 Assert.notNullOrEmpty(username, "username"); in isValidPassword()
203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString()
219 if (equalOrBothNull(username, entry.getOwner())) { in canRead()
240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite()
[all …]

12345678910>>...33