/external/libcups/cups/ |
D | auth.c | 136 http->digest_tries, http->userpass)); in cupsDoAuthentication() 205 …if ((http->digest_tries > 1 || !http->userpass[0]) && (!_cups_strcasecmp(scheme, "Basic") || (!_cu… in cupsDoAuthentication() 225 http->userpass[0] = '\0'; in cupsDoAuthentication() 233 snprintf(http->userpass, sizeof(http->userpass), "%s:%s", cupsUser(), password); in cupsDoAuthentication() 258 httpEncode64_2(encode, sizeof(encode), http->userpass, (int)strlen(http->userpass)); in cupsDoAuthentication()
|
D | tlscheck.c | 52 userpass[256], /* Username/password */ in main() local 140 …parateURI(HTTP_URI_CODING_ALL, argv[i], scheme, sizeof(scheme), userpass, sizeof(userpass), host, … in main()
|
D | dest-localization.c | 327 userpass[256], /* Username/password info */ in cups_create_localizations() local 366 scheme, sizeof(scheme), userpass, sizeof(userpass), in cups_create_localizations()
|
D | dest.c | 607 userpass[256], /* Username and password (unused) */ in cupsConnectDest() local 684 userpass, sizeof(userpass), hostname, sizeof(hostname), in cupsConnectDest() 1114 userpass[256], /* Username and password (unused) */ in _cupsGetDestResource() local 1180 userpass, sizeof(userpass), hostname, sizeof(hostname), in _cupsGetDestResource() 1213 userpass[256], /* Username:password from URI */ in cupsGetDestWithURI() local 1231 …if (httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme), userpass, sizeof(userpass), … in cupsGetDestWithURI() 3666 userpass[32], /* Username:password */ local 3673 …ateURI(HTTP_URI_CODING_ALL, device_uri, scheme, sizeof(scheme), userpass, sizeof(userpass), servic…
|
D | http-support.c | 1344 strlcpy(username, http->userpass, sizeof(username)); in _httpSetDigestAuthString() 1722 userpass[256], in _httpResolveURI() local 1739 sizeof(scheme), userpass, sizeof(userpass), in _httpResolveURI() 1744 sizeof(scheme), userpass, sizeof(userpass), in _httpResolveURI()
|
D | testppd.c | 875 userpass[256], /* Username:password */ in main() local 887 …parateURI(HTTP_URI_CODING_ALL, argv[1], scheme, sizeof(scheme), userpass, sizeof(userpass), host, … in main()
|
D | http-private.h | 314 userpass[HTTP_MAX_VALUE]; member
|
D | ipp.c | 4717 userpass[256], /* Username/password from URI */ in ippValidateAttribute() local 5130 userpass, sizeof(userpass), in ippValidateAttribute()
|
/external/libvncserver/libvncclient/ |
D | rfbproto.c | 855 uint8_t userpass[128], ciphertext[128]; in HandleARDAuth() local 960 if (passwordLen > sizeof(userpass)/2) in HandleARDAuth() 961 passwordLen = sizeof(userpass)/2; in HandleARDAuth() 962 if (usernameLen > sizeof(userpass)/2) in HandleARDAuth() 963 usernameLen = sizeof(userpass)/2; in HandleARDAuth() 965 gcry_randomize(userpass, sizeof(userpass), GCRY_STRONG_RANDOM); in HandleARDAuth() 966 memcpy(userpass, cred->userCredential.username, usernameLen); in HandleARDAuth() 967 memcpy(userpass+sizeof(userpass)/2, cred->userCredential.password, passwordLen); in HandleARDAuth() 981 error = gcry_cipher_encrypt(aes, ciphertext, sizeof(ciphertext), userpass, sizeof(userpass)); in HandleARDAuth()
|
/external/libcups/filter/ |
D | testclient.c | 81 userpass[256], /* Username:password */ in main() local 195 …if (httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme), userpass, sizeof(userpass), … in main()
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2.py | 1251 userpass = '%s:%s' % (user, password) 1252 auth_hdr_value = 'Basic '+base64.encodestring(userpass).strip()
|