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

  /external/compiler-rt/lib/sanitizer_common/
sanitizer_coverage_mapping_libcdep.cc 94 InternalScopedString tmp_path(64 + internal_strlen(coverage_dir));
95 uptr res = internal_snprintf((char *)tmp_path.data(), tmp_path.size(),
98 CHECK_LE(res, tmp_path.size());
99 fd_t map_fd = OpenFile(tmp_path.data(), WrOnly, &err);
101 Report("Coverage: failed to open %s for writing: %d\n", tmp_path.data(),
116 if (!RenameFile(tmp_path.data(), path.data(), &err)) {
  /system/vold/
KeyUtil.h 33 const std::string& key_path, const std::string& tmp_path,
36 const std::string& tmp_path, KeyBuffer* key);
KeyUtil.cpp 165 const std::string& key_path, const std::string& tmp_path,
178 if (!storeKeyAtomically(key_path, tmp_path, key_authentication, key)) return false;
189 const std::string& tmp_path, KeyBuffer* key) {
200 if (!storeKeyAtomically(key_path, tmp_path,
KeyStorage.h 57 // This version creates the key in "tmp_path" then atomically renames "tmp_path"
60 bool storeKeyAtomically(const std::string& key_path, const std::string& tmp_path,
KeyStorage.cpp 486 bool storeKeyAtomically(const std::string& key_path, const std::string& tmp_path,
492 if (pathExists(tmp_path)) {
493 LOG(DEBUG) << "Already exists, destroying: " << tmp_path;
494 destroyKey(tmp_path); // May be partially created so ignore errors
496 if (!storeKey(tmp_path, auth, key)) return false;
497 if (rename(tmp_path.c_str(), key_path.c_str()) != 0) {
  /external/libchrome/base/
sys_info_unittest.cc 62 FilePath tmp_path; local
63 ASSERT_TRUE(GetTempDir(&tmp_path));
64 EXPECT_GE(SysInfo::AmountOfFreeDiskSpace(tmp_path), 0) << tmp_path.value();
69 FilePath tmp_path; local
70 ASSERT_TRUE(GetTempDir(&tmp_path));
71 EXPECT_GT(SysInfo::AmountOfTotalDiskSpace(tmp_path), 0) << tmp_path.value();
  /external/compiler-rt/test/asan/android_commands/
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)
  /system/core/libsparse/
append2simg.c 61 char *tmp_path; local
73 ret = asprintf(&tmp_path, "%s.append2simg", output_path);
114 tmp_fd = open(tmp_path, O_WRONLY | O_CREAT | O_BINARY, 0664);
131 ret = rename(tmp_path, output_path);
137 free(tmp_path);
  /external/ltp/testcases/kernel/syscalls/nftw/
lib.c 32 static char *tmp_path = "./tmp"; variable
65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) {
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) {
79 if ((strlen(tmp_path) + name_length + extra) > path_length) {
140 strcpy(buffer, tmp_path);
162 strcpy(buffer, tmp_path);
183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) {
191 tmp_path, pcPathMax);
200 path = strcpy(path, tmp_path);
209 tmpPtr += sprintf(tmpPtr, "/%s", tmp_path);
    [all...]
lib64.c 32 static char *tmp_path = "./tmp"; variable
65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) {
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) {
79 if ((strlen(tmp_path) + name_length + extra) > path_length) {
140 strcpy(buffer, tmp_path);
162 strcpy(buffer, tmp_path);
183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) {
191 tmp_path, pcPathMax);
200 path = strcpy(path, tmp_path);
209 tmpPtr += sprintf(tmpPtr, "/%s", tmp_path);
    [all...]
  /external/avb/test/
avb_unittest_util.h 123 base::FilePath tmp_path = testdir_.Append("info_output.txt"); local
127 tmp_path.value().c_str());
129 EXPECT_TRUE(base::ReadFileToString(tmp_path, &info_data));
135 base::FilePath tmp_path = testdir_.Append("public_key.bin"); local
140 tmp_path.value().c_str());
142 EXPECT_TRUE(base::ReadFileToString(tmp_path, &key_data));
  /bionic/libc/tools/
genversion-scripts.py 51 tmp_path = os.path.join(bionic_temp, name)
53 with open(tmp_path, "w") as fout:
63 shutil.copyfile(tmp_path, dest_path)
  /external/autotest/client/site_tests/power_IdleSuspend/
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/selinux/libselinux/src/
matchpathcon.c 380 char *tmp_path, *p; local
384 tmp_path = strdup(name);
385 if (!tmp_path) {
392 last_component = strrchr(tmp_path, '/');
394 if (last_component == tmp_path) {
400 p = realpath(tmp_path, resolved_path);
402 last_component = tmp_path;
427 free(tmp_path);
  /external/syslinux/gpxe/src/core/
uri.c 366 char *tmp_path = NULL; local
376 tmp_path = resolve_path ( ( base_uri->path ?
379 tmp_uri.path = tmp_path;
391 free ( tmp_path );
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_libc_test.cc 69 char tmp_path[MAX_PATH]; local
70 if (!::GetTempFileNameA(tmp_dir, prefix, 0, tmp_path))
72 internal_strncpy(buf, tmp_path, bufsize);
  /external/autotest/client/cros/faft/utils/
os_interface.py 169 tmp_path = '/data/local/tmp'
171 tmp_path = '/tmp'
172 cmd = 'mktemp -p %s %sXXXXXX' % (tmp_path, prefix)
  /libcore/ojluni/src/main/native/
java_props_md.c 377 static char tmp_path[PATH_MAX]; local
378 int pathSize = confstr(_CS_DARWIN_USER_TEMP_DIR, tmp_path, PATH_MAX);
380 sprops.tmp_dir = tmp_path;
  /external/wpa_supplicant_8/src/utils/
wpa_debug.c 146 char *tmp2, *tmp_path, *fstype; local
149 tmp_path = strtok_r(NULL, " ", &tmp2);
152 path = tmp_path;
  /system/extras/simpleperf/scripts/
utils.py 365 tmp_path = os.path.join(binary_cache_path, dso_path_in_record_file[1:])
366 if os.path.isfile(tmp_path):
367 return tmp_path
  /frameworks/compile/libbcc/gdb_plugin/
android-commands.py 220 tmp_path = os.path.join(self.temp_libdir, lib)
221 self.pull(remote_lib, tmp_path)
222 remote_hash = self._md5sum(tmp_path)
232 + "\t(" + remote_hash + ") " + tmp_path + " (from target) and\n " \
  /external/python/cpython2/Lib/
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)
    [all...]
  /external/python/cpython3/Lib/
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)
    [all...]
  /system/iot/attestation/at-factory-tool/
atftman_unittest.py 576 tmp_path = self.TEST_TMP_FOLDER + self.TEST_UUID
580 src.Upload.assert_called_once_with(tmp_path)
581 src.Download.assert_called_once_with(tmp_path)
    [all...]
  /external/curl/lib/
ftp.c 3874 char *tmp_path = aprintf("%s%s", wildcard->path, finfo->filename); local
    [all...]

Completed in 1011 milliseconds