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

1 2 3

  /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_stat_test.cpp 104 TemporaryFile tmp_file; local
106 tmp_file.path, "sleep", "1"}));
108 ASSERT_TRUE(android::base::ReadFileToString(tmp_file.path, &s));
125 TemporaryFile tmp_file; local
128 tmp_file.path, "sleep", "2"}));
130 ASSERT_TRUE(android::base::ReadFileToString(tmp_file.path, &s));
gtest_main.cpp 53 TemporaryFile tmp_file; local
54 if (!android::base::WriteStringToFile(content, tmp_file.path)) {
55 PLOG(ERROR) << "failed to write file " << tmp_file.path;
58 ArchiveHelper ahelper(tmp_file.fd, tmp_file.path);
60 LOG(ERROR) << "failed to open archive " << tmp_file.path;
read_elf_test.cpp 143 TemporaryFile tmp_file; local
144 ASSERT_EQ(ElfStatus::READ_FAILED, IsValidElfPath(tmp_file.path));
145 ASSERT_TRUE(android::base::WriteStringToFile("wrong format for elf", tmp_file.path));
146 ASSERT_EQ(ElfStatus::FILE_MALFORMED, IsValidElfPath(tmp_file.path));
  /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/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()
  /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/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/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))
  /bionic/linker/tests/
linker_config_test.cpp 109 TemporaryFile tmp_file; local
110 close(tmp_file.fd);
111 tmp_file.fd = -1;
113 android::base::WriteStringToFile(config_str, tmp_file.path);
129 ASSERT_TRUE(Config::read_binary_config(tmp_file.path,
  /external/libchrome/base/files/
important_file_writer.cc 94 File tmp_file(tmp_file_path, File::FLAG_OPEN | File::FLAG_WRITE);
95 if (!tmp_file.IsValid()) {
102 int bytes_written = tmp_file.Write(0, data.data(), data_length);
103 bool flush_success = tmp_file.Flush();
104 tmp_file.Close();
  /test/vts/utils/native/trace_processor/
VtsTraceProcessor.cpp 100 string tmp_file = trace_file + "_tmp"; local
101 if (!WriteRecords(tmp_file, clean_records)) {
102 cerr << "Failed to write new trace file: " << tmp_file << endl;
105 if (rename(tmp_file.c_str(), trace_file.c_str())) {
  /system/core/libziparchive/
zip_archive_test.cc 392 TemporaryFile tmp_file; local
393 ASSERT_NE(-1, tmp_file.fd);
394 ASSERT_TRUE(android::base::WriteFully(tmp_file.fd, kEmptyEntriesZip, sizeof(kEmptyEntriesZip)));
397 ASSERT_EQ(0, OpenArchiveFd(tmp_file.fd, "EmptyEntriesTest", &handle));
418 TemporaryFile tmp_file; local
419 ASSERT_NE(-1, tmp_file.fd);
420 ASSERT_TRUE(android::base::WriteFully(tmp_file.fd, reinterpret_cast<const uint8_t*>(kAbZip),
423 ASSERT_EQ(0, OpenArchiveFd(tmp_file.fd, "EntryLargerThan32KTest", &handle));
462 TemporaryFile tmp_file; local
463 ASSERT_NE(-1, tmp_file.fd)
475 TemporaryFile tmp_file; local
    [all...]
  /development/scripts/
stack_core.py 174 for tmp_file in tmp_files.values():
175 os.unlink(tmp_file)
211 tmp_file = None
213 tmp_fd, tmp_file = tempfile.mkstemp()
216 shared_file = tmp_file
217 tmp_file = None
220 if tmp_file:
222 os.unlink(tmp_file)
247 tmp_file = self.ExtractLibFromApk(apk_full_path, file_name)
248 if tmp_file
    [all...]
  /art/compiler/utils/
assembler_test_base.h 503 std::string tmp_file = GetTmpnam(); local
505 args.push_back(tmp_file);
519 std::ifstream in(tmp_file.c_str());
523 std::remove(tmp_file.c_str());
527 std::remove(tmp_file.c_str());
534 const std::string& tmp_file) {
546 args.push_back(tmp_file);
562 std::ifstream in(tmp_file.c_str());
570 std::remove(tmp_file.c_str());
  /art/dexlayout/
dexlayout_test.cc 283 ScratchFile tmp_file; local
284 const std::string& tmp_name = tmp_file.GetFilename();
322 ScratchFile tmp_file; local
323 std::string tmp_name = tmp_file.GetFilename();
355 ScratchFile tmp_file; local
356 std::string tmp_name = tmp_file.GetFilename();
  /system/core/debuggerd/libdebuggerd/test/
dump_memory_test.cpp 111 char tmp_file[256]; local
113 memcpy(tmp_file, data_template, sizeof(data_template));
114 int tombstone_fd = mkstemp(tmp_file);
117 memcpy(tmp_file, tmp_template, sizeof(tmp_template));
118 tombstone_fd = mkstemp(tmp_file);
123 if (unlink(tmp_file) == -1) {
    [all...]
  /external/autotest/client/cros/faft/utils/
os_interface.py 369 tmp_file = self.state_dir_file('part.tmp')
371 partition, tmp_file, size))
372 data = self.read_file(tmp_file)
373 self.remove_file(tmp_file)
  /external/chromium-trace/catapult/telemetry/telemetry/core/
cros_interface_unittest.py 33 tmp_file = '/tmp/testPushContents'
35 cri.RmRF(tmp_file)
36 cri.PushContents(test_contents, tmp_file)
37 contents = cri.GetFileContents(tmp_file)
  /external/ltp/testcases/kernel/syscalls/utimensat/
utimensat_tests.sh 300 touch $TEST_DIR/tmp_file
301 chattr +a $TEST_DIR/tmp_file
306 chattr -a $TEST_DIR/tmp_file

Completed in 8866 milliseconds

1 2 3