Home
last modified time | relevance | path

Searched refs:open (Results 551 - 575 of 3243) sorted by relevance

1...<<21222324252627282930>>...130

/third_party/libdrm/
H A Dsymbols-check.py29 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 D11-6.c68 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 Dremap_file_pages.c107 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 Dsendfile.c44 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 Dlibc_epoll.cpp53 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 Dutimensat.c35 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 Dpwritev.c37 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 Dffi.rs19 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 Dmakefreeze.py42 with bkfile.open(base + file, 'w') as outfp:
55 with bkfile.open(base + 'frozen.c', 'w') as outfp:
H A Dparsesetup.py14 fp = open(filename)
51 fp = open(filename)
/third_party/python/Tools/scripts/
H A Ddiff.py43 with open(fromfile) as ff:
45 with open(tofile) as tf:
H A Dget-remote-certificate.py32 with open(tn, "wb") as fp:
41 with open(tn2, 'rb') as fp:
H A Dmkreal.py21 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 Demail-read-alternative.py22 with open('outgoing.msg', 'rb') as fp:
73 webbrowser.open(f.name)
H A Demail-dir.py62 with open(path, 'rb') as fp:
69 with open(args.output, 'wb') as fp:
/third_party/python/Lib/lib2to3/pgen2/
H A Dgrammar.py89 with open(filename, "wb") as f:
94 with open(filename, "rb") as f:
/third_party/python/Lib/ctypes/test/
H A Dtest_errno.py16 libc_open = libc.open
33 libc_open = libc.open
/third_party/python/Lib/importlib/resources/
H A Dsimple.py69 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 Dgen_emulated_builtin_function_tables.py74 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 Dgenerate_gles_conformance_tests.py8 file = open(filename, "r")
67 output = open(argv[2], 'wb')
/third_party/skia/third_party/externals/brotli/python/tests/
H A Ddecompressor_test.py35 with open(temp_uncompressed, 'wb') as out_file:
36 with open(test_data, 'rb') as in_file:
/third_party/skia/tools/copyright/
H A Dmain.py95 with open(filepath, 'r') as file_handle:
104 with open(filepath, 'w') as file_handle:
/third_party/skia/tools/skpbench/
H A Dskiaperf.py73 with open(src, mode='r') as infile:
86 with open(FLAGS.outfile, 'w+') as outfile:
/third_party/skia/tools/trace/
H A DSkDebugfTracer.cpp67 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 Dmake_data_assembly.py44 input_data = open(input_file, 'rb').read()
51 output = open(output_file, 'w')

Completed in 7 milliseconds

1...<<21222324252627282930>>...130