Home
last modified time | relevance | path

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

/external/libcups/cups/
Dauth.c132 http->digest_tries, http->userpass)); in cupsDoAuthentication()
171 if ((http->digest_tries > 1 || !http->userpass[0]) && in cupsDoAuthentication()
197 http->userpass[0] = '\0'; in cupsDoAuthentication()
205 snprintf(http->userpass, sizeof(http->userpass), "%s:%s", cupsUser(), in cupsDoAuthentication()
248 httpEncode64_2(encode, sizeof(encode), http->userpass, in cupsDoAuthentication()
249 (int)strlen(http->userpass)); in cupsDoAuthentication()
264 httpMD5(cupsUser(), realm, strchr(http->userpass, ':') + 1, encode); in cupsDoAuthentication()
Dtlscheck.c52 userpass[256], /* Username/password */ in main() local
122 …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.c1576 userpass[256], in _httpResolveURI() local
1593 sizeof(scheme), userpass, sizeof(userpass), in _httpResolveURI()
1598 sizeof(scheme), userpass, sizeof(userpass), in _httpResolveURI()
Dtestppd.c875 userpass[256], /* Username:password */ in main() local
880 …parateURI(HTTP_URI_CODING_ALL, argv[1], scheme, sizeof(scheme), userpass, sizeof(userpass), host, … in main()
Dhttp-private.h315 userpass[HTTP_MAX_VALUE]; member
Dipp.c4797 userpass[256], /* Username/password from URI */ in ippValidateAttribute() local
5211 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()