Home
last modified time | relevance | path

Searched refs:cgi (Results 1 – 25 of 501) sorted by relevance

12345678910>>...21

/third_party/libwebsockets/lib/roles/cgi/
Dcgi-server.c80 struct lws_cgi *cgi; in lws_cgi() local
87 wsi->http.cgi = lws_zalloc(sizeof(*wsi->http.cgi), "new cgi"); in lws_cgi()
88 if (!wsi->http.cgi) { in lws_cgi()
93 wsi->http.cgi->response_code = HTTP_STATUS_OK; in lws_cgi()
95 cgi = wsi->http.cgi; in lws_cgi()
96 cgi->wsi = wsi; /* set cgi's owning wsi */ in lws_cgi()
97 sum = cgi->summary; in lws_cgi()
98 sumend = sum + strlen(cgi->summary) - 1; in lws_cgi()
107 lwsl_debug("%s: adding cgi %p to list\n", __func__, wsi->http.cgi); in lws_cgi()
108 cgi->cgi_list = pt->http.cgi_list; in lws_cgi()
[all …]
Dops-cgi.c50 args.stdwsi = &wsi->parent->http.cgi->lsp->stdwsi[0]; in rops_handle_POLLIN_cgi()
75 if (!wsi->http.cgi) in rops_destroy_role_cgi()
77 if (!wsi->http.cgi->gzip_init) in rops_destroy_role_cgi()
80 inflateEnd(&wsi->http.cgi->inflate); in rops_destroy_role_cgi()
81 wsi->http.cgi->gzip_init = 0; in rops_destroy_role_cgi()
/third_party/python/Lib/test/
Dtest_cgi.py1 import cgi
16 cgi.sys = HackedSysModule()
48 return cgi.parse(fp, env, strict_parsing=1)
107 form = cgi.FieldStorage(fp=fake_stdin, environ=environ, encoding=encoding)
121 result = cgi.parse_multipart(fp, env)
136 result = cgi.parse_multipart(fp, env)
151 result = cgi.parse_multipart(fp, env, encoding="ascii",
159 fs = cgi.FieldStorage()
167 self.assertRaises(TypeError, cgi.FieldStorage, "not-a-file-obj",
169 self.assertRaises(TypeError, cgi.FieldStorage, "foo", "bar")
[all …]
/third_party/libwebsockets/lib/core-net/
Ddummy-callback.c317 if (!n && wsi->http.cgi && in lws_callback_http_dummy()
318 wsi->http.cgi->lsp->stdwsi[LWS_STDOUT]) in lws_callback_http_dummy()
320 wsi->http.cgi->lsp->stdwsi[LWS_STDOUT], 1); in lws_callback_http_dummy()
328 if (wsi->http.cgi && wsi->http.cgi->cgi_transaction_over) in lws_callback_http_dummy()
663 wsi->http.cgi->explicitly_chunked, in lws_callback_http_dummy()
664 (uint64_t)wsi->http.cgi->content_length); in lws_callback_http_dummy()
665 if (!(wsi->http.cgi->explicitly_chunked && wsi->mux_substream) && in lws_callback_http_dummy()
666 !wsi->http.cgi->content_length) { in lws_callback_http_dummy()
692 if (wsi->http.cgi->gzip_inflate) { in lws_callback_http_dummy()
695 if (!wsi->http.cgi->gzip_init) { in lws_callback_http_dummy()
[all …]
Dclose.c304 if (wsi->parent && wsi->parent->http.cgi) { in __lws_close_free_wsi()
310 if (wsi->parent->http.cgi) in __lws_close_free_wsi()
311 wsi->parent->http.cgi->lsp->stdwsi[(int)wsi->lsp_channel] = in __lws_close_free_wsi()
319 if (wsi->http.cgi) in __lws_close_free_wsi()
644 if (wsi->http.cgi) { in __lws_close_free_wsi_final()
645 lws_spawn_piped_destroy(&wsi->http.cgi->lsp); in __lws_close_free_wsi_final()
646 lws_free_set_NULL(wsi->http.cgi); in __lws_close_free_wsi_final()
/third_party/gn/misc/
Dhelp_as_html.py14 import cgi
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/gstreamer/gstplugins_base/gst-libs/gst/video/
DTODO27 https://bugzilla.gnome.org/show_bug.cgi?id=664127
31 https://bugzilla.gnome.org/show_bug.cgi?id=660770
34 https://bugzilla.gnome.org/show_bug.cgi?id=654294
37 https://bugzilla.gnome.org/show_bug.cgi?id=658241
40 https://bugzilla.gnome.org/show_bug.cgi?id=667653
43 https://bugzilla.gnome.org/show_bug.cgi?id=617021
48 https://bugzilla.gnome.org/show_bug.cgi?id=663262
/third_party/libxml2/test/URI/
Duri.data13 /root.cgi#OK
14 /root.cgi?OK
15 /root.cgi?OK#OK2
/third_party/ffmpeg/tests/
Dfate-valgrind.supp2 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577135
10 # http://sourceware.org/bugzilla/show_bug.cgi?id=12424
/third_party/ltp/pan/cgi/
DREADME22 results.cgi
30 browse.cgi
35 The side by side comparison is done with in reconsile.cgi
37 reconsile.cgi
47 -a` output in browse.cgi and reconsile.cgi. You will be missing this
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-cgi/
DREADME.md1 # lws minimal http server-cgi
11 This example runs a script ./my-cgi-script.sh when you vist /
22 $ ./lws-minimal-http-server-cgi
/third_party/libxml2/result/URI/
Duri.data13 http://foo.com/root.cgi#OK
14 http://foo.com/root.cgi?OK
15 http://foo.com/root.cgi?OK#OK2
/third_party/python/Modules/_ctypes/darwin/
DREADME.ctypes2 http://www.opendarwin.org/cgi-bin/cvsweb.cgi/~checkout~/proj/dlcompat/
/third_party/curl/tests/data/
Dtest4515 Location: data.cgi?moo=http://&/%TESTNUMBER0002
34 Location: data.cgi?moo=http://&/%TESTNUMBER0002
68 GET /want/data.cgi?moo=http://&/%TESTNUMBER0002 HTTP/1.1
/third_party/fsck_msdos/
DREADME_zh.md27 2. BSD提供的[使用手册](https://www.freebsd.org/cgi/man.cgi?query=fsck_msdosfs&sektion=8)。
/third_party/skia/infra/docker/debian9/
DDockerfile3 # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199
/third_party/grpc/tools/run_tests/
Drun_microbenchmark.py16 import cgi
68 index_html += "<p><a href=\"%s\">%s</a></p>\n" % (cgi.escape(
69 tgt, quote=True), cgi.escape(txt))
74 index_html += "<p><pre>%s</pre></p>\n" % cgi.escape(txt)
/third_party/python/Doc/library/
Dcgi.rst1 :mod:`cgi` --- Common Gateway Interface support
4 .. module:: cgi
7 **Source code:** :source:`Lib/cgi.py`
33 Most often, CGI scripts live in the server's special :file:`cgi-bin` directory.
63 .. _using-the-cgi-module:
65 Using the cgi module
68 Begin by writing ``import cgi``.
110 form = cgi.FieldStorage()
264 import cgi
265 form = cgi.FieldStorage()
[all …]
/third_party/libwebsockets/lwsws/
Detc-lwsws-conf.d-localhost-EXAMPLE26 "origin": "cgi://_lws_ddir_/libwebsockets-test-server/lws-cgi-test.sh"
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DREADME.txt16 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43129
357 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19598
358 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18560
359 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27016
361 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11831
362 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11826
363 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11825
364 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11824
365 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11823
366 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11820
[all …]
/third_party/newfs_msdos/
DREADME_zh.md45 2. BSD提供的[使用手册](https://www.freebsd.org/cgi/man.cgi?query=newfs_msdos)。
/third_party/python/Lib/distutils/
Dconfig.py114 import cgi
116 encoding = cgi.parse_header(content_type)[1].get('charset', 'ascii')
/third_party/jsoncpp/devtools/
Dbatchbuild.py12 import cgi
198 th_vars.append('<th colspan="%d">%s</th>' % (nb_build_type, cgi.escape(' '.join(variable))))
200 th_build_types.append('<th>%s</th>' % cgi.escape(build_type))
203 tds = [ '<td>%s</td>\n' % cgi.escape(generator) ]
/third_party/boost/libs/geometry/doc/
Dintroduction.qbk61 There is a __boost_geometry__ [@http://lists.boost.org/mailman/listinfo.cgi/geometry
64 the [@http://lists.boost.org/mailman/listinfo.cgi/boost
65 Boost Developers list] and on the [@http://lists.boost.org/mailman/listinfo.cgi/boost-users
/third_party/glib/tests/
Dassert-msg-test.gdb3 # Work around https://sourceware.org/bugzilla/show_bug.cgi?id=22501

12345678910>>...21