Home
last modified time | relevance | path

Searched refs:open_file (Results 1 – 25 of 36) sorted by relevance

12

/third_party/libpsl/msvc/
Dreplace.py22 def open_file(filename, mode): function
29 with open_file(src, 'r') as s:
30 with open_file(dest, 'w') as d:
/third_party/python/Doc/tools/extensions/
Descape4chm.py44 with app.builder.open_file(outdir, outname + '.hhk', 'r') as f:
46 with app.builder.open_file(outdir, outname + '.hhk', 'w') as f:
/third_party/python/Lib/test/
Dtest_devpoll.py92 open_file = open(__file__, "rb")
93 self.addCleanup(open_file.close)
94 fd = open_file.fileno()
Dtest_modulefinder.py293 def open_file(path): function
316 ofi = open_file(os.path.join(TEST_DIR, line.strip()))
386 with open_file(source_path) as file:
Dtest_epoll.py232 open_file = open(__file__, "rb")
233 self.addCleanup(open_file.close)
234 fd = open_file.fileno()
Dtest_kqueue.py234 open_file = open(__file__, "rb")
235 self.addCleanup(open_file.close)
236 fd = open_file.fileno()
Dtest_tempfile.py1447 with open(temp_path / "a_file.txt", "w+t") as open_file:
1448 open_file.write("Hello world!\n")
1506 with open(temp_path / "a_file.txt", "w+t") as open_file:
1507 open_file.write("Hello world!\n")
/third_party/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc6.c121 int open_file(char *, int);
180 fd = open_file(filename, O_RDWR); in main()
260 int open_file(char *file, int open_mode) in open_file() function
/third_party/flutter/skia/third_party/externals/sdl/src/video/
Dsdlgenblit.pl88 sub open_file { subroutine
517 open_file("SDL_blit_auto.h");
527 open_file("SDL_blit_auto.c");
/third_party/glib/gio/
Dgopenuriportal.c201 gboolean open_file; in open_call_done() local
208 open_file = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (task), "open-file")); in open_call_done()
210 if (open_file) in open_call_done()
/third_party/boost/boost/gil/extension/io/raw/detail/
Ddevice.hpp102 io_error_if( _processor_ptr.get()->open_file( file_name.c_str() ) != LIBRAW_SUCCESS in file_stream_device()
114 io_error_if( _processor_ptr.get()->open_file( file_name ) != LIBRAW_SUCCESS in file_stream_device()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify04.c95 static void open_file(char *file) in open_file() function
192 open_file(fname); in test01()
/third_party/cef/libcef_dll/ctocpp/
Dzip_reader_ctocpp.cc170 if (CEF_MEMBER_MISSING(_struct, open_file)) in OpenFile()
178 int _retval = _struct->open_file(_struct, password.GetStruct()); in OpenFile()
/third_party/mesa3d/src/amd/compiler/tests/
Dglsl_scraper.py272 def open_file(name, mode): function
313 with open_file(infname, 'r') as infile:
320 with open_file(outfname, 'w') as outfile:
/third_party/boost/libs/iostreams/src/
Dmapped_file.cpp66 void open_file(param_type p);
92 open_file(p); in open()
167 void mapped_file_impl::open_file(param_type p) in open_file() function in boost::iostreams::detail::mapped_file_impl
/third_party/boost/libs/exception/example/
Derrinfos.cpp29 open_file( char const * file, char const * mode ) in open_file() function
/third_party/cef/include/capi/
Dcef_zip_reader_capi.h112 int(CEF_CALLBACK* open_file)(struct _cef_zip_reader_t* self,
/third_party/ffmpeg/libavformat/
Dconcatdec.c328 static int open_file(AVFormatContext *avf, unsigned fileno) in open_file() function
511 if ((ret = open_file(avf, 0)) < 0) in concat_read_header()
533 return open_file(avf, fileno); in open_next_file()
711 if ((ret = open_file(avf, left)) < 0) in real_seek()
723 if ((ret = open_file(avf, left + 1)) < 0) in real_seek()
/third_party/ltp/metadata/
Dmetaparse.c222 static FILE *open_file(const char *dir, const char *fname) in open_file() function
256 inc = open_file(includepath, fname); in open_include()
265 inc = open_file(cmdline_includepath[i], fname); in open_include()
/third_party/ntfs-3g/src/
Dlowntfs-3g.c214 struct open_file { struct
215 struct open_file *next; argument
216 struct open_file *previous; argument
1606 struct open_file *of; in ntfs_fuse_open()
1679 of = (struct open_file*)malloc(sizeof(struct open_file)); in ntfs_fuse_open()
1688 of->previous = (struct open_file*)NULL; in ntfs_fuse_open()
1731 struct open_file *of; in ntfs_fuse_read()
1733 of = (struct open_file*)(long)fi->fh; in ntfs_fuse_read()
1812 struct open_file *of; in ntfs_fuse_write()
1814 of = (struct open_file*)(long)fi->fh; in ntfs_fuse_write()
[all …]
Dntfs-3g_common.h179 struct open_file *open_files; /* only defined in lowntfs-3g */
/third_party/boost/libs/outcome/doc/src/content/experimental/
Doutcome.md15 {{% snippet "experimental_status_code.cpp" "open_file" %}}
/third_party/cef/libcef_dll/cpptoc/
Dzip_reader_cpptoc.cc265 GetStruct()->open_file = zip_reader_open_file; in CefZipReaderCppToC()
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c287 static int open_file(segment_t * segp) in open_file() function
541 return open_file(segp); in segment_register()
/third_party/ntfs-3g/ntfsprogs/
Dntfsundelete.c1901 static int open_file(const char *pathname) in open_file() function
2048 fd = open_file(pathname); in undelete_file()
2078 fd = open_file(pathname); in undelete_file()
2388 fd = open_file(pathname); in copy_mft()

12