/httpd/test/ |
H A D | cls.c | 96 FILE *fp; local 124 fp = fopen(path, "r"); 125 if (fp == NULL) { 129 if (fgets(line, 1034, fp) == NULL) { 131 fclose(fp); 136 fclose(fp); 144 if (fgets(line, 1034, fp) == NULL) { 146 fclose(fp); 149 fclose(fp);
|
/httpd/modules/ssl/ |
H A D | ssl_engine_rand.c | 54 apr_file_t *fp; local 68 if (apr_file_open(&fp, pRandSeed->cpPath, 71 nDone += ssl_rand_feedfp(p, fp, pRandSeed->nBytes); 72 apr_file_close(fp); 84 if ((fp = ssl_util_ppopen(s, p, cmd, argv)) == NULL) 86 nDone += ssl_rand_feedfp(p, fp, pRandSeed->nBytes); 87 ssl_util_ppclose(s, p, fp); 147 static int ssl_rand_feedfp(apr_pool_t *p, apr_file_t *fp, int nReq) argument 162 if (apr_file_read(fp, caBuf, &nBuf) != APR_SUCCESS)
|
H A D | ssl_util.c | 85 void ssl_util_ppclose(server_rec *s, apr_pool_t *p, apr_file_t *fp) argument 87 apr_file_close(fp); 98 apr_file_t *fp; local 103 if ((fp = ssl_util_ppopen(s, p, cmd, argv)) == NULL) 106 for (k = 0; apr_file_read(fp, &c, &nbytes) == APR_SUCCESS 113 ssl_util_ppclose(s, p, fp);
|
H A D | ssl_engine_init.c | 1178 apr_file_t *fp; local 1190 rv = apr_file_open(&fp, path, APR_READ|APR_BINARY, 1200 rv = apr_file_read_full(fp, &buf[0], TLSEXT_TICKET_KEY_LEN, &len);
|
H A D | mod_ssl_ct.c | 1591 const char *fp; local 1595 fp = get_cert_fingerprint(c->pool, cc->leaf); 1598 SHA256_Update(&sha256ctx, (unsigned char *)fp, strlen(fp)); /* UNDOC */
|
/httpd/support/ |
H A D | httxt2dbm.c | 109 static apr_status_t to_dbm(apr_dbm_t *dbm, apr_file_t *fp, apr_pool_t *pool) argument 119 while (apr_file_gets(line, sizeof(line), fp) == APR_SUCCESS) {
|
/httpd/modules/proxy/balancers/ |
H A D | mod_lbmethod_heartbeat.c | 97 apr_file_t *fp; local 103 rv = apr_file_open(&fp, path, APR_READ|APR_BINARY|APR_BUFFERED, 110 rv = apr_file_info_get(&fi, APR_FINFO_SIZE, fp); 124 apr_brigade_insert_file(bb, fp, 0, fi.size, pool);
|
/httpd/modules/cluster/ |
H A D | mod_heartmonitor.c | 230 apr_file_t *fp; local 240 rv = apr_file_mktemp(&fp, path, APR_CREATE | APR_WRITE, pool); 301 apr_file_printf(fp, "%s\n", buf); 332 apr_file_printf(fp, "%s &ready=%u&busy=%u&lastseen=%u&port=%u\n", 337 apr_file_printf(fp, "%s &ready=%u&busy=%u&lastseen=%u&port=%u\n", 347 apr_file_printf(fp, "%s &ready=%u&busy=%u&lastseen=%u&port=%u\n", 351 rv = apr_file_flush(fp); 358 rv = apr_file_close(fp); 398 apr_file_t *fp; local 403 rv = apr_file_mktemp(&fp, pat [all...] |
/httpd/modules/slotmem/ |
H A D | mod_slotmem_shm.c | 143 apr_file_t *fp; local 155 rv = apr_file_open(&fp, storename, APR_CREATE | APR_READ | APR_WRITE, 159 rv = apr_file_open(&fp, storename, APR_CREATE | APR_READ | APR_WRITE, 171 rv = apr_file_write_full(fp, slotmem->persist, nbytes, NULL); 173 rv = apr_file_write_full(fp, digest, APR_MD5_DIGESTSIZE, NULL); 175 apr_file_close(fp); 186 apr_file_t *fp; local 198 rv = apr_file_open(&fp, storename, APR_READ | APR_WRITE, APR_OS_DEFAULT, 201 rv = apr_file_read(fp, ptr, &nbytes); 208 if (apr_file_eof(fp) ! [all...] |
/httpd/modules/proxy/ |
H A D | mod_serf.c | 532 apr_file_t *fp; local 534 rv = apr_file_mktemp(&fp, "mod_serf_buffer.XXXXXX", 0, pool); 545 rv = apr_file_write_full(fp, buf, rv, NULL); 558 apr_file_seek(fp, APR_SET, &flen); 559 baton->body_bkt = serf_bucket_file_create(fp, baton->bkt_alloc); 845 apr_file_t *fp; local 851 rv = apr_file_open(&fp, path, APR_READ|APR_BINARY|APR_BUFFERED, 858 rv = apr_file_info_get(&fi, APR_FINFO_SIZE, fp); 870 while (apr_file_gets(buf, sizeof(buf), fp) == APR_SUCCESS) {
|
/httpd/modules/dav/fs/ |
H A D | repos.c | 887 static apr_status_t dav_fs_mktemp(apr_file_t **fp, char *templ, apr_pool_t *p) argument 899 rv = apr_file_open(fp, templ,
|
/httpd/server/ |
H A D | util_expr_eval.c | 1194 apr_file_t *fp; local 1200 if (apr_file_open(&fp, arg, APR_READ|APR_BUFFERED, 1205 apr_file_info_get(&finfo, APR_FINFO_SIZE, fp); 1208 apr_file_close(fp); 1213 apr_file_close(fp); 1219 apr_file_close(fp); 1223 apr_file_seek(fp, APR_SET, &offset); 1224 if (apr_file_read(fp, buf, &len) != APR_SUCCESS) { 1226 apr_file_close(fp); 1231 apr_file_close(fp); [all...] |
H A D | util.c | 3117 apr_file_t *fp; local 3135 fp = proc->out; 3137 if (fp == NULL) 3140 for (k = 0; apr_file_read(fp, &c, &nbytes) == APR_SUCCESS 3147 apr_file_close(fp);
|
/httpd/modules/mappers/ |
H A D | mod_rewrite.c | 1274 apr_file_t *fp = NULL; local 1279 if ((rv = apr_file_open(&fp, file, APR_READ|APR_BUFFERED, APR_OS_DEFAULT, 1289 while (apr_file_gets(line, sizeof(line), fp) == APR_SUCCESS) { 1327 apr_file_close(fp);
|