Lines Matching refs:pathname

47     const char *pathname;   /* full pathname to resource */
199 const char *pathname; /* we may need to remove it at close time */
234 return resource->info->pathname;
245 *dirpath_p = ctx->pathname;
251 char *dirpath = ap_make_dirstr_parent(ctx->pool, ctx->pathname);
282 *fname_p = ctx->pathname + dirlen;
487 /* build the propset pathname for the source file */
496 /* build the pathname for the destination state dir */
528 /* append the target file to the state directory pathname */
618 const char *pathname;
626 /* build the propset pathname for the file */
627 pathname = apr_pstrcat(p,
634 if ((status = apr_file_remove(pathname, p)) != APR_SUCCESS
641 /* build the propset pathname for the file */
642 pathname = apr_pstrcat(p,
648 if ((status = apr_file_remove(pathname, p)) != APR_SUCCESS
700 ** it onto the filename so that we get a "valid" pathname for null
705 /* make sure the pathname does not have a trailing "/" */
710 ctx->pathname = s;
794 testpath = ctx->pathname;
810 dirpath = ap_make_dirstr_parent(ctx->pool, ctx->pathname);
813 parent_ctx->pathname = dirpath;
828 rv = apr_stat(&parent_ctx->finfo, parent_ctx->pathname,
853 return strcmp(ctx1->pathname, ctx2->pathname) == 0;
863 apr_size_t len1 = strlen(ctx1->pathname);
870 len2 = strlen(ctx2->pathname);
873 && memcmp(ctx1->pathname, ctx2->pathname, len1) == 0
874 && ctx2->pathname[len1] == '/');
930 ds->pathname = resource->info->pathname;
935 ds->temppath = apr_pstrcat(p, ap_make_dirstr_parent(p, ds->pathname),
942 rv = apr_file_open(&ds->f, ds->pathname, flags | APR_FOPEN_EXCL,
949 rv = apr_file_open(&ds->f, ds->pathname, flags, APR_OS_DEFAULT,
954 rv = apr_file_open(&ds->f, ds->pathname, flags, APR_OS_DEFAULT, ds->p);
979 if ((rv = apr_file_remove(stream->pathname, stream->p))
991 rv = apr_file_rename(stream->temppath, stream->pathname, stream->p);
1093 if ((status = apr_file_open(&fd, resource->info->pathname,
1123 status = apr_dir_make(ctx->pathname, APR_OS_DEFAULT, ctx->pool);
1162 (void) apr_dir_remove(srcinfo->pathname, ctx->pool);
1166 if ((status = apr_dir_make(dstinfo->pathname, APR_OS_DEFAULT,
1176 srcinfo->pathname, dstinfo->pathname,
1259 src->info->pathname, dst->info->pathname,
1326 rv = apr_file_rename(srcinfo->pathname, dstinfo->pathname, srcinfo->pool);
1364 if (apr_file_rename(dstinfo->pathname, srcinfo->pathname,
1408 ? apr_dir_remove(info->pathname, wres->pool)
1409 : apr_file_remove(info->pathname, wres->pool);
1473 if ((status = apr_file_remove(info->pathname, info->pool)) != APR_SUCCESS) {
1591 fsctx->info1.pathname = fsctx->path1.buf;
1592 fsctx->info2.pathname = fsctx->path2.buf;
1691 fsctx->info1.pathname = fsctx->path1.buf;
1692 fsctx->info2.pathname = fsctx->path2.buf;
1795 /* the pathname is stored in the path1 buffer */
1796 dav_buffer_init(params->pool, &fsctx.path1, fsctx.info1.pathname);
1797 fsctx.info1.pathname = fsctx.path1.buf;
1820 /* the pathname is stored in the path2 buffer */
1821 dav_buffer_init(params->pool, &fsctx.path2, fsctx.info2.pathname);
1822 fsctx.info2.pathname = fsctx.path2.buf;
2118 if ((status = apr_file_perms_set(resource->info->pathname, perms))
2156 if ((status = apr_file_perms_set(resource->info->pathname, perms))