/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_coverage_mapping_libcdep.cc | 94 InternalScopedString tmp_path(64 + internal_strlen(coverage_dir)); in CovUpdateMapping() local 95 uptr res = internal_snprintf((char *)tmp_path.data(), tmp_path.size(), in CovUpdateMapping() 98 CHECK_LE(res, tmp_path.size()); in CovUpdateMapping() 99 fd_t map_fd = OpenFile(tmp_path.data(), WrOnly, &err); in CovUpdateMapping() 101 Report("Coverage: failed to open %s for writing: %d\n", tmp_path.data(), in CovUpdateMapping() 116 if (!RenameFile(tmp_path.data(), path.data(), &err)) { in CovUpdateMapping()
|
/external/ltp/testcases/kernel/syscalls/nftw/ |
D | lib64.c | 32 static char *tmp_path = "./tmp"; variable 65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in get_long_name_buffer() 72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer() 79 if ((strlen(tmp_path) + name_length + extra) > path_length) { in get_long_name_buffer() 140 strcpy(buffer, tmp_path); in test_long_file_name() 162 strcpy(buffer, tmp_path); in test_long_component_name() 183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path() 191 tmp_path, pcPathMax); in test_ENAMETOOLONG_path() 200 path = strcpy(path, tmp_path); in test_ENAMETOOLONG_path() 209 tmpPtr += sprintf(tmpPtr, "/%s", tmp_path); in test_ENAMETOOLONG_path()
|
D | lib.c | 32 static char *tmp_path = "./tmp"; variable 65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in get_long_name_buffer() 72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer() 79 if ((strlen(tmp_path) + name_length + extra) > path_length) { in get_long_name_buffer() 140 strcpy(buffer, tmp_path); in test_long_file_name() 162 strcpy(buffer, tmp_path); in test_long_component_name() 183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path() 191 tmp_path, pcPathMax); in test_ENAMETOOLONG_path() 200 path = strcpy(path, tmp_path); in test_ENAMETOOLONG_path() 209 tmpPtr += sprintf(tmpPtr, "/%s", tmp_path); in test_ENAMETOOLONG_path()
|
/external/libchrome/base/ |
D | sys_info_unittest.cc | 77 FilePath tmp_path; in TEST_F() local 78 ASSERT_TRUE(GetTempDir(&tmp_path)); in TEST_F() 79 EXPECT_GE(SysInfo::AmountOfFreeDiskSpace(tmp_path), 0) << tmp_path.value(); in TEST_F() 91 FilePath tmp_path; in TEST_F() local 92 ASSERT_TRUE(GetTempDir(&tmp_path)); in TEST_F() 93 EXPECT_GT(SysInfo::AmountOfTotalDiskSpace(tmp_path), 0) << tmp_path.value(); in TEST_F()
|
/external/autotest/server/cros/ |
D | camerabox_utils.py | 125 tmp_path = os.path.join(self.test.tmpdir, os.path.basename(filepath)) 126 self.host.get_file(filepath, tmp_path, delete_dest=True) 127 with open(tmp_path) as f: 135 tmp_path = os.path.join(self.test.tmpdir, os.path.basename(filepath)) 136 with open(tmp_path, 'w') as f: 139 os.chmod(tmp_path, permission) 140 self.host.send_file(tmp_path, filepath, delete_dest=True)
|
/external/avb/test/ |
D | avb_unittest_util.cc | 144 base::FilePath tmp_path = testdir_.Append("info_output.txt"); in InfoImage() local 148 tmp_path.value().c_str()); in InfoImage() 150 EXPECT_TRUE(base::ReadFileToString(tmp_path, &info_data)); in InfoImage() 155 base::FilePath tmp_path = testdir_.Append("public_key.bin"); in PublicKeyAVB() local 160 tmp_path.value().c_str()); in PublicKeyAVB() 162 EXPECT_TRUE(base::ReadFileToString(tmp_path, &key_data)); in PublicKeyAVB()
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | tmpfile_windows.cc | 38 TCHAR tmp_path[MAX_PATH]; in gpr_tmpfile() local 50 status = GetTempPath(MAX_PATH, tmp_path); in gpr_tmpfile() 54 success = GetTempFileName(tmp_path, template_string, 0, tmp_filename); in gpr_tmpfile()
|
/external/compiler-rt/test/asan/android_commands/ |
D | android_common.py | 42 tmp_path = dst_path + '.push' 43 adb(['push', path, tmp_path], 5) 44 adb(['shell', 'cp "%s" "%s" 2>&1' % (tmp_path, dst_path)], 5)
|
/external/selinux/libselinux/src/ |
D | matchpathcon.c | 380 char *tmp_path, *p; in realpath_not_final() local 384 tmp_path = strdup(name); in realpath_not_final() 385 if (!tmp_path) { in realpath_not_final() 392 last_component = strrchr(tmp_path, '/'); in realpath_not_final() 394 if (last_component == tmp_path) { in realpath_not_final() 400 p = realpath(tmp_path, resolved_path); in realpath_not_final() 402 last_component = tmp_path; in realpath_not_final() 427 free(tmp_path); in realpath_not_final()
|
/external/autotest/client/site_tests/power_IdleSuspend/ |
D | power_IdleSuspend.py | 49 tmp_path = '%s/%s' % (self.tempdir, key) 51 utils.write_one_line(tmp_path, str(val)) 52 utils.run('mount --bind %s %s' % (tmp_path, mount_path))
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_libc_test.cc | 69 char tmp_path[MAX_PATH]; in temp_file_name() local 70 if (!::GetTempFileNameA(tmp_dir, prefix, 0, tmp_path)) in temp_file_name() 72 internal_strncpy(buf, tmp_path, bufsize); in temp_file_name()
|
/external/autotest/client/cros/faft/utils/ |
D | os_interface.py | 169 tmp_path = '/data/local/tmp' 171 tmp_path = '/tmp' 172 cmd = 'mktemp -p %s %sXXXXXX' % (tmp_path, prefix)
|
/external/wpa_supplicant_8/src/utils/ |
D | wpa_debug.c | 150 char *tmp2, *tmp_path, *fstype; in wpa_debug_open_linux_tracing() local 153 tmp_path = strtok_r(NULL, " ", &tmp2); in wpa_debug_open_linux_tracing() 156 path = tmp_path; in wpa_debug_open_linux_tracing()
|
/external/python/cpython2/Lib/ |
D | mailbox.py | 340 tmp_path = os.path.join(self._path, temp_subpath) 343 os.utime(tmp_path, 344 (os.path.getatime(tmp_path), message.get_date())) 348 os.rename(tmp_path, new_path)
|
/external/python/cpython3/Lib/ |
D | mailbox.py | 360 tmp_path = os.path.join(self._path, temp_subpath) 363 os.utime(tmp_path, 364 (os.path.getatime(tmp_path), message.get_date())) 368 os.rename(tmp_path, new_path)
|
/external/curl/lib/ |
D | ftp.c | 3830 char *tmp_path = aprintf("%s%s", wildcard->path, finfo->filename); in wc_statemach() local 3831 if(!tmp_path) in wc_statemach() 3836 ftp->pathalloc = ftp->path = tmp_path; in wc_statemach()
|