/third_party/libfuse/example/ |
H A D | hello_ll_uds.c | 170 .open = hello_ll_open,
|
H A D | notify_store_retrieve.c | 232 fprintf(stderr, "Got open for non-existing inode!\n"); in tfs_open() 276 .open = tfs_open,
|
H A D | notify_inval_inode.c | 229 fprintf(stderr, "Got open for non-existing inode!\n"); in tfs_open() 246 .open = tfs_open,
|
/third_party/libdrm/tests/amdgpu/ |
H A D | amdgpu_stress.c | 77 * Returns the fd of the first device it could open. 107 fd = open(devices[i]->nodes[DRM_NODE_RENDER], O_RDWR | O_CLOEXEC); in amdgpu_open_device() 328 perror("Cannot open AMDGPU device"); in main()
|
H A D | hotunplug_tests.c | 81 /* We need to open/close device at each test manually */ in suite_hotunplug_tests_init() 98 fd = open(pathname, O_WRONLY); in amdgpu_hotunplug_trigger()
|
/third_party/libevdev/tools/ |
H A D | libevdev-tweak-device.c | 432 fd = open(path, O_RDWR); in main() 435 perror("Failed to open device"); in main()
|
H A D | touchpad-edge-detector.c | 243 fd = open(path, O_RDONLY|O_NONBLOCK); in main() 257 fprintf(stderr, "Use 'fuser -v %s' to find processes with an open fd\n", path); in main()
|
/third_party/ltp/testcases/kernel/io/aio/ |
H A D | aio01.c | 372 if ((fd = open(fname, O_RDWR | O_CREAT, 0600)) < 0) in setup() 373 tst_brkm(TFAIL, cleanup, "failed to open %s " in setup()
|
/third_party/ltp/testcases/kernel/syscalls/sendto/ |
H A D | sendto01.c | 387 else if ((s = open("/dev/null", O_WRONLY)) == -1) in setup0() 388 tst_brkm(TBROK | TERRNO, cleanup, "open(/dev/null) failed"); in setup0()
|
/third_party/ltp/testcases/misc/math/float/ |
H A D | thread_code.c | 83 while ((fd = open(path, O_RDONLY)) < 0) { in read_file()
|
/third_party/ltp/testcases/kernel/io/direct_io/ |
H A D | dma_thread_diotest.c | 24 /* Description: The man page for open(2) states the following: */ 373 * Some file systems may not implement the O_DIRECT flag and open() will in setup() 378 fd = open("testfile", O_CREAT | O_DIRECT, 0644); in setup()
|
/third_party/ltp/testcases/kernel/mem/mtest05/ |
H A D | mmstress.c | 295 /* Create a file with permissions 0666, and open it with RDRW perms */ in map_and_thread() 300 open(tmpfile, O_RDWR | O_CREAT, in map_and_thread() 303 perror("map_and_thread(): open()"); in map_and_thread()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
H A D | ioctl02.c | 29 * In this test, the parent and child open the parentty and the childtty 377 cfd = open(childtty, O_RDWR, 0777); in do_child_setup() 379 tst_resm(TINFO, "Could not open %s in do_child_setup(), errno " in do_child_setup()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
H A D | madvise11.c | 293 /* Find and open the <debugfs>/hwpoison/unpoison-pfn special file */ 312 tst_brk(TBROK | TERRNO, "Can't open /etc/mtab"); in open_unpoison_pfn() 326 TEST(open(debugfs_fp, O_WRONLY)); in open_unpoison_pfn() 335 tst_brk(TBROK | TTERRNO, "open(%s) failed", debugfs_fp); in open_unpoison_pfn() 337 tst_brk(TBROK | TTERRNO, "Invalid open() return value %ld", in open_unpoison_pfn()
|
/third_party/ltp/testcases/kernel/syscalls/recvfrom/ |
H A D | recvfrom01.c | 201 s = 400; /* anything not an open file */ in setup0() 202 else if ((s = open("/dev/null", O_WRONLY)) == -1) in setup0() 203 tst_brkm(TBROK | TERRNO, cleanup, "open(/dev/null) failed"); in setup0()
|
/third_party/lwip/src/apps/tftp/ |
H A D | tftp_server.c | 256 tftp_state.handle = tftp_state.ctx->open(filename, mode, opcode == PP_HTONS(TFTP_WRQ)); in recv() 260 send_error(addr, port, TFTP_ERROR_FILE_NOT_FOUND, "Unable to open requested file."); in recv()
|
/third_party/libwebsockets/lib/tls/ |
H A D | tls.c | 432 /* it exists if we can open it... */ in lws_tls_extant() 433 int fd = open(name, O_RDONLY); in lws_tls_extant() 520 lwsl_notice("%s: can't open nvs\n", __func__); in lws_tls_use_any_upgrade_check_extant()
|
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client/ |
H A D | minimal-http-client.c | 395 n = open("./warmcat.com.cer", O_RDONLY); in main()
|
/third_party/libdrm/tests/tegra/ |
H A D | vic-flip.c | 258 fd = open(device, O_RDWR); in main() 260 fprintf(stderr, "open() failed: %s\n", strerror(errno)); in main() 266 fprintf(stderr, "failed to open Tegra device: %s\n", strerror(-err)); in main() 273 fprintf(stderr, "failed to open channel to VIC: %s\n", strerror(-err)); in main()
|
H A D | vic-blit.c | 258 fd = open(device, O_RDWR); in main() 260 fprintf(stderr, "open() failed: %s\n", strerror(errno)); in main() 266 fprintf(stderr, "failed to open Tegra device: %s\n", strerror(-err)); in main() 273 fprintf(stderr, "failed to open channel to VIC: %s\n", strerror(-err)); in main()
|
/third_party/libfuse/lib/ |
H A D | helper.c | 287 nullfd = open("/dev/null", O_RDWR, 0); in fuse_daemonize()
|
/third_party/ltp/tools/sparse/sparse-src/Documentation/sphinx/ |
H A D | cdoc.py | 290 f = open(filename, 'r')
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | lib.c | 346 fd = open(filename, O_RDONLY); in sparse_file() 412 die("error: cannot open %s: %s", outfile, strerror(errno)); in sparse_initialize()
|
/third_party/node/deps/v8/src/torque/ |
H A D | utils.cc | 339 new_contents_stream.open(file_path.c_str()); in ReplaceFileContentsIfDifferent()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
H A D | ir3_cmdline.c | 200 fd = open(filename, O_RDONLY); in read_file() 202 warnx("couldn't open `%s'", filename); in read_file()
|