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

1 2 3 4

  /art/test/661-oat-writer-layout/
parse_oatdump_offsets.sh 26 tmp_file="$(mktemp)"
34 echo $line $found_method >> "$tmp_file"
38 sort "$tmp_file"
  /development/tools/idegen/
index-gen.sh 41 tmp_file=${root_dir}/tmp.txt
49 > $tmp_file
50 sed -e 's/LOCAL_PACKAGE_NAME *:= *//g' -e 's/LOCAL_MODULE *:= *//g' -e 's/\^M*$//g' < $tmp_file > $dest_file
52 mv $dest_file $tmp_file
55 grep -v "^$root_dir/vendor/google" $tmp_file > $dest_file
57 rm $tmp_file
  /external/chromium-trace/catapult/common/eslint/eslint/
smoke_test.py 27 tmp_file = tempfile.NamedTemporaryFile(
29 tmp_file.write(_TEMP_FILE_CONTENTS)
30 tmp_file.close()
32 success, output = eslint.RunEslint([tmp_file.name])
36 os.remove(tmp_file.name)
  /external/ltp/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/
ext4_nsec_timestamps_test.sh 50 touch mnt_point/tmp_file
52 atime=`ext4_file_time mnt_point/tmp_file atime nsec`
53 mtime=`ext4_file_time mnt_point/tmp_file mtime nsec`
54 ctime=`ext4_file_time mnt_point/tmp_file ctime nsec`
90 touch mnt_point/tmp_file
94 touch mnt_point/tmp_file
100 sec_atime=`ext4_file_time mnt_point/tmp_file atime sec`
101 sec_mtime=`ext4_file_time mnt_point/tmp_file mtime sec`
102 sec_ctime=`ext4_file_time mnt_point/tmp_file ctime sec`
103 nsec_atime=`ext4_file_time mnt_point/tmp_file atime nsec
    [all...]
  /external/ltp/testcases/kernel/fs/ext4-new-features/ext4-inode-version/
ext4_inode_version_test.sh 51 touch mnt_point/tmp_file
53 version=`ext4_get_inode_version.sh tmp_file`
62 version=`debugfs $EXT4_DEV -R "stat tmp_file" 2> /dev/null | grep 'Version'`
99 old_version=`ext4_test_inode_version $1 mnt_point/tmp_file tmp_file`
126 version=`ext4_get_inode_version.sh tmp_file`
  /system/extras/simpleperf/
cmd_kmem_test.cpp 45 TemporaryFile tmp_file; local
47 tmp_file.path};
50 ASSERT_TRUE(android::base::ReadFileToString(tmp_file.path, &result->content));
99 TemporaryFile tmp_file; local
101 ASSERT_TRUE(RunKmemRecordCmd({"--slab"}, tmp_file.path));
103 KmemReportRawFile(tmp_file.path, {}, &result);
109 TemporaryFile tmp_file; local
111 ASSERT_TRUE(RunKmemRecordCmd({"--slab", "-g"}, tmp_file.path));
113 KmemReportRawFile(tmp_file.path, {"-g"}, &result);
cmd_debug_unwind_test.cpp 82 TemporaryFile tmp_file; local
84 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", input_data, "-o", tmp_file.path}));
88 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", input_data, "-o", tmp_file.path, "--time",
96 TemporaryFile tmp_file; local
98 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", input_data, "-o", tmp_file.path, "--symfs",
101 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmp_file.path);
cmd_stat_test.cpp 114 TemporaryFile tmp_file; local
116 tmp_file.path, "sleep", "1"}));
118 ASSERT_TRUE(android::base::ReadFileToString(tmp_file.path, &s));
135 TemporaryFile tmp_file; local
138 tmp_file.path, "sleep", "2"}));
140 ASSERT_TRUE(android::base::ReadFileToString(tmp_file.path, &s));
gtest_main.cpp 57 TemporaryFile tmp_file; local
58 if (!android::base::WriteStringToFile(content, tmp_file.path)) {
59 PLOG(ERROR) << "failed to write file " << tmp_file.path;
62 ArchiveHelper ahelper(tmp_file.fd, tmp_file.path);
64 LOG(ERROR) << "failed to open archive " << tmp_file.path;
  /test/vts/utils/python/mirror/
shell_mirror.py 74 tmp_file = os.path.join(tmp_dir, result_type + str(index))
75 logging.info("pulling file: %s to %s", val, tmp_file)
76 self._adb.pull(val, tmp_file)
77 result_val[index] = open(tmp_file, "r").read()
  /external/autotest/client/site_tests/platform_DebugDaemonDumpDebugLogs/
platform_DebugDaemonDumpDebugLogs.py 19 tmp_file = os.path.join(self.tmp_dir, filename)
21 fh = os.open(tmp_file, os.O_TRUNC | os.O_CREAT | os.O_WRONLY)
29 with tarfile.open(tmp_file, mode) as tar_file:
  /external/perfetto/src/traced/probes/filesystem/
fs_mount_unittest.cc 54 base::TempFile tmp_file = base::TempFile::Create(); local
55 base::ignore_result(write(tmp_file.fd(), kMounts, sizeof(kMounts)));
57 ParseMounts(tmp_file.path().c_str());
  /external/v8/tools/
disasm.py 63 tmp_file = tempfile.NamedTemporaryFile(prefix=".v8code", delete=False)
64 tmp_name = tmp_file.name
65 tmp_file.close()
android-run.py 81 tmp_file = open(fname, "w")
82 tmp_file.write(data)
83 tmp_file.close()
  /bionic/linker/tests/
linker_config_test.cpp 120 TemporaryFile tmp_file; local
121 close(tmp_file.fd);
122 tmp_file.fd = -1;
124 android::base::WriteStringToFile(config_str, tmp_file.path);
139 ASSERT_TRUE(Config::read_binary_config(tmp_file.path,
227 TemporaryFile tmp_file; local
228 close(tmp_file.fd);
229 tmp_file.fd = -1;
231 android::base::WriteStringToFile(config_str, tmp_file.path);
239 ASSERT_FALSE(Config::read_binary_config(tmp_file.path
    [all...]
  /external/ltp/testcases/kernel/fs/ext4-new-features/ext4-online-defrag/
ext4_online_defrag_test.sh 48 touch mnt_point/tmp_file
49 echo "abc" > mnt_point/tmp_file
52 echo "abc" > mnt_point/tmp_dir/tmp_file
73 dest=mnt_point/tmp_dir/tmp_file
75 dest=mnt_point/tmp_file
96 $E4DEFRAG -v mnt_point/tmp_file
  /external/tensorflow/tensorflow/compiler/xla/legacy_flags/
parse_flags_from_env_test.cc 108 string tmp_file = tensorflow::strings::Printf("%s/parse_flags_from_env.%d", local
110 FILE* fp = fopen(tmp_file.c_str(), "w");
111 CHECK_NE(fp, nullptr) << "can't write to " << tmp_file;
116 CHECK_EQ(ferror(fp), 0) << "writes failed to " << tmp_file; local
119 setenv("TF_XLA_FLAGS", tmp_file.c_str(), true /*overwrite*/);
121 unlink(tmp_file.c_str());
  /external/autotest/client/common_lib/
autotemp_unittest.py 25 tmp_file = autotemp.tempfile(unique_id='del')
26 name = tmp_file.name
28 tmp_file.__del__()
  /external/perfetto/src/tracing/ipc/
posix_shared_memory_unittest.cc 69 base::TempFile tmp_file = base::TempFile::CreateUnlinked(); local
70 const int fd_num = tmp_file.fd();
75 PosixSharedMemory::AttachToFd(tmp_file.ReleaseFD());
  /art/tools/
test_presubmit.py 112 tmp_file = tempfile.mktemp()
116 success = run_tool(tool_dict, tmp_file)
120 print("$> %s" %(" ".join(command_line_for_tool(tool_dict, tmp_file))), file=sys.stderr)
122 if run_diff(f, tool_dict, tmp_file):
  /external/chromium-trace/catapult/systrace/atrace_helper/jni/
main.cc 107 char tmp_file[PATH_MAX]; local
110 sprintf(tmp_file, "%s.tmp", out_file);
111 out_stream = fopen(tmp_file, "w");
132 rename(tmp_file, out_file);
  /development/vndk/tools/definition-tool/tests/
test_elf_linker.py 477 with tempfile.NamedTemporaryFile(mode='w') as tmp_file:
478 tmp_file.write('/system/lib/liba.so: /system/lib/libb.so')
479 tmp_file.seek(0)
480 gb.graph.add_dlopen_deps(tmp_file.name)
495 with tempfile.NamedTemporaryFile(mode='w') as tmp_file:
496 tmp_file.write('/system/${LIB}/liba.so: /system/${LIB}/libb.so')
497 tmp_file.seek(0)
498 gb.graph.add_dlopen_deps(tmp_file.name)
513 with tempfile.NamedTemporaryFile(mode='w') as tmp_file:
514 tmp_file.write('/system/${LIB}/libb.so: /system/${LIB}/liba.so'
    [all...]
  /external/autotest/server/site_tests/brillo_StorageWriteSpeedTest/
brillo_StorageWriteSpeedTest.py 36 tmp_file = os.path.join(host.get_tmp_dir(), 'testfile')
39 (tmp_file, block_size, num_blocks))
  /external/libchrome/base/files/
important_file_writer.cc 103 File tmp_file(tmp_file_path, File::FLAG_OPEN | File::FLAG_WRITE);
104 if (!tmp_file.IsValid()) {
112 int bytes_written = tmp_file.Write(0, data.data(), data_length);
113 bool flush_success = tmp_file.Flush();
114 tmp_file.Close();
  /system/core/libziparchive/
zip_archive_test.cc 296 TemporaryFile tmp_file; local
297 ASSERT_NE(-1, tmp_file.fd);
298 ASSERT_TRUE(android::base::WriteFully(tmp_file.fd, kEmptyEntriesZip, sizeof(kEmptyEntriesZip)));
301 ASSERT_EQ(0, OpenArchiveFd(tmp_file.fd, "EmptyEntriesTest", &handle));
321 TemporaryFile tmp_file; local
322 ASSERT_NE(-1, tmp_file.fd);
323 ASSERT_TRUE(android::base::WriteFully(tmp_file.fd, reinterpret_cast<const uint8_t*>(kAbZip),
326 ASSERT_EQ(0, OpenArchiveFd(tmp_file.fd, "EntryLargerThan32KTest", &handle));
364 TemporaryFile tmp_file; local
365 ASSERT_NE(-1, tmp_file.fd)
377 TemporaryFile tmp_file; local
580 TemporaryFile tmp_file; local
687 TemporaryFile tmp_file; local
    [all...]

Completed in 449 milliseconds

1 2 3 4