Home
last modified time | relevance | path

Searched refs:CGI (Results 1 – 25 of 213) sorted by relevance

123456789

/external/python/cpython2/Doc/library/
Dcgihttpserver.rst1 :mod:`CGIHTTPServer` --- CGI-capable HTTP request handler
5 :synopsis: This module provides a request handler for HTTP servers which can run CGI
18 run CGI scripts.
22 This module can run CGI scripts on Unix and Windows systems.
26 CGI scripts run by the :class:`CGIHTTPRequestHandler` class cannot execute
28 prior to execution of the CGI script. This pre-empts the status code.
35 This class is used to serve either files or output of CGI scripts from the
40 The class will however, run the CGI script, instead of serving it as a file, if
41 it guesses it to be a CGI script. Only directory-based CGI are used --- the
42 other common server configuration is to treat special extensions as denoting CGI
[all …]
Dcgitb.rst2 :mod:`cgitb` --- Traceback manager for CGI scripts
6 :synopsis: Configurable traceback handler for CGI scripts.
14 single: CGI; exceptions
15 single: CGI; tracebacks
16 single: exceptions; in CGI scripts
17 single: tracebacks; in CGI scripts
21 traceback information in HTML for CGI scripts. It was later generalized to also
29 To enable this feature, simply add this to the top of your CGI script::
Dcgi.rst10 pair: CGI; protocol
20 Support module for Common Gateway Interface (CGI) scripts.
22 This module defines a number of utilities for use by CGI scripts written in
31 A CGI script is invoked by an HTTP server, usually to process user input
34 Most often, CGI scripts live in the server's special :file:`cgi-bin` directory.
47 The output of a CGI script should consist of two sections, separated by a blank
59 print "<TITLE>CGI script output</TITLE>"
60 print "<H1>This is my first CGI script</H1>"
95 various environment variables set according to the CGI standard). Since it may
183 The previous section explains how to read CGI form data using the
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DAsmWriterInst.cpp50 AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, in AsmWriterInst() argument
54 this->CGI = &CGI; in AsmWriterInst()
63 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); in AsmWriterInst()
127 CGI.TheDef->getName() + "'!"; in AsmWriterInst()
166 + CGI.TheDef->getName() + "'"; in AsmWriterInst()
173 + CGI.TheDef->getName() + "'"; in AsmWriterInst()
181 throw "Bad operand modifier name in '"+ CGI.TheDef->getName() + "'"; in AsmWriterInst()
186 + CGI.TheDef->getName() + "'"; in AsmWriterInst()
190 throw "Stray '$' in '" + CGI.TheDef->getName() + in AsmWriterInst()
201 unsigned OpNo = CGI.Operands.getOperandNamed(VarName); in AsmWriterInst()
[all …]
DCodeEmitterGen.cpp87 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand() local
108 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { in AddCodeToMergeInOperand()
110 OpIdx = CGI.Operands[OpIdx].MIOperandNo; in AddCodeToMergeInOperand()
111 assert(!CGI.Operands.isFlatOperandNotEmitted(OpIdx) && in AddCodeToMergeInOperand()
116 while (CGI.Operands.isFlatOperandNotEmitted(NumberedOp)) in AddCodeToMergeInOperand()
121 std::pair<unsigned, unsigned> SO = CGI.Operands.getSubOperandNumber(OpIdx); in AddCodeToMergeInOperand()
122 std::string &EncoderMethodName = CGI.Operands[SO.first].EncoderMethodName; in AddCodeToMergeInOperand()
236 const CodeGenInstruction *CGI = *IN; in run() local
237 Record *R = CGI->TheDef; in run()
DAsmWriterEmitter.cpp71 O << " case " << FirstInst.CGI->Namespace << "::" in EmitInstructions()
72 << FirstInst.CGI->TheDef->getName() << ":\n"; in EmitInstructions()
74 O << " case " << SimilarInsts[i].CGI->Namespace << "::" in EmitInstructions()
75 << SimilarInsts[i].CGI->TheDef->getName() << ":\n"; in EmitInstructions()
85 OpsToPrint.push_back(std::make_pair(FirstInst.CGI->Namespace + "::" + in EmitInstructions()
86 FirstInst.CGI->TheDef->getName(), in EmitInstructions()
91 OpsToPrint.push_back(std::make_pair(AWI.CGI->Namespace+"::"+ in EmitInstructions()
92 AWI.CGI->TheDef->getName(), in EmitInstructions()
135 InstrsForCase[idx] += Inst->CGI->TheDef->getName(); in FindUniqueOperandCommands()
142 InstrsForCase.push_back(Inst->CGI->TheDef->getName()); in FindUniqueOperandCommands()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DAsmWriterInst.cpp53 AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex, in AsmWriterInst() argument
55 : CGI(&CGI), CGIIndex(CGIIndex) { in AsmWriterInst()
60 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); in AsmWriterInst()
98 CGI.TheDef->getName() + "'!"); in AsmWriterInst()
136 + CGI.TheDef->getName() + "'"); in AsmWriterInst()
143 + CGI.TheDef->getName() + "'"); in AsmWriterInst()
151 PrintFatalError("Bad operand modifier name in '"+ CGI.TheDef->getName() + "'"); in AsmWriterInst()
156 + CGI.TheDef->getName() + "'"); in AsmWriterInst()
160 PrintFatalError("Stray '$' in '" + CGI.TheDef->getName() + in AsmWriterInst()
168 unsigned OpNo = CGI.Operands.getOperandNamed(VarName); in AsmWriterInst()
[all …]
DWebAssemblyDisassemblerEmitter.cpp31 auto &CGI = *NumberedInstructions[I]; in emitWebAssemblyDisassemblerTables() local
32 auto &Def = *CGI.TheDef; in emitWebAssemblyDisassemblerTables()
53 CGI.Operands.OperandList.size()) { in emitWebAssemblyDisassemblerTables()
54 CGIP = std::make_pair(I, &CGI); in emitWebAssemblyDisassemblerTables()
79 auto &CGI = *InstIt->second.second; in emitWebAssemblyDisassemblerTables() local
82 OS << ": " << CGI.AsmString << "\n"; in emitWebAssemblyDisassemblerTables()
84 OS << CGI.Operands.OperandList.size() << ", {\n"; in emitWebAssemblyDisassemblerTables()
85 for (auto &Op : CGI.Operands.OperandList) { in emitWebAssemblyDisassemblerTables()
DCodeEmitterGen.cpp77 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand() local
98 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { in AddCodeToMergeInOperand()
100 OpIdx = CGI.Operands[OpIdx].MIOperandNo; in AddCodeToMergeInOperand()
101 assert(!CGI.Operands.isFlatOperandNotEmitted(OpIdx) && in AddCodeToMergeInOperand()
104 unsigned NumberOps = CGI.Operands.size(); in AddCodeToMergeInOperand()
108 (CGI.Operands.isFlatOperandNotEmitted(NumberedOp) || in AddCodeToMergeInOperand()
110 CGI.Operands.getSubOperandNumber(NumberedOp).first)))) { in AddCodeToMergeInOperand()
113 if (NumberedOp >= CGI.Operands.back().MIOperandNo + in AddCodeToMergeInOperand()
114 CGI.Operands.back().MINumOperands) { in AddCodeToMergeInOperand()
127 std::pair<unsigned, unsigned> SO = CGI.Operands.getSubOperandNumber(OpIdx); in AddCodeToMergeInOperand()
[all …]
DFixedLenDecoderEmitter.cpp1747 const CodeGenInstruction &CGI, unsigned Opc, in populateInstruction() argument
1749 const Record &Def = *CGI.TheDef; in populateInstruction()
1789 for (unsigned i = 0; i < CGI.Operands.size(); ++i) { in populateInstruction()
1790 int tiedTo = CGI.Operands[i].getTiedRegister(); in populateInstruction()
1793 CGI.Operands.getSubOperandNumber(tiedTo); in populateInstruction()
1813 if (!CGI.Operands.hasOperandNamed(Vals[i].getName(), OpIdx)) in populateInstruction()
1844 if (CGI.Operands.hasOperandNamed(Vals[i].getName(), OpIdx)) in populateInstruction()
1866 unsigned NumberOps = CGI.Operands.size(); in populateInstruction()
1868 (CGI.Operands.isFlatOperandNotEmitted(NumberedOp) || in populateInstruction()
1870 CGI.Operands.getSubOperandNumber(NumberedOp).first)))) in populateInstruction()
[all …]
DAsmWriterInst.h82 const CodeGenInstruction *CGI; variable
85 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
/external/llvm/utils/TableGen/
DAsmWriterInst.cpp53 AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex, in AsmWriterInst() argument
55 : CGI(&CGI), CGIIndex(CGIIndex) { in AsmWriterInst()
60 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); in AsmWriterInst()
98 CGI.TheDef->getName() + "'!"); in AsmWriterInst()
136 + CGI.TheDef->getName() + "'"); in AsmWriterInst()
143 + CGI.TheDef->getName() + "'"); in AsmWriterInst()
151 PrintFatalError("Bad operand modifier name in '"+ CGI.TheDef->getName() + "'"); in AsmWriterInst()
156 + CGI.TheDef->getName() + "'"); in AsmWriterInst()
160 PrintFatalError("Stray '$' in '" + CGI.TheDef->getName() + in AsmWriterInst()
168 unsigned OpNo = CGI.Operands.getOperandNamed(VarName); in AsmWriterInst()
[all …]
DCodeEmitterGen.cpp66 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand() local
87 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { in AddCodeToMergeInOperand()
89 OpIdx = CGI.Operands[OpIdx].MIOperandNo; in AddCodeToMergeInOperand()
90 assert(!CGI.Operands.isFlatOperandNotEmitted(OpIdx) && in AddCodeToMergeInOperand()
93 unsigned NumberOps = CGI.Operands.size(); in AddCodeToMergeInOperand()
97 (CGI.Operands.isFlatOperandNotEmitted(NumberedOp) || in AddCodeToMergeInOperand()
99 CGI.Operands.getSubOperandNumber(NumberedOp).first)))) { in AddCodeToMergeInOperand()
102 if (NumberedOp >= CGI.Operands.back().MIOperandNo + in AddCodeToMergeInOperand()
103 CGI.Operands.back().MINumOperands) { in AddCodeToMergeInOperand()
116 std::pair<unsigned, unsigned> SO = CGI.Operands.getSubOperandNumber(OpIdx); in AddCodeToMergeInOperand()
[all …]
DFixedLenDecoderEmitter.cpp1696 const CodeGenInstruction &CGI, unsigned Opc, in populateInstruction() argument
1698 const Record &Def = *CGI.TheDef; in populateInstruction()
1736 for (unsigned i = 0; i < CGI.Operands.size(); ++i) { in populateInstruction()
1737 int tiedTo = CGI.Operands[i].getTiedRegister(); in populateInstruction()
1740 CGI.Operands.getSubOperandNumber(tiedTo); in populateInstruction()
1760 if (!CGI.Operands.hasOperandNamed(Vals[i].getName(), OpIdx)) in populateInstruction()
1791 if (CGI.Operands.hasOperandNamed(Vals[i].getName(), OpIdx)) in populateInstruction()
1813 unsigned NumberOps = CGI.Operands.size(); in populateInstruction()
1815 (CGI.Operands.isFlatOperandNotEmitted(NumberedOp) || in populateInstruction()
1817 CGI.Operands.getSubOperandNumber(NumberedOp).first)))) in populateInstruction()
[all …]
DAsmWriterInst.h82 const CodeGenInstruction *CGI; variable
85 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
/external/python/cpython2/Demo/cgi/
DREADME1 CGI Examples
4 Here are some example CGI programs. For a larger example, see
7 cgi0.sh -- A shell script to test your server is configured for CGI
8 cgi1.py -- A Python script to test your server is configured for CGI
10 cgi3.py -- A Python script for driving an arbitrary CGI application
11 wiki.py -- Sample CGI application: a minimal Wiki implementation
/external/python/cpython3/Doc/library/
Dcgitb.rst1 :mod:`cgitb` --- Traceback manager for CGI scripts
5 :synopsis: Configurable traceback handler for CGI scripts.
13 single: CGI; exceptions
14 single: CGI; tracebacks
15 single: exceptions; in CGI scripts
16 single: tracebacks; in CGI scripts
22 traceback information in HTML for CGI scripts. It was later generalized to also
30 To enable this feature, simply add this to the top of your CGI script::
Dcgi.rst11 pair: CGI; protocol
19 Support module for Common Gateway Interface (CGI) scripts.
21 This module defines a number of utilities for use by CGI scripts written in
30 A CGI script is invoked by an HTTP server, usually to process user input
33 Most often, CGI scripts live in the server's special :file:`cgi-bin` directory.
46 The output of a CGI script should consist of two sections, separated by a blank
58 print("<TITLE>CGI script output</TITLE>")
59 print("<H1>This is my first CGI script</H1>")
94 environment variables set according to the CGI standard). Since it may consume
195 The previous section explains how to read CGI form data using the
[all …]
Dhttp.server.rst431 This class is used to serve either files or output of CGI scripts from the
437 CGI scripts run by the :class:`CGIHTTPRequestHandler` class cannot execute
439 sent prior to execution of the CGI script. This pre-empts the status
442 The class will however, run the CGI script, instead of serving it as a file,
443 if it guesses it to be a CGI script. Only directory-based CGI are used ---
445 denoting CGI scripts.
447 The :func:`do_GET` and :func:`do_HEAD` functions are modified to run CGI scripts
456 treat as containing CGI scripts.
462 This method serves the ``'POST'`` request type, only allowed for CGI
463 scripts. Error 501, "Can only POST to CGI scripts", is output when trying
[all …]
/external/llvm/lib/Analysis/
DCallGraphSCCPass.cpp446 scc_iterator<CallGraph*> CGI = scc_begin(&CG); in runOnModule() local
448 CallGraphSCC CurSCC(CG, &CGI); in runOnModule()
449 while (!CGI.isAtEnd()) { in runOnModule()
452 const std::vector<CallGraphNode *> &NodeVec = *CGI; in runOnModule()
454 ++CGI; in runOnModule()
538 scc_iterator<CallGraph*> *CGI = (scc_iterator<CallGraph*>*)Context; in ReplaceNode() local
539 CGI->ReplaceNode(Old, New); in ReplaceNode()
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DCallGraphSCCPass.cpp426 scc_iterator<CallGraph*> CGI = scc_begin(&CG); in runOnModule() local
428 CallGraphSCC CurSCC(&CGI); in runOnModule()
429 while (!CGI.isAtEnd()) { in runOnModule()
432 std::vector<CallGraphNode*> &NodeVec = *CGI; in runOnModule()
434 ++CGI; in runOnModule()
518 scc_iterator<CallGraph*> *CGI = (scc_iterator<CallGraph*>*)Context; in ReplaceNode() local
519 CGI->ReplaceNode(Old, New); in ReplaceNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCallGraphSCCPass.cpp457 scc_iterator<CallGraph*> CGI = scc_begin(&CG); in runOnModule() local
459 CallGraphSCC CurSCC(CG, &CGI); in runOnModule()
460 while (!CGI.isAtEnd()) { in runOnModule()
463 const std::vector<CallGraphNode *> &NodeVec = *CGI; in runOnModule()
465 ++CGI; in runOnModule()
547 scc_iterator<CallGraph*> *CGI = (scc_iterator<CallGraph*>*)Context; in ReplaceNode() local
548 CGI->ReplaceNode(Old, New); in ReplaceNode()
/external/python/cpython2/Doc/howto/
Dwebservers.rst63 This interface, most commonly referred to as "CGI", is the oldest, and is
64 supported by nearly every web server out of the box. Programs using CGI to
70 The upside of CGI is that it is simple -- writing a Python program which uses
71 CGI is a matter of about three lines of code. This simplicity comes at a
74 Writing CGI programs, while still possible, is no longer recommended. With
76 programs that emulate CGI, so they can be run as CGI if no better option is
82 creating plain CGI programs:
84 * :mod:`cgi` -- Handling of user input in CGI scripts
85 * :mod:`cgitb` -- Displays nice tracebacks when errors happen in CGI
88 The Python wiki features a page on `CGI scripts
[all …]
/external/swiftshader/third_party/LLVM/utils/
DcgiplotNLT.pl5 use CGI;
7 my $q = new CGI;
DwebNLT.pl4 use CGI;
6 $q = new CGI;

123456789