Home
last modified time | relevance | path

Searched refs:lws_open (Results 1 – 20 of 20) sorted by relevance

/third_party/libwebsockets/lib/plat/unix/
Dunix-file.c52 fd = lws_open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600); in lws_plat_write_file()
69 int fd = lws_open(filename, O_RDONLY); in lws_plat_read_file()
86 int ret = lws_open(filename, (*flags) & LWS_FOP_FLAGS_MASK, 0664); in _lws_plat_file_open()
Dunix-init.c170 fd = lws_open(SYSTEM_RANDOM_FILEPATH, O_RDONLY); in lws_plat_init()
/third_party/libwebsockets/lib/misc/
Ddaemonize.c59 fd = lws_open(lock_path, O_TRUNC | O_RDWR | O_CREAT, 0640); in child_handler()
116 int fd = lws_open(_lock_path, O_RDONLY); in lws_daemonize()
/third_party/libwebsockets/lib/plat/windows/
Dwindows-file.c174 fd = lws_open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600); in lws_plat_write_file()
188 int n, fd = lws_open(filename, O_RDONLY); in lws_plat_read_file()
/third_party/libwebsockets/plugins/
Dprotocol_lws_raw_test.c143 vhd->fifo = lws_open(vhd->fifo_path, O_NONBLOCK | O_RDONLY); in callback_raw_test()
222 vhd->fifo = lws_open(vhd->fifo_path, in callback_raw_test()
Dprotocol_lws_sshd_demo.c408 vhd->privileged_fd = lws_open(TEST_SERVER_KEY_PATH, O_RDONLY); in callback_lws_sshd_demo()
410 vhd->privileged_fd = lws_open(TEST_SERVER_KEY_PATH, in callback_lws_sshd_demo()
Dprotocol_post_demo.c87 pss->fd = (lws_filefd_type)(lws_intptr_t)lws_open("/tmp/post-file", in file_upload_cb()
Dprotocol_lws_openmetrics_export.c354 int n, fd = lws_open(fi, LWS_O_RDONLY); in grabfile()
/third_party/libwebsockets/test-apps/
Dtest-sshd.c240 int fd = lws_open(TEST_SERVER_KEY_PATH, O_RDONLY), n; in ssh_ops_get_server_key()
263 int fd = lws_open(TEST_SERVER_KEY_PATH, O_CREAT | O_TRUNC | O_RDWR, 0600); in ssh_ops_set_server_key()
676 vhd->privileged_fd = lws_open(TEST_SERVER_KEY_PATH, O_RDONLY); in callback_lws_sshd_demo()
678 vhd->privileged_fd = lws_open(TEST_SERVER_KEY_PATH, in callback_lws_sshd_demo()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-file/
Dminimal-raw-file.c41 vhd->filefd = lws_open(filepath, O_RDWR); in callback_raw_test()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-file/
Dminimal-http-server-form-post-file.c62 pss->fd = lws_open(pss->filename, O_CREAT | O_TRUNC | O_RDWR, 0600); in file_upload_cb()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-serial/
Dminimal-raw-file.c64 vhd->filefd = lws_open(filepath, O_RDWR); in callback_raw_test()
/third_party/libwebsockets/include/libwebsockets/
Dlws-misc.h850 lws_open(const char *__file, int __oflag, ...);
/third_party/libwebsockets/plugins/acme-client/
Dprotocol_lws_acme_client.c868 vhd->fd_updated_cert = lws_open(buf, in callback_acme_client()
877 vhd->fd_updated_key = lws_open(buf, LWS_O_WRONLY | LWS_O_CREAT | in callback_acme_client()
/third_party/libwebsockets/plugins/deaddrop/
Dprotocol_lws_deaddrop.c296 pss->fd = (lws_filefd_type)(long long)lws_open(pss->filename, in file_upload_cb()
/third_party/libwebsockets/lib/core/
Dlibwebsockets.c201 int lws_open(const char *__file, int __oflag, ...) in lws_open() function
/third_party/libwebsockets/lib/roles/http/server/
Dlejp-conf.c940 fd = lws_open(f, O_RDONLY); in lwsws_get_config()
Dserver.c991 fd = lws_open(filename, O_RDONLY); in lws_find_string_in_file()
/third_party/libwebsockets/lib/secure-streams/
Dpolicy-json.c1207 int n, m, fd = lws_open(filepath, LWS_O_RDONLY); in lws_ss_policy_parse_file()
/third_party/libwebsockets/lib/core-net/
Dvhost.c978 vh->log_fd = lws_open(info->log_filepath, in lws_create_vhost()