Home
last modified time | relevance | path

Searched refs:userpass (Results 1 – 11 of 11) sorted by relevance

/external/libcups/cups/
Dauth.c136 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()
Dtlscheck.c52 userpass[256], /* Username/password */ in main() local
140 …parateURI(HTTP_URI_CODING_ALL, argv[i], scheme, sizeof(scheme), userpass, sizeof(userpass), host, … in main()
Ddest-localization.c327 userpass[256], /* Username/password info */ in cups_create_localizations() local
366 scheme, sizeof(scheme), userpass, sizeof(userpass), in cups_create_localizations()
Ddest.c607 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…
Dhttp-support.c1344 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()
Dtestppd.c875 userpass[256], /* Username:password */ in main() local
887 …parateURI(HTTP_URI_CODING_ALL, argv[1], scheme, sizeof(scheme), userpass, sizeof(userpass), host, … in main()
Dhttp-private.h314 userpass[HTTP_MAX_VALUE]; member
Dipp.c4717 userpass[256], /* Username/password from URI */ in ippValidateAttribute() local
5130 userpass, sizeof(userpass), in ippValidateAttribute()
/external/libvncserver/libvncclient/
Drfbproto.c855 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/
Dtestclient.c81 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/
Dtest_urllib2.py1251 userpass = '%s:%s' % (user, password)
1252 auth_hdr_value = 'Basic '+base64.encodestring(userpass).strip()