Searched refs:pos (Results 1 - 21 of 21) sorted by relevance

/httpd/modules/loggers/
H A Dmod_log_forensic.c143 char *pos; member in struct:hlog
172 /* note that we don't have to check h->pos here, coz its been done
174 *h->pos++ = '|';
175 h->pos = log_escape(h->pos, h->end, key);
176 *h->pos++ = ':';
177 h->pos = log_escape(h->pos, h->end, value);
209 h.pos = h.log;
212 *h.pos
[all...]
/httpd/modules/proxy/
H A Dajp_msg.c63 "%s pos=%" APR_SIZE_T_FMT
65 err, msg->pos, msg->len, msg->max_size);
176 msg->pos = AJP_HEADER_LEN;
191 msg->pos = AJP_HEADER_LEN;
247 context, msg->pos, msg->len);
396 if ((msg->pos + 3) > msg->len) {
400 value = ((msg->buf[(msg->pos++)] & 0xFF) << 24);
401 value |= ((msg->buf[(msg->pos++)] & 0xFF) << 16);
402 value |= ((msg->buf[(msg->pos++)] & 0xFF) << 8);
403 value |= ((msg->buf[(msg->pos
[all...]
H A Dmod_proxy_ftp.c225 char *pos = buff; local
270 if (len > ((bufflen-1)-(pos-buff))) {
271 len = (bufflen-1)-(pos-buff);
274 memcpy(pos, response, len);
275 pos += len;
280 *pos = '\0';
608 char *pos, *response; local
620 pos = memchr(response, APR_ASCII_LF, len);
621 if (pos != NULL) {
622 if ((response + len) != (pos
[all...]
H A Dajp.h119 apr_size_t pos; member in struct:ajp_msg
H A Dajp_header.c824 *ptr = (char *)&(msg->buf[msg->pos]);
H A Dmod_proxy_ajp.c273 " at %" APR_SIZE_T_FMT ")", bufsiz, msg->pos);
/httpd/modules/generators/
H A Dmod_asis.c84 apr_off_t pos = 0; local
86 rv = apr_file_seek(f, APR_CUR, &pos);
96 apr_brigade_insert_file(bb, f, pos, r->finfo.size - pos, r->pool);
/httpd/server/
H A Dutil.c673 const char *pos = *line; local
677 while ((*pos != stop) && *pos) {
678 ++pos;
681 len = pos - *line;
685 while (*pos == stop) {
686 ++pos;
689 *line = pos;
701 const char *pos = *line; local
705 while (!apr_isspace(*pos)
730 const char *pos = ap_strchr_c(*line, stop); local
1212 unsigned char *pos; local
1306 const unsigned char *pos; local
[all...]
H A Dprotocol.c220 char *pos, *last_char = *s; local
311 pos = *s + bytes_handled;
312 memcpy(pos, str, len);
313 last_char = pos + len - 1;
/httpd/modules/echo/
H A Dmod_echo.c72 const char *pos; local
81 if ((pos = memchr(str, APR_ASCII_LF, len)) != NULL)
82 len = pos - str;
/httpd/modules/cache/
H A Dmod_socache_shmcb.c859 unsigned int pos; local
863 pos = subcache->idx_pos;
866 SHMCBIndex *idx = SHMCB_INDEX(subcache, pos);
880 "match at idx=%d, data=%d", pos, idx->data_pos);
909 pos = SHMCB_CYCLIC_INCREMENT(pos, 1, header->index_num);
922 unsigned int pos; local
925 pos = subcache->idx_pos;
927 SHMCBIndex *idx = SHMCB_INDEX(subcache, pos);
936 "possible match at idx=%d, data=%d", pos, id
964 unsigned int pos; local
[all...]
/httpd/modules/http/
H A Dbyterange_filter.c295 apr_uint64_t pos = 0, off_first = 0, off_last = 0; local
319 if (!first && (elen64 + pos > start64)) {
321 off_first = pos;
323 if (elen64 + pos > end64) {
325 off_last = pos;
328 pos += elen64;
381 pos = (apr_uint64_t)pofft;
382 AP_DEBUG_ASSERT(pos == end64 - start64 + 1);
H A Dhttp_protocol.c984 int i, pos; local
993 pos = (status + shortcut[i]);
994 if (pos < shortcut[i + 1] && status_lines[pos] != NULL) {
995 return pos;
/httpd/modules/filters/
H A Dmod_substitute.c238 const char *pos = buff; local
241 while (!ap_regexec_len(script->regexp, pos, left,
254 ap_varbuf_strmemcat(&vb, pos, regm[0].rm_so);
256 rv = ap_varbuf_regsub(&vb, script->replacement, pos,
269 script->replacement, pos,
283 * reset to past what we just did. pos now maps to b
286 pos += regm[0].rm_eo;
294 copy = ap_varbuf_pdup(pool, &vb, NULL, 0, pos, left,
H A Dmod_include.c2189 apr_size_t l, x, pos; local
2207 for (pos = x = 0; x < l; ++x) {
2209 buf[pos++] = ',';
2211 buf[pos++] = tmp[x];
2862 apr_size_t pos = 1; local
2865 while (p < ep && *p == intern->start_seq[pos]) {
2867 ++pos;
2873 intern->parse_pos = pos;
2901 apr_size_t pos, spos = 0; local
2905 pos
2998 apr_size_t pos; local
3121 apr_size_t pos = intern->parse_pos; local
[all...]
/httpd/docs/manual/style/scripts/
H A Dprettify.js717 var pos = 0; // index into sourceCode
758 var tokenStart = pos;
759 pos += token.length;
H A Dprettify.min.js53 allRegexs.push(/[\0-\uffff]/);tokenizer=combinePrefixPatterns(allRegexs);})();var nPatterns=fallthroughStylePatterns.length;var decorate=function(job){var sourceCode=job.sourceCode,basePos=job.basePos;var decorations=[basePos,PR_PLAIN];var pos=0;var tokens=sourceCode.match(tokenizer)||[];var styleCache={};for(var ti=0,nTokens=tokens.length;ti<nTokens;++ti){var token=tokens[ti];var style=styleCache[token];var match=void 0;var isEmbedded;if(typeof style==='string'){isEmbedded=false;}else{var patternParts=shortcuts[token.charAt(0)];if(patternParts){match=token.match(patternParts[1]);style=patternParts[0];}else{for(var i=0;i<nPatterns;++i){patternParts=fallthroughStylePatterns[i];match=token.match(patternParts[1]);if(match){style=patternParts[0];break;}}
57 var tokenStart=pos;pos+=token.length;if(!isEmbedded){decorations.push(basePos+tokenStart,style);}else{var embeddedSource=match[1];var embeddedSourceStart=token.indexOf(embeddedSource);var embeddedSourceEnd=embeddedSourceStart+embeddedSource.length;if(match[2]){embeddedSourceEnd=token.length-match[2].length;embeddedSourceStart=embeddedSourceEnd-embeddedSource.length;}
/httpd/support/
H A Dapxs.in97 my $pos = index($argumentative,$first);
98 if ($pos >= 0) {
99 if ($pos < $#args && $args[$pos+1] eq ':') {
110 elsif ($pos < $#args && $args[$pos+1] eq '+') {
/httpd/modules/ssl/
H A Dssl_engine_io.c751 const char *pos = NULL; local
776 if ((pos = memchr(buf, APR_ASCII_LF, *len))) {
784 if (pos) {
787 apr_size_t bytes = pos - buf;
1443 const char *pos; local
1449 && (pos = memchr(inctx->cbuf.value, APR_ASCII_LF,
1452 len = 1 + pos - start; /* +1 to include LF */
/httpd/modules/mappers/
H A Dmod_negotiation.c833 apr_off_t pos; local
867 pos = -(apr_off_t)(*len - (endbody - buffer));
868 if (apr_file_seek(map, APR_CUR, &pos) != APR_SUCCESS) {
874 return pos - (endbody - buffer);
/httpd/modules/dav/main/
H A Dmod_dav.c2469 const char *pos = lenp; local
2471 while (apr_isdigit(*pos) || apr_isspace(*pos)) {
2472 ++pos;
2475 if (*pos != '\0') {

Completed in 98 milliseconds