Home
last modified time | relevance | path

Searched refs:source_dir (Results 1 – 5 of 5) sorted by relevance

/external/chromium/base/test/
Dtest_file_util_posix.cc29 bool CopyRecursiveDirNoCache(const FilePath& source_dir, in CopyRecursiveDirNoCache() argument
32 if (base::strlcpy(top_dir, source_dir.value().c_str(), in CopyRecursiveDirNoCache()
47 if (real_to_path.value().compare(0, source_dir.value().size(), in CopyRecursiveDirNoCache()
48 source_dir.value()) == 0) in CopyRecursiveDirNoCache()
55 FileEnumerator traversal(source_dir, true, traverse_type); in CopyRecursiveDirNoCache()
59 FilePath current = source_dir; in CopyRecursiveDirNoCache()
60 if (stat(source_dir.value().c_str(), &info.stat) < 0) { in CopyRecursiveDirNoCache()
62 << source_dir.value() << " errno = " << errno; in CopyRecursiveDirNoCache()
69 std::string suffix(&current.value().c_str()[source_dir.value().size()]); in CopyRecursiveDirNoCache()
Dtest_file_util_win.cc125 bool CopyRecursiveDirNoCache(const FilePath& source_dir, in CopyRecursiveDirNoCache() argument
135 std::wstring src(source_dir.value()); in CopyRecursiveDirNoCache()
148 FilePath cur_source_path = source_dir.Append(cur_file); in CopyRecursiveDirNoCache()
Dtest_file_util.h32 bool CopyRecursiveDirNoCache(const FilePath& source_dir,
/external/chromium/net/test/
Dpython_utils.cc75 FilePath source_dir; in GetPyProtoPath() local
76 if (!PathService::Get(base::DIR_SOURCE_ROOT, &source_dir)) { in GetPyProtoPath()
77 LOG(ERROR) << "Can't find " << source_dir.value(); in GetPyProtoPath()
90 generated_code_dir = source_dir in GetPyProtoPath()
/external/chromium/base/files/
Dfile_path_watcher_browsertest.cc452 FilePath source_dir(temp_dir_.path().AppendASCII("source")); in TEST_F() local
453 FilePath source_subdir(source_dir.AppendASCII("subdir")); in TEST_F()
469 ASSERT_TRUE(file_util::Move(source_dir, dest_dir)); in TEST_F()