Home
last modified time | relevance | path

Searched refs:open (Results 726 - 750 of 3260) sorted by relevance

1...<<21222324252627282930>>...131

/third_party/python/Lib/distutils/command/
H A Dbuild_scripts.py72 # Always open the file, but ignore failures in dry-run mode --
76 f = open(script, "rb")
129 with open(outfile, "wb") as outf:
/third_party/skia/tools/rebaseline/
H A Dtoggle_legacy_flag.py69 with open(config_file) as f:
87 with open(config_file, 'w') as f:
/third_party/skia/tools/skottie-wasm-perf/
H A Dparse_perf_csvs.py27 with open(csv_file, 'rb') as f:
81 with open(output_csv, 'w') as f:
/third_party/unity/test/spec/
H A Dgenerate_module_existing_file_spec.rb14 File.open("sandbox/src/#{file}", "w") {|f| f.write("the original #{file}")}
18 File.open("sandbox/test/#{file}", "w") {|f| f.write("the original #{file}")}
/third_party/vixl/tools/
H A Dgenerate_tests.py712 with open(template_file, "r") as f:
766 with open(
/third_party/python/Lib/test/test_tools/
H A Dtest_pathfix.py31 with open(filename, 'w', encoding='utf8') as f:
47 with open(filename, 'r', encoding='utf8') as f:
/third_party/python/Lib/zoneinfo/
H A D_tzpath.py110 This may attempt to open a large number of files, since the best way to
111 determine if a given file on the time zone search path is to open it
121 with resources.files("tzdata").joinpath("zones").open("r") as f:
131 with open(fpath, "rb") as f:
/third_party/skia/gn/
H A Dcompile_sksl_tests.py19 with open(sys.argv[4], 'r') as reader:
44 open(path, 'wb').close()
/third_party/skia/infra/bots/
H A Dzip_utils.py53 with open(filepath, 'rb') as f:
75 with open(dst_path, 'wb') as f:
/third_party/rust/crates/nix/test/
H A Dtest_dir.rs24 let mut dir = Dir::open(tmp.path(), flags(), Mode::empty()).unwrap(); in read()
44 let mut dir = Dir::open(tmp.path(), flags(), Mode::empty()).unwrap(); in rewind()
/third_party/vk-gl-cts/scripts/
H A Dconvert_case_list_to_xml.py72 lines = open(packageName + ".cases").readlines()
95 open(packageName + "-cases.xml", "wt").write(xml)
/third_party/zlib/contrib/iostream/
H A Dzfstream.h15 gzfilebuf *open( const char *name, int io_mode );
55 void open( const char *name, int io_mode );
/third_party/python/Lib/test/
H A Dtest_os.py93 with open(filename, "xb", 0) as fp:
182 f = os.open(os_helper.TESTFN, os.O_CREAT|os.O_RDWR)
193 first = os.open(os_helper.TESTFN, os.O_CREAT|os.O_RDWR)
209 # close a fd that is open, and one that isn't
222 with open(os_helper.TESTFN, "w+b") as fobj:
243 with open(os_helper.TESTFN, "rb") as fp:
252 fd = os.open(os_helper.TESTFN, os.O_CREAT | os.O_WRONLY)
258 with open(os_helper.TESTFN, "rb") as fobj:
282 fd = os.open(os_helper.TESTFN, os.O_RDONLY)
287 fd = os.open(os_helpe
[all...]
H A Dtest_asyncore.py377 with open(os_helper.TESTFN, 'wb') as file:
384 fd = os.open(os_helper.TESTFN, os.O_RDONLY)
398 fd = os.open(os_helper.TESTFN, os.O_WRONLY | os.O_APPEND)
405 with open(os_helper.TESTFN, 'rb') as file:
411 fd = os.open(os_helper.TESTFN, os.O_RDONLY)
423 fd = os.open(os_helper.TESTFN, os.O_RDONLY)
432 fd = os.open(os_helper.TESTFN, os.O_RDONLY)
H A Dtest_venv.py94 with open(self.get_env_file(*args), 'r', encoding=encoding) as f:
327 with open(fn, 'wb') as f:
339 with open(fn, 'rb') as f:
360 with open(fn, 'wb') as f:
509 with open(test_script, "w") as f:
645 with open(os.devnull, "rb") as f:
677 with open(fpath, 'w') as f:
H A Dtest_shutil.py84 with open(path, mode, encoding=encoding) as fp:
100 with open(path, 'wb') as f:
116 with open(path, mode, encoding=encoding) as fp:
142 with open(srcname, "rb") as src:
389 _use_fd_functions = ({os.open, os.stat, os.unlink, os.rmdir} <=
417 dir_fd = os.open(tmp_dir, os.O_RDONLY)
461 open(os.path.join(src, 'spam'), 'wb').close()
707 with open(os.path.join(src, 'foo'), 'w', encoding='utf-8') as f:
786 with open(os.path.join(src_dir, 'real_dir', 'test.txt'), 'wb'):
1233 with open(sr
[all...]
/third_party/curl/tests/server/
H A Dsws.c106 bool open; /* keep connection open info, as found in the request */ member
273 logmsg(" Couldn't open test file %ld", req->testno); in parse_servercmd()
274 req->open = FALSE; /* closes connection */ in parse_servercmd()
288 req->open = FALSE; /* closes connection */ in parse_servercmd()
303 req->open = TRUE; in parse_servercmd()
497 req->open = FALSE; /* HTTP 1.0 closes connection by default */ in ProcessRequest()
639 req->open = FALSE; /* closes connection */ in ProcessRequest()
748 req->open = FALSE; /* close connection after this request */ in ProcessRequest()
750 if(req->open in ProcessRequest()
[all...]
/third_party/python/Modules/
H A D_xxsubinterpretersmodule.c492 int open; member
505 end->open = 1; in _channelend_new()
623 if (!end->open) { in _channelends_associate()
651 end->open = 0; in _channelends_close_end()
719 int open; member
748 chan->open = 1; in _channel_new()
773 if (!chan->open) { in _channel_add()
797 if (!chan->open) { in _channel_next()
807 chan->open = 0; in _channel_next()
824 if (!chan->open) { in _channel_close_interpreter()
[all...]
/third_party/node/deps/v8/tools/
H A Dcallstats.py74 with open(os.devnull, 'w') as null:
204 with open(result, "wt") as f:
205 with open(args.log_stderr or os.devnull, 'at') as err:
216 with open(result, "at") as f:
239 with open(args.sites_file, "rt") as f:
249 with open(args.sites_file, "rt") as f:
390 with open(path, "rt") as f:
/third_party/node/deps/openssl/openssl/util/
H A Dfind-doc-nits801 open my $OUT, '>', $temp
802 or die "Can't open $temp, $!";
806 open $OUT, '<', $temp
858 open my $IN, '<', catfile($config{sourcedir}, $file)
859 or die "Can't open $file, $!, stopped";
878 open FH, catfile($config{sourcedir}, $missingfile)
879 or die "Can't open $missingfile";
927 open(IN, $f)
928 or die "Can't open $f, $!";
1075 open CF
[all...]
/third_party/openssl/util/
H A Dfind-doc-nits801 open my $OUT, '>', $temp
802 or die "Can't open $temp, $!";
806 open $OUT, '<', $temp
858 open my $IN, '<', catfile($config{sourcedir}, $file)
859 or die "Can't open $file, $!, stopped";
878 open FH, catfile($config{sourcedir}, $missingfile)
879 or die "Can't open $missingfile";
927 open(IN, $f)
928 or die "Can't open $f, $!";
1075 open CF
[all...]
/third_party/skia/third_party/externals/expat/expat/lib/
H A Dxmltok_impl.c618 int open;
625 open = BYTE_TYPE(enc, ptr);
626 if (open == BT_QUOT || open == BT_APOS)
628 switch (open) {
644 if (t == open)
981 PREFIX(scanLit)(int open, const ENCODING *enc, const char *ptr, const char *end,
990 if (t != open)
1511 int open = 0; /* defined when state == inValue;
1543 open
[all...]
/third_party/python/Modules/expat/
H A Dxmltok_impl.c620 int open; in scanAtts() local
627 open = BYTE_TYPE(enc, ptr); in scanAtts()
628 if (open == BT_QUOT || open == BT_APOS) in scanAtts()
630 switch (open) { in scanAtts()
646 if (t == open) in scanAtts()
983 PREFIX(scanLit)(int open, const ENCODING *enc, const char *ptr, const char *end, in scanLit() argument
992 if (t != open) in scanLit()
1513 int open = 0; /* defined when state == inValue; in getAtts() local
1545 open in getAtts()
[all...]
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
H A Dvpu.c159 fd = open(path, O_RDWR | O_CLOEXEC); in VPUClientInit()
166 HDF_LOGE("failed to open %s, errno = %d, error msg: %s\n", \ in VPUClientInit()
337 fd = open("/dev/vpu_service", O_RDWR | O_CLOEXEC); in VPUCheckSupportWidth()
339 fd = open("/dev/vpu-service", O_RDWR | O_CLOEXEC); in VPUCheckSupportWidth()
/third_party/elfutils/tests/
H A Dfillfile.c205 int fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, DEFFILEMODE); in check_elf()
208 printf ("cannot open `%s': %s\n", fname, strerror (errno)); in check_elf()
270 fd = open (fname, O_RDWR); in check_elf()
273 printf ("cannot (re)open `%s': %s\n", fname, strerror (errno)); in check_elf()
351 fd = open (fname, O_RDONLY); in check_elf()
354 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); in check_elf()

Completed in 23 milliseconds

1...<<21222324252627282930>>...131