Home
last modified time | relevance | path

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

/external/libwebsockets/lib/plat/unix/
Dunix-file.c51 fd = lws_open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600); in lws_plat_write_file()
65 int n, fd = lws_open(filename, O_RDONLY); in lws_plat_read_file()
80 int ret = lws_open(filename, (*flags) & LWS_FOP_FLAGS_MASK, 0664); in _lws_plat_file_open()
Dunix-init.c123 fd = lws_open(SYSTEM_RANDOM_FILEPATH, O_RDONLY); in lws_plat_init()
/external/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()
/external/libwebsockets/lib/plat/windows/
Dwindows-file.c153 fd = lws_open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600); in lws_plat_write_file()
167 int n, fd = lws_open(filename, O_RDONLY); in lws_plat_read_file()
/external/libwebsockets/plugins/
Dprotocol_lws_raw_test.c134 vhd->fifo = lws_open(vhd->fifo_path, O_NONBLOCK | O_RDONLY); in callback_raw_test()
213 vhd->fifo = lws_open(vhd->fifo_path, in callback_raw_test()
Dprotocol_lws_sshd_demo.c401 vhd->privileged_fd = lws_open(TEST_SERVER_KEY_PATH, O_RDONLY); in callback_lws_sshd_demo()
403 vhd->privileged_fd = lws_open(TEST_SERVER_KEY_PATH, in callback_lws_sshd_demo()
Dprotocol_lws_server_status.c79 fd = lws_open(fp->filepath, LWS_O_RDONLY); in update()
Dprotocol_post_demo.c83 pss->fd = (lws_filefd_type)(long long)lws_open("/tmp/post-file", in file_upload_cb()
/external/libwebsockets/minimal-examples/raw/minimal-raw-file/
Dminimal-raw-file.c41 vhd->filefd = lws_open(filepath, O_RDWR); in callback_raw_test()
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-file/
Dminimal-http-server-form-post-file.c60 pss->fd = lws_open(pss->filename, O_CREAT | O_TRUNC | O_RDWR, 0600); in file_upload_cb()
/external/libwebsockets/test-apps/
Dtest-sshd.c235 int fd = lws_open(TEST_SERVER_KEY_PATH, O_RDONLY), n; in ssh_ops_get_server_key()
258 int fd = lws_open(TEST_SERVER_KEY_PATH, O_CREAT | O_TRUNC | O_RDWR, 0600); in ssh_ops_set_server_key()
/external/libwebsockets/minimal-examples/raw/minimal-raw-serial/
Dminimal-raw-file.c64 vhd->filefd = lws_open(filepath, O_RDWR); in callback_raw_test()
/external/libwebsockets/lib/core-net/
Dserver.c205 fd = lws_open("/proc/self/statm", LWS_O_RDONLY); in lws_json_dump_context()
Dvhost.c790 vh->log_fd = lws_open(info->log_filepath, in lws_create_vhost()
/external/libwebsockets/include/libwebsockets/
Dlws-misc.h635 lws_open(const char *__file, int __oflag, ...);
/external/libwebsockets/plugins/acme-client/
Dprotocol_lws_acme_client.c858 vhd->fd_updated_cert = lws_open(buf, in callback_acme_client()
867 vhd->fd_updated_key = lws_open(buf, LWS_O_WRONLY | LWS_O_CREAT | in callback_acme_client()
/external/libwebsockets/plugins/deaddrop/
Dprotocol_lws_deaddrop.c290 pss->fd = (lws_filefd_type)(long long)lws_open(pss->filename, in file_upload_cb()
/external/libwebsockets/lib/core/
Dlibwebsockets.c159 int lws_open(const char *__file, int __oflag, ...) in lws_open() function
/external/libwebsockets/lib/roles/http/server/
Dlejp-conf.c914 fd = lws_open(f, O_RDONLY); in lwsws_get_config()
Dserver.c816 fd = lws_open(filename, O_RDONLY); in lws_find_string_in_file()