Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 14 of 14) sorted by relevance

/unit/src/
H A Dnxt_fs.c8 static nxt_int_t nxt_fs_mkdir(const u_char *dir, mode_t mode);
12 nxt_fs_mkdir_all(const u_char *dir, mode_t mode) in nxt_fs_mkdir_all() argument
38 if (nxt_slow_path(nxt_fs_mkdir((u_char *) path, mode) != NXT_OK in nxt_fs_mkdir_all()
52 nxt_fs_mkdir_parent(const u_char *path, mode_t mode) in nxt_fs_mkdir_parent() argument
67 ret = nxt_fs_mkdir((const u_char *) dir, mode); in nxt_fs_mkdir_parent()
77 nxt_fs_mkdir(const u_char *dir, mode_t mode) in nxt_fs_mkdir() argument
79 if (nxt_fast_path(mkdir((const char *) dir, mode) == 0)) { in nxt_fs_mkdir()
H A Dnxt_fs.h9 nxt_int_t nxt_fs_mkdir_parent(const u_char *path, mode_t mode);
10 nxt_int_t nxt_fs_mkdir_all(const u_char *dir, mode_t mode);
H A Dnxt_file.c11 nxt_file_open(nxt_task_t *task, nxt_file_t *file, nxt_uint_t mode, in nxt_file_open() argument
15 mode |= O_BINARY; in nxt_file_open()
19 mode |= (O_NONBLOCK | create); in nxt_file_open()
21 file->fd = open((char *) file->name, mode, access); in nxt_file_open()
30 file->name, mode, access, file->fd, file->error); in nxt_file_open()
48 nxt_file_openat2(nxt_task_t *task, nxt_file_t *file, nxt_uint_t mode, in nxt_file_openat2() argument
57 mode |= (O_NONBLOCK | create); in nxt_file_openat2()
59 how.flags = mode; in nxt_file_openat2()
60 how.mode = access; in nxt_file_openat2()
586 nxt_file_fopen(nxt_task_t *task, const char *pathname, const char *mode) in nxt_file_fopen() argument
[all …]
H A Dnxt_file.h103 nxt_uint_t mode, nxt_uint_t create, nxt_file_access_t access);
107 nxt_uint_t mode, nxt_uint_t create, nxt_file_access_t access, nxt_fd_t dfd,
192 const char *mode);
H A Dnxt_epoll_engine.c41 nxt_uint_t mchanges, nxt_uint_t mevents, nxt_conn_io_t *io, uint32_t mode);
235 nxt_uint_t mevents, nxt_conn_io_t *io, uint32_t mode) in nxt_epoll_create() argument
238 engine->u.epoll.mode = mode; in nxt_epoll_create()
361 EPOLLIN | EPOLLOUT | engine->u.epoll.mode); in nxt_epoll_enable()
418 events = EPOLLIN | engine->u.epoll.mode; in nxt_epoll_enable_read()
443 events = EPOLLOUT | engine->u.epoll.mode; in nxt_epoll_enable_write()
474 events = EPOLLOUT | engine->u.epoll.mode; in nxt_epoll_disable_read()
496 events = EPOLLIN | engine->u.epoll.mode; in nxt_epoll_disable_write()
956 } else if (engine->u.epoll.mode == 0) { in nxt_epoll_poll()
976 } else if (engine->u.epoll.mode == 0) { in nxt_epoll_poll()
[all …]
H A Dnxt_openssl.c60 static void nxt_openssl_lock(int mode, int type, const char *file, int line);
245 nxt_openssl_lock(int mode, int type, const char *file, int line) in nxt_openssl_lock() argument
251 if ((mode & CRYPTO_LOCK) != 0) { in nxt_openssl_lock()
1425 int ret, mode; local
1452 mode = SSL_get_shutdown(s);
1457 } else if (c->socket.closed && !(mode & SSL_RECEIVED_SHUTDOWN)) {
1467 mode |= SSL_RECEIVED_SHUTDOWN;
1473 SSL_set_shutdown(s, mode);
1480 c->socket.fd, mode, quiet, ret, err);
1499 mode = SSL_get_shutdown(s);
H A Dnxt_event_engine.h200 uint32_t mode; member
/unit/src/perl/
H A Dnxt_perl_psgi_layer.c17 static IV nxt_perl_psgi_layer_stream_pushed(pTHX_ PerlIO *f, const char *mode,
23 const char *mode, int fd, int imode, int perm,
88 nxt_perl_psgi_layer_stream_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, in nxt_perl_psgi_layer_stream_pushed() argument
99 return PerlIOBase_pushed(aTHX_ f, mode, Nullsv, tab); in nxt_perl_psgi_layer_stream_pushed()
128 const char *mode, int fd, int imode, int perm, in nxt_perl_psgi_layer_stream_open() argument
145 f = PerlIO_push(aTHX_ f, self, mode, arg); in nxt_perl_psgi_layer_stream_open()
345 const char *mode) in nxt_perl_psgi_layer_stream_fp_create() argument
348 mode, 0, 0, 0, NULL, 1, &arg_rv); in nxt_perl_psgi_layer_stream_fp_create()
H A Dnxt_perl_psgi_layer.h43 const char *mode);
H A Dnxt_perl_psgi.c57 nxt_perl_psgi_io_arg_t *arg, const char *mode, void *req);
447 nxt_perl_psgi_io_arg_t *arg, const char *mode, void *req) in nxt_perl_psgi_io_init() argument
453 fp = nxt_perl_psgi_layer_stream_fp_create(aTHX_ arg->rv, mode); in nxt_perl_psgi_io_init()
/unit/test/python/upload/
H A Dwsgi.py8 body = TemporaryFile(mode='w+b')
/unit/auto/
H A Dfiles71 how.mode = O_NONBLOCK;
/unit/test/
H A Dtest_php_application.py767 Path(f'{temp_dir}/php-root/path').mkdir(mode=0o000, parents=True)
/unit/docs/
H A Dunit-openapi.yaml4906 mode: "strict"
5621 description: "Extra directives set in PHP_INI_SYSTEM mode."
5632 description: "Extra directives set in PHP_INI_USER mode."