/httpd/modules/cache/ |
H A D | mod_cache_disk.h | 31 apr_file_t *fd; member in struct:__anon87
|
H A D | mod_file_cache.c | 130 apr_file_t *fd = NULL; local 158 rc = apr_file_open(&fd, fspec, APR_READ | APR_BINARY | APR_XTHREAD, 165 apr_file_inherit_set(fd); 177 if ((rc = apr_mmap_create(&new_file->mm, fd, 0, 180 apr_file_close(fd); 185 apr_file_close(fd); 193 new_file->file = fd;
|
H A D | mod_cache_disk.c | 217 static int file_cache_recall_mydata(apr_file_t *fd, cache_info *info, argument 226 rv = apr_file_read_full(fd, &dobj->disk_info, len, &len); 244 rv = apr_file_read_full(fd, urlbuff, len, &len); 449 rc = apr_file_open(&dobj->vary.fd, dobj->vary.file, flags, 0, r->pool); 456 apr_file_read_full(dobj->vary.fd, &format, len, &len); 463 apr_file_read_full(dobj->vary.fd, &expire, len, &len); 466 rc = read_array(r, varray, dobj->vary.fd); 471 apr_file_close(dobj->vary.fd); 474 apr_file_close(dobj->vary.fd); 483 rc = apr_file_open(&dobj->hdrs.fd, dob 747 store_array(apr_file_t *fd, apr_array_header_t* arr) argument 900 store_table(apr_file_t *fd, apr_table_t *table) argument [all...] |
/httpd/modules/loggers/ |
H A D | mod_log_forensic.c | 44 apr_file_t *fd; member in struct:fcfg 54 cfg->fd = NULL; 66 cfg->fd = NULL; 75 if (!cfg->logname || cfg->fd) 88 cfg->fd = ap_piped_log_write_fd(pl); 94 if ((rv = apr_file_open(&cfg->fd, fname, 190 if (!cfg->fd || r->prev) { 223 rv = apr_file_write_full(cfg->fd, h.log, h.count-1, NULL); 241 if (!cfg->fd || id == NULL) { 247 rv = apr_file_write_full(cfg->fd, [all...] |
H A D | mod_log_config.c | 250 * set to a opaque structure (usually a fd) after it is opened. 1542 /* Next, do "physical" server, which gets default log fd and format 1722 apr_file_t *fd; local 1730 rv = apr_file_open(&fd, fname, xfer_flags, xfer_perms, p); 1739 log_writer->log_writer = fd;
|
/httpd/modules/ssl/ |
H A D | ssl_engine_pphrase.c | 55 apr_file_t *fd; local 63 if ((stat = apr_file_open(&fd, fname, APR_READ, 0, pool)) != APR_SUCCESS) 70 apr_file_close(fd);
|
/httpd/modules/test/ |
H A D | mod_dialup.c | 41 apr_file_t *fd; member in struct:dialup_baton_t 142 apr_file_t *fd; local 171 rv = apr_file_open(&fd, r->filename, APR_READ | APR_BINARY 200 e = apr_brigade_insert_file(db->bb, fd, 0, r->finfo.size, r->pool); 211 db->fd = fd;
|
/httpd/test/ |
H A D | time-sem.c | 303 int fd; local 305 fd = open ("/dev/zero", O_RDWR); 306 if (fd == -1) { 311 PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); 316 close (fd);
|
/httpd/server/ |
H A D | core_filters.c | 668 apr_file_t *fd = file_bucket->fd; local 675 if ((apr_file_flags_get(fd) & APR_SENDFILE_ENABLED) && 870 apr_file_t *fd; local 882 fd = file_bucket->fd; 899 rv = apr_socket_sendfile(s, fd, NULL, &file_offset, &n, 0);
|
H A D | listen.c | 294 int fdcount, fd; local 311 for (fd = SD_LISTEN_FDS_START; fd < SD_LISTEN_FDS_START + fdcount; fd++) { 312 if (sd_is_socket_inet(fd, 0, 0, -1, port) > 0) { 313 return fd; 321 int fd, const char *proto, 333 rv = getsockname(fd, &sa, &len); 338 "getsockname on %d failed.", fd); 342 si.os_sock = &fd; 320 alloc_systemd_listener(process_rec * process, int fd, const char *proto, ap_listen_rec **out_rec) argument 378 int fd = find_systemd_socket(process, port); local [all...] |
H A D | mpm_unix.c | 528 apr_os_file_t fd; local 534 apr_os_file_get(&fd, pod->pod_in); 535 rc = read(fd, &c, 1);
|
H A D | core.c | 4553 apr_file_t *fd = NULL; local 4628 if ((status = apr_file_open(&fd, r->filename, APR_READ | APR_BINARY 4645 ap_md5digest(r->pool, fd)); 4651 apr_file_close(fd); 4655 e = apr_brigade_insert_file(bb, fd, 0, r->finfo.size, r->pool);
|
/httpd/support/ |
H A D | rotatelogs.c | 85 /* Structure to contain relevant logfile state: fd, pool and 89 apr_file_t *fd; member in struct:logfile 196 apr_file_close(logfile->fd); 234 if (status->current.fd == NULL) { 241 if (apr_file_info_get(&finfo, APR_FINFO_SIZE, status->current.fd) == APR_SUCCESS) { 325 if (status->current.fd) { 352 if (apr_file_trunc(status->current.fd, 0) != APR_SUCCESS) { 356 if (apr_file_write_full(status->current.fd, message, buflen, NULL) != APR_SUCCESS) { 460 rv = apr_file_open(&newlog.fd, newlog.name, APR_WRITE | APR_CREATE | APR_APPEND 461 | (config->truncate || (config->num_files > 0 && status->current.fd) [all...] |
H A D | htcacheclean.c | 412 apr_file_t *fd; local 444 if (apr_file_open(&fd, nextpath, APR_FOPEN_READ 447 if (apr_file_read_full(fd, &format, len, &len) 452 apr_file_seek(fd, APR_SET, &offset); 456 if (apr_file_read_full(fd, &disk_info, len, &len) 462 if (apr_file_read_full(fd, url, len, &len) 470 &hinfo, APR_FINFO_SIZE, fd)) { 565 apr_file_close(fd); 601 apr_file_t *fd; local 616 fd [all...] |
H A D | ab.c | 1278 apr_os_sock_t fd; local 1286 apr_os_sock_get(&fd, c->aprsock); 1287 bio = BIO_new_socket(fd, BIO_NOCLOSE);
|
/httpd/modules/arch/netware/ |
H A D | mod_nw_ssl.c | 111 int fd; member in struct:seclisten_rec 226 return sl->fd; 552 new->fd = -1; 782 if (((sl->fd = find_secure_listener(sl)) >= 0) && (sl->used)) { 786 if (sl->fd < 0) 787 sl->fd = make_secure_socket(s->process->pool, &sl->local_addr, sl->key, sl->mutual, s); 789 if (sl->fd >= 0) { 792 sock_info.os_sock = &(sl->fd);
|
/httpd/modules/arch/win32/ |
H A D | mod_isapi.c | 1053 apr_file_t *fd; local 1068 if ((rv = apr_os_file_put(&fd, &tf->hFile, 1078 if (apr_file_info_get(&fi, APR_FINFO_SIZE, fd) != APR_SUCCESS) { 1085 /* apr_dupfile_oshandle (&fd, tf->hFile, r->pool); */ 1124 apr_brigade_insert_file(bb, fd, tf->Offset, fsize, r->pool);
|
/httpd/modules/generators/ |
H A D | mod_cgi.c | 576 apr_pollfd_t fd; local 594 fd.desc_type = APR_POLL_FILE; 595 fd.reqevents = APR_POLLIN; 596 fd.p = r->pool; 597 fd.desc.f = out; /* script's stdout */ 598 fd.client_data = (void *)1; 599 rv = apr_pollset_add(data->pollset, &fd); 606 fd.desc.f = err; /* script's stderr */ 607 fd.client_data = (void *)2; 608 rv = apr_pollset_add(data->pollset, &fd); [all...] |
H A D | mod_cgid.c | 340 int fd = (int)((long)thefd); local 342 return close(fd); 348 static apr_status_t sock_read(int fd, void *vbuf, size_t buf_size) argument 356 rc = read(fd, buf + bytes_read, buf_size - bytes_read); 373 static apr_status_t sock_write(int fd, const void *buf, size_t buf_size) argument 378 rc = write(fd, buf, buf_size); 387 static apr_status_t sock_writev(int fd, request_rec *r, int count, ...) argument 403 rc = writev(fd, vec, count); 412 static apr_status_t get_req(int fd, request_rec *r, char **argv0, char ***env, argument 424 stat = sock_read(fd, re 482 send_req(int fd, request_rec *r, char *argv0, char **env, int req_type) argument [all...] |
/httpd/modules/dav/fs/ |
H A D | repos.c | 962 /* (APR registers cleanups for the fd with the pool) */ 1076 apr_file_t *fd; local 1093 if ((status = apr_file_open(&fd, resource->info->pathname, 1102 apr_brigade_insert_file(bb, fd, 0, resource->info->finfo.size, pool);
|
/httpd/modules/metadata/ |
H A D | mod_mime_magic.c | 824 apr_file_t *fd = NULL; local 843 if (apr_file_open(&fd, r->filename, APR_READ, APR_OS_DEFAULT, r->pool) != APR_SUCCESS) { 855 if ((result = apr_file_read(fd, (char *) buf, &nbytes)) != APR_SUCCESS) { 872 (void) apr_file_close(fd);
|