/third_party/node/tools/ |
H A D | install.py | 23 with open('config.gypi') as f:
|
/third_party/ntfs-3g/include/fuse-lite/ |
H A D | fuse_lowlevel.h | 80 * for open(), FUSE uses attr.st_size from lookup() to determine 227 * contain the value set by the open method or will be undefined 228 * if the open method didn't set any value. Otherwise (not 387 void (*open) (fuse_req_t req, fuse_ino_t ino, member 400 * fi->fh will contain the value set by the open method, or will 401 * be undefined if the open method didn't set any value. 425 * fi->fh will contain the value set by the open method, or will 426 * be undefined if the open method didn't set any value. 448 * one open call there may be many flush calls. 453 * fi->fh will contain the value set by the open metho [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A D | intel_sanitize_gpu.c | 24 #undef _FILE_OFFSET_BITS /* prevent #define open open64 */ 321 open(const char *path, int flags, ...) in open() function 342 __attribute__ ((visibility ("default"), alias ("open"))) int 429 libc_open = dlsym(RTLD_NEXT, "open"); in init()
|
H A D | aubinator.c | 218 fd = open(filename, O_RDONLY); in aub_file_open() 220 fprintf(stderr, "open %s failed: %s\n", filename, strerror(errno)); in aub_file_open() 378 fprintf(stderr, "Unable to allocate buffer to open aub file\n"); in main()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | toolutil.cpp | 222 ofs.open(goldenFilePath); in uprv_compareGoldenFiles()
|
/third_party/mesa3d/include/android_stub/hardware/ |
H A D | gralloc1.h | 309 return module->methods->open(module, GRALLOC_HARDWARE_MODULE_ID, in gralloc1_open()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | toolutil.cpp | 222 ofs.open(goldenFilePath); in uprv_compareGoldenFiles()
|
/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()
|