/third_party/libwebsockets/lib/roles/cgi/ |
H A D | cgi-server.c | 77 struct lws_cgi *cgi = lws_container_of(sul, struct lws_cgi, sul_grace); in lws_cgi_grace() local 81 if (!cgi->wsi->http.cgi->post_in_expected) in lws_cgi_grace() 82 cgi->wsi->http.cgi->cgi_transaction_over = 1; in lws_cgi_grace() 84 lws_callback_on_writable(cgi->wsi); in lws_cgi_grace() 95 * The cgi has come to an end, by itself or with a signal... in lws_cgi_reap_cb() 98 if (wsi->http.cgi) in lws_cgi_reap_cb() 100 (int)wsi->http.cgi->post_in_expected); in lws_cgi_reap_cb() 106 if (wsi->http.cgi) in lws_cgi_reap_cb() 120 struct lws_cgi *cgi; lws_cgi() local 940 struct lws_cgi **pcgi, *cgi = NULL; lws_cgi_kill_terminated() local [all...] |
H A D | ops-cgi.c | 55 if (!wsi->parent->http.cgi) { in rops_handle_POLLIN_cgi() 56 lwsl_wsi_notice(wsi, "stdwsi content with deleted cgi object"); in rops_handle_POLLIN_cgi() 61 if (!wsi->parent->http.cgi->lsp) { in rops_handle_POLLIN_cgi() 68 args.stdwsi = &wsi->parent->http.cgi->lsp->stdwsi[0]; in rops_handle_POLLIN_cgi() 93 if (!wsi->http.cgi) in rops_destroy_role_cgi() 95 if (!wsi->http.cgi->gzip_init) in rops_destroy_role_cgi() 98 inflateEnd(&wsi->http.cgi->inflate); in rops_destroy_role_cgi() 99 wsi->http.cgi->gzip_init = 0; in rops_destroy_role_cgi() 132 if (wsi->parent && wsi->parent->http.cgi && wsi->parent->http.cgi in rops_close_role_cgi() [all...] |
/third_party/python/Lib/test/ |
H A D | test_cgi.py | 10 cgi = warnings_helper.import_deprecated("cgi") variable 15 # will completely confuse the test of the cgi module 19 cgi.sys = HackedSysModule() 51 return cgi.parse(fp, env, strict_parsing=1) 110 form = cgi.FieldStorage(fp=fake_stdin, environ=environ, encoding=encoding) 124 result = cgi.parse_multipart(fp, env) 139 result = cgi.parse_multipart(fp, env) 154 result = cgi.parse_multipart(fp, env, encoding="ascii", 162 fs = cgi [all...] |
H A D | test_xmlrpc.py | 1420 self.cgi = xmlrpc.server.CGIXMLRPCRequestHandler() 1423 self.cgi = None 1430 with captured_stdout(encoding=self.cgi.encoding) as data_out: 1431 self.cgi.handle_request() 1459 captured_stdout(encoding=self.cgi.encoding) as data_out, \ 1464 self.cgi.handle_request()
|
/third_party/libwebsockets/lib/core-net/ |
H A D | dummy-callback.c | 337 if (!n && wsi->http.cgi && wsi->http.cgi->lsp && in lws_callback_http_dummy() 338 wsi->http.cgi->lsp->stdwsi[LWS_STDOUT]) in lws_callback_http_dummy() 340 wsi->http.cgi->lsp->stdwsi[LWS_STDOUT], 1); in lws_callback_http_dummy() 348 if (wsi->http.cgi && wsi->http.cgi->cgi_transaction_over) { in lws_callback_http_dummy() 356 if ((wsi->http.cgi && wsi->http.cgi->cgi_transaction_over) || in lws_callback_http_dummy() 689 if (wsi->http.cgi) { in lws_callback_http_dummy() 691 wsi->http.cgi in lws_callback_http_dummy() [all...] |
H A D | close.c | 439 if (wsi->parent && wsi->parent->http.cgi) { in __lws_close_free_wsi() 442 * We need to keep the logical cgi around so we can in __lws_close_free_wsi() 450 if (wsi->parent->http.cgi && wsi->parent->http.cgi->lsp) in __lws_close_free_wsi() 451 wsi->parent->http.cgi->lsp->stdwsi[(int)wsi->lsp_channel] = in __lws_close_free_wsi() 459 if (wsi->http.cgi) in __lws_close_free_wsi() 719 //if (wsi->told_event_loop_closed) // cgi std close case (dummy-callback) in __lws_close_free_wsi() 990 if (wsi->http.cgi) { in __lws_close_free_wsi_final() 991 lws_spawn_piped_destroy(&wsi->http.cgi->lsp); in __lws_close_free_wsi_final() 992 lws_sul_cancel(&wsi->http.cgi in __lws_close_free_wsi_final() [all...] |
H A D | wsi-timeout.c | 90 if (wsi->http.cgi) in lws_sul_wsitimeout_cb() 91 lwsl_wsi_notice(wsi, "CGI timeout: %s", wsi->http.cgi->summary); in lws_sul_wsitimeout_cb() 98 /* cgi timeout */ in lws_sul_wsitimeout_cb()
|
H A D | service.c | 128 * A cgi connection's wire protocol remains h1 or h2. He is just in lws_handle_POLLOUT_event() 131 if (wsi->http.cgi) { in lws_handle_POLLOUT_event()
|
H A D | wsi.c | 815 return !!wsi->http.cgi; in lws_is_cgi()
|
/third_party/gn/misc/ |
H A D | help_as_html.py | 14 import cgi namespace 37 output_line.append('<a href="#' + cgi.escape(command) + '">') 38 output_line.append(cgi.escape(command)) 41 output_line.extend([sep + cgi.escape(rest) + '</li>']) 44 output.append('<h2>' + cgi.escape(line) + '</h2>') 56 output.append('<h3><a name="' + cgi.escape(command) + '">' + 57 cgi.escape(name + sep + rest) + '</a></h3>') 71 output.append('<h4>' + cgi.escape(line[:-1]) + '</h4>') 73 output.append(cgi.escape(line))
|
/third_party/python/Lib/distutils/ |
H A D | config.py | 117 import cgi namespace 119 encoding = cgi.parse_header(content_type)[1].get('charset', 'ascii')
|
/third_party/libwebsockets/lib/roles/h1/ |
H A D | ops-h1.c | 147 if (wsi->http.cgi) { in lws_read_h1() 151 args.stdwsi = &wsi->http.cgi->lsp->stdwsi[0]; in lws_read_h1() 209 * If we're running a cgi, we can't let him off the in lws_read_h1() 212 if (wsi->http.cgi) in lws_read_h1() 219 if (!wsi->http.cgi) in lws_read_h1() 586 if (wsi->http.cgi && (pollfd->revents & LWS_POLLOUT)) { in rops_handle_POLLIN_h1()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/htmldiff/ |
H A D | htmldiff.pl | 490 sub cgi { subroutine 573 cgi(); # if no arguments, we must be operating as a cgi script
|
/third_party/skia/third_party/externals/harfbuzz/test/shape/ |
H A D | hb_test_tools.py | 3 import sys, os, re, difflib, unicodedata, errno, cgi, itertools namespace 48 def escape (s): return cgi.escape (s)
|
/third_party/libwebsockets/lib/roles/http/ |
H A D | private-lib-roles-http.h | 255 struct lws_cgi *cgi; /* wsi being cgi stream have one of these */ member
|
/third_party/ninja/src/ |
H A D | browse.py | 38 from cgi import escape
|
/third_party/libwebsockets/lib/roles/http/server/ |
H A D | server.c | 1903 /* did we hit something with a cgi:// origin? */ in lws_http_action() 1906 NULL, /* replace with cgi path */ in lws_http_action() 1910 lwsl_debug("%s: cgi\n", __func__); in lws_http_action() 1920 lwsl_err("%s: cgi failed\n", __func__); in lws_http_action() 2588 && !wsi->http.cgi in lws_http_transaction_completed() 2605 if (wsi->http.cgi) { in lws_http_transaction_completed() 2606 lwsl_debug("%s: cleaning cgi\n", __func__); in lws_http_transaction_completed() 2609 lws_spawn_piped_destroy(&wsi->http.cgi->lsp); in lws_http_transaction_completed() 2610 lws_sul_cancel(&wsi->http.cgi->sul_grace); in lws_http_transaction_completed() 2612 lws_free_set_NULL(wsi->http.cgi); in lws_http_transaction_completed() [all...] |
/third_party/libwebsockets/include/ |
H A D | libwebsockets.h | 626 #include <libwebsockets/lws-cgi.h>
|
/third_party/libwebsockets/lib/roles/h2/ |
H A D | ops-h2.c | 108 if (wsi->http.cgi && (pollfd->revents & LWS_POLLOUT)) { in rops_handle_POLLIN_h2()
|
/third_party/python/Lib/http/ |
H A D | server.py | 13 This class implements GET and POST requests to cgi-bin scripts. 1042 cgi_directories = ['/cgi-bin', '/htbin'] 1100 # Reference: http://hoohoo.ncsa.uiuc.edu/cgi/env.html 1278 parser.add_argument('--cgi', action='store_true', 1294 if args.cgi:
|
/third_party/mksh/ |
H A D | Build.sh | 2874 https://evolvis.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=alioth/mksh.git;a=blob;f=debian/.mkshrc
|