/third_party/libdrm/ |
H A D | symbols-check.py | 29 stderr=open(os.devnull, 'w')).decode("ascii") 70 with open(args.symbols_file) as symbols_file:
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 11-6.c | 68 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, in main() 71 printf("Error at open(): %s\n", strerror(errno)); in main() 116 fd = open(tmpfname, O_RDWR, 0); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | remap_file_pages.c | 107 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in remap_file_pages_0100() 109 t_error("%s open failed\n", __func__); in remap_file_pages_0100() 116 fd = open(path, O_RDWR); in remap_file_pages_0100() 118 t_error("%s open failed\n", __func__); in remap_file_pages_0100()
|
H A D | sendfile.c | 44 int fromfd = open(fromfile, O_RDONLY); in sendfile_0100() 46 t_error("%s failed: open. fromfd = %d\n", __func__, fromfd); in sendfile_0100() 49 int tofd = open(tofile, O_WRONLY | O_CREAT, TEST_MODE); in sendfile_0100() 51 t_error("%s failed: open. tofd = %d\n", __func__, tofd); in sendfile_0100()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_epoll.cpp | 53 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Epoll_ctl() 55 perror("open epoll_ctl"); in Bm_function_Epoll_ctl() 75 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Epoll_wait() 77 perror("open epoll_wait"); in Bm_function_Epoll_wait()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | utimensat.c | 35 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in utimensat_0100() 85 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in utimensat_time64_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | pwritev.c | 37 int fd = open("pwritev_function_value.c", O_RDWR | O_CREAT, TEST_MODE); in pwritev_0100() 66 int fd = open("pwritev_function_value.c", O_RDWR | O_CREAT, TEST_MODE); in pwritev_0200()
|
/third_party/rust/crates/io-lifetimes/tests/ |
H A D | ffi.rs | 19 open( in test_file_not_found() 56 assert!(unsafe { open("Cargo.toml\0".as_ptr() as *const _, O_RDONLY | O_CLOEXEC) }.is_some()); in test_file_found()
|
/third_party/python/Tools/freeze/ |
H A D | makefreeze.py | 42 with bkfile.open(base + file, 'w') as outfp: 55 with bkfile.open(base + 'frozen.c', 'w') as outfp:
|
H A D | parsesetup.py | 14 fp = open(filename) 51 fp = open(filename)
|
/third_party/python/Tools/scripts/ |
H A D | diff.py | 43 with open(fromfile) as ff: 45 with open(tofile) as tf:
|
H A D | get-remote-certificate.py | 32 with open(tn, "wb") as fp: 41 with open(tn2, 'rb') as fp:
|
H A D | mkreal.py | 21 with open(name, 'rb') as f_in: # This ensures it's a file 23 with open(name, 'wb') as f_out:
|
/third_party/python/Doc/includes/ |
H A D | email-read-alternative.py | 22 with open('outgoing.msg', 'rb') as fp: 73 webbrowser.open(f.name)
|
H A D | email-dir.py | 62 with open(path, 'rb') as fp: 69 with open(args.output, 'wb') as fp:
|
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | grammar.py | 89 with open(filename, "wb") as f: 94 with open(filename, "rb") as f:
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_errno.py | 16 libc_open = libc.open 33 libc_open = libc.open
|
/third_party/python/Lib/importlib/resources/ |
H A D | simple.py | 69 def open(self, mode='r', *args, **kwargs): member in ResourceHandle 99 def open(self, *args, **kwargs): member in ResourceContainer
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | gen_emulated_builtin_function_tables.py | 74 with open(path) as map_file: 144 with open(hlsl_fname, 'wt') as f:
|
/third_party/skia/third_party/externals/angle2/src/tests/gles_conformance_tests/ |
H A D | generate_gles_conformance_tests.py | 8 file = open(filename, "r") 67 output = open(argv[2], 'wb')
|
/third_party/skia/third_party/externals/brotli/python/tests/ |
H A D | decompressor_test.py | 35 with open(temp_uncompressed, 'wb') as out_file: 36 with open(test_data, 'rb') as in_file:
|
/third_party/skia/tools/copyright/ |
H A D | main.py | 95 with open(filepath, 'r') as file_handle: 104 with open(filepath, 'w') as file_handle:
|
/third_party/skia/tools/skpbench/ |
H A D | skiaperf.py | 73 with open(src, mode='r') as infile: 86 with open(FLAGS.outfile, 'w+') as outfile:
|
/third_party/skia/tools/trace/ |
H A D | SkDebugfTracer.cpp | 67 bool open = (phase == TRACE_EVENT_PHASE_COMPLETE); in addTraceEvent() local 68 if (open) { in addTraceEvent()
|
/third_party/skia/third_party/externals/icu/scripts/ |
H A D | make_data_assembly.py | 44 input_data = open(input_file, 'rb').read() 51 output = open(output_file, 'w')
|