Searched refs:fifo_path (Results 1 - 3 of 3) sorted by relevance
/third_party/libwebsockets/plugins/ |
H A D | protocol_lws_raw_test.c | 87 char fifo_path[100]; member 127 lws_strncpy(vhd->fifo_path, pvo->value, in callback_raw_test() 128 sizeof(vhd->fifo_path)); in callback_raw_test() 131 if (vhd->fifo_path[0] == '\0') { in callback_raw_test() 138 unlink(vhd->fifo_path); in callback_raw_test() 139 if (mkfifo(vhd->fifo_path, 0666)) { in callback_raw_test() 143 vhd->fifo = lws_open(vhd->fifo_path, O_NONBLOCK | O_RDONLY); in callback_raw_test() 146 unlink(vhd->fifo_path); in callback_raw_test() 149 lwsl_notice("FIFO %s created\n", vhd->fifo_path); in callback_raw_test() 157 unlink(vhd->fifo_path); in callback_raw_test() [all...] |
/third_party/python/Lib/test/ |
H A D | test_stat.py | 180 fifo_path = os.path.join("/fifos/", TESTFN) 182 fifo_path = TESTFN 183 self.addCleanup(os_helper.unlink, fifo_path) 185 os.mkfifo(fifo_path, 0o700) 188 st_mode, modestr = self.get_mode(fifo_path)
|
H A D | test_posix.py | 653 fifo_path = os.path.join("/fifos/", os_helper.TESTFN) 655 fifo_path = os_helper.TESTFN 656 os_helper.unlink(fifo_path) 657 self.addCleanup(os_helper.unlink, fifo_path) 659 posix.mkfifo(fifo_path, stat.S_IRUSR | stat.S_IWUSR) 662 self.assertTrue(stat.S_ISFIFO(posix.stat(fifo_path).st_mode))
|
Completed in 4 milliseconds