Searched refs:userbuf (Results 1 – 2 of 2) sorted by relevance
/external/openssh/ |
D | auth-rhosts.c | 84 char hostbuf[1024], userbuf[1024], dummy[1024], *host, *user, *cp; in check_rhosts_file() local 103 switch (sscanf(buf, "%1023s %1023s %1023s", hostbuf, userbuf, in check_rhosts_file() 110 strlcpy(userbuf, server_user, sizeof(userbuf)); in check_rhosts_file() 124 user = userbuf; in check_rhosts_file()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | httpcommon.cc | 956 unsigned char userbuf[256], passbuf[256], domainbuf[16]; in HttpAuthenticate() local 966 _min(sizeof(userbuf) - 1, username.size())); in HttpAuthenticate() 967 memcpy(userbuf, username.c_str(), auth_id.UserLength); in HttpAuthenticate() 968 userbuf[auth_id.UserLength] = 0; in HttpAuthenticate() 977 _min(sizeof(userbuf) - 1, username.size() - pos - 1)); in HttpAuthenticate() 978 memcpy(userbuf, username.c_str() + pos + 1, auth_id.UserLength); in HttpAuthenticate() 979 userbuf[auth_id.UserLength] = 0; in HttpAuthenticate() 991 auth_id.User = userbuf; in HttpAuthenticate()
|