Searched refs:offset (Results 1 - 25 of 35) sorted by relevance

12

/httpd/support/
H A Dctauditscts50 offset = 0
51 while offset < len(log_bytes):
53 val = struct.unpack_from('>H', log_bytes, offset)
55 offset += 2
57 assert struct.unpack_from('>H', log_bytes, offset)[0] == KEY_START
58 offset += 2
60 key_size = struct.unpack_from('>H', log_bytes, offset)[0]
62 offset += 2
64 key = log_bytes[offset:offset
[all...]
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...]
/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/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/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/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++;
H A Dutil.c974 apr_size_t offset, ap_configfile_t *cfp)
980 char *cbuf = buf + offset;
981 apr_size_t cbufsize = bufsize - offset;
987 if (cbuf != buf + offset) {
1027 apr_size_t i = offset;
1033 buf[offset] = '\0';
1039 if (i > offset)
2594 apr_size_t offset = 0; local
2697 const char *tmp = apr_pmemdup(r->pool, buffer, offset);
2698 apr_bucket *b = apr_bucket_pool_create(tmp, offset,
973 ap_cfg_getline_core(char *buf, apr_size_t bufsize, apr_size_t offset, ap_configfile_t *cfp) argument
[all...]
H A Dconfig.c1446 int offset = (int)(long)cmd->info; local
1448 *(const char **)((char *)struct_ptr + offset) = arg;
1459 int offset = (int)(long)cmd->info; local
1461 *(int *)((char*)struct_ptr + offset) = strtol(arg, &endptr, 10);
1477 int offset = (int)(long)cmd->info; local
1480 *(char **)((char *)struct_ptr + offset) = arg;
1488 int offset = (int)(long)cmd->info; local
1491 *(int *)(struct_ptr + offset) = arg ? 1 : 0;
1499 int offset = (int)(long)cmd->info; local
1502 *(struct_ptr + offset)
1516 int offset = (int)(long)cmd->info; local
[all...]
/httpd/modules/filters/
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_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_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;
H A Dmod_sed.c480 int offset = (int) (long) cmd->info; local
482 (sed_expr_config *) (((char *) cfg) + 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...]
/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/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...]
/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/include/
H A Dhttp_protocol.h262 * @param offset Offset into the file to start sending.
266 AP_DECLARE(apr_status_t) ap_send_fd(apr_file_t *fd, request_rec *r, apr_off_t offset,
274 * @param offset The offset into the MMAP to start sending
280 apr_size_t offset,
286 * Register a new request method, and return the offset that will be
291 * @return An int value representing an offset into a bitmask.
/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/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/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/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;

Completed in 95 milliseconds

12