Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 12 of 12) sorted by relevance

/unit/src/
H A Dnxt_fs.c13 static nxt_int_t nxt_fs_mkdir(const u_char *dir, mode_t mode);
237 nxt_fs_mkdir_all(const u_char *dir, mode_t mode) in nxt_fs_mkdir_all() argument
243 dirlen = nxt_strlen(dir); in nxt_fs_mkdir_all()
245 nxt_assert(dirlen < PATH_MAX && dirlen > 1 && dir[0] == '/'); in nxt_fs_mkdir_all()
248 start = end = (char *) dir; in nxt_fs_mkdir_all()
257 end = ((char *)dir + dirlen); in nxt_fs_mkdir_all()
277 nxt_fs_mkdir(const u_char *dir, mode_t mode) in nxt_fs_mkdir() argument
279 if (nxt_fast_path(mkdir((const char *) dir, mode) == 0)) { in nxt_fs_mkdir()
H A Dnxt_cert.c816 DIR *dir; in nxt_cert_store_load() local
850 de = readdir(dir); in nxt_cert_store_load()
912 (void) closedir(dir); in nxt_cert_store_load()
922 if (dir != NULL) { in nxt_cert_store_load()
954 DIR *dir;
970 dir = NULL;
989 de = readdir(dir);
1006 rewinddir(dir);
1028 (void) closedir(dir);
1029 dir = NULL;
[all …]
H A Dnxt_fs.h39 nxt_int_t nxt_fs_mkdir_all(const u_char *dir, mode_t mode);
H A Dnxt_php_sapi.c98 static nxt_int_t nxt_php_dirname(const nxt_str_t *file, nxt_str_t *dir);
107 nxt_inline void nxt_php_vcwd_chdir(nxt_unit_request_info_t *req, u_char *dir);
865 nxt_php_dirname(const nxt_str_t *file, nxt_str_t *dir) in nxt_php_dirname() argument
881 dir->length = length; in nxt_php_dirname()
882 dir->start = nxt_malloc(length + 1); in nxt_php_dirname()
883 if (nxt_slow_path(dir->start == NULL)) { in nxt_php_dirname()
887 nxt_memcpy(dir->start, file->start, length); in nxt_php_dirname()
889 dir->start[length] = '\0'; in nxt_php_dirname()
1141 nxt_php_vcwd_chdir(nxt_unit_request_info_t *req, u_char *dir) argument
1143 if (nxt_slow_path(VCWD_CHDIR((char *) dir) != 0)) {
[all …]
/unit/pkg/rpm/
H A Dunit.spec.in206 %dir %{_sysconfdir}/unit
209 %dir %attr(0755,root,root) %ghost %{_localstatedir}/run/unit
210 %dir %{_datadir}/doc/unit
212 %dir %{_libdir}/unit/modules
213 %dir %{_libdir}/unit/debug-modules
214 %dir %{_sharedstatedir}/unit
215 %dir %attr(0755,root,root) %{_localstatedir}/log/unit
H A DMakefile.jsc-common26 %dir %{_datadir}/unit-jsc-common
H A DMakefile.go55 %dir %{gopath}/src/unit.nginx.org/go
H A DMakefile.jsc1144 %dir %{_datadir}/doc/unit-jsc11
H A DMakefile.jsc846 %dir %{_datadir}/doc/unit-jsc8
H A Dunit.module.spec.in123 %dir %{_datadir}/doc/%%NAME%%
/unit/auto/modules/
H A Dphp77 NXT_PHP_EXT_DIR="`${NXT_PHP_CONFIG} --extension-dir`"
/unit/src/java/nginx/unit/
H A DContext.java1797 private void removeDir(File dir) throws IOException
1799 Files.walkFileTree(dir.toPath(),
1803 Path dir, IOException exc) throws IOException {
1804 Files.delete(dir);
2935 File dir = new File(webapp_, path.substring(1));
2936 File[] list = dir.listFiles();