/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"
|
/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)
|
/development/tools/idegen/ |
index-gen.sh | 41 tmp_file=${root_dir}/tmp.txt 58 > $tmp_file 59 sed -e 's/LOCAL_PACKAGE_NAME *:= *//g' -e 's/LOCAL_MODULE *:= *//g' -e 's/\^M*$//g' < $tmp_file > $dest_file 61 mv $dest_file $tmp_file 64 grep -v "^$root_dir/vendor/google" $tmp_file > $dest_file 66 rm $tmp_file
|
/external/skia/infra/skqp/ |
run_skqp.sh | 27 tmp_file="$(mktemp "${TMPDIR:-/tmp}/skqp.XXXXXXXXXX")" 29 adb shell am instrument -w org.skia.skqp | tee "$tmp_file" | fold -s 33 if ! grep -q '^OK ' "$tmp_file"; then
|
/external/skqp/infra/skqp/ |
run_skqp.sh | 27 tmp_file="$(mktemp "${TMPDIR:-/tmp}/skqp.XXXXXXXXXX")" 29 adb shell am instrument -w org.skia.skqp | tee "$tmp_file" | fold -s 33 if ! grep -q '^OK ' "$tmp_file"; then
|
/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` 85 touch mnt_point/tmp_file 89 touch mnt_point/tmp_file 95 sec_atime=`ext4_file_time mnt_point/tmp_file atime sec` 96 sec_mtime=`ext4_file_time mnt_point/tmp_file mtime sec` 97 sec_ctime=`ext4_file_time mnt_point/tmp_file ctime sec` 98 nsec_atime=`ext4_file_time mnt_point/tmp_file atime nsec [all...] |
/bionic/linker/ |
linker_config_test.cpp | 126 TemporaryFile tmp_file; local 127 close(tmp_file.fd); 128 tmp_file.fd = -1; 130 android::base::WriteStringToFile(config_str, tmp_file.path); 145 ASSERT_TRUE(Config::read_binary_config(tmp_file.path, 242 TemporaryFile tmp_file; local 243 close(tmp_file.fd); 244 tmp_file.fd = -1; 246 android::base::WriteStringToFile(config_str, tmp_file.path); 254 ASSERT_FALSE(Config::read_binary_config(tmp_file.path 288 TemporaryFile tmp_file; local [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`
|
/external/python/setuptools/setuptools/tests/ |
test_upload_docs.py | 51 tmp_file = os.path.join(tmp_dir, 'foo.zip') 52 zip_file = cmd.create_zipfile(tmp_file) 54 assert zipfile.is_zipfile(tmp_file) 56 with contextlib.closing(zipfile.ZipFile(tmp_file)) as zip_file:
|
/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 | 55 base::TempFile tmp_file = base::TempFile::Create(); local 56 ASSERT_EQ(base::WriteAll(tmp_file.fd(), kMounts, sizeof(kMounts)), 59 ParseMounts(tmp_file.path().c_str());
|
/external/v8/tools/ |
disasm.py | 65 tmp_file = tempfile.NamedTemporaryFile(prefix=".v8code", delete=False) 66 tmp_name = tmp_file.name 67 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/tensorflow/tensorflow/compiler/xla/ |
parse_flags_from_env_test.cc | 95 string tmp_file = local 97 FILE* fp = fopen(tmp_file.c_str(), "w"); 98 CHECK_NE(fp, nullptr) << "can't write to " << tmp_file; 103 CHECK_EQ(ferror(fp), 0) << "writes failed to " << tmp_file; local 106 setenv("TF_XLA_FLAGS", tmp_file.c_str(), true /*overwrite*/); 108 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 | 70 base::TempFile tmp_file = base::TempFile::CreateUnlinked(); local 71 const int fd_num = tmp_file.fd(); 76 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 | 108 char tmp_file[PATH_MAX]; local 111 sprintf(tmp_file, "%s.tmp", out_file); 112 out_stream = fopen(tmp_file, "w"); 133 rename(tmp_file, out_file);
|
/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/bcc/tools/ |
runqlen.py | 92 tmp_file = NamedTemporaryFile(delete=False) 93 tmp_file.close(); 101 fd = open(tmp_file.name, O_WRONLY) 114 unlink(tmp_file.name)
|
/external/libchrome/base/files/ |
important_file_writer.cc | 166 File tmp_file(tmp_file_path, File::FLAG_OPEN | File::FLAG_WRITE); 167 if (!tmp_file.IsValid()) { 170 -tmp_file.error_details(), -base::File::FILE_ERROR_MAX); 179 int bytes_written = tmp_file.Write(0, data.data(), data_length); 185 bool flush_success = tmp_file.Flush(); 186 tmp_file.Close();
|
/development/vndk/tools/definition-tool/tests/ |
test_elf_linker.py | 515 with tempfile.NamedTemporaryFile(mode='w') as tmp_file: 516 tmp_file.write('/system/lib/liba.so: /system/lib/libb.so') 517 tmp_file.seek(0) 518 gb.graph.add_dlopen_deps(tmp_file.name) 533 with tempfile.NamedTemporaryFile(mode='w') as tmp_file: 534 tmp_file.write('/system/${LIB}/liba.so: /system/${LIB}/libb.so') 535 tmp_file.seek(0) 536 gb.graph.add_dlopen_deps(tmp_file.name) 551 with tempfile.NamedTemporaryFile(mode='w') as tmp_file: 552 tmp_file.write('/system/${LIB}/libb.so: /system/${LIB}/liba.so' [all...] |
/art/dexlayout/ |
dexlayout_test.cc | 292 ScratchFile tmp_file; local 293 const std::string& tmp_name = tmp_file.GetFilename(); 392 ScratchFile tmp_file; local 393 const std::string& tmp_name = tmp_file.GetFilename(); 421 ScratchFile tmp_file; local 422 const std::string& tmp_name = tmp_file.GetFilename(); 485 ScratchFile tmp_file; local 486 const std::string& tmp_name = tmp_file.GetFilename(); 721 ScratchFile tmp_file; local 759 ScratchFile 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...] |