Searched refs:code (Results 1 - 20 of 20) sorted by relevance

/httpd/modules/metadata/
H A Dmod_expires.c34 * ExpiresDefault <code><seconds>
35 * ExpiresByType type/encoding <code><seconds>
37 * Valid values for <code> are:
48 * There is NO space between the <code> and <seconds>.
210 /* check_code() parse 'code' and return NULL or an error response
211 * string. If we return NULL then real_code contains code converted
214 static char *check_code(apr_pool_t *p, const char *code, char **real_code) argument
224 if ((code[0] == 'A') || (code[0] == 'M')) {
225 *real_code = (char *)code;
312 set_expiresbytype(cmd_parms *cmd, void *in_dir_config, const char *mime, const char *code) argument
335 set_expiresdefault(cmd_parms *cmd, void *in_dir_config, const char *code) argument
390 set_expiration_fields(request_rec *r, const char *code, apr_table_t *t) argument
[all...]
/httpd/docs/manual/style/css/
H A Dmanual.css37 pre, code {
59 table, code {
104 /* code.module [links] */
106 code.module,
107 code.module a:link {
112 code.module a:visited {
117 code.module a:hover,
118 code.module a:active {
124 tr.odd code.module a:hover,
125 tr.odd code
[all...]
H A Dmanual-loose-100pc.css37 div#quickview code.module a:hover,
38 div#quickview code.module a:active {
43 div#quickview code.directive a:hover,
44 div#quickview code.directive a:active {
140 div.example p > code {
H A Dmanual-print.css37 pre, code {
59 table, code {
91 /* code.module [links] */
93 code.module,
94 code.module a:link,
95 code.module a:visited,
96 code.module a:hover,
97 code.module a:active {
103 /* code.directive [links] */
105 code
[all...]
/httpd/server/mpm/simple/
H A Dsimple_children.c54 static void clean_child_exit(int code) __attribute__ ((noreturn));
55 static void clean_child_exit(int code) argument
58 exit(code);
/httpd/modules/aaa/
H A Dmod_authz_dbd.h43 (request_rec *r, int code, const char *action))
H A Dmod_authz_dbd.c43 (request_rec *r, int code, const char *action),
44 (r, code, action), OK, DECLINED)
/httpd/modules/ssl/
H A Dssl_util_ocsp.c189 apr_int64_t code; local
200 || (code = apr_atoi64(++line)) < 200 || code > 299) {
/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2_child.c77 static void clean_child_exit(int code);
82 static void clean_child_exit(int code) argument
88 exit(code);
/httpd/modules/test/
H A Dmod_policy.c295 * and the response body has a defined length due to the status code
483 * and the response code is unexpected given the match. A result code is unexpected
496 int code = ap_meets_conditions(f->r); local
498 if (OK != code && code != f->r->status) {
506 code, f->r->status), conf->conditional_url, bb,
/httpd/server/mpm/motorz/
H A Dmotorz.c53 static void clean_child_exit(int code) __attribute__ ((noreturn));
57 static void clean_child_exit(int code) __attribute__ ((noreturn));
547 static void clean_child_exit(int code) argument
563 exit(code);
1034 apr_pool_clear(ptrans); /* kludge to avoid crash in APR reslist cleanup code */
1342 /* In any event we really shouldn't do the code below because
/httpd/server/mpm/netware/
H A Dmpm_netware.c21 * 03-21-93 Rob McCool wrote original code (up to NCSA HTTPd 1.3)
33 * Brandon's code snarfed from NCSA 1.4, but tinkered to work with the
176 static void clean_child_exit(int code, int worker_num, apr_pool_t *ptrans,
178 static void clean_child_exit(int code, int worker_num, apr_pool_t *ptrans, argument
190 NXThreadExit((void*)&code);
497 * Use the CHILDFATAL code to tear the server down.
500 * a new APEXIT_NETDOWN exit code, the reception
/httpd/server/mpm/prefork/
H A Dprefork.c222 static void clean_child_exit(int code) __attribute__ ((noreturn));
223 static void clean_child_exit(int code) argument
240 exit(code);
748 apr_pool_clear(ptrans); /* kludge to avoid crash in APR reslist cleanup code */
1133 /* In any event we really shouldn't do the code below because
/httpd/docs/manual/style/scripts/
H A Dprettify.js18 * some functions for browser-side pretty printing of code contained in html.
22 * <a href="http://google-code-prettify.googlecode.com/svn/trunk/README.html#langs">README</a>
31 * {@code <script type="text/javascript" src="/path/to/prettify.js"></script>}
33 * <li> mark the {@code <pre>} and {@code <code>} tags in your source with
34 * {@code class=prettyprint.}
35 * You can also use the (html deprecated) {@code <xmp>} tag, but the pretty
40 * need to specify which language the code is in, but if you wish, you can add
41 * another class to the {@code <pr
[all...]
H A Dprettify.min.js107 function langHandlerForExtension(extension,source){if(!(extension&&langHandlerRegistry.hasOwnProperty(extension))){extension=/^\s*</.test(source)?'default-markup':'default-code';}
109 registerLangHandler(decorateSource,['default-code']);registerLangHandler(createSimpleLexer([],[[PR_PLAIN,/^[^<?]+/],[PR_DECLARATION,/^<!\w[^>]*(?:>|$)/],[PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],['lang-',/^<\?([\s\S]+?)(?:\?>|$)/],['lang-',/^<%([\s\S]+?)(?:%>|$)/],[PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],['lang-',/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],['lang-js',/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],['lang-css',/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],['lang-in.tag',/^(<\/?[a-z][^<>]*>)/i]]),['default-markup','htm','html','mxml','xhtml','xml','xsl']);registerLangHandler(createSimpleLexer([[PR_PLAIN,/^[\s]+/,null,' \t\r\n'],[PR_ATTRIB_VALUE,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,'\"\'']],[[PR_TAG,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[PR_ATTRIB_NAME,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],['lang-uq.val',/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[PR_PUNCTUATION,/^[=<>\/]+/],['lang-js',/^on\w+\s*=\s*\"([^\"]+)\"/i],['lang-js',/^on\w+\s*=\s*\'([^\']+)\'/i],['lang-js',/^on\w+\s*=\s*([^\"\'>\s]+)/i],['lang-css',/^style\s*=\s*\"([^\"]+)\"/i],['lang-css',/^style\s*=\s*\'([^\']+)\'/i],['lang-css',/^style\s*=\s*([^\"\'>\s]+)/i]]),['in.tag']);registerLangHandler(createSimpleLexer([],[[PR_ATTRIB_VALUE,/^[\s\S]+/]]),['uq.val']);registerLangHandler(sourceDecorator({'keywords':CPP_KEYWORDS,'hashComments':true,'cStyleComments':true,'types':C_TYPES}),['c','cc','cpp','cxx','cyc','m']);registerLangHandler(sourceDecorator({'keywords':PHP_KEYWORDS,'hashComments':false,'cStyleComments':true,'multiLineStrings':true,'regexLiterals':true}),['php','phtml','inc']);registerLangHandler(sourceDecorator({'keywords':'null,true,false'}),['json']);registerLangHandler(sourceDecorator({'keywords':CSHARP_KEYWORDS,'hashComments':true,'cStyleComments':true,'verbatimStrings':true,'types':C_TYPES}),['cs']);registerLangHandler(sourceDecorator({'keywords':JAVA_KEYWORDS,'cStyleComments':true}),['java']);registerLangHandler(sourceDecorator({'keywords':SH_KEYWORDS,'hashComments':true,'multiLineStrings':true}),['bsh','csh','sh']);registerLangHandler(sourceDecorator({'keywords':PYTHON_KEYWORDS,'hashComments':true,'multiLineStrings':true,'tripleQuotedStrings':true}),['cv','py']);registerLangHandler(sourceDecorator({'keywords':PERL_KEYWORDS,'hashComments':true,'multiLineStrings':true,'regexLiterals':true}),['perl','pl','pm']);registerLangHandler(sourceDecorator({'keywords':RUBY_KEYWORDS,'hashComments':true,'multiLineStrings':true,'regexLiterals':true}),['rb']);registerLangHandler(sourceDecorator({'keywords':JSCRIPT_KEYWORDS,'cStyleComments':true,'regexLiterals':true}),['js']);registerLangHandler(sourceDecorator({'keywords':COFFEE_KEYWORDS,'hashComments':3,'cStyleComments':true,'multilineStrings':true,'tripleQuotedStrings':true,'regexLiterals':true}),['coffee']);registerLangHandler(createSimpleLexer([],[[PR_STRING,/^[\s\S]+/]]),['regex']);registerLangHandler(sourceDecorator({'keywords':CONFIG_KEYWORDS,'literals':CONFIG_OPTIONS,'strings':CONFIG_ENVS,'hashComments':true,'cStyleComments':false,'multiLineStrings':false,'regexLiterals':false,'httpdComments':true}),['config']);function applyDecorator(job){var opt_langExtension=job.langExtension;try{var sourceAndSpans=extractSourceSpans(job.sourceNode,job.pre);var source=sourceAndSpans.sourceCode;job.sourceCode=source;job.spans=sourceAndSpans.spans;job.basePos=0;langHandlerForExtension(opt_langExtension,source)(job);recombineTagsAndDecorations(job);}catch(e){if(win['console']){console['log'](e&&e['stack']?e['stack']:e);}}}
113 var codeSegments=[byTagName('pre'),byTagName('code'),byTagName('xmp')];var elements=[];for(var i=0;i<codeSegments.length;++i){for(var j=0,n=codeSegments[i].length;j<n;++j){elements.push(codeSegments[i][j]);}}
115 var k=0;var prettyPrintingJob;var langExtensionRe=/\blang(?:uage)?-([\w.]+)(?!\S)/;var prettyPrintRe=/\bprettyprint\b/;var prettyPrintedRe=/\bprettyprinted\b/;var preformattedTagNameRe=/pre|xmp/i;var codeRe=/^code$/i;var preCodeXmpRe=/^(?:pre|code|xmp)$/i;function doWork(){var endTime=(win['PR_SHOULD_USE_CONTINUATION']?clock['now']()+250:Infinity);for(;k<elements.length&&clock['now']()<endTime;k++){var cs=elements[k];var className=cs.className;if(prettyPrintRe.test(className)&&!prettyPrintedRe.test(className)){var nested=false;for(var p=cs.parentNode;p;p=p.parentNode){var tn=p.tagName;if(preCodeXmpRe.test(tn)&&p.className&&prettyPrintRe.test(p.className)){nested=true;break;}}
123 var PR=win['PR']={'createSimpleLexer':createSimpleLexer,'registerLangHandler':registerLangHandler,'sourceDecorator':sourceDecorator,'PR_ATTRIB_NAME':PR_ATTRIB_NAME,'PR_ATTRIB_VALUE':PR_ATTRIB_VALUE,'PR_COMMENT':PR_COMMENT,'PR_DECLARATION':PR_DECLARATION,'PR_KEYWORD':PR_KEYWORD,'PR_LITERAL':PR_LITERAL,'PR_NOCODE':PR_NOCODE,'PR_PLAIN':PR_PLAIN,'PR_PUNCTUATION':PR_PUNCTUATION,'PR_SOURCE':PR_SOURCE,'PR_STRING':PR_STRING,'PR_TAG':PR_TAG,'PR_TYPE':PR_TYPE,'prettyPrintOne':win['prettyPrintOne']=prettyPrintOne,'prettyPrint':win['prettyPrint']=prettyPrint};PR['registerLangHandler'](PR['createSimpleLexer']([[PR['PR_PLAIN'],/^[\t\n\r \xA0]+/,null,'\t\n\r \xA0'],[PR['PR_STRING'],/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,'"\'']],[[PR['PR_COMMENT'],/^--(?:\[(=*)\[[\s\S]*?(?:\]\1\]|$)|[^\r\n]*)/],[PR['PR_TYPE'],/^nil|false|true/],[PR['PR_STRING'],/^\[(=*)\[[\s\S]*?(?:\]\1\]|$)/],[PR['PR_KEYWORD'],/^(?:and|break|do|else|elseif|end|for|function|if|in|local|not|or|repeat|require|return|then|until|while)\b/,null],[PR['PR_LITERAL'],/^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i],[PR['PR_PLAIN'],/^[a-z_]\w*/i],[PR['PR_PUNCTUATION'],/^[^\w\t\n\r \xA0][^\w\t\n\r \xA0\"\'\-\+=]*/]]),['lua']);if(typeof define==="function"&&define['amd']){define("google-code-prettify",[],function(){return PR;});}})()
/httpd/server/mpm/worker/
H A Dworker.c437 static void clean_child_exit(int code) __attribute__ ((noreturn));
438 static void clean_child_exit(int code) argument
449 exit(code);
911 * for idle workers to get out of the queue code and release mutexes,
1794 /* In any event we really shouldn't do the code below because
/httpd/server/mpm/event/
H A Devent.c651 static void clean_child_exit(int code) __attribute__ ((noreturn));
652 static void clean_child_exit(int code) argument
663 exit(code);
976 * This runs before any non-MPM cleanup code on the connection;
2140 * for idle workers to get out of the queue code and release mutexes,
3057 /* In any event we really shouldn't do the code below because
/httpd/modules/proxy/
H A Dmod_serf.c96 /* TODO: return code? bleh */
316 ctx->r->status = line.code;
/httpd/modules/lua/
H A Dlua_request.c2570 int code = luaL_checkinteger(L, 3); local
2571 r->status = code;
/httpd/modules/generators/
H A Dmod_cgid.c22 * Adapted by rst from original NCSA code by Rob McCool
1441 #error at mod_cgi.c for required code in this path.
1626 * CGI script set an explicit status code (whatever it is) and
1714 * This is the beginning of the cgi filter code moved from mod_include. This
1715 * is the code required to handle the "exec" SSI directive.
1938 * This is the end of the cgi filter code moved from mod_include.

Completed in 4056 milliseconds