/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/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/cpython3/Lib/test/ |
D | test_urllib.py | 452 userpass = "a b:c d" 453 url = "http://{}@python.org/".format(userpass) 456 b64encode(userpass.encode("ASCII")).decode("ASCII"))
|
D | test_urllib2.py | 1592 userpass = bytes('%s:%s' % (user, password), "ascii") 1594 base64.encodebytes(userpass).strip().decode())
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2.py | 1251 userpass = '%s:%s' % (user, password) 1252 auth_hdr_value = 'Basic '+base64.encodestring(userpass).strip()
|