Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/plat/unix/
H A 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()
H A Dunix-init.c170 fd = lws_open(SYSTEM_RANDOM_FILEPATH, O_RDONLY); in lws_plat_init()
/third_party/libwebsockets/lib/misc/
H A 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/
H A Dwindows-file.c173 fd = lws_open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600); in lws_plat_write_file()
187 int n, fd = lws_open(filename, O_RDONLY); in lws_plat_read_file()
/third_party/libwebsockets/plugins/
H A 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()
H A 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()
H A Dprotocol_post_demo.c87 pss->fd = (lws_filefd_type)(lws_intptr_t)lws_open("/tmp/post-file", in file_upload_cb()
H A Dprotocol_lws_openmetrics_export.c354 int n, fd = lws_open(fi, LWS_O_RDONLY); in grabfile()
/third_party/libwebsockets/test-apps/
H A 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/
H A 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/
H A 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/
H A Dminimal-raw-file.c64 vhd->filefd = lws_open(filepath, O_RDWR); in callback_raw_test()
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-misc.h840 * lws_open() - platform-specific wrapper for open that prepares the fd
850 lws_open(const char *__file, int __oflag, ...);
/third_party/libwebsockets/plugins/acme-client/
H A Dprotocol_lws_acme_client.c861 vhd->fd_updated_cert = lws_open(buf, in callback_acme_client()
875 vhd->fd_updated_key = lws_open(buf, LWS_O_WRONLY | LWS_O_CREAT | in callback_acme_client()
/third_party/libwebsockets/plugins/deaddrop/
H A Dprotocol_lws_deaddrop.c296 pss->fd = (lws_filefd_type)(long long)lws_open(pss->filename, in file_upload_cb()
/third_party/libwebsockets/lib/core/
H A Dlibwebsockets.c201 int lws_open(const char *__file, int __oflag, ...) in lws_open() function
/third_party/libwebsockets/lib/roles/http/server/
H A Dlejp-conf.c952 fd = lws_open(f, O_RDONLY); in lwsws_get_config()
H A Dserver.c993 fd = lws_open(filename, O_RDONLY); in lws_find_string_in_file()
/third_party/libwebsockets/lib/core-net/
H A Dvhost.c978 vh->log_fd = lws_open(info->log_filepath, in lws_create_vhost()
/third_party/libwebsockets/lib/secure-streams/
H A Dpolicy-json.c1214 int n, m, fd = lws_open(filepath, LWS_O_RDONLY); in lws_ss_policy_parse_file()

Completed in 20 milliseconds