Searched defs:offset (Results 1 - 25 of 31) sorted by relevance

12

/httpd/modules/arch/netware/
H A Dlibprews.c40 int (*readRoutineP)( int conn, void *fileHandle, size_t offset,
32 _NonAppStart( void *NLMHandle, void *errorScreen, const char *cmdLine, const char *loadDirPath, size_t uninitializedDataLength, void *NLMFileHandle, int (*readRoutineP)( int conn, void *fileHandle, size_t offset, size_t nbytes, size_t *bytesRead, void *buffer ), size_t customDataOffset, size_t customDataSize, int messageCount, const char **messages ) argument
/httpd/server/
H A Dutil_md5.c155 apr_off_t offset = 0L; local
163 apr_file_seek(infile, APR_SET, &offset);
H A Dutil_pcre.c97 addmessage = " at offset ";
294 const char *offset = nametable + i * nameentrysize; local
295 int capture = ((offset[0] << 8) + offset[1]);
301 prefix ? apr_pstrcat(names->pool, prefix, offset + 2,
303 apr_pstrdup(names->pool, offset + 2);
309 ((const char **)names->elts)[capture] = offset + 2;
H A Dcore_filters.c803 apr_size_t i, offset; local
818 offset = 0;
821 rv = apr_socket_sendv(s, vec + offset, nvec - offset, &n);
824 for (i = offset; i < nvec; ) {
831 offset++;
/httpd/os/netware/
H A Dutil_nw.c79 int (*readRoutineP)( int conn, void *fileHandle, size_t offset,
71 _NonAppStart( void *NLMHandle, void *errorScreen, const char *cmdLine, const char *loadDirPath, size_t uninitializedDataLength, void *NLMFileHandle, int (*readRoutineP)( int conn, void *fileHandle, size_t offset, size_t nbytes, size_t *bytesRead, void *buffer ), size_t customDataOffset, size_t customDataSize, int messageCount, const char **messages ) argument
/httpd/modules/filters/
H A Dmod_reflector.c94 apr_off_t offset; local
96 apr_strtoff(&offset, content_length, NULL, 10);
97 ap_set_content_length(r, offset);
H A Dmod_request.c170 apr_off_t offset; member in struct:kept_body_filter_ctx
220 ctx->offset = 0;
235 if ((rv = apr_brigade_partition(kept_body, ctx->offset, &ec)) != APR_SUCCESS) {
237 "apr_brigade_partition() failed on kept_body at %" APR_OFF_T_FMT, ctx->offset);
240 if ((rv = apr_brigade_partition(kept_body, ctx->offset + readbytes, &e2)) != APR_SUCCESS) {
242 "apr_brigade_partition() failed on kept_body at %" APR_OFF_T_FMT, ctx->offset + readbytes);
265 ctx->offset += readbytes;
H A Dmod_sed.c480 int offset = (int) (long) cmd->info; local
482 (sed_expr_config *) (((char *) cfg) + offset);
H A Dmod_proxy_html.c107 size_t offset; member in struct:__anon169
179 if (len <= (ctx->avail - ctx->offset))
181 else while (len > (ctx->avail - ctx->offset))
198 memcpy(ctx->buf+ctx->offset, buf, len);
199 ctx->offset += len;
365 if (ctx->offset > 0) {
367 ctx->offset = 0; /* having dumped it, we can re-use the memory */
463 ctx->offset = 0;
661 ctx->offset = 0;
/httpd/modules/cache/
H A Dmod_cache_disk.h54 apr_off_t offset; /* Max size to set aside */ member in struct:disk_cache_object
H A Dmod_cache_disk.c496 apr_off_t offset = 0; local
506 apr_file_seek(dobj->hdrs.fd, APR_SET, &offset);
1133 if (!dobj->offset) {
1134 dobj->offset = dconf->readsize;
1140 if (dobj->offset) {
1141 apr_brigade_partition(in, dobj->offset, &e);
1250 dobj->offset -= length;
1251 if (dobj->offset <= 0) {
1252 dobj->offset = 0;
H A Dmod_cache_socache.c78 apr_size_t body_offset; /* offset to the start of the body */
85 apr_off_t offset; /* Max size to set aside */ member in struct:cache_socache_object_t
949 if (!sobj->offset) {
950 sobj->offset = dconf->readsize;
966 if (sobj->offset) {
967 apr_brigade_partition(in, sobj->offset, &e);
1052 sobj->offset -= length;
1053 if (sobj->offset <= 0) {
1054 sobj->offset = 0;
/httpd/modules/dav/lock/
H A Dlocks.c560 apr_size_t offset = 0; local
592 while (offset < val.dsize) {
593 switch (*(val.dptr + offset++)) {
600 memcpy(dp, val.dptr + offset, sizeof(dp->f));
601 offset += sizeof(dp->f);
604 dp->locktoken = apr_pmemdup(p, val.dptr + offset, sizeof(*dp->locktoken));
605 offset += sizeof(*dp->locktoken);
608 if (*(val.dptr + offset) == '\0') {
609 ++offset;
612 apr_size_t len = strlen(val.dptr + offset);
[all...]
/httpd/modules/debugging/
H A Dmod_firehose.c194 apr_size_t nbytes, offset = 0; local
217 vec[1].iov_base = (void *) (buf + offset);
254 offset += vec[1].iov_len;
/httpd/modules/proxy/
H A Dmod_proxy_fcgi.c144 int i, offset; local
151 offset = 0;
154 rv = apr_socket_sendv(s, vec + offset, nvec - offset, &n);
162 for (i = offset; i < nvec; ) {
164 offset++;
/httpd/modules/session/
H A Dmod_session_crypto.c86 int offset = 0; local
99 options[offset++] = ',';
100 options[offset++] = ' ';
102 strncpy(options + offset, key, klen);
103 offset += klen;
105 options[offset] = 0;
/httpd/support/
H A Dfirehose.c75 apr_size_t offset; member in struct:uuid_rec
604 header.rec->offset += len;
H A Drotatelogs.c117 "[offset minutes from UTC]\n\n",
162 * any configured or derived local time offset. The offset applied is
163 * returned via *offset. */
164 static adjusted_time_t get_now(rotate_config_t *config, apr_int32_t *offset) argument
170 /* Check for our UTC offset before using it, since it might
182 if (offset)
183 *offset = utc_offset;
207 fprintf(stderr, "Rotation time UTC offset: %12d\n", config->utc_offset);
376 apr_int32_t offset; local
[all...]
H A Dhtcacheclean.c450 apr_off_t offset = 0; local
452 apr_file_seek(fd, APR_SET, &offset);
767 apr_off_t offset = 0; local
769 apr_file_seek(fd, APR_SET, &offset);
832 * timestamp is not within a specified positive or negative offset
846 * specified positive or negative offset to the current time.
883 apr_off_t offset = 0; local
885 apr_file_seek(fd, APR_SET, &offset);
/httpd/modules/aaa/
H A Dmod_authnz_fcgi.c222 int i, offset; local
232 offset = 0;
235 rv = apr_socket_sendv(s, vec + offset, nvec - offset, &n);
246 for (i = offset; i < nvec; ) {
248 offset++;
/httpd/modules/dav/fs/
H A Dlock.c528 apr_size_t offset = 0; local
558 while (offset < val.dsize) {
559 switch (*(val.dptr + offset++)) {
564 memcpy(dp, val.dptr + offset, sizeof(dp->f));
565 offset += sizeof(dp->f);
566 dp->locktoken = apr_pmemdup(p, val.dptr + offset, sizeof(*dp->locktoken));
567 offset += sizeof(*dp->locktoken);
568 if (*(val.dptr + offset) == '\0') {
569 ++offset;
572 dp->owner = apr_pstrdup(p, val.dptr + offset);
[all...]
H A Drepos.c1650 apr_size_t offset = 0; local
1671 while (offset < fsctx->locknull_buf.cur_len) {
1672 apr_size_t len = strlen(fsctx->locknull_buf.buf + offset);
1681 fsctx->locknull_buf.buf + offset, len + 1, 0);
1683 fsctx->locknull_buf.buf + offset, len + 1, 0);
1686 fsctx->locknull_buf.buf + offset,
1741 offset += len + 1;
/httpd/modules/http/
H A Dmod_mime.c56 int offset; member in struct:attrib_info
172 /* Member is the offset within an extension_info of the pointer to reset
183 if (exinfo && *(const char**)((char *)exinfo + suffix[i].offset)) {
189 *(const char**)((char *)exinfo + suffix[i].offset) = NULL;
250 int offset = (int) (long) cmd->info; local
272 *(const char**)((char *)exinfo + offset) = value;
305 suffix->offset = (int) (long) cmd->info;
/httpd/modules/ssl/
H A Dssl_engine_io.c753 apr_size_t tmplen = *len, buflen = *len, offset = 0; local
764 status = ssl_io_input_read(inctx, buf + offset, &tmplen);
780 offset += tmplen;
781 tmplen = buflen - offset;
/httpd/modules/metadata/
H A Dmod_mime_magic.c138 long offset; /* offset from indirection */ member in struct:magic::__anon259
140 long offset; /* offset to magic number */ member in struct:magic
1099 /* get offset, then skip over it */
1100 m->offset = (int) strtol(l, &t, 0);
1103 MODNAME ": offset %s invalid", l);
1109 m->in.offset = 0;
1126 MODNAME ": indirect offset type %c invalid", *l);
1135 m->in.offset
1788 long offset = m->offset; local
[all...]

Completed in 106 milliseconds

12