Lines Matching defs:filename
353 char *buffer, *key, *filename;
377 filename = (char *) apr_pcalloc(r->pool, 256);
382 "Content-Disposition: form-data; name=\"%255[^\"]\"; filename=\"%255[^\"]\"",
383 key, filename);
409 * lua_ap_requestbody; r:requestbody([filename]) - Reads or stores the request
414 const char *filename;
419 filename = luaL_optstring(L, 2, 0);
431 if (!filename) {
444 rc = apr_file_open(&file, filename, APR_CREATE | APR_FOPEN_WRITE,
595 return r->filename;
782 const char *filename;
788 filename = lua_tostring(L, 2);
789 apr_stat(&file_info, filename, APR_FINFO_MIN, r->pool);
798 rc = apr_file_open(&file, filename, APR_READ, APR_OS_DEFAULT,
1097 res.filename = NULL;
1400 * filename as relative to the runtime dir
1472 * lua_ap_stat; r:stat(filename [, wanted]) - Runs stat on a file and
1478 const char *filename;
1485 filename = lua_tostring(L, 2);
1487 if (apr_stat(&file_info, filename, wanted, r->pool) == OK) {
1543 * executable filename, server root, mpm etc
2551 if (0 == strcmp("filename", key)) {
2553 r->filename = apr_pstrdup(r->pool, value);
2613 lua_pushstring(L, cfg->filename);
2784 apr_hash_set(dispatch, "filename", APR_HASH_KEY_STRING,