HomeSort by relevance Sort by last modified time
    Searched refs:temp_file (Results 1 - 25 of 49) sorted by null

1 2

  /build/make/tools/fs_config/
test_fs_config_generator.py 67 with tempfile.NamedTemporaryFile() as temp_file:
68 temp_file.write(
78 temp_file.flush()
80 parser = AIDHeaderParser(temp_file.name)
94 with tempfile.NamedTemporaryFile() as temp_file:
95 temp_file.write(
105 temp_file.flush()
107 parser = AIDHeaderParser(temp_file.name)
121 with tempfile.NamedTemporaryFile() as temp_file:
122 temp_file.write
    [all...]
  /external/perfetto/src/base/
temp_file.cc 17 #include "perfetto/base/temp_file.h"
35 TempFile temp_file; local
38 temp_file.path_.assign(tmpdir);
40 temp_file.path_.assign(kSysTmpPath);
42 temp_file.path_.append("/perfetto-XXXXXXXX");
43 temp_file.fd_.reset(mkstemp(&temp_file.path_[0]));
44 PERFETTO_CHECK(temp_file.fd_);
45 return temp_file;
50 TempFile temp_file = TempFile::Create() local
    [all...]
  /external/autotest/server/site_tests/brillo_ADBFileTransfer/
brillo_ADBFileTransfer.py 25 self.temp_file = tempfile.NamedTemporaryFile()
26 self.temp_file.write(_DATA_STR)
27 self.temp_file.flush()
28 os.fsync(self.temp_file.file.fileno())
43 host.send_file(self.temp_file.name, device_temp_file,
48 if not filecmp.cmp(self.temp_file.name,
58 self.temp_file.close()
  /bootable/recovery/tests/unit/
sysutil_test.cpp 38 TemporaryFile temp_file; local
39 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path));
41 auto block_map_data = BlockMapData::ParseBlockMapFile(temp_file.path);
58 TemporaryFile temp_file; local
59 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path));
61 auto block_map_data1 = BlockMapData::ParseBlockMapFile(temp_file.path);
73 TemporaryFile temp_file; local
74 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path));
76 auto block_map_data = BlockMapData::ParseBlockMapFile(temp_file.path);
82 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path))
152 TemporaryFile temp_file; local
    [all...]
  /external/autotest/server/site_tests/network_DiskFull/
hog_disk.sh 38 temp_file=$(mktemp --tmpdir="$mount_point" hog_disk.XXXXXXXXXX)
39 trap 'rm -f "$temp_file"' EXIT
43 fallocate --length "$mount_size_bytes" "$temp_file" 2>/dev/null || true
  /external/skia/infra/bots/buildstats/
buildstats_wasm.py 56 temp_file = input_file + '_tmp'
57 subprocess.check_call(['cp', input_file, temp_file])
58 subprocess.check_call(['gzip', temp_file])
60 r['gzip_size_bytes'] = os.path.getsize(temp_file + '.gz')
buildstats_web.py 40 temp_file = input_file + '_tmp'
41 subprocess.check_call(['cp', input_file, temp_file])
42 subprocess.check_call(['gzip', temp_file])
44 r['gzip_size_bytes'] = os.path.getsize(temp_file + '.gz')
  /external/skqp/infra/bots/buildstats/
buildstats_wasm.py 56 temp_file = input_file + '_tmp'
57 subprocess.check_call(['cp', input_file, temp_file])
58 subprocess.check_call(['gzip', temp_file])
60 r['gzip_size_bytes'] = os.path.getsize(temp_file + '.gz')
buildstats_web.py 40 temp_file = input_file + '_tmp'
41 subprocess.check_call(['cp', input_file, temp_file])
42 subprocess.check_call(['gzip', temp_file])
44 r['gzip_size_bytes'] = os.path.getsize(temp_file + '.gz')
  /bootable/recovery/tests/component/
install_test.cpp 53 TemporaryFile temp_file; local
55 BuildZipArchive({ { "dummy_entry", "" } }, temp_file.release(), kCompressStored);
59 ASSERT_EQ(0, OpenArchive(temp_file.path, &zip));
65 TemporaryFile temp_file; local
66 BuildZipArchive({ { "compatibility.zip", "" } }, temp_file.release(), kCompressStored);
70 ASSERT_EQ(0, OpenArchive(temp_file.path, &zip));
76 TemporaryFile temp_file; local
78 BuildZipArchive({ { "META-INF/com/android/metadata", content } }, temp_file.release(),
82 ASSERT_EQ(0, OpenArchive(temp_file.path, &zip));
100 TemporaryFile temp_file; local
117 TemporaryFile temp_file; local
142 TemporaryFile temp_file; local
175 TemporaryFile temp_file; local
195 TemporaryFile temp_file; local
234 TemporaryFile temp_file; local
251 TemporaryFile temp_file; local
304 TemporaryFile temp_file; local
363 TemporaryFile temp_file; local
    [all...]
sideload_test.cpp 67 TemporaryFile temp_file; local
68 ASSERT_TRUE(android::base::WriteStringToFile(content, temp_file.path));
70 auto provider = std::make_unique<FuseFileDataProvider>(temp_file.path, 4096);
  /external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
tDomain_Split.py 71 self.temp_file="f_temp_file"
75 if os.path.exists(self.temp_file):
76 os.remove(self.temp_file)
115 f_temp_file = open(self.temp_file, "w")
120 for line in open(self.temp_file, "r"):
126 os.remove(self.temp_file)
132 f_temp_file = open(self.temp_file, "w")
138 for line in open(self.temp_file, "r"):
155 os.remove(self.temp_file)
178 f_temp_file = open(self.temp_file, "w"
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/tools/
rtp_file_source.cc 36 rtc::scoped_ptr<RtpFileReader> temp_file(
38 return !!temp_file;
42 rtc::scoped_ptr<RtpFileReader> temp_file(
44 return !!temp_file;
  /external/toolchain-utils/cros_utils/
no_pseudo_terminal_test.py 40 temp_file = tempfile.mktemp()
41 self.assertTrue(self._AttachStraceToSelf(temp_file))
48 strace_contents = open(temp_file).read()
  /external/tensorflow/tensorflow/tools/compatibility/
tf_upgrade_test.py 138 temp_file = tempfile.NamedTemporaryFile("w", delete=False)
141 temp_file.write(original)
142 temp_file.close()
144 upgrader.process_file(temp_file.name, temp_file.name)
145 self.assertAllEqual(open(temp_file.name).read(), upgraded)
146 os.unlink(temp_file.name)
ipynb.py 37 with tempfile.NamedTemporaryFile("w", delete=False) as temp_file:
42 if temp_file and processed_file:
45 json.dump(new_notebook, temp_file)
54 shutil.move(temp_file.name, out_filename)
  /external/autotest/client/cros/
gpio.py 85 temp_fd, temp_file = tempfile.mkstemp()
87 command = "crossystem %s 2>%s" % (name, temp_file)
92 with open(temp_file, 'r') as temp_handle:
  /external/autotest/site_utils/stats/
apache_access_log_metrics_unittest.py 68 with tempfile.NamedTemporaryFile() as temp_file:
70 '--debug-metrics-file', temp_file.name],
74 with open(temp_file.name) as fh:
apache_error_log_metrics_unittest.py 82 with tempfile.NamedTemporaryFile() as temp_file:
84 '--debug-metrics-file', temp_file.name],
88 with open(temp_file.name) as fh:
  /external/autotest/server/site_tests/power_DeferForFlashrom/
power_DeferForFlashrom.py 55 temp_file = self.host.run(
59 (source_path, temp_file, size))
60 logging.info('Created %s', temp_file)
61 return temp_file
  /external/libjpeg-turbo/
jmemsys.h 140 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
145 FILE *temp_file; /* stdio reference to temp file */ member in struct:backing_store_struct
  /external/google-breakpad/src/tools/windows/symupload/
symupload.cc 133 FILE *temp_file = NULL; local
135 if (_wfopen_s(&temp_file, temp_filename, L"w") != 0)
139 if (!(temp_file = _wfopen(temp_filename, L"w")))
145 bool success = writer.WriteMap(temp_file);
146 fclose(temp_file);
  /external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/
tFunction_listingFunctions.py 64 self.temp_file="tempfile"
71 if os.path.exists(self.temp_file):
72 os.remove(self.temp_file)
316 f_temp_file = open(self.temp_file, "w")
321 f_temp_file = open(self.temp_file, "r")
368 f_temp_file = open(self.temp_file, "w")
373 f_temp_file = open(self.temp_file, "r")
420 f_temp_file = open(self.temp_file, "w")
425 f_temp_file = open(self.temp_file, "r")
469 f_temp_file = open(self.temp_file, "w"
    [all...]
  /device/generic/goldfish/tools/
mk_combined_img.py 79 partition["fd"], temp_file = mkstemp()
80 shell_command([simg2img, partition["path"], temp_file])
81 partition["path"] = temp_file
  /external/perf_data_converter/src/quipper/
scoped_temp_path_test.cc 74 ScopedTempFile temp_file; local
75 path = temp_file.path();
90 ScopedTempFile temp_file(prefix);
91 path = temp_file.path();

Completed in 805 milliseconds

1 2