Home
last modified time | relevance | path

Searched refs:userpass (Results 1 – 12 of 12) 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/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/cpython3/Lib/test/
Dtest_urllib.py452 userpass = "a b:c d"
453 url = "http://{}@python.org/".format(userpass)
456 b64encode(userpass.encode("ASCII")).decode("ASCII"))
Dtest_urllib2.py1592 userpass = bytes('%s:%s' % (user, password), "ascii")
1594 base64.encodebytes(userpass).strip().decode())
/external/python/cpython2/Lib/test/
Dtest_urllib2.py1251 userpass = '%s:%s' % (user, password)
1252 auth_hdr_value = 'Basic '+base64.encodestring(userpass).strip()