dir               420 ash/wm/app_list_controller.cc     const int dir = transition.target_page > current_page ? -1 : 1;
dir               423 ash/wm/app_list_controller.cc     const int shift = kMaxOverScrollShift * progress * dir;
dir               230 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java     private static void deleteDirectorySync(File dir) {
dir               232 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java             File[] files = dir.listFiles();
dir               241 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java             if (!dir.delete()) {
dir               242 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java                 Log.w(TAG, "Failed to remove " + dir.getAbsolutePath());
dir               227 base/file_util.h BASE_EXPORT bool CreateTemporaryFileInDir(const FilePath& dir,
dir               236 base/file_util.h BASE_EXPORT FILE* CreateAndOpenTemporaryFileInDir(const FilePath& dir,
dir               231 base/file_util_posix.cc     FilePath dir = FilePath(directories.top());
dir               233 base/file_util_posix.cc     success = (rmdir(dir.value().c_str()) == 0);
dir               504 base/file_util_posix.cc FILE* CreateAndOpenTemporaryFileInDir(const FilePath& dir, FilePath* path) {
dir               505 base/file_util_posix.cc   int fd = CreateAndOpenFdForTemporaryFile(dir, path);
dir               515 base/file_util_posix.cc bool CreateTemporaryFileInDir(const FilePath& dir, FilePath* temp_file) {
dir               517 base/file_util_posix.cc   int fd = CreateAndOpenFdForTemporaryFile(dir, temp_file);
dir               706 base/file_util_posix.cc bool GetCurrentDirectory(FilePath* dir) {
dir               715 base/file_util_posix.cc   *dir = FilePath(system_buffer);
dir              1696 base/file_util_unittest.cc   FilePath dir;
dir              1697 base/file_util_unittest.cc   EXPECT_TRUE(GetShmemTempDir(false, &dir));
dir              1698 base/file_util_unittest.cc   EXPECT_TRUE(DirectoryExists(dir));
dir               226 base/file_util_win.cc   HANDLE dir =
dir               230 base/file_util_win.cc   if (dir == INVALID_HANDLE_VALUE)
dir               233 base/file_util_win.cc   CloseHandle(dir);
dir               294 base/file_util_win.cc FILE* CreateAndOpenTemporaryFileInDir(const FilePath& dir, FilePath* path) {
dir               296 base/file_util_win.cc   if (!CreateTemporaryFileInDir(dir, path)) {
dir               305 base/file_util_win.cc bool CreateTemporaryFileInDir(const FilePath& dir, FilePath* temp_file) {
dir               310 base/file_util_win.cc   if (!GetTempFileName(dir.value().c_str(), L"", 0, temp_name)) {
dir               312 base/file_util_win.cc                    << UTF16ToUTF8(dir.value());
dir               659 base/file_util_win.cc bool GetCurrentDirectory(FilePath* dir) {
dir               671 base/file_util_win.cc   *dir = FilePath(dir_str).StripTrailingSeparators();
dir                29 base/files/dir_reader_posix_unittest.cc   const char* dir = mkdtemp(kDirTemplate);
dir                30 base/files/dir_reader_posix_unittest.cc   ASSERT_TRUE(dir);
dir                35 base/files/dir_reader_posix_unittest.cc   PCHECK(chdir(dir) == 0);
dir                47 base/files/dir_reader_posix_unittest.cc   DirReaderPosix reader(dir);
dir                82 base/files/dir_reader_posix_unittest.cc   PCHECK(rmdir(dir) == 0);
dir               122 base/files/file_enumerator_posix.cc   DIR* dir = opendir(source.value().c_str());
dir               123 base/files/file_enumerator_posix.cc   if (!dir)
dir               134 base/files/file_enumerator_posix.cc   while (readdir_r(dir, &dent_buf, &dent) == 0 && dent) {
dir               156 base/files/file_enumerator_posix.cc   closedir(dir);
dir               247 base/files/file_path.cc   FilePath dir = current.DirName();
dir               248 base/files/file_path.cc   StringType::size_type letter = FindDriveLetter(dir.value());
dir               250 base/files/file_path.cc     ret_val.push_back(StringType(dir.value(), 0, letter + 1));
dir               336 base/files/file_path_watcher_browsertest.cc   FilePath dir(temp_dir_.path().AppendASCII("dir"));
dir               337 base/files/file_path_watcher_browsertest.cc   FilePath file(dir.AppendASCII("file"));
dir               341 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(base::CreateDirectory(dir));
dir               364 base/files/file_path_watcher_browsertest.cc     std::string dir(base::StringPrintf("d%d", i));
dir               365 base/files/file_path_watcher_browsertest.cc     dir_names.push_back(dir);
dir               366 base/files/file_path_watcher_browsertest.cc     path = path.AppendASCII(dir);
dir               397 base/files/file_path_watcher_browsertest.cc   FilePath dir(temp_dir_.path().AppendASCII("dir"));
dir               398 base/files/file_path_watcher_browsertest.cc   FilePath file(dir.AppendASCII("file"));
dir               399 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(base::CreateDirectory(dir));
dir               404 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(base::DeleteFile(dir, true));
dir               428 base/files/file_path_watcher_browsertest.cc   FilePath dir(temp_dir_.path().AppendASCII("dir"));
dir               429 base/files/file_path_watcher_browsertest.cc   FilePath file1(dir.AppendASCII("file1"));
dir               430 base/files/file_path_watcher_browsertest.cc   FilePath file2(dir.AppendASCII("file2"));
dir               432 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(SetupWatch(dir, &watcher, delegate.get(), false));
dir               434 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(base::CreateDirectory(dir));
dir               462 base/files/file_path_watcher_browsertest.cc   FilePath dir(temp_dir_.path().AppendASCII("dir"));
dir               464 base/files/file_path_watcher_browsertest.cc   FilePath subdir(dir.AppendASCII("subdir"));
dir               479 base/files/file_path_watcher_browsertest.cc   base::Move(dir, dest);
dir               489 base/files/file_path_watcher_browsertest.cc   FilePath dir(temp_dir_.path().AppendASCII("dir"));
dir               491 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(SetupWatch(dir, &watcher, delegate.get(), true));
dir               494 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(base::CreateDirectory(dir));
dir               498 base/files/file_path_watcher_browsertest.cc   FilePath file1(dir.AppendASCII("file1"));
dir               503 base/files/file_path_watcher_browsertest.cc   FilePath subdir(dir.AppendASCII("subdir"));
dir               542 base/files/file_path_watcher_browsertest.cc   FilePath dir(temp_dir_.path().AppendASCII("dir"));
dir               545 base/files/file_path_watcher_browsertest.cc   ASSERT_FALSE(SetupWatch(dir, &watcher, delegate.get(), true));
dir               679 base/files/file_path_watcher_browsertest.cc   FilePath dir(temp_dir_.path().AppendASCII("dir"));
dir               681 base/files/file_path_watcher_browsertest.cc   FilePath file(dir.AppendASCII("file"));
dir               685 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(base::CreateDirectory(dir));
dir               690 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(CreateSymbolicLink(dir, link_dir));
dir               708 base/files/file_path_watcher_browsertest.cc   FilePath dir(temp_dir_.path().AppendASCII("dir"));
dir               710 base/files/file_path_watcher_browsertest.cc   FilePath file(dir.AppendASCII("file"));
dir               715 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(CreateSymbolicLink(dir, link_dir));
dir               719 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(base::CreateDirectory(dir));
dir               738 base/files/file_path_watcher_browsertest.cc   FilePath dir(temp_dir_.path().AppendASCII("dir"));
dir               740 base/files/file_path_watcher_browsertest.cc   FilePath file(dir.AppendASCII("file"));
dir               743 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(base::CreateDirectory(dir));
dir               744 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(CreateSymbolicLink(dir, link_dir));
dir                50 base/files/file_path_watcher_win.cc   static bool SetupWatchHandle(const FilePath& dir,
dir               190 base/files/file_path_watcher_win.cc bool FilePathWatcherImpl::SetupWatchHandle(const FilePath& dir,
dir               194 base/files/file_path_watcher_win.cc       dir.value().c_str(),
dir               203 base/files/file_path_watcher_win.cc     if (!DirectoryExists(dir)) {
dir               222 base/files/file_path_watcher_win.cc                  << dir.value();
dir               435 base/files/file_unittest.cc   base::File dir(
dir               443 base/files/file_unittest.cc   ASSERT_TRUE(dir.IsValid());
dir               446 base/files/file_unittest.cc   EXPECT_TRUE(dir.GetInfo(&info));
dir                22 base/files/scoped_temp_dir_unittest.cc     ScopedTempDir dir;
dir                23 base/files/scoped_temp_dir_unittest.cc     EXPECT_TRUE(dir.Set(test_path));
dir                24 base/files/scoped_temp_dir_unittest.cc     EXPECT_TRUE(dir.IsValid());
dir                29 base/files/scoped_temp_dir_unittest.cc     ScopedTempDir dir;
dir                30 base/files/scoped_temp_dir_unittest.cc     EXPECT_TRUE(dir.Set(test_path));
dir                34 base/files/scoped_temp_dir_unittest.cc     FilePath path = dir.Take();
dir                36 base/files/scoped_temp_dir_unittest.cc     EXPECT_FALSE(dir.IsValid());
dir                42 base/files/scoped_temp_dir_unittest.cc     ScopedTempDir dir;
dir                43 base/files/scoped_temp_dir_unittest.cc     EXPECT_TRUE(dir.Set(test_path));
dir                53 base/files/scoped_temp_dir_unittest.cc     ScopedTempDir dir;
dir                54 base/files/scoped_temp_dir_unittest.cc     EXPECT_TRUE(dir.CreateUniqueTempDir());
dir                55 base/files/scoped_temp_dir_unittest.cc     test_path = dir.path();
dir                72 base/files/scoped_temp_dir_unittest.cc     ScopedTempDir dir;
dir                73 base/files/scoped_temp_dir_unittest.cc     EXPECT_TRUE(dir.CreateUniqueTempDirUnderPath(base_path));
dir                74 base/files/scoped_temp_dir_unittest.cc     test_path = dir.path();
dir                84 base/files/scoped_temp_dir_unittest.cc   ScopedTempDir dir;
dir                85 base/files/scoped_temp_dir_unittest.cc   EXPECT_TRUE(dir.CreateUniqueTempDir());
dir                86 base/files/scoped_temp_dir_unittest.cc   EXPECT_FALSE(dir.CreateUniqueTempDir());
dir                87 base/files/scoped_temp_dir_unittest.cc   EXPECT_TRUE(dir.Delete());
dir                88 base/files/scoped_temp_dir_unittest.cc   EXPECT_TRUE(dir.CreateUniqueTempDir());
dir                89 base/files/scoped_temp_dir_unittest.cc   EXPECT_FALSE(dir.CreateUniqueTempDir());
dir                91 base/files/scoped_temp_dir_unittest.cc   EXPECT_TRUE(other_dir.Set(dir.Take()));
dir                92 base/files/scoped_temp_dir_unittest.cc   EXPECT_TRUE(dir.CreateUniqueTempDir());
dir                93 base/files/scoped_temp_dir_unittest.cc   EXPECT_FALSE(dir.CreateUniqueTempDir());
dir                99 base/files/scoped_temp_dir_unittest.cc   ScopedTempDir dir;
dir               100 base/files/scoped_temp_dir_unittest.cc   EXPECT_TRUE(dir.CreateUniqueTempDir());
dir               101 base/files/scoped_temp_dir_unittest.cc   base::File file(dir.path().Append(FILE_PATH_LITERAL("temp")),
dir               105 base/files/scoped_temp_dir_unittest.cc   EXPECT_FALSE(dir.Delete());  // We should not be able to delete.
dir               106 base/files/scoped_temp_dir_unittest.cc   EXPECT_FALSE(dir.path().empty());  // We should still have a valid path.
dir               109 base/files/scoped_temp_dir_unittest.cc   EXPECT_TRUE(dir.Delete());
dir               226 base/memory/shared_memory_posix.cc     FilePath dir = path.DirName();
dir               227 base/memory/shared_memory_posix.cc     if (access(dir.value().c_str(), W_OK | X_OK) < 0) {
dir               228 base/memory/shared_memory_posix.cc       PLOG(ERROR) << "Unable to access(W_OK|X_OK) " << dir.value();
dir               229 base/memory/shared_memory_posix.cc       if (dir.value() == "/dev/shm") {
dir               367 base/nix/mime_util_xdg.cc   std::string dir;
dir               370 base/nix/mime_util_xdg.cc                               &dir);
dir               371 base/nix/mime_util_xdg.cc     if (dir.length() == 0) {
dir               375 base/nix/mime_util_xdg.cc     subdirs_[dir] = num++;
dir               378 base/nix/mime_util_xdg.cc   base::TrimWhitespaceASCII(dirs.substr(pos), base::TRIM_ALL, &dir);
dir               379 base/nix/mime_util_xdg.cc   if (dir.length() == 0) {
dir               383 base/nix/mime_util_xdg.cc   subdirs_[dir] = num++;
dir               388 base/nix/mime_util_xdg.cc bool CheckDirExistsAndGetMtime(const FilePath& dir, Time* last_modified) {
dir               389 base/nix/mime_util_xdg.cc   if (!DirectoryExists(dir))
dir               392 base/nix/mime_util_xdg.cc   if (!GetFileInfo(dir, &file_info))
dir               399 base/nix/mime_util_xdg.cc void TryAddIconDir(const FilePath& dir) {
dir               401 base/nix/mime_util_xdg.cc   if (!CheckDirExistsAndGetMtime(dir, &last_modified))
dir               403 base/nix/mime_util_xdg.cc   MimeUtilConstants::GetInstance()->icon_dirs_[dir] = last_modified;
dir               407 base/nix/mime_util_xdg.cc void AddXDGDataDir(const FilePath& dir) {
dir               408 base/nix/mime_util_xdg.cc   if (!DirectoryExists(dir))
dir               410 base/nix/mime_util_xdg.cc   TryAddIconDir(dir.Append("icons"));
dir               411 base/nix/mime_util_xdg.cc   TryAddIconDir(dir.Append("pixmaps"));
dir               103 base/process/process_metrics_linux.cc   DIR* dir = opendir(task_path.value().c_str());
dir               104 base/process/process_metrics_linux.cc   if (!dir) {
dir               110 base/process/process_metrics_linux.cc   while (struct dirent* ent = readdir(dir)) {
dir               127 base/process/process_metrics_linux.cc   closedir(dir);
dir                19 base/test/scoped_path_override.cc ScopedPathOverride::ScopedPathOverride(int key, const base::FilePath& dir)
dir                21 base/test/scoped_path_override.cc   bool result = PathService::Override(key, dir);
dir                24 base/test/scoped_path_override.h   ScopedPathOverride(int key, const FilePath& dir);
dir               269 base/third_party/xdg_mime/xdgmime.c       char *dir;
dir               287 base/third_party/xdg_mime/xdgmime.c       dir = malloc (len + 1);
dir               288 base/third_party/xdg_mime/xdgmime.c       strncpy (dir, ptr, len);
dir               289 base/third_party/xdg_mime/xdgmime.c       dir[len] = '\0';
dir               290 base/third_party/xdg_mime/xdgmime.c       stop_processing = (func) (dir, user_data);
dir               291 base/third_party/xdg_mime/xdgmime.c       free (dir);
dir               193 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc   char *dir, *home_dir, *user_dir;
dir               195 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc   dir = xdg_user_dir_lookup_with_fallback (type, NULL);
dir               196 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc   if (dir != NULL)
dir               197 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc     return dir;
dir               158 chrome/app/client_util.cc HMODULE LoadModuleWithDirectory(base::string16* dir,
dir               161 chrome/app/client_util.cc   ::SetCurrentDirectoryW(dir->c_str());
dir               162 chrome/app/client_util.cc   dir->append(dll_name);
dir               170 chrome/app/client_util.cc     ImagePreReader::PartialPreReadImage(dir->c_str(), percentage, kStepSize);
dir               174 chrome/app/client_util.cc   return ::LoadLibraryExW(dir->c_str(), NULL,
dir                33 chrome/browser/autofill/form_structure_browsertest.cc   CR_DEFINE_STATIC_LOCAL(base::FilePath, dir, ());
dir                34 chrome/browser/autofill/form_structure_browsertest.cc   if (dir.empty())
dir                35 chrome/browser/autofill/form_structure_browsertest.cc     PathService::Get(chrome::DIR_TEST_DATA, &dir);
dir                36 chrome/browser/autofill/form_structure_browsertest.cc   return dir;
dir                56 chrome/browser/chromeos/app_mode/kiosk_app_data.cc   base::FilePath dir = icon_path.DirName();
dir                57 chrome/browser/chromeos/app_mode/kiosk_app_data.cc   if (!base::PathExists(dir))
dir                58 chrome/browser/chromeos/app_mode/kiosk_app_data.cc     CHECK(base::CreateDirectory(dir));
dir                33 chrome/browser/chromeos/drive/file_system/download_operation.cc     const base::FilePath& dir,
dir                37 chrome/browser/chromeos/drive/file_system/download_operation.cc   if (!base::CreateTemporaryDirInDir(dir, base::FilePath::StringType(),
dir               101 chrome/browser/chromeos/extensions/external_cache_unittest.cc   void CreateFlagFile(const base::FilePath& dir) {
dir               102 chrome/browser/chromeos/extensions/external_cache_unittest.cc     CreateFile(dir.Append(
dir               106 chrome/browser/chromeos/extensions/external_cache_unittest.cc   void CreateExtensionFile(const base::FilePath& dir,
dir               109 chrome/browser/chromeos/extensions/external_cache_unittest.cc     CreateFile(GetExtensionFile(dir, id, version));
dir               116 chrome/browser/chromeos/extensions/external_cache_unittest.cc   base::FilePath GetExtensionFile(const base::FilePath& dir,
dir               119 chrome/browser/chromeos/extensions/external_cache_unittest.cc     return dir.Append(id + "-" + version + ".crx");
dir               108 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc   void InjectJavascript(const base::FilePath& dir,
dir               110 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc     base::FilePath path = ui_test_utils::GetTestFilePath(dir, file);
dir               990 chrome/browser/chromeos/login/wallpaper_manager.cc   base::FilePath dir = path.DirName();
dir               991 chrome/browser/chromeos/login/wallpaper_manager.cc   if (base::DirectoryExists(dir)) {
dir               992 chrome/browser/chromeos/login/wallpaper_manager.cc     base::FileEnumerator files(dir, false, base::FileEnumerator::FILES);
dir              1054 chrome/browser/chromeos/login/wallpaper_manager.cc   base::FilePath dir;
dir              1055 chrome/browser/chromeos/login/wallpaper_manager.cc   dir = GetCustomWallpaperDir(kSmallWallpaperSubDir);
dir              1056 chrome/browser/chromeos/login/wallpaper_manager.cc   dir = dir.Append(user_id_hash);
dir              1057 chrome/browser/chromeos/login/wallpaper_manager.cc   if (!base::PathExists(dir))
dir              1058 chrome/browser/chromeos/login/wallpaper_manager.cc     base::CreateDirectory(dir);
dir              1059 chrome/browser/chromeos/login/wallpaper_manager.cc   dir = GetCustomWallpaperDir(kLargeWallpaperSubDir);
dir              1060 chrome/browser/chromeos/login/wallpaper_manager.cc   dir = dir.Append(user_id_hash);
dir              1061 chrome/browser/chromeos/login/wallpaper_manager.cc   if (!base::PathExists(dir))
dir              1062 chrome/browser/chromeos/login/wallpaper_manager.cc     base::CreateDirectory(dir);
dir              1063 chrome/browser/chromeos/login/wallpaper_manager.cc   dir = GetCustomWallpaperDir(kOriginalWallpaperSubDir);
dir              1064 chrome/browser/chromeos/login/wallpaper_manager.cc   dir = dir.Append(user_id_hash);
dir              1065 chrome/browser/chromeos/login/wallpaper_manager.cc   if (!base::PathExists(dir))
dir              1066 chrome/browser/chromeos/login/wallpaper_manager.cc     base::CreateDirectory(dir);
dir              1067 chrome/browser/chromeos/login/wallpaper_manager.cc   dir = GetCustomWallpaperDir(kThumbnailWallpaperSubDir);
dir              1068 chrome/browser/chromeos/login/wallpaper_manager.cc   dir = dir.Append(user_id_hash);
dir              1069 chrome/browser/chromeos/login/wallpaper_manager.cc   if (!base::PathExists(dir))
dir              1070 chrome/browser/chromeos/login/wallpaper_manager.cc     base::CreateDirectory(dir);
dir               486 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc     const base::FilePath& dir) {
dir               487 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc   if (base::PathExists(dir) && !base::DeleteFile(dir, true))
dir               488 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc     LOG(ERROR) << "Failed to remove cache dir " << dir.value();
dir               101 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h   static void RemoveLegacyCacheDir(const base::FilePath& dir);
dir                36 chrome/browser/component_updater/default_component_installer.h   virtual bool VerifyInstallation(const base::FilePath& dir) const = 0;
dir              3045 chrome/browser/download/download_browsertest.cc   base::FilePath dir(on_prefs->SaveFilePath());
dir              3046 chrome/browser/download/download_browsertest.cc   EXPECT_EQ(dir.value(), off_prefs->SaveFilePath().value());
dir              3048 chrome/browser/download/download_browsertest.cc   on_prefs->SetSaveFilePath(dir.AppendASCII("on"));
dir              3049 chrome/browser/download/download_browsertest.cc   EXPECT_EQ(dir.AppendASCII("on").value(), on_prefs->SaveFilePath().value());
dir              3050 chrome/browser/download/download_browsertest.cc   EXPECT_EQ(dir.AppendASCII("on").value(), off_prefs->SaveFilePath().value());
dir              3052 chrome/browser/download/download_browsertest.cc   on_prefs->SetSaveFilePath(dir);
dir              3053 chrome/browser/download/download_browsertest.cc   EXPECT_EQ(dir.value(), on_prefs->SaveFilePath().value());
dir              3054 chrome/browser/download/download_browsertest.cc   EXPECT_EQ(dir.value(), off_prefs->SaveFilePath().value());
dir              3056 chrome/browser/download/download_browsertest.cc   off_prefs->SetSaveFilePath(dir.AppendASCII("off"));
dir              3057 chrome/browser/download/download_browsertest.cc   EXPECT_EQ(dir.value(), on_prefs->SaveFilePath().value());
dir              3058 chrome/browser/download/download_browsertest.cc   EXPECT_EQ(dir.AppendASCII("off").value(), off_prefs->SaveFilePath().value());
dir              3060 chrome/browser/download/download_browsertest.cc   on_prefs->SetSaveFilePath(dir.AppendASCII("on"));
dir              3061 chrome/browser/download/download_browsertest.cc   EXPECT_EQ(dir.AppendASCII("on").value(), on_prefs->SaveFilePath().value());
dir              3062 chrome/browser/download/download_browsertest.cc   EXPECT_EQ(dir.AppendASCII("off").value(), off_prefs->SaveFilePath().value());
dir               115 chrome/browser/download/download_path_reservation_tracker.cc   base::FilePath dir(path->DirName());
dir               140 chrome/browser/download/download_path_reservation_tracker.cc   *path = dir.Append(truncated + ext);
dir               471 chrome/browser/download/download_path_reservation_tracker_unittest.cc   base::FilePath dir(path.DirName());
dir               476 chrome/browser/download/download_path_reservation_tracker_unittest.cc     file_util::PermissionRestorer restorer(dir);
dir               477 chrome/browser/download/download_path_reservation_tracker_unittest.cc     EXPECT_TRUE(file_util::MakeFileUnwritable(dir));
dir               502 chrome/browser/download/download_path_reservation_tracker_unittest.cc   base::FilePath dir(path.DirName());
dir               503 chrome/browser/download/download_path_reservation_tracker_unittest.cc   ASSERT_FALSE(base::DirectoryExists(dir));
dir               528 chrome/browser/download/download_path_reservation_tracker_unittest.cc     set_default_download_path(dir);
dir               538 chrome/browser/download/download_path_reservation_tracker_unittest.cc     EXPECT_TRUE(base::DirectoryExists(dir));
dir               310 chrome/browser/download/save_page_browsertest.cc                 base::FilePath* dir) {
dir               312 chrome/browser/download/save_page_browsertest.cc     *dir = save_dir_.path().AppendASCII(prefix + "_files");
dir               387 chrome/browser/download/save_page_browsertest.cc   base::FilePath full_file_name, dir;
dir               388 chrome/browser/download/save_page_browsertest.cc   GetDestinationPaths("a", &full_file_name, &dir);
dir               397 chrome/browser/download/save_page_browsertest.cc   ASSERT_TRUE(GetCurrentTab(browser())->SavePage(full_file_name, dir,
dir               404 chrome/browser/download/save_page_browsertest.cc   EXPECT_FALSE(base::PathExists(dir));
dir               417 chrome/browser/download/save_page_browsertest.cc   base::FilePath full_file_name, dir;
dir               418 chrome/browser/download/save_page_browsertest.cc   GetDestinationPaths("a", &full_file_name, &dir);
dir               427 chrome/browser/download/save_page_browsertest.cc   ASSERT_TRUE(GetCurrentTab(browser())->SavePage(full_file_name, dir,
dir               476 chrome/browser/download/save_page_browsertest.cc   base::FilePath full_file_name, dir;
dir               477 chrome/browser/download/save_page_browsertest.cc   GetDestinationPaths("a", &full_file_name, &dir);
dir               479 chrome/browser/download/save_page_browsertest.cc   ASSERT_TRUE(GetCurrentTab(browser())->SavePage(full_file_name, dir,
dir               490 chrome/browser/download/save_page_browsertest.cc   EXPECT_FALSE(base::PathExists(dir));
dir               507 chrome/browser/download/save_page_browsertest.cc   base::FilePath full_file_name, dir;
dir               508 chrome/browser/download/save_page_browsertest.cc   GetDestinationPaths("a", &full_file_name, &dir);
dir               517 chrome/browser/download/save_page_browsertest.cc   ASSERT_TRUE(GetCurrentTab(browser())->SavePage(full_file_name, dir,
dir               526 chrome/browser/download/save_page_browsertest.cc   EXPECT_FALSE(base::PathExists(dir));
dir               541 chrome/browser/download/save_page_browsertest.cc   base::FilePath full_file_name, dir;
dir               542 chrome/browser/download/save_page_browsertest.cc   GetDestinationPaths("b", &full_file_name, &dir);
dir               552 chrome/browser/download/save_page_browsertest.cc       full_file_name, dir, content::SAVE_PAGE_TYPE_AS_COMPLETE_HTML));
dir               560 chrome/browser/download/save_page_browsertest.cc   EXPECT_TRUE(base::PathExists(dir));
dir               566 chrome/browser/download/save_page_browsertest.cc       dir.AppendASCII("1.png")));
dir               569 chrome/browser/download/save_page_browsertest.cc       dir.AppendASCII("1.css")));
dir               597 chrome/browser/download/save_page_browsertest.cc   base::FilePath full_file_name, dir;
dir               598 chrome/browser/download/save_page_browsertest.cc   GetDestinationPaths("b", &full_file_name, &dir);
dir               605 chrome/browser/download/save_page_browsertest.cc       full_file_name, dir, content::SAVE_PAGE_TYPE_AS_COMPLETE_HTML));
dir               636 chrome/browser/download/save_page_browsertest.cc   base::FilePath dir = save_dir_.path().AppendASCII(
dir               647 chrome/browser/download/save_page_browsertest.cc       full_file_name, dir, content::SAVE_PAGE_TYPE_AS_COMPLETE_HTML));
dir               656 chrome/browser/download/save_page_browsertest.cc   EXPECT_TRUE(base::PathExists(dir));
dir               662 chrome/browser/download/save_page_browsertest.cc       dir.AppendASCII("1.png")));
dir               665 chrome/browser/download/save_page_browsertest.cc       dir.AppendASCII("1.css")));
dir               677 chrome/browser/download/save_page_browsertest.cc   base::FilePath full_file_name, dir;
dir               678 chrome/browser/download/save_page_browsertest.cc   GetDestinationPaths("a", &full_file_name, &dir);
dir               687 chrome/browser/download/save_page_browsertest.cc   ASSERT_TRUE(GetCurrentTab(browser())->SavePage(full_file_name, dir,
dir               707 chrome/browser/download/save_page_browsertest.cc   EXPECT_FALSE(base::PathExists(dir));
dir               723 chrome/browser/download/save_page_browsertest.cc   base::FilePath dir = download_dir.AppendASCII("test.exe_files");
dir               742 chrome/browser/download/save_page_browsertest.cc   EXPECT_TRUE(base::DieFileDie(dir, true));
dir                35 chrome/browser/extensions/extension_creator_filter_unittest.cc       const base::FilePath::StringType& dir) {
dir                36 chrome/browser/extensions/extension_creator_filter_unittest.cc     base::FilePath temp_sub_dir(test_dir_.Append(dir));
dir                85 chrome/browser/extensions/extension_creator_filter_unittest.cc   const base::FilePath::StringType dir;
dir               102 chrome/browser/extensions/extension_creator_filter_unittest.cc                                                       cases[i].dir));
dir               355 chrome/browser/extensions/extension_messages_apitest.cc   const Extension* LoadExtensionIntoDir(TestExtensionDir* dir,
dir               357 chrome/browser/extensions/extension_messages_apitest.cc     dir->WriteManifest(manifest);
dir               358 chrome/browser/extensions/extension_messages_apitest.cc     dir->WriteFile(FILE_PATH_LITERAL("background.js"),
dir               376 chrome/browser/extensions/extension_messages_apitest.cc     return LoadExtension(dir->unpacked_path());
dir                64 chrome/browser/extensions/updater/local_extension_cache_unittest.cc   void CreateFlagFile(const base::FilePath& dir) {
dir                65 chrome/browser/extensions/updater/local_extension_cache_unittest.cc     CreateFile(dir.Append(
dir                70 chrome/browser/extensions/updater/local_extension_cache_unittest.cc   void CreateExtensionFile(const base::FilePath& dir,
dir                75 chrome/browser/extensions/updater/local_extension_cache_unittest.cc     CreateFile(GetExtensionFileName(dir, id, version), size, timestamp);
dir                86 chrome/browser/extensions/updater/local_extension_cache_unittest.cc   base::FilePath GetExtensionFileName(const base::FilePath& dir,
dir                89 chrome/browser/extensions/updater/local_extension_cache_unittest.cc     return dir.Append(id + "-" + version + ".crx");
dir                38 chrome/browser/media/webrtc_log_list.cc     const base::FilePath& dir) {
dir                39 chrome/browser/media/webrtc_log_list.cc   DCHECK(!dir.empty());
dir                40 chrome/browser/media/webrtc_log_list.cc   return dir.AppendASCII(kWebRtcLogListFilename);
dir                27 chrome/browser/media/webrtc_log_list.h       const base::FilePath& dir);
dir                95 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc void PopulateDirectoryWithTestCases(const base::FilePath& dir,
dir                99 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc     base::FilePath path = dir.Append(test_cases[i].path);
dir               140 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h     ReadDirectoryRequest(const base::FilePath& dir,
dir               206 chrome/browser/media_galleries/media_galleries_test_util.cc base::FilePath MakeMediaGalleriesTestingPath(const std::string& dir) {
dir               208 chrome/browser/media_galleries/media_galleries_test_util.cc   return base::FilePath(FILE_PATH_LITERAL("C:\\")).AppendASCII(dir);
dir               210 chrome/browser/media_galleries/media_galleries_test_util.cc   return base::FilePath(FILE_PATH_LITERAL("/")).Append(dir);
dir                81 chrome/browser/media_galleries/media_galleries_test_util.h extern base::FilePath MakeMediaGalleriesTestingPath(const std::string& dir);
dir               195 chrome/browser/net/sqlite_server_bound_cert_store.cc   const base::FilePath dir = path_.DirName();
dir               196 chrome/browser/net/sqlite_server_bound_cert_store.cc   if (!base::PathExists(dir) && !base::CreateDirectory(dir))
dir               337 chrome/browser/notifications/desktop_notification_service.cc     WebTextDirection dir) {
dir               346 chrome/browser/notifications/desktop_notification_service.cc     subst.push_back(dir == blink::WebTextDirectionRightToLeft ?
dir               363 chrome/browser/notifications/desktop_notification_service.cc   subst.push_back(dir == blink::WebTextDirectionRightToLeft ?
dir               100 chrome/browser/notifications/desktop_notification_service.h                                       blink::WebTextDirection dir);
dir                36 chrome/browser/notifications/notification.cc                            blink::WebTextDirection dir,
dir                56 chrome/browser/notifications/notification.cc       icon_url, title, body, dir));
dir                65 chrome/browser/notifications/notification.cc     blink::WebTextDirection dir,
dir                92 chrome/browser/notifications/notification.cc         DesktopNotificationService::CreateDataUrl(icon_url_, title, body, dir));
dir               100 chrome/browser/notifications/notification.cc                            blink::WebTextDirection dir,
dir                40 chrome/browser/notifications/notification.h                blink::WebTextDirection dir,
dir                51 chrome/browser/notifications/notification.h                blink::WebTextDirection dir,
dir                62 chrome/browser/notifications/notification.h       blink::WebTextDirection dir,
dir               400 chrome/browser/performance_monitor/database_unittest.cc   base::ScopedTempDir dir;
dir               401 chrome/browser/performance_monitor/database_unittest.cc   CHECK(dir.CreateUniqueTempDir());
dir               402 chrome/browser/performance_monitor/database_unittest.cc   scoped_ptr<Database> db = Database::Create(dir.path());
dir                56 chrome/browser/platform_util_linux.cc   base::FilePath dir = full_path.DirName();
dir                57 chrome/browser/platform_util_linux.cc   if (!base::DirectoryExists(dir))
dir                60 chrome/browser/platform_util_linux.cc   XDGOpen(dir.value());
dir                35 chrome/browser/platform_util_win.cc   base::FilePath dir = full_path.DirName().AsEndingWithSeparator();
dir                37 chrome/browser/platform_util_win.cc   if (dir.empty())
dir                66 chrome/browser/platform_util_win.cc     ShellExecute(NULL, L"open", dir.value().c_str(), NULL, NULL, SW_SHOW);
dir                77 chrome/browser/platform_util_win.cc                                  const_cast<wchar_t *>(dir.value().c_str()),
dir                99 chrome/browser/platform_util_win.cc       ShellExecute(NULL, L"open", dir.value().c_str(), NULL, NULL, SW_SHOW);
dir               320 chrome/browser/policy/policy_browsertest.cc     Browser* browser, const base::FilePath& dir, const base::FilePath& file) {
dir               327 chrome/browser/policy/policy_browsertest.cc   base::FilePath downloaded = dir.Append(file);
dir               336 chrome/browser/policy/policy_browsertest.cc   base::FileEnumerator enumerator(dir, false, base::FileEnumerator::FILES);
dir                20 chrome/browser/policy/policy_path_parser_win.cc bool LoadUserDataDirPolicyFromRegistry(HKEY hive, base::FilePath* dir) {
dir                25 chrome/browser/policy/policy_path_parser_win.cc     *dir = base::FilePath(policy::path_parser::ExpandPathVariables(value));
dir               164 chrome/browser/profiles/profile_info_cache.cc   base::FilePath dir = image_path.DirName();
dir               165 chrome/browser/profiles/profile_info_cache.cc   if (!base::DirectoryExists(dir) && !base::CreateDirectory(dir)) {
dir                74 chrome/browser/sync/glue/session_model_associator.cc   syncer::syncable::Directory* dir = trans->GetWrappedWriteTrans()->directory();
dir                76 chrome/browser/sync/glue/session_model_associator.cc   machine_tag.append(dir->cache_guid());
dir               569 chrome/browser/themes/browser_theme_pack_unittest.cc   base::ScopedTempDir dir;
dir               570 chrome/browser/themes/browser_theme_pack_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir               571 chrome/browser/themes/browser_theme_pack_unittest.cc   base::FilePath file = dir.path().AppendASCII("data.pak");
dir               593 chrome/browser/themes/browser_theme_pack_unittest.cc   base::ScopedTempDir dir;
dir               594 chrome/browser/themes/browser_theme_pack_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir               595 chrome/browser/themes/browser_theme_pack_unittest.cc   base::FilePath file = dir.path().AppendASCII("theme_data.pak");
dir               412 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc                                           GtkMenuDirectionType dir) {
dir               436 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc   int shift = dir == GTK_MENU_DIR_PARENT ? -1 : 1;
dir                87 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h                                     GtkMenuDirectionType dir) OVERRIDE;
dir               160 chrome/browser/ui/gtk/menu_bar_helper.cc                                       GtkMenuDirectionType dir) {
dir               169 chrome/browser/ui/gtk/menu_bar_helper.cc   switch (dir) {
dir               178 chrome/browser/ui/gtk/menu_bar_helper.cc       delegate_->PopupForButtonNextTo(button_showing_menu_, dir);
dir                31 chrome/browser/ui/gtk/menu_bar_helper.h                                       GtkMenuDirectionType dir) = 0;
dir              1994 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc   PangoDirection dir = PANGO_DIRECTION_NEUTRAL;
dir              1996 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc     dir = pango_unichar_direction(gtk_text_iter_get_char(&iter));
dir              1997 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc     if (dir != PANGO_DIRECTION_NEUTRAL)
dir              2001 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc   return dir;
dir               154 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc       blink::WebTextDirection dir = blink::WebTextDirectionLeftToRight;
dir               156 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc         dir = blink::WebTextDirectionRightToLeft;
dir               157 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc       view_host->UpdateTextDirection(dir);
dir                21 chrome/common/extensions/extension_test_util.cc scoped_refptr<Extension> LoadManifestUnchecked(const std::string& dir,
dir                30 chrome/common/extensions/extension_test_util.cc              .AppendASCII(dir)
dir                45 chrome/common/extensions/extension_test_util.cc scoped_refptr<Extension> LoadManifestUnchecked(const std::string& dir,
dir                51 chrome/common/extensions/extension_test_util.cc       dir, test_file, location, extra_flags, std::string(), error);
dir                54 chrome/common/extensions/extension_test_util.cc scoped_refptr<Extension> LoadManifest(const std::string& dir,
dir                60 chrome/common/extensions/extension_test_util.cc       LoadManifestUnchecked(dir, test_file, location, extra_flags, &error);
dir                66 chrome/common/extensions/extension_test_util.cc scoped_refptr<Extension> LoadManifest(const std::string& dir,
dir                69 chrome/common/extensions/extension_test_util.cc   return LoadManifest(dir, test_file, Manifest::INVALID_LOCATION, extra_flags);
dir                72 chrome/common/extensions/extension_test_util.cc scoped_refptr<Extension> LoadManifestStrict(const std::string& dir,
dir                74 chrome/common/extensions/extension_test_util.cc   return LoadManifest(dir, test_file, Extension::NO_FLAGS);
dir                77 chrome/common/extensions/extension_test_util.cc scoped_refptr<Extension> LoadManifest(const std::string& dir,
dir                79 chrome/common/extensions/extension_test_util.cc   return LoadManifest(dir, test_file, Extension::NO_FLAGS);
dir                23 chrome/common/extensions/extension_test_util.h     const std::string& dir,
dir                31 chrome/common/extensions/extension_test_util.h     const std::string& dir,
dir                38 chrome/common/extensions/extension_test_util.h     const std::string& dir,
dir                43 chrome/common/extensions/extension_test_util.h scoped_refptr<extensions::Extension> LoadManifest(const std::string& dir,
dir                48 chrome/common/extensions/extension_test_util.h     const std::string& dir,
dir                51 chrome/common/extensions/extension_test_util.h scoped_refptr<extensions::Extension> LoadManifest(const std::string& dir,
dir               224 chrome/common/net/url_fixer_upper_unittest.cc static bool MakeTempFile(const base::FilePath& dir,
dir               227 chrome/common/net/url_fixer_upper_unittest.cc   *full_path = dir.Append(file_name);
dir               369 chrome/common/net/url_fixer_upper_unittest.cc   base::FilePath dir;
dir               371 chrome/common/net/url_fixer_upper_unittest.cc   ASSERT_TRUE(PathService::Get(chrome::DIR_APP, &dir));
dir               373 chrome/common/net/url_fixer_upper_unittest.cc       dir,
dir               466 chrome/common/net/url_fixer_upper_unittest.cc   base::FilePath full_path, dir;
dir               469 chrome/common/net/url_fixer_upper_unittest.cc   ASSERT_TRUE(PathService::Get(chrome::DIR_APP, &dir));
dir               470 chrome/common/net/url_fixer_upper_unittest.cc   ASSERT_TRUE(MakeTempFile(dir, file_part, &full_path));
dir               479 chrome/common/net/url_fixer_upper_unittest.cc         URLFixerUpper::FixupRelativeFile(dir, input).possibly_invalid_spec());
dir               484 chrome/common/net/url_fixer_upper_unittest.cc   EXPECT_TRUE(IsMatchingFileURL(URLFixerUpper::FixupRelativeFile(dir,
dir               492 chrome/common/net/url_fixer_upper_unittest.cc   std::string fixedup(URLFixerUpper::FixupRelativeFile(dir,
dir               503 chrome/common/net/url_fixer_upper_unittest.cc   base::FilePath new_dir = dir.Append(sub_dir);
dir               511 chrome/common/net/url_fixer_upper_unittest.cc   EXPECT_TRUE(IsMatchingFileURL(URLFixerUpper::FixupRelativeFile(dir,
dir               519 chrome/common/net/url_fixer_upper_unittest.cc   EXPECT_TRUE(IsMatchingFileURL(URLFixerUpper::FixupRelativeFile(dir,
dir               526 chrome/common/net/url_fixer_upper_unittest.cc   EXPECT_TRUE(IsMatchingFileURL(URLFixerUpper::FixupRelativeFile(dir,
dir               610 chrome/installer/mini_installer/mini_installer.cc bool IsCurrentOrParentDirectory(const wchar_t* dir) {
dir               611 chrome/installer/mini_installer/mini_installer.cc   return dir &&
dir               612 chrome/installer/mini_installer/mini_installer.cc          dir[0] == L'.' &&
dir               613 chrome/installer/mini_installer/mini_installer.cc          (dir[1] == L'\0' || (dir[1] == L'.' && dir[2] == L'\0'));
dir                19 chrome/installer/util/create_reg_key_work_item.cc void UpOneDirectoryOrEmpty(std::wstring* dir) {
dir                20 chrome/installer/util/create_reg_key_work_item.cc   base::FilePath path = base::FilePath(*dir);
dir                26 chrome/installer/util/create_reg_key_work_item.cc     dir->clear();
dir                28 chrome/installer/util/create_reg_key_work_item.cc     *dir = directory.value();
dir               242 chrome/installer/util/lzma_util.cc bool LzmaUtil::CreateDirectory(const base::FilePath& dir) {
dir               244 chrome/installer/util/lzma_util.cc   if (directories_created_.find(dir.value()) == directories_created_.end()) {
dir               245 chrome/installer/util/lzma_util.cc     ret = base::CreateDirectory(dir);
dir               247 chrome/installer/util/lzma_util.cc       directories_created_.insert(dir.value());
dir                45 chrome/installer/util/lzma_util.h   bool CreateDirectory(const base::FilePath& dir);
dir               280 chrome/test/base/ui_test_utils.cc base::FilePath GetTestFilePath(const base::FilePath& dir,
dir               284 chrome/test/base/ui_test_utils.cc   return path.Append(dir).Append(file);
dir               287 chrome/test/base/ui_test_utils.cc GURL GetTestUrl(const base::FilePath& dir, const base::FilePath& file) {
dir               288 chrome/test/base/ui_test_utils.cc   return net::FilePathToFileURL(GetTestFilePath(dir, file));
dir               121 chrome/test/base/ui_test_utils.h base::FilePath GetTestFilePath(const base::FilePath& dir,
dir               128 chrome/test/base/ui_test_utils.h GURL GetTestUrl(const base::FilePath& dir, const base::FilePath& file);
dir                53 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc   base::FilePath dir(FILE_PATH_LITERAL("dir"));
dir                54 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc   base::FilePath first = dir.AppendASCII("first");
dir                55 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc   base::FilePath second = dir.AppendASCII("second");
dir                63 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc   locations.push_back(dir);
dir                87 chrome/test/chromedriver/util.cc   base::ScopedTempDir dir;
dir                88 chrome/test/chromedriver/util.cc   if (!dir.CreateUniqueTempDir())
dir                91 chrome/test/chromedriver/util.cc   base::FilePath archive = dir.path().AppendASCII("temp.zip");
dir               210 chrome/test/mini_installer_test/installer_path_provider.cc   std::vector<base::FilePath>::const_iterator dir;
dir               211 chrome/test/mini_installer_test/installer_path_provider.cc   for (dir = paths.begin(); dir != paths.end(); ++dir) {
dir               212 chrome/test/mini_installer_test/installer_path_provider.cc     base::FilePath windir = dir->Append(
dir                22 chrome/tools/crash_service/main.cc bool GetCrashServiceDirectory(base::FilePath* dir) {
dir                31 chrome/tools/crash_service/main.cc   *dir = temp_dir;
dir               122 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc void DeleteLeakedFiles(const base::FilePath& dir) {
dir               124 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc   base::FileEnumerator enumerator(dir, false, base::FileEnumerator::FILES);
dir                49 components/autofill/core/browser/autofill_merge_unittest.cc   CR_DEFINE_STATIC_LOCAL(base::FilePath, dir, ());
dir                50 components/autofill/core/browser/autofill_merge_unittest.cc   if (dir.empty()) {
dir                51 components/autofill/core/browser/autofill_merge_unittest.cc     PathService::Get(base::DIR_SOURCE_ROOT, &dir);
dir                52 components/autofill/core/browser/autofill_merge_unittest.cc     dir = dir.AppendASCII("components");
dir                53 components/autofill/core/browser/autofill_merge_unittest.cc     dir = dir.AppendASCII("test");
dir                54 components/autofill/core/browser/autofill_merge_unittest.cc     dir = dir.AppendASCII("data");
dir                56 components/autofill/core/browser/autofill_merge_unittest.cc   return dir;
dir                70 components/autofill/core/browser/data_driven_test.cc   base::FilePath dir;
dir                71 components/autofill/core/browser/data_driven_test.cc   dir = test_data_directory_.AppendASCII("autofill")
dir                74 components/autofill/core/browser/data_driven_test.cc   return dir;
dir                79 components/autofill/core/browser/data_driven_test.cc   base::FilePath dir;
dir                80 components/autofill/core/browser/data_driven_test.cc   dir = test_data_directory_.AppendASCII("autofill")
dir                83 components/autofill/core/browser/data_driven_test.cc   return dir;
dir               102 components/nacl/browser/nacl_process_host.cc bool IsInPath(const std::string& path_env_var, const std::string& dir) {
dir               108 components/nacl/browser/nacl_process_host.cc     if (*i == dir)
dir               122 components/storage_monitor/storage_monitor_chromeos_unittest.cc   base::FilePath CreateMountPoint(const std::string& dir, bool with_dcim_dir);
dir               233 components/storage_monitor/storage_monitor_chromeos_unittest.cc     const std::string& dir, bool with_dcim_dir) {
dir               235 components/storage_monitor/storage_monitor_chromeos_unittest.cc   return_path = return_path.AppendASCII(dir);
dir               218 components/storage_monitor/storage_monitor_linux_unittest.cc   base::FilePath CreateMountPointWithDCIMDir(const std::string& dir) {
dir               219 components/storage_monitor/storage_monitor_linux_unittest.cc     return CreateMountPoint(dir, true  /* create DCIM dir */);
dir               225 components/storage_monitor/storage_monitor_linux_unittest.cc   base::FilePath CreateMountPointWithoutDCIMDir(const std::string& dir) {
dir               226 components/storage_monitor/storage_monitor_linux_unittest.cc     return CreateMountPoint(dir, false  /* do not create DCIM dir */);
dir               229 components/storage_monitor/storage_monitor_linux_unittest.cc   void RemoveDCIMDirFromMountPoint(const std::string& dir) {
dir               231 components/storage_monitor/storage_monitor_linux_unittest.cc         scoped_temp_dir_.path().AppendASCII(dir).Append(kDCIMDirectoryName);
dir               257 components/storage_monitor/storage_monitor_linux_unittest.cc   base::FilePath CreateMountPoint(const std::string& dir, bool with_dcim_dir) {
dir               259 components/storage_monitor/storage_monitor_linux_unittest.cc     return_path = return_path.AppendASCII(dir);
dir               465 content/browser/child_process_security_policy_impl.cc                                                    const base::FilePath& dir) {
dir               466 content/browser/child_process_security_policy_impl.cc   GrantPermissionsForFile(child_id, dir, COPY_INTO_FILE_GRANT);
dir               470 content/browser/child_process_security_policy_impl.cc     int child_id, const base::FilePath& dir) {
dir               471 content/browser/child_process_security_policy_impl.cc   GrantPermissionsForFile(child_id, dir, DELETE_FILE_GRANT);
dir                48 content/browser/child_process_security_policy_impl.h   virtual void GrantCopyInto(int child_id, const base::FilePath& dir) OVERRIDE;
dir                50 content/browser/child_process_security_policy_impl.h                                const base::FilePath& dir) OVERRIDE;
dir               741 content/browser/download/save_package.cc   base::FilePath dir = (save_type_ == SAVE_PAGE_TYPE_AS_COMPLETE_HTML &&
dir               759 content/browser/download/save_package.cc                  dir,
dir                25 content/browser/download/save_package_browsertest.cc                            base::FilePath* dir) {
dir                27 content/browser/download/save_package_browsertest.cc     *dir = save_dir_.path().AppendASCII(prefix + "_files");
dir                40 content/browser/download/save_package_browsertest.cc   base::FilePath full_file_name, dir;
dir                41 content/browser/download/save_package_browsertest.cc   GetDestinationPaths("a", &full_file_name, &dir);
dir                44 content/browser/download/save_package_browsertest.cc       dir));
dir                54 content/browser/download/save_package_browsertest.cc   base::FilePath full_file_name, dir;
dir                55 content/browser/download/save_package_browsertest.cc   GetDestinationPaths("a", &full_file_name, &dir);
dir                58 content/browser/download/save_package_browsertest.cc       dir));
dir               319 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc       FileSystemURL dir = directories.front();
dir               321 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc       ASSERT_EQ(base::File::FILE_OK, ReadDirectory(dir, &entries));
dir               324 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc             dir.origin(),
dir               325 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc             dir.mount_type(),
dir               326 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc             dir.virtual_path().Append(entries[i].name));
dir                65 content/browser/fileapi/dragged_file_util_unittest.cc                           const FileSystemURL& dir,
dir                68 content/browser/fileapi/dragged_file_util_unittest.cc       dir.origin(),
dir                69 content/browser/fileapi/dragged_file_util_unittest.cc       dir.mount_type(),
dir                70 content/browser/fileapi/dragged_file_util_unittest.cc       dir.virtual_path().Append(name));
dir               207 content/browser/fileapi/dragged_file_util_unittest.cc       FileSystemURL dir = directories.front();
dir               212 content/browser/fileapi/dragged_file_util_unittest.cc                     file_system_context(), dir, &entries));
dir               215 content/browser/fileapi/dragged_file_util_unittest.cc                                         dir, entries[i].name);
dir               226 content/browser/fileapi/dragged_file_util_unittest.cc       FileSystemURL dir = directories.front();
dir               231 content/browser/fileapi/dragged_file_util_unittest.cc                     file_system_context(), dir, &entries));
dir               234 content/browser/fileapi/dragged_file_util_unittest.cc                                          dir, entries[i].name);
dir               443 content/browser/fileapi/dragged_file_util_unittest.cc     FileSystemURL dir = directories.front();
dir               447 content/browser/fileapi/dragged_file_util_unittest.cc                                                  dir, &entries));
dir               450 content/browser/fileapi/dragged_file_util_unittest.cc                                           dir, entries[i].name);
dir               821 content/browser/fileapi/file_system_operation_impl_unittest.cc   FileSystemURL dir(CreateDirectory("dir"));
dir               822 content/browser/fileapi/file_system_operation_impl_unittest.cc   operation_runner()->CreateDirectory(dir, true, false,
dir               841 content/browser/fileapi/file_system_operation_impl_unittest.cc   FileSystemURL dir(CreateDirectory("dir"));
dir               842 content/browser/fileapi/file_system_operation_impl_unittest.cc   operation_runner()->CreateDirectory(dir, false, false,
dir               887 content/browser/fileapi/file_system_operation_impl_unittest.cc   FileSystemURL dir(CreateDirectory("dir"));
dir               891 content/browser/fileapi/file_system_operation_impl_unittest.cc   operation_runner()->DirectoryExists(dir, RecordStatusCallback());
dir               896 content/browser/fileapi/file_system_operation_impl_unittest.cc   operation_runner()->GetMetadata(dir, RecordMetadataCallback());
dir               919 content/browser/fileapi/file_system_operation_impl_unittest.cc   FileSystemURL dir(CreateDirectory("dir"));
dir               920 content/browser/fileapi/file_system_operation_impl_unittest.cc   operation_runner()->FileExists(dir, RecordStatusCallback());
dir              1091 content/browser/fileapi/file_system_operation_impl_unittest.cc   FileSystemURL dir(CreateDirectory("dir"));
dir              1145 content/browser/fileapi/file_system_operation_impl_unittest.cc   FileSystemURL dir(CreateDirectory("dir"));
dir              1148 content/browser/fileapi/file_system_operation_impl_unittest.cc   operation_runner()->DirectoryExists(dir, RecordStatusCallback());
dir              2039 content/browser/fileapi/obfuscated_file_util_unittest.cc   FileSystemURL dir = CreateURLFromUTF8("foo");
dir              2040 content/browser/fileapi/obfuscated_file_util_unittest.cc   FileSystemURL url1 = FileSystemURLAppendUTF8(dir, "bar");
dir              2041 content/browser/fileapi/obfuscated_file_util_unittest.cc   FileSystemURL url2 = FileSystemURLAppendUTF8(dir, "baz");
dir              2045 content/browser/fileapi/obfuscated_file_util_unittest.cc             ofu()->CreateDirectory(context.get(), dir, false, false));
dir              2071 content/browser/fileapi/obfuscated_file_util_unittest.cc       ofu()->CreateFileEnumerator(context.get(), dir, false));
dir              2082 content/browser/fileapi/obfuscated_file_util_unittest.cc                                      dir.origin(),
dir              2083 content/browser/fileapi/obfuscated_file_util_unittest.cc                                      dir.mount_type(),
dir              2306 content/browser/fileapi/obfuscated_file_util_unittest.cc   FileSystemURL dir(CreateURLFromUTF8("dir"));
dir              2321 content/browser/fileapi/obfuscated_file_util_unittest.cc                 AllowUsageIncrease(PathCost(dir))->context(),
dir              2322 content/browser/fileapi/obfuscated_file_util_unittest.cc                 dir, false, false));
dir              2365 content/browser/fileapi/obfuscated_file_util_unittest.cc                 file_system_context(), dir, true /* recursive */));
dir                33 content/browser/gamepad/gamepad_standard_mappings.cc void DpadFromAxis(blink::WebGamepad* mapped, float dir) {
dir                43 content/browser/gamepad/gamepad_standard_mappings.cc   if (dir != 0.0f) {
dir                44 content/browser/gamepad/gamepad_standard_mappings.cc     up = (dir >= -1.f && dir < -0.7f) || (dir >= .95f && dir <= 1.f);
dir                45 content/browser/gamepad/gamepad_standard_mappings.cc     right = dir >= -.75f && dir < -.1f;
dir                46 content/browser/gamepad/gamepad_standard_mappings.cc     down = dir >= -.2f && dir < .45f;
dir                47 content/browser/gamepad/gamepad_standard_mappings.cc     left = dir >= .4f && dir <= 1.f;
dir                65 content/browser/gamepad/gamepad_standard_mappings.h void DpadFromAxis(blink::WebGamepad* mapped, float dir);
dir               371 content/browser/media/webrtc_identity_store_backend.cc   const base::FilePath dir = path_.DirName();
dir               372 content/browser/media/webrtc_identity_store_backend.cc   if (!base::PathExists(dir) && !base::CreateDirectory(dir)) {
dir               564 content/browser/net/sqlite_persistent_cookie_store.cc   const base::FilePath dir = path_.DirName();
dir               565 content/browser/net/sqlite_persistent_cookie_store.cc   if (!base::PathExists(dir) && !base::CreateDirectory(dir)) {
dir               111 content/browser/renderer_host/render_view_host_impl.cc     blink::WebTextDirection dir) {
dir               112 content/browser/renderer_host/render_view_host_impl.cc   switch (dir) {
dir               142 content/browser/utility_process_host_impl.cc void UtilityProcessHostImpl::SetExposedDir(const base::FilePath& dir) {
dir               143 content/browser/utility_process_host_impl.cc   exposed_dir_ = dir;
dir                40 content/browser/utility_process_host_impl.h   virtual void SetExposedDir(const base::FilePath& dir) OVERRIDE;
dir               441 content/common/plugin_list_posix.cc   base::FilePath dir;
dir               442 content/common/plugin_list_posix.cc   PathService::Get(base::DIR_EXE, &dir);
dir               443 content/common/plugin_list_posix.cc   plugin_dirs->push_back(dir.Append("plugins"));
dir               336 content/common/plugin_list_win.cc   base::string16 dir = path.value();
dir               338 content/common/plugin_list_win.cc   dir.append(L"\\NP*.DLL");
dir               340 content/common/plugin_list_win.cc   find_handle = FindFirstFile(dir.c_str(), &find_file_data);
dir               212 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java                 public boolean accept(File dir, String name) {
dir               336 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java         File dir = getOutputDir();
dir               337 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java         if (dir.exists()) {
dir               338 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java             File[] files = dir.listFiles();
dir               137 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java         File dir = Environment.getExternalStoragePublicDirectory(
dir               140 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java                 dir, "chrome-profile-results-" + formatter.format(new Date()));
dir                71 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java         File dir = getInstrumentation().getTargetContext().getFilesDir();
dir                72 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java         File testFile = new File(dir, "ImportantFileTest");
dir                55 content/public/browser/child_process_security_policy.h   virtual void GrantCopyInto(int child_id, const base::FilePath& dir) = 0;
dir                58 content/public/browser/child_process_security_policy.h   virtual void GrantDeleteFrom(int child_id, const base::FilePath& dir) = 0;
dir                56 content/public/browser/utility_process_host.h   virtual void SetExposedDir(const base::FilePath& dir) = 0;
dir               184 content/public/test/async_file_test_helper.cc   base::ScopedTempDir dir;
dir               185 content/public/test/async_file_test_helper.cc   if (!dir.CreateUniqueTempDir())
dir               187 content/public/test/async_file_test_helper.cc   base::FilePath local_path = dir.path().AppendASCII("tmp");
dir                24 content/public/test/content_browser_test_utils.cc base::FilePath GetTestFilePath(const char* dir, const char* file) {
dir                27 content/public/test/content_browser_test_utils.cc   return path.Append(base::FilePath().AppendASCII(dir).Append(
dir                31 content/public/test/content_browser_test_utils.cc GURL GetTestUrl(const char* dir, const char* file) {
dir                32 content/public/test/content_browser_test_utils.cc   return net::FilePathToFileURL(GetTestFilePath(dir, file));
dir                34 content/public/test/content_browser_test_utils.h base::FilePath GetTestFilePath(const char* dir, const char* file);
dir                40 content/public/test/content_browser_test_utils.h GURL GetTestUrl(const char* dir, const char* file);
dir               104 courgette/disassembler_win32_x64.h   bool ReadDataDirectory(int index, ImageDataDirectory* dir);
dir               104 courgette/disassembler_win32_x86.h   bool ReadDataDirectory(int index, ImageDataDirectory* dir);
dir                83 crypto/nss_util.cc   base::FilePath dir = base::GetHomeDir();
dir                84 crypto/nss_util.cc   if (dir.empty()) {
dir                86 crypto/nss_util.cc     return dir;
dir                88 crypto/nss_util.cc   dir = dir.AppendASCII(".pki").AppendASCII("nssdb");
dir                89 crypto/nss_util.cc   if (!base::CreateDirectory(dir)) {
dir                90 crypto/nss_util.cc     LOG(ERROR) << "Failed to create " << dir.value() << " directory.";
dir                91 crypto/nss_util.cc     dir.clear();
dir                93 crypto/nss_util.cc   DVLOG(2) << "DefaultConfigDirectory: " << dir.value();
dir                94 crypto/nss_util.cc   return dir;
dir                57 extensions/browser/info_map_unittest.cc static scoped_refptr<Extension> LoadManifest(const std::string& dir,
dir                61 extensions/browser/info_map_unittest.cc   path = path.AppendASCII("extensions").AppendASCII(dir).AppendASCII(test_file);
dir               179 media/video/capture/win/pin_base_win.cc   info->dir = PINDIR_INPUT;
dir               150 native_client_sdk/src/examples/demo/nacl_io/handlers.c static int AddDirToMap(DIR* dir) {
dir               151 native_client_sdk/src/examples/demo/nacl_io/handlers.c   return AddToMap((void**)g_OpenDirs, MAX_OPEN_DIRS, dir);
dir               535 native_client_sdk/src/examples/demo/nacl_io/handlers.c   DIR* dir;
dir               546 native_client_sdk/src/examples/demo/nacl_io/handlers.c   dir = opendir(dirname);
dir               547 native_client_sdk/src/examples/demo/nacl_io/handlers.c   if (!dir) {
dir               552 native_client_sdk/src/examples/demo/nacl_io/handlers.c   dir_index = AddDirToMap(dir);
dir               585 native_client_sdk/src/examples/demo/nacl_io/handlers.c   DIR* dir;
dir               595 native_client_sdk/src/examples/demo/nacl_io/handlers.c   dir = GetDirFromIndexString(dir_index_string, NULL);
dir               597 native_client_sdk/src/examples/demo/nacl_io/handlers.c   if (!dir) {
dir               602 native_client_sdk/src/examples/demo/nacl_io/handlers.c   entry = readdir(dir);
dir               634 native_client_sdk/src/examples/demo/nacl_io/handlers.c   DIR* dir;
dir               645 native_client_sdk/src/examples/demo/nacl_io/handlers.c   dir = GetDirFromIndexString(dir_index_string, &dir_index);
dir               646 native_client_sdk/src/examples/demo/nacl_io/handlers.c   if (!dir) {
dir               652 native_client_sdk/src/examples/demo/nacl_io/handlers.c   result = closedir(dir);
dir               270 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc   ScopedNode dir;
dir               271 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc   EXPECT_EQ(0, fs.FindOrCreateDir(Path("/mydir"), &dir));
dir               272 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc   ASSERT_NE((Node*)NULL, dir.get());
dir               273 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc   EXPECT_EQ(1, dir->ChildCount());
dir                88 net/base/directory_lister.cc DirectoryLister::DirectoryLister(const base::FilePath& dir,
dir                90 net/base/directory_lister.cc     : core_(new Core(dir, false, ALPHA_DIRS_FIRST, this)),
dir                93 net/base/directory_lister.cc   DCHECK(!dir.value().empty());
dir                96 net/base/directory_lister.cc DirectoryLister::DirectoryLister(const base::FilePath& dir,
dir               100 net/base/directory_lister.cc     : core_(new Core(dir, recursive, sort, this)),
dir               103 net/base/directory_lister.cc   DCHECK(!dir.value().empty());
dir               118 net/base/directory_lister.cc DirectoryLister::Core::Core(const base::FilePath& dir,
dir               122 net/base/directory_lister.cc     : dir_(dir),
dir                58 net/base/directory_lister.h   DirectoryLister(const base::FilePath& dir,
dir                61 net/base/directory_lister.h   DirectoryLister(const base::FilePath& dir,
dir                79 net/base/directory_lister.h     Core(const base::FilePath& dir,
dir                21 net/disk_cache/simple/simple_index_file_posix.cc   void operator()(DIR* dir) { closedir(dir); }
dir                32 net/disk_cache/simple/simple_index_file_posix.cc   const ScopedDir dir(opendir(cache_path.value().c_str()));
dir                33 net/disk_cache/simple/simple_index_file_posix.cc   if (!dir) {
dir                38 net/disk_cache/simple/simple_index_file_posix.cc   while (readdir_r(dir.get(), &entry, &result) == 0) {
dir               217 net/http/http_auth_cache.cc bool HttpAuthCache::Entry::HasEnclosingPath(const std::string& dir,
dir               219 net/http/http_auth_cache.cc   DCHECK(GetParentDirectory(dir) == dir);
dir               222 net/http/http_auth_cache.cc     if (IsEnclosingPath(*it, dir)) {
dir                85 net/http/http_auth_cache.h     bool HasEnclosingPath(const std::string& dir, size_t* path_len);
dir                19 net/test/python_utils.cc void AppendToPythonPath(const base::FilePath& dir) {
dir                24 net/test/python_utils.cc   dir_path = base::WideToUTF8(dir.value());
dir                26 net/test/python_utils.cc   dir_path = dir.value();
dir                51 net/test/python_utils.cc   base::FilePath dir(start_dir);
dir                52 net/test/python_utils.cc   while (!base::DirectoryExists(dir.Append(to_try))) {
dir                53 net/test/python_utils.cc     base::FilePath parent = dir.DirName();
dir                54 net/test/python_utils.cc     if (parent == dir) {
dir                58 net/test/python_utils.cc     dir = parent;
dir                60 net/test/python_utils.cc   *out_dir = dir;
dir                67 net/test/python_utils.cc bool GetPyProtoPath(base::FilePath* dir) {
dir                87 net/test/python_utils.cc   if (!TryRelativeToDir(generated_code_dir, kPyProto, dir)) {
dir                96 net/test/python_utils.cc     if (!TryRelativeToDir(generated_code_dir, kPyProto, dir)) {
dir               102 net/test/python_utils.cc   generated_code_dir = *dir;
dir               104 net/test/python_utils.cc   *dir = generated_code_dir.Append(kPyProto);
dir               105 net/test/python_utils.cc   VLOG(2) << "Found " << kPyProto.value() << " in " << dir->value();
dir                19 net/test/python_utils.h void AppendToPythonPath(const base::FilePath& dir);
dir                22 net/test/python_utils.h bool GetPyProtoPath(base::FilePath* dir);
dir              4779 net/url_request/url_request_unittest.cc     base::FilePath dir;
dir              4780 net/url_request/url_request_unittest.cc     PathService::Get(base::DIR_EXE, &dir);
dir              4781 net/url_request/url_request_unittest.cc     base::SetCurrentDirectory(dir);
dir                74 ppapi/tests/test_file_ref.cc int32_t TestFileRef::DeleteDirectoryRecursively(pp::FileRef* dir) {
dir                75 ppapi/tests/test_file_ref.cc   if (!dir)
dir                83 ppapi/tests/test_file_ref.cc       dir->ReadDirectoryEntries(output_callback.GetCallback()));
dir               104 ppapi/tests/test_file_ref.cc   callback.WaitForResult(dir->Delete(callback.GetCallback()));
dir                29 ppapi/tests/test_file_ref.h   int32_t DeleteDirectoryRecursively(pp::FileRef* dir);
dir               199 sandbox/linux/services/credentials.cc   ScopedDIR dir(fdopendir(proc_self_fd));
dir               200 sandbox/linux/services/credentials.cc   CHECK(dir);
dir               204 sandbox/linux/services/credentials.cc   while (!readdir_r(dir.get(), &e, &de) && de) {
dir                26 sandbox/linux/services/credentials_unittest.cc   struct stat dir;
dir                28 sandbox/linux/services/credentials_unittest.cc   int ret = stat(path, &dir);
dir               571 sandbox/win/src/file_policy_test.cc   HANDLE dir = ::CreateFile(subfolder.c_str(), FILE_ALL_ACCESS,
dir               574 sandbox/win/src/file_policy_test.cc   EXPECT_TRUE(INVALID_HANDLE_VALUE != dir);
dir               579 sandbox/win/src/file_policy_test.cc   EXPECT_TRUE(SetReparsePoint(dir, temp_dir_nt.c_str()));
dir               580 sandbox/win/src/file_policy_test.cc   EXPECT_TRUE(::CloseHandle(dir));
dir               586 sandbox/win/src/file_policy_test.cc   dir = ::CreateFile(subfolder.c_str(), FILE_ALL_ACCESS,
dir               590 sandbox/win/src/file_policy_test.cc   EXPECT_TRUE(INVALID_HANDLE_VALUE != dir);
dir               591 sandbox/win/src/file_policy_test.cc   EXPECT_TRUE(DeleteReparsePoint(dir));
dir               592 sandbox/win/src/file_policy_test.cc   EXPECT_TRUE(::CloseHandle(dir));
dir                38 sandbox/win/src/win_utils_unittest.cc   HANDLE dir = ::CreateFile(my_folder, FILE_ALL_ACCESS,
dir                41 sandbox/win/src/win_utils_unittest.cc   EXPECT_NE(INVALID_HANDLE_VALUE, dir);
dir                44 sandbox/win/src/win_utils_unittest.cc   EXPECT_TRUE(SetReparsePoint(dir, temp_dir_nt.c_str()));
dir                49 sandbox/win/src/win_utils_unittest.cc   EXPECT_TRUE(DeleteReparsePoint(dir));
dir                50 sandbox/win/src/win_utils_unittest.cc   EXPECT_TRUE(::CloseHandle(dir));
dir                27 sync/engine/apply_control_data_updates.cc void ApplyControlDataUpdates(syncable::Directory* dir) {
dir                28 sync/engine/apply_control_data_updates.cc   syncable::WriteTransaction trans(FROM_HERE, SYNCER, dir);
dir                31 sync/engine/apply_control_data_updates.cc   dir->GetUnappliedUpdateMetaHandles(
dir                55 sync/engine/apply_control_data_updates.cc                         dir->GetCryptographer(&trans));
dir                59 sync/engine/apply_control_data_updates.cc                          dir->GetCryptographer(&trans));
dir                79 sync/engine/apply_control_data_updates.cc                        dir->GetCryptographer(&trans));
dir                20 sync/engine/apply_control_data_updates.h SYNC_EXPORT_PRIVATE void ApplyControlDataUpdates(syncable::Directory* dir);
dir                24 sync/engine/directory_commit_contribution.cc     syncable::Directory* dir,
dir                29 sync/engine/directory_commit_contribution.cc   syncable::ModelNeutralWriteTransaction trans(FROM_HERE, SYNCER, dir);
dir                45 sync/engine/directory_commit_contribution.cc   dir->GetDataTypeContext(&trans, type, &context);
dir                48 sync/engine/directory_commit_contribution.cc       new DirectoryCommitContribution(metahandles, entities, context, dir));
dir               153 sync/engine/directory_commit_contribution.cc     syncable::Directory* dir)
dir               154 sync/engine/directory_commit_contribution.cc     : dir_(dir),
dir                48 sync/engine/directory_commit_contribution.h       syncable::Directory* dir,
dir                25 sync/engine/directory_commit_contribution_unittest.cc     syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir());
dir                26 sync/engine/directory_commit_contribution_unittest.cc     CreateTypeRoot(&trans, dir(), PREFERENCES);
dir                27 sync/engine/directory_commit_contribution_unittest.cc     CreateTypeRoot(&trans, dir(), EXTENSIONS);
dir                82 sync/engine/directory_commit_contribution_unittest.cc     syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir());
dir                89 sync/engine/directory_commit_contribution_unittest.cc       DirectoryCommitContribution::Build(dir(), PREFERENCES, 5));
dir               107 sync/engine/directory_commit_contribution_unittest.cc     syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir());
dir               114 sync/engine/directory_commit_contribution_unittest.cc       DirectoryCommitContribution::Build(dir(), PREFERENCES, 1));
dir               129 sync/engine/directory_commit_contribution_unittest.cc     syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir());
dir               136 sync/engine/directory_commit_contribution_unittest.cc       DirectoryCommitContribution::Build(dir(), PREFERENCES, 25));
dir               138 sync/engine/directory_commit_contribution_unittest.cc       DirectoryCommitContribution::Build(dir(), EXTENSIONS, 25));
dir               159 sync/engine/directory_commit_contribution_unittest.cc     syncable::ReadTransaction trans(FROM_HERE, dir());
dir               181 sync/engine/directory_commit_contribution_unittest.cc     syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir());
dir               188 sync/engine/directory_commit_contribution_unittest.cc       DirectoryCommitContribution::Build(dir(), PREFERENCES, 25));
dir               190 sync/engine/directory_commit_contribution_unittest.cc       DirectoryCommitContribution::Build(dir(), EXTENSIONS, 25));
dir               214 sync/engine/directory_commit_contribution_unittest.cc     syncable::ReadTransaction trans(FROM_HERE, dir());
dir                12 sync/engine/directory_commit_contributor.cc     syncable::Directory* dir,
dir                14 sync/engine/directory_commit_contributor.cc     : dir_(dir),
dir                30 sync/engine/directory_commit_contributor.h   DirectoryCommitContributor(syncable::Directory* dir, ModelType type);
dir                20 sync/engine/directory_update_handler.cc     syncable::Directory* dir,
dir                23 sync/engine/directory_update_handler.cc   : dir_(dir),
dir                45 sync/engine/directory_update_handler.h   DirectoryUpdateHandler(syncable::Directory* dir,
dir                81 sync/engine/directory_update_handler_unittest.cc     syncable::ReadTransaction trans(FROM_HERE, dir());
dir               112 sync/engine/directory_update_handler_unittest.cc   syncable::ModelNeutralWriteTransaction trans(FROM_HERE, UNITTEST, dir());
dir               126 sync/engine/directory_update_handler_unittest.cc   DirectoryUpdateHandler handler(dir(), BOOKMARKS, ui_worker());
dir               148 sync/engine/directory_update_handler_unittest.cc   syncable::ReadTransaction trans(FROM_HERE, dir());
dir               164 sync/engine/directory_update_handler_unittest.cc   DirectoryUpdateHandler handler(dir(), BOOKMARKS, ui_worker());
dir               186 sync/engine/directory_update_handler_unittest.cc   syncable::ReadTransaction trans(FROM_HERE, dir());
dir               198 sync/engine/directory_update_handler_unittest.cc   DirectoryUpdateHandler handler(dir(), PREFERENCES, ui_worker());
dir               217 sync/engine/directory_update_handler_unittest.cc   syncable::ReadTransaction trans(FROM_HERE, dir());
dir               229 sync/engine/directory_update_handler_unittest.cc   DirectoryUpdateHandler handler(dir(), BOOKMARKS, ui_worker());
dir               238 sync/engine/directory_update_handler_unittest.cc   dir()->GetDownloadProgress(BOOKMARKS, &saved);
dir               245 sync/engine/directory_update_handler_unittest.cc   DirectoryUpdateHandler handler(dir(), SYNCED_NOTIFICATIONS, ui_worker());
dir                58 sync/engine/get_commit_ids.cc   syncable::Directory* dir = trans->directory();
dir                68 sync/engine/get_commit_ids.cc   Cryptographer* cryptographer = dir->GetCryptographer(trans);
dir                70 sync/engine/get_commit_ids.cc     encrypted_types = dir->GetNigoriHandler()->GetEncryptedTypes(trans);
dir                31 sync/engine/get_updates_processor.cc   syncable::Directory* dir = context->directory();
dir                32 sync/engine/get_updates_processor.cc   syncable::ReadTransaction trans(FROM_HERE, dir);
dir                33 sync/engine/get_updates_processor.cc   syncable::NigoriHandler* nigori_handler = dir->GetNigoriHandler();
dir                40 sync/engine/get_updates_processor.cc     syncable::Directory* dir) {
dir                46 sync/engine/get_updates_processor.cc   syncable::ReadTransaction trans(FROM_HERE, dir);
dir                47 sync/engine/get_updates_processor.cc   syncable::NigoriHandler* nigori_handler = dir->GetNigoriHandler();
dir               258 sync/engine/get_updates_processor.cc     syncable::Directory* dir = session->context()->directory();
dir               260 sync/engine/get_updates_processor.cc         HandleGetEncryptionKeyResponse(update_response, dir));
dir               284 sync/engine/process_updates_util.cc     syncable::Directory* dir,
dir               299 sync/engine/process_updates_util.cc     ProcessUpdate(**update_it, dir->GetCryptographer(trans), trans);
dir               303 sync/engine/process_updates_util.cc void ExpireEntriesByVersion(syncable::Directory* dir,
dir               308 sync/engine/process_updates_util.cc   dir->GetMetaHandlesOfType(trans, type, &handles);
dir                31 sync/engine/process_updates_util.h     syncable::Directory* dir,
dir                39 sync/engine/process_updates_util.h void ExpireEntriesByVersion(syncable::Directory* dir,
dir               205 sync/engine/syncer_proto_util.cc     syncable::Directory* dir) {
dir               207 sync/engine/syncer_proto_util.cc   std::string local_birthday = dir->store_birthday();
dir               216 sync/engine/syncer_proto_util.cc     dir->set_store_birthday(response.store_birthday());
dir               242 sync/engine/syncer_proto_util.cc void SyncerProtoUtil::AddRequestBirthday(syncable::Directory* dir,
dir               244 sync/engine/syncer_proto_util.cc   if (!dir->store_birthday().empty())
dir               245 sync/engine/syncer_proto_util.cc     msg->set_store_birthday(dir->store_birthday());
dir               249 sync/engine/syncer_proto_util.cc void SyncerProtoUtil::AddBagOfChips(syncable::Directory* dir,
dir               251 sync/engine/syncer_proto_util.cc   msg->mutable_bag_of_chips()->ParseFromString(dir->bag_of_chips());
dir               358 sync/engine/syncer_proto_util.cc   syncable::Directory* dir = session->context()->directory();
dir               376 sync/engine/syncer_proto_util.cc   PersistBagOfChips(dir, *response);
dir               384 sync/engine/syncer_proto_util.cc   } else if (!VerifyResponseBirthday(*response, dir)) {
dir               525 sync/engine/syncer_proto_util.cc void SyncerProtoUtil::PersistBagOfChips(syncable::Directory* dir,
dir               531 sync/engine/syncer_proto_util.cc     dir->set_bag_of_chips(bag_of_chips);
dir                82 sync/engine/syncer_proto_util.h       syncable::Directory* dir,
dir               100 sync/engine/syncer_proto_util.h   static void AddRequestBirthday(syncable::Directory* dir,
dir               104 sync/engine/syncer_proto_util.h   static void AddBagOfChips(syncable::Directory* dir,
dir               120 sync/engine/syncer_proto_util.h       syncable::Directory* dir);
dir               488 sync/engine/syncer_util.cc     syncable::Directory* dir,
dir               501 sync/engine/syncer_util.cc   dir->GetUnsyncedMetaHandles(trans, &handles);
dir               106 sync/engine/syncer_util.h     syncable::Directory* dir,
dir               173 sync/internal_api/base_node.cc   syncable::Directory* dir = GetTransaction()->GetDirectory();
dir               175 sync/internal_api/base_node.cc   return dir->HasChildren(trans, GetEntry()->GetId());
dir                23 sync/internal_api/public/test/test_entry_factory.h   explicit TestEntryFactory(syncable::Directory* dir);
dir                25 sync/internal_api/test/test_entry_factory.cc TestEntryFactory::TestEntryFactory(syncable::Directory *dir)
dir                26 sync/internal_api/test/test_entry_factory.cc     : directory_(dir), next_revision_(1) {
dir                40 sync/sessions/sync_session.cc   syncable::Directory* dir = context_->directory();
dir                45 sync/sessions/sync_session.cc     dir->GetDownloadProgressAsString(type, &download_progress_markers[type]);
dir                50 sync/sessions/sync_session.cc   dir->CollectMetaHandleCounts(&num_entries_by_type,
dir                61 sync/sessions/sync_session.cc       dir->GetEntriesCount(),
dir                91 sync/syncable/entry.cc   return dir()->GetPredecessorId(kernel_);
dir                95 sync/syncable/entry.cc   return dir()->GetSuccessorId(kernel_);
dir                99 sync/syncable/entry.cc   return dir()->GetFirstChildId(basetrans_, kernel_);
dir               103 sync/syncable/entry.cc   dir()->GetChildHandlesById(basetrans_, GetId(), result);
dir               107 sync/syncable/entry.cc   return dir()->GetTotalNodeCount(basetrans_, kernel_);
dir               111 sync/syncable/entry.cc   return dir()->GetPositionIndex(basetrans_, kernel_);
dir               239 sync/syncable/entry.h   Directory* dir() const;
dir                72 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir                80 sync/syncable/model_neutral_mutable_entry.cc     ScopedKernelLock lock(dir());
dir                82 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir                91 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               100 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               108 sync/syncable/model_neutral_mutable_entry.cc     if (!dir()->ReindexId(base_write_transaction(), kernel_, value))
dir               110 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               121 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               129 sync/syncable/model_neutral_mutable_entry.cc     MetahandleSet* index = &dir()->kernel_->unsynced_metahandles;
dir               131 sync/syncable/model_neutral_mutable_entry.cc     ScopedKernelLock lock(dir());
dir               148 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               160 sync/syncable/model_neutral_mutable_entry.cc     MetahandleSet* index = &dir()->kernel_->unapplied_update_metahandles[
dir               163 sync/syncable/model_neutral_mutable_entry.cc     ScopedKernelLock lock(dir());
dir               180 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               209 sync/syncable/model_neutral_mutable_entry.cc   dir()->delete_journal()->UpdateDeleteJournalForServerDelete(
dir               220 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               230 sync/syncable/model_neutral_mutable_entry.cc   ScopedKernelLock lock(dir());
dir               232 sync/syncable/model_neutral_mutable_entry.cc   if (dir()->kernel_->server_tags_map.find(new_tag) !=
dir               233 sync/syncable/model_neutral_mutable_entry.cc       dir()->kernel_->server_tags_map.end()) {
dir               237 sync/syncable/model_neutral_mutable_entry.cc   dir()->kernel_->server_tags_map.erase(
dir               240 sync/syncable/model_neutral_mutable_entry.cc   kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               242 sync/syncable/model_neutral_mutable_entry.cc     dir()->kernel_->server_tags_map[new_tag] = kernel_;
dir               254 sync/syncable/model_neutral_mutable_entry.cc   ScopedKernelLock lock(dir());
dir               256 sync/syncable/model_neutral_mutable_entry.cc   if (dir()->kernel_->client_tags_map.find(new_tag) !=
dir               257 sync/syncable/model_neutral_mutable_entry.cc       dir()->kernel_->client_tags_map.end()) {
dir               261 sync/syncable/model_neutral_mutable_entry.cc   dir()->kernel_->client_tags_map.erase(
dir               264 sync/syncable/model_neutral_mutable_entry.cc   kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               266 sync/syncable/model_neutral_mutable_entry.cc     dir()->kernel_->client_tags_map[new_tag] = kernel_;
dir               292 sync/syncable/model_neutral_mutable_entry.cc   kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               310 sync/syncable/model_neutral_mutable_entry.cc           dir()->kernel_->unapplied_update_metahandles[old_server_type]
dir               316 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               323 sync/syncable/model_neutral_mutable_entry.cc       dir()->kernel_->unapplied_update_metahandles[new_server_type]
dir               339 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               350 sync/syncable/model_neutral_mutable_entry.cc     ScopedKernelLock lock(dir());
dir               352 sync/syncable/model_neutral_mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               362 sync/syncable/model_neutral_mutable_entry.cc   dir()->ReindexParentId(base_write_transaction(), kernel_, parent_id);
dir               363 sync/syncable/model_neutral_mutable_entry.cc   kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               367 sync/syncable/model_neutral_mutable_entry.cc   ScopedKernelLock lock(dir());
dir               369 sync/syncable/model_neutral_mutable_entry.cc   kernel_->mark_dirty(&(dir()->kernel_->dirty_metahandles));
dir               376 sync/syncable/model_neutral_mutable_entry.cc   return &dir()->kernel_->dirty_metahandles;
dir               111 sync/syncable/mutable_entry.cc     ScopedKernelLock lock(dir());
dir               113 sync/syncable/mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               122 sync/syncable/mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               131 sync/syncable/mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               180 sync/syncable/mutable_entry.cc     ScopedKernelLock lock(dir());
dir               184 sync/syncable/mutable_entry.cc         &dir()->kernel_->parent_child_index);
dir               187 sync/syncable/mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               197 sync/syncable/mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               210 sync/syncable/mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               220 sync/syncable/mutable_entry.cc     ScopedKernelLock lock(dir());
dir               222 sync/syncable/mutable_entry.cc         lock, kernel_, &dir()->kernel_->parent_child_index);
dir               224 sync/syncable/mutable_entry.cc     kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles);
dir               232 sync/syncable/mutable_entry.cc   dir()->PutPredecessor(kernel_, predecessor.kernel_);
dir                12 sync/syncable/scoped_kernel_lock.cc ScopedKernelLock::ScopedKernelLock(const Directory* dir)
dir                13 sync/syncable/scoped_kernel_lock.cc   :  scoped_lock_(dir->kernel_->mutex), dir_(const_cast<Directory*>(dir)) {
dir                18 sync/syncable/scoped_kernel_lock.h   explicit ScopedKernelLock(const Directory* dir);
dir               111 sync/syncable/syncable_unittest.cc   Directory dir(new InMemoryDirectoryBackingStore("SimpleTest"),
dir               117 sync/syncable/syncable_unittest.cc   ASSERT_EQ(OPENED, dir.Open(
dir               125 sync/syncable/syncable_unittest.cc     ReadTransaction rtrans(FROM_HERE, &dir);
dir               130 sync/syncable/syncable_unittest.cc     dir.GetChildHandlesById(&rtrans, rtrans.root_id(), &child_handles);
dir               136 sync/syncable/syncable_unittest.cc     WriteTransaction wtrans(FROM_HERE, UNITTEST, &dir);
dir               147 sync/syncable/syncable_unittest.cc     ReadTransaction rtrans(FROM_HERE, &dir);
dir               152 sync/syncable/syncable_unittest.cc     dir.GetChildHandlesById(&rtrans, rtrans.root_id(), &child_handles);
dir               164 sync/syncable/syncable_unittest.cc     WriteTransaction trans(FROM_HERE, UNITTEST, &dir);
dir               172 sync/syncable/syncable_unittest.cc     WriteTransaction trans(FROM_HERE, UNITTEST, &dir);
dir               180 sync/syncable/syncable_unittest.cc     ReadTransaction rtrans(FROM_HERE, &dir);
dir               186 sync/syncable/syncable_unittest.cc     WriteTransaction trans(FROM_HERE, UNITTEST, &dir);
dir               193 sync/syncable/syncable_unittest.cc   dir.SaveChanges();
dir               197 sync/syncable/syncable_unittest.cc   Directory dir(new InMemoryDirectoryBackingStore("SimpleTest"),
dir               202 sync/syncable/syncable_unittest.cc   ASSERT_EQ(OPENED, dir.Open(
dir               209 sync/syncable/syncable_unittest.cc     ReadTransaction rtrans(FROM_HERE, &dir);
dir               215 sync/syncable/syncable_unittest.cc     EXPECT_FALSE(dir.HasChildren(&rtrans, rtrans.root_id()));
dir               220 sync/syncable/syncable_unittest.cc     WriteTransaction wtrans(FROM_HERE, UNITTEST, &dir);
dir               230 sync/syncable/syncable_unittest.cc     ReadTransaction rtrans(FROM_HERE, &dir);
dir               239 sync/syncable/syncable_unittest.cc     EXPECT_TRUE(dir.HasChildren(&rtrans, rtrans.root_id()));
dir               244 sync/syncable/syncable_unittest.cc     WriteTransaction wtrans(FROM_HERE, UNITTEST, &dir);
dir               252 sync/syncable/syncable_unittest.cc     ReadTransaction rtrans(FROM_HERE, &dir);
dir               258 sync/syncable/syncable_unittest.cc     EXPECT_FALSE(dir.HasChildren(&rtrans, rtrans.root_id()));
dir               262 sync/syncable/syncable_unittest.cc   dir.SaveChanges();
dir               274 sync/syncable/syncable_unittest.cc     Directory dir(new OnDiskDirectoryBackingStore(kIndexTestName, db_path_),
dir               279 sync/syncable/syncable_unittest.cc     ASSERT_EQ(OPENED, dir.Open(kIndexTestName, &delegate_,
dir               282 sync/syncable/syncable_unittest.cc       WriteTransaction wtrans(FROM_HERE, UNITTEST, &dir);
dir               290 sync/syncable/syncable_unittest.cc     dir.SaveChanges();
dir               295 sync/syncable/syncable_unittest.cc     Directory dir(new OnDiskDirectoryBackingStore(kIndexTestName, db_path_),
dir               300 sync/syncable/syncable_unittest.cc     ASSERT_EQ(OPENED, dir.Open(kIndexTestName,
dir               303 sync/syncable/syncable_unittest.cc     ReadTransaction trans(FROM_HERE, &dir);
dir               320 sync/syncable/syncable_unittest.cc     Directory dir(new OnDiskDirectoryBackingStore(kIndexTestName, db_path_),
dir               325 sync/syncable/syncable_unittest.cc     ASSERT_EQ(OPENED, dir.Open(kIndexTestName, &delegate_,
dir               328 sync/syncable/syncable_unittest.cc       WriteTransaction wtrans(FROM_HERE, UNITTEST, &dir);
dir               337 sync/syncable/syncable_unittest.cc     dir.SaveChanges();
dir               343 sync/syncable/syncable_unittest.cc     Directory dir(new OnDiskDirectoryBackingStore(kIndexTestName, db_path_),
dir               348 sync/syncable/syncable_unittest.cc     ASSERT_EQ(OPENED, dir.Open(kIndexTestName, &delegate_,
dir               351 sync/syncable/syncable_unittest.cc     ReadTransaction trans(FROM_HERE, &dir);
dir               362 sync/syncable/syncable_unittest.cc   Directory dir(new InMemoryDirectoryBackingStore("SimpleTest"),
dir               367 sync/syncable/syncable_unittest.cc   ASSERT_EQ(OPENED, dir.Open(
dir               372 sync/syncable/syncable_unittest.cc     ReadTransaction rtrans(FROM_HERE, &dir);
dir               383 sync/syncable/syncable_unittest.cc     WriteTransaction wtrans(FROM_HERE, UNITTEST, &dir);
dir               397 sync/syncable/syncable_unittest.cc   dir.SaveChanges();
dir               410 sync/syncable/syncable_unittest.cc   Directory dir(store, &handler_, NULL, NULL, NULL);
dir               411 sync/syncable/syncable_unittest.cc   ASSERT_EQ(OPENED, dir.Open("x", &delegate_, NullTransactionObserver()));
dir               414 sync/syncable/syncable_unittest.cc     WriteTransaction wtrans(FROM_HERE, UNITTEST, &dir);
dir              2098 sync/syncable/syncable_unittest.cc   syncable::Directory dir(new OnDiskDirectoryBackingStore("ScopeTest", path),
dir              2104 sync/syncable/syncable_unittest.cc       dir.Open("ScopeTest", &delegate_, NullTransactionObserver());
dir              2106 sync/syncable/syncable_unittest.cc   dir.Close();
dir              2114 sync/syncable/syncable_unittest.cc   StressTransactionsDelegate(Directory* dir, int thread_number)
dir              2115 sync/syncable/syncable_unittest.cc       : dir_(dir),
dir              2163 sync/syncable/syncable_unittest.cc   Directory dir(new InMemoryDirectoryBackingStore(dirname),
dir              2168 sync/syncable/syncable_unittest.cc   dir.Open(dirname, &delegate, NullTransactionObserver());
dir              2175 sync/syncable/syncable_unittest.cc     thread_delegates[i].reset(new StressTransactionsDelegate(&dir, i));
dir              2184 sync/syncable/syncable_unittest.cc   dir.Close();
dir                69 sync/test/engine/test_syncable_utils.cc                     syncable::Directory *dir,
dir                42 sync/test/engine/test_syncable_utils.h                     syncable::Directory *dir,
dir                19 third_party/bintrees/bintrees/ctrees.c #define LINK(node, dir) (node->link[dir])
dir               258 third_party/bintrees/bintrees/ctrees.c rb_single(node_t *root, int dir)
dir               260 third_party/bintrees/bintrees/ctrees.c 	node_t *save = root->link[!dir];
dir               262 third_party/bintrees/bintrees/ctrees.c 	root->link[!dir] = save->link[dir];
dir               263 third_party/bintrees/bintrees/ctrees.c 	save->link[dir] = root;
dir               271 third_party/bintrees/bintrees/ctrees.c rb_double(node_t *root, int dir)
dir               273 third_party/bintrees/bintrees/ctrees.c 	root->link[!dir] = rb_single(root->link[!dir], !dir);
dir               274 third_party/bintrees/bintrees/ctrees.c 	return rb_single(root, dir);
dir               297 third_party/bintrees/bintrees/ctrees.c 		int dir = 0;
dir               315 third_party/bintrees/bintrees/ctrees.c 				p->link[dir] = q;
dir               348 third_party/bintrees/bintrees/ctrees.c 			last = dir;
dir               349 third_party/bintrees/bintrees/ctrees.c 			dir = (cmp_res < 0);
dir               357 third_party/bintrees/bintrees/ctrees.c 			q = q->link[dir];
dir               377 third_party/bintrees/bintrees/ctrees.c 	int dir = 1;
dir               391 third_party/bintrees/bintrees/ctrees.c 	while (q->link[dir] != NULL) {
dir               392 third_party/bintrees/bintrees/ctrees.c 		int last = dir;
dir               397 third_party/bintrees/bintrees/ctrees.c 		q = q->link[dir];
dir               401 third_party/bintrees/bintrees/ctrees.c 		dir = cmp_res < 0;
dir               411 third_party/bintrees/bintrees/ctrees.c 		if (!is_red(q) && !is_red(q->link[dir])) {
dir               412 third_party/bintrees/bintrees/ctrees.c 			if (is_red(q->link[!dir]))
dir               413 third_party/bintrees/bintrees/ctrees.c 				p = p->link[last] = rb_single(q, dir);
dir               414 third_party/bintrees/bintrees/ctrees.c 			else if (!is_red(q->link[!dir])) {
dir               465 third_party/bintrees/bintrees/ctrees.c avl_single(node_t *root, int dir)
dir               467 third_party/bintrees/bintrees/ctrees.c   node_t *save = root->link[!dir];
dir               471 third_party/bintrees/bintrees/ctrees.c 	root->link[!dir] = save->link[dir];
dir               472 third_party/bintrees/bintrees/ctrees.c 	save->link[dir] = root;
dir               477 third_party/bintrees/bintrees/ctrees.c 	slh = height(save->link[!dir]);
dir               486 third_party/bintrees/bintrees/ctrees.c avl_double(node_t *root, int dir)
dir               488 third_party/bintrees/bintrees/ctrees.c 	root->link[!dir] = avl_single(root->link[!dir], !dir);
dir               489 third_party/bintrees/bintrees/ctrees.c 	return avl_single(root, dir);
dir               602 third_party/bintrees/bintrees/ctrees.c 			int dir = it->link[0] == NULL;
dir               606 third_party/bintrees/bintrees/ctrees.c 				up[top - 1]->link[upd[top - 1]] = it->link[dir];
dir               608 third_party/bintrees/bintrees/ctrees.c 				root = it->link[dir];
dir               125 third_party/harfbuzz-ng/src/hb-common.h #define HB_DIRECTION_IS_HORIZONTAL(dir)	((((unsigned int) (dir)) & ~1U) == 4)
dir               126 third_party/harfbuzz-ng/src/hb-common.h #define HB_DIRECTION_IS_VERTICAL(dir)	((((unsigned int) (dir)) & ~1U) == 6)
dir               127 third_party/harfbuzz-ng/src/hb-common.h #define HB_DIRECTION_IS_FORWARD(dir)	((((unsigned int) (dir)) & ~2U) == 4)
dir               128 third_party/harfbuzz-ng/src/hb-common.h #define HB_DIRECTION_IS_BACKWARD(dir)	((((unsigned int) (dir)) & ~2U) == 5)
dir               129 third_party/harfbuzz-ng/src/hb-common.h #define HB_DIRECTION_IS_VALID(dir)	((((unsigned int) (dir)) & ~3U) == 4)
dir               130 third_party/harfbuzz-ng/src/hb-common.h #define HB_DIRECTION_REVERSE(dir)	((hb_direction_t) (((unsigned int) (dir)) ^ 1)) /* Direction must be valid */
dir               425 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::RestoreIfNecessary(const std::string& dir,
dir               456 third_party/leveldatabase/env_chromium.cc   base::FilePath dir_filepath = base::FilePath::FromUTF8Unsafe(dir);
dir               113 third_party/leveldatabase/env_chromium.h   virtual leveldb::Status GetChildren(const std::string& dir,
dir               178 third_party/leveldatabase/env_chromium.h   void RestoreIfNecessary(const std::string& dir,
dir               346 third_party/leveldatabase/env_chromium_stdio.cc   DIR* dir = opendir(dir_string.c_str());
dir               347 third_party/leveldatabase/env_chromium_stdio.cc   if (!dir)
dir               352 third_party/leveldatabase/env_chromium_stdio.cc   while ((readdir_result = readdir_r(dir, &dent_buf, &dent)) == 0 && dent) {
dir               358 third_party/leveldatabase/env_chromium_stdio.cc   closedir(dir);
dir               115 third_party/leveldatabase/env_chromium_unittest.cc   base::ScopedTempDir dir;
dir               116 third_party/leveldatabase/env_chromium_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir               117 third_party/leveldatabase/env_chromium_unittest.cc   base::FilePath dir_path = dir.path();
dir               147 third_party/leveldatabase/env_chromium_unittest.cc int CountFilesWithExtension(const base::FilePath& dir,
dir               151 third_party/leveldatabase/env_chromium_unittest.cc       dir, false, base::FileEnumerator::FILES);
dir               160 third_party/leveldatabase/env_chromium_unittest.cc bool GetFirstLDBFile(const base::FilePath& dir, base::FilePath* ldb_file) {
dir               162 third_party/leveldatabase/env_chromium_unittest.cc       dir, false, base::FileEnumerator::FILES);
dir               180 third_party/leveldatabase/env_chromium_unittest.cc   base::FilePath dir = scoped_temp_dir.path();
dir               183 third_party/leveldatabase/env_chromium_unittest.cc   Status status = DB::Open(options, dir.AsUTF8Unsafe(), &db);
dir               190 third_party/leveldatabase/env_chromium_unittest.cc   int ldb_files = CountFilesWithExtension(dir, FPL(".ldb"));
dir               191 third_party/leveldatabase/env_chromium_unittest.cc   int bak_files = CountFilesWithExtension(dir, FPL(".bak"));
dir               195 third_party/leveldatabase/env_chromium_unittest.cc   EXPECT_TRUE(GetFirstLDBFile(dir, &ldb_file));
dir               198 third_party/leveldatabase/env_chromium_unittest.cc   EXPECT_EQ(ldb_files - 1, CountFilesWithExtension(dir, FPL(".ldb")));
dir               201 third_party/leveldatabase/env_chromium_unittest.cc   status = leveldb::DB::Open(options, dir.AsUTF8Unsafe(), &db);
dir               210 third_party/leveldatabase/env_chromium_unittest.cc   int orig_ldb_files = CountFilesWithExtension(dir, FPL(".ldb"));
dir               211 third_party/leveldatabase/env_chromium_unittest.cc   int orig_bak_files = CountFilesWithExtension(dir, FPL(".bak"));
dir               214 third_party/leveldatabase/env_chromium_unittest.cc   EXPECT_TRUE(GetFirstLDBFile(dir, &ldb_file));
dir               216 third_party/leveldatabase/env_chromium_unittest.cc   ldb_files = CountFilesWithExtension(dir, FPL(".ldb"));
dir               217 third_party/leveldatabase/env_chromium_unittest.cc   bak_files = CountFilesWithExtension(dir, FPL(".bak"));
dir               225 third_party/leveldatabase/env_chromium_unittest.cc   base::FilePath dir = scoped_temp_dir.path();
dir               229 third_party/leveldatabase/env_chromium_unittest.cc   leveldb::Status status = env->GetChildren(dir.AsUTF8Unsafe(), &result);
dir               237 third_party/leveldatabase/env_chromium_unittest.cc   base::FilePath dir = scoped_temp_dir.path();
dir               239 third_party/leveldatabase/env_chromium_unittest.cc   base::FilePath new_file_dir = dir.Append(FPL("tmp_file"));
dir               248 third_party/leveldatabase/env_chromium_unittest.cc   leveldb::Status status = env->GetChildren(dir.AsUTF8Unsafe(), &result);
dir               253 third_party/leveldatabase/env_chromium_unittest.cc   status = env->GetChildren(dir.AsUTF8Unsafe(), &result);
dir               627 third_party/libjpeg/jquant1.c   int dir;			/* 1 for left-to-right, -1 for right-to-left */
dir               647 third_party/libjpeg/jquant1.c 	dir = -1;
dir               652 third_party/libjpeg/jquant1.c 	dir = 1;
dir               672 third_party/libjpeg/jquant1.c 	cur = RIGHT_SHIFT(cur + errorptr[dir] + 8, 4);
dir               703 third_party/libjpeg/jquant1.c 	output_ptr += dir;	/* advance output ptr to next column */
dir               704 third_party/libjpeg/jquant1.c 	errorptr += dir;	/* advance errorptr to current column */
dir               962 third_party/libjpeg/jquant2.c   int dir;			/* +1 or -1 depending on direction */
dir               981 third_party/libjpeg/jquant2.c       dir = -1;
dir               987 third_party/libjpeg/jquant2.c       dir = 1;
dir              1076 third_party/libjpeg/jquant2.c       outptr += dir;
dir               244 third_party/libusb/src/libusb/os/linux_usbfs.c 	DIR *dir;
dir               248 third_party/libusb/src/libusb/os/linux_usbfs.c 	dir = opendir(dirname);
dir               249 third_party/libusb/src/libusb/os/linux_usbfs.c 	if (!dir)
dir               252 third_party/libusb/src/libusb/os/linux_usbfs.c 	while ((entry = readdir(dir)) != NULL) {
dir               261 third_party/libusb/src/libusb/os/linux_usbfs.c 	closedir(dir);
dir               281 third_party/libusb/src/libusb/os/linux_usbfs.c 		DIR *dir;
dir               284 third_party/libusb/src/libusb/os/linux_usbfs.c 		dir = opendir(path);
dir               285 third_party/libusb/src/libusb/os/linux_usbfs.c 		if (dir != NULL) {
dir               286 third_party/libusb/src/libusb/os/linux_usbfs.c 			while ((entry = readdir(dir)) != NULL) {
dir               294 third_party/libusb/src/libusb/os/linux_usbfs.c 			closedir(dir);
dir              1115 third_party/libusb/src/libusb/os/linux_usbfs.c 	DIR *dir;
dir              1122 third_party/libusb/src/libusb/os/linux_usbfs.c 	dir = opendir(dirpath);
dir              1123 third_party/libusb/src/libusb/os/linux_usbfs.c 	if (!dir) {
dir              1130 third_party/libusb/src/libusb/os/linux_usbfs.c 	while ((entry = readdir(dir))) {
dir              1150 third_party/libusb/src/libusb/os/linux_usbfs.c 	closedir(dir);
dir              2957 third_party/libxml/src/debugXML.c             char dir[500];
dir              2959 third_party/libxml/src/debugXML.c             if (!xmlShellPwd(ctxt, dir, ctxt->node, NULL))
dir              2960 third_party/libxml/src/debugXML.c                 fprintf(ctxt->output, "%s\n", dir);
dir              2996 third_party/libxml/src/debugXML.c             int dir = (!strcmp(command, "dir"));
dir              2999 third_party/libxml/src/debugXML.c                 if (dir)
dir              3026 third_party/libxml/src/debugXML.c                                     if (dir)
dir                74 third_party/libxml/src/runsuite.c static xmlChar *composeDir(const xmlChar *dir, const xmlChar *path) {
dir                77 third_party/libxml/src/runsuite.c     if (dir == NULL) return(xmlStrdup(path));
dir                80 third_party/libxml/src/runsuite.c     snprintf(buf, 500, "%s/%s", (const char *) dir, (const char *) path);
dir              3622 third_party/libxml/src/xmlIO.c     char dir[1024];
dir              3640 third_party/libxml/src/xmlIO.c     strncpy(dir, filename, 1023);
dir              3641 third_party/libxml/src/xmlIO.c     dir[1023] = 0;
dir              3642 third_party/libxml/src/xmlIO.c     cur = &dir[strlen(dir)];
dir              3643 third_party/libxml/src/xmlIO.c     while (cur > dir) {
dir              3648 third_party/libxml/src/xmlIO.c         if (cur == dir) dir[1] = 0;
dir              3650 third_party/libxml/src/xmlIO.c 	ret = xmlMemStrdup(dir);
dir              3652 third_party/libxml/src/xmlIO.c         if (getcwd(dir, 1024) != NULL) {
dir              3653 third_party/libxml/src/xmlIO.c 	    dir[1023] = 0;
dir              3654 third_party/libxml/src/xmlIO.c 	    ret = xmlMemStrdup(dir);
dir               359 third_party/npapi/npspy/extern/nspr/md/_unixos.h #define _MD_OPEN_DIR(dir, name)		    _MD_open_dir(dir, name)
dir               360 third_party/npapi/npspy/extern/nspr/md/_unixos.h #define _MD_CLOSE_DIR(dir)		        _MD_close_dir(dir)
dir               361 third_party/npapi/npspy/extern/nspr/md/_unixos.h #define _MD_READ_DIR(dir, flags)	    _MD_read_dir(dir, flags)
dir               159 third_party/npapi/npspy/extern/nspr/md/_win16.h     struct  dirent  *dir;
dir              1086 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PRDirEntry*) PR_ReadDir(PRDir *dir, PRDirFlags flags);
dir              1092 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PRDirEntryUTF16*) PR_ReadDirUTF16(PRDirUTF16 *dir, PRDirFlags flags);
dir              1112 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PRStatus) PR_CloseDir(PRDir *dir);
dir              1118 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PRStatus) PR_CloseDirUTF16(PRDirUTF16 *dir);
dir                82 third_party/npapi/npspy/extern/nspr/prlink.h NSPR_API(char*) PR_GetLibraryName(const char *dir, const char *lib);
dir                73 third_party/npapi/npspy/extern/nspr/prproces.h     const char *dir
dir               320 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc     string dir = name.substr(0, slash_pos);
dir               321 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc     File::RecursivelyCreateDir(temp_directory_ + "/" + dir, 0777);
dir               154 third_party/protobuf/src/google/protobuf/testing/file.cc     DIR* dir = opendir(name.c_str());
dir               155 third_party/protobuf/src/google/protobuf/testing/file.cc     if (dir != NULL) {
dir               157 third_party/protobuf/src/google/protobuf/testing/file.cc         struct dirent* entry = readdir(dir);
dir               166 third_party/protobuf/src/google/protobuf/testing/file.cc     closedir(dir);
dir              1179 third_party/re2/re2/testing/re2_test.cc   string dir;
dir              1181 third_party/re2/re2/testing/re2_test.cc   EXPECT_TRUE(RE2::FullMatch("D", "([^\\\\])", &dir));  // fails
dir               306 third_party/sqlite/src/src/tclsqlite.c static int incrblobHandle(ClientData instanceData, int dir, ClientData *hPtr){
dir                98 third_party/talloc/libreplace/repdir_getdents.c struct dirent *readdir(DIR *dir)
dir               100 third_party/talloc/libreplace/repdir_getdents.c 	struct dir_buf *d = (struct dir_buf *)dir;
dir               116 third_party/talloc/libreplace/repdir_getdents.c long telldir(DIR *dir)
dir               118 third_party/talloc/libreplace/repdir_getdents.c 	struct dir_buf *d = (struct dir_buf *)dir;
dir               132 third_party/talloc/libreplace/repdir_getdents.c void seekdir(DIR *dir, long ofs)
dir               134 third_party/talloc/libreplace/repdir_getdents.c 	struct dir_buf *d = (struct dir_buf *)dir;
dir               139 third_party/talloc/libreplace/repdir_getdents.c 		if (readdir(dir) == NULL) break;
dir               143 third_party/talloc/libreplace/repdir_getdents.c void rewinddir(DIR *dir)
dir               145 third_party/talloc/libreplace/repdir_getdents.c 	seekdir(dir, 0);
dir               148 third_party/talloc/libreplace/repdir_getdents.c int closedir(DIR *dir)
dir               150 third_party/talloc/libreplace/repdir_getdents.c 	struct dir_buf *d = (struct dir_buf *)dir;
dir               161 third_party/talloc/libreplace/repdir_getdents.c int dirfd(DIR *dir)
dir               163 third_party/talloc/libreplace/repdir_getdents.c 	struct dir_buf *d = (struct dir_buf *)dir;
dir               100 third_party/talloc/libreplace/repdir_getdirentries.c struct dirent *readdir(DIR *dir)
dir               102 third_party/talloc/libreplace/repdir_getdirentries.c 	struct dir_buf *d = (struct dir_buf *)dir;
dir               120 third_party/talloc/libreplace/repdir_getdirentries.c long telldir(const DIR *dir)
dir               122 third_party/talloc/libreplace/repdir_getdirentries.c long telldir(DIR *dir)
dir               125 third_party/talloc/libreplace/repdir_getdirentries.c 	struct dir_buf *d = (struct dir_buf *)dir;
dir               140 third_party/talloc/libreplace/repdir_getdirentries.c int seekdir(DIR *dir, long ofs)
dir               142 third_party/talloc/libreplace/repdir_getdirentries.c void seekdir(DIR *dir, long ofs)
dir               145 third_party/talloc/libreplace/repdir_getdirentries.c 	struct dir_buf *d = (struct dir_buf *)dir;
dir               151 third_party/talloc/libreplace/repdir_getdirentries.c 		if (readdir(dir) == NULL) break;
dir               158 third_party/talloc/libreplace/repdir_getdirentries.c void rewinddir(DIR *dir)
dir               160 third_party/talloc/libreplace/repdir_getdirentries.c 	seekdir(dir, 0);
dir               163 third_party/talloc/libreplace/repdir_getdirentries.c int closedir(DIR *dir)
dir               165 third_party/talloc/libreplace/repdir_getdirentries.c 	struct dir_buf *d = (struct dir_buf *)dir;
dir               176 third_party/talloc/libreplace/repdir_getdirentries.c int dirfd(DIR *dir)
dir               178 third_party/talloc/libreplace/repdir_getdirentries.c 	struct dir_buf *d = (struct dir_buf *)dir;
dir                46 third_party/talloc/libreplace/system/dir.h #define mkdir(dir, mode) mkdir(dir)
dir                46 tools/gn/build_settings.cc base::FilePath BuildSettings::GetFullPath(const SourceDir& dir) const {
dir                47 tools/gn/build_settings.cc   return dir.Resolve(root_path_).NormalizePathSeparatorsTo('/');
dir                56 tools/gn/build_settings.cc     const SourceDir& dir) const {
dir                57 tools/gn/build_settings.cc   return dir.Resolve(secondary_source_path_).NormalizePathSeparatorsTo('/');
dir                57 tools/gn/build_settings.h   void SetBuildDir(const SourceDir& dir);
dir                72 tools/gn/build_settings.h   base::FilePath GetFullPath(const SourceDir& dir) const;
dir                78 tools/gn/build_settings.h   base::FilePath GetFullPathSecondary(const SourceDir& dir) const;
dir                88 tools/gn/builder_unittest.cc   SourceDir toolchain_dir = settings_.toolchain_label().dir();
dir               190 tools/gn/builder_unittest.cc                 settings_.toolchain_label().dir(), "a");
dir               192 tools/gn/builder_unittest.cc                 toolchain_label2.dir(), toolchain_label2.name());
dir                25 tools/gn/command_desc.cc std::string FormatSourceDir(const SourceDir& dir) {
dir                29 tools/gn/command_desc.cc   if (dir.is_system_absolute()) {
dir                30 tools/gn/command_desc.cc     std::string buf = dir.value();
dir                37 tools/gn/command_desc.cc   return dir.value();
dir               189 tools/gn/command_desc.cc   void operator()(const SourceDir& dir, std::ostream& out) const {
dir               190 tools/gn/command_desc.cc     out << "    " << FormatSourceDir(dir) << "\n";
dir               332 tools/gn/filesystem_utils.cc bool EnsureStringIsInOutputDir(const SourceDir& dir,
dir               341 tools/gn/filesystem_utils.cc   const std::string& dir_str = dir.value();
dir               602 tools/gn/filesystem_utils.cc std::string DirectoryWithNoLastSlash(const SourceDir& dir) {
dir               605 tools/gn/filesystem_utils.cc   if (dir.value().empty()) {
dir               607 tools/gn/filesystem_utils.cc   } else if (dir.value() == "/") {
dir               609 tools/gn/filesystem_utils.cc   } else if (dir.value() == "//") {
dir               612 tools/gn/filesystem_utils.cc     ret.assign(dir.value());
dir               720 tools/gn/filesystem_utils.cc   return GetOutputDirForSourceDir(target->settings(), target->label().dir());
dir               724 tools/gn/filesystem_utils.cc   return GetGenDirForSourceDir(target->settings(), target->label().dir());
dir               105 tools/gn/filesystem_utils.h bool EnsureStringIsInOutputDir(const SourceDir& dir,
dir               133 tools/gn/filesystem_utils.h std::string InvertDir(const SourceDir& dir);
dir               152 tools/gn/filesystem_utils.h std::string DirectoryWithNoLastSlash(const SourceDir& dir);
dir               107 tools/gn/functions.cc   return Label(scope->GetSourceDir(), name, toolchain_label.dir(),
dir                29 tools/gn/input_file.h   const SourceDir& dir() const { return dir_; }
dir                16 tools/gn/label.cc std::string DirWithNoTrailingSlash(const SourceDir& dir) {
dir                18 tools/gn/label.cc   if (dir.value().size() > 2)
dir                19 tools/gn/label.cc     return dir.value().substr(0, dir.value().size() - 1);
dir                20 tools/gn/label.cc   return dir.value();
dir               176 tools/gn/label.cc       *out_toolchain_dir = current_toolchain.dir();
dir               193 tools/gn/label.cc Label::Label(const SourceDir& dir,
dir               197 tools/gn/label.cc     : dir_(dir),
dir               203 tools/gn/label.cc Label::Label(const SourceDir& dir, const base::StringPiece& name)
dir               204 tools/gn/label.cc     : dir_(dir) {
dir               268 tools/gn/label.cc       default_toolchain.dir() != toolchain_dir_ ||
dir                24 tools/gn/label.h   Label(const SourceDir& dir,
dir                30 tools/gn/label.h   Label(const SourceDir& dir, const base::StringPiece& name);
dir                43 tools/gn/label.h   const SourceDir& dir() const { return dir_; }
dir               107 tools/gn/label.h     return ((stringhash(v.dir().value()) * 131 +
dir               115 tools/gn/label.h   return ((hash_value(v.dir().value()) * 131 +
dir                77 tools/gn/label_unittest.cc       EXPECT_EQ(cur.expected_dir, result.dir().value())
dir                96 tools/gn/loader.cc   return SourceFile(label.dir().value() + "BUILD.gn");
dir                38 tools/gn/ninja_helper.cc   return kObjectDirNoSlash + target->label().dir().SourceAbsoluteWithOneSlash();
dir                45 tools/gn/ninja_helper.cc                     target->label().dir().SourceAbsoluteWithOneSlash());
dir               102 tools/gn/ninja_helper.cc   base::StringPiece dir = FindDir(&source.value());
dir               103 tools/gn/ninja_helper.cc   CHECK(dir.size() >= 2 && dir[0] == '/' && dir[1] == '/')
dir               104 tools/gn/ninja_helper.cc       << "Source file isn't in the source repo: " << dir;
dir               105 tools/gn/ninja_helper.cc   AppendStringPiece(&ret.value(), dir.substr(1));
dir               186 tools/gn/ninja_helper.cc                     target->label().dir().SourceAbsoluteWithOneSlash());
dir                38 tools/gn/path_output.cc                           const SourceDir& dir,
dir                40 tools/gn/path_output.cc   if (dir.value() == "/") {
dir                47 tools/gn/path_output.cc   } else if (dir.value() == "//") {
dir                64 tools/gn/path_output.cc   } else if (dir == current_dir_) {
dir                72 tools/gn/path_output.cc     WritePathStr(out, dir.value());
dir                75 tools/gn/path_output.cc     WritePathStr(out, base::StringPiece(dir.value().data(),
dir                76 tools/gn/path_output.cc                                         dir.value().size() - 1));
dir                64 tools/gn/path_output.h                 const SourceDir& dir,
dir                76 tools/gn/target_generator.cc               toolchain_label.dir(), toolchain_label.name());
dir                21 tools/gn/visibility.cc                                    const SourceDir& dir,
dir                24 tools/gn/visibility.cc       dir_(dir) {
dir                34 tools/gn/visibility.cc       return label.name() == name_ && label.dir() == dir_;
dir                37 tools/gn/visibility.cc       return label.dir() == dir_;
dir                41 tools/gn/visibility.cc       return label.dir().value().compare(0, dir_.value().size(), dir_.value())
dir               106 tools/gn/visibility.cc         result += "  " + patterns_[i].dir().value() + ":" +
dir               110 tools/gn/visibility.cc         result += "  " + DirectoryWithNoLastSlash(patterns_[i].dir()) +
dir               114 tools/gn/visibility.cc         result += "  " + patterns_[i].dir().value() + "*\n";
dir               152 tools/gn/visibility.cc     return VisPattern(VisPattern::MATCH, label.dir(), label.name());
dir               171 tools/gn/visibility.cc   SourceDir dir;
dir               175 tools/gn/visibility.cc     dir = current_dir;
dir               202 tools/gn/visibility.cc     dir = current_dir.ResolveRelativeDir(path);
dir               203 tools/gn/visibility.cc     if (dir.is_null()) {
dir               232 tools/gn/visibility.cc   return VisPattern(type, dir, base::StringPiece());
dir                32 tools/gn/visibility.h     VisPattern(Type type, const SourceDir& dir, const base::StringPiece& name);
dir                38 tools/gn/visibility.h     const SourceDir& dir() const { return dir_; }
dir                18 tools/gn/visibility_unittest.cc   const char* dir;
dir                61 tools/gn/visibility_unittest.cc     EXPECT_EQ(cur.dir, result.dir().value()) << i << " " << cur.input;
dir              1058 ui/app_list/views/apps_grid_view.cc   const int dir = transition.target_page > current_page ? -1 : 1;
dir              1060 ui/app_list/views/apps_grid_view.cc       transition.progress * page_width * dir : 0;
dir              1158 ui/app_list/views/apps_grid_view.cc   const int dir = current_page < target_page ||
dir              1172 ui/app_list/views/apps_grid_view.cc   current_out.Offset(dir * kPreferredTileWidth, 0);
dir              1177 ui/app_list/views/apps_grid_view.cc     target_in.Offset(-dir * kPreferredTileWidth, 0);
dir               126 ui/base/ime/input_method_win.cc         base::i18n::TextDirection dir;
dir               127 ui/base/ime/input_method_win.cc         if (ui::IMM32Manager::IsCtrlShiftPressed(&dir))
dir               128 ui/base/ime/input_method_win.cc           pending_requested_direction_ = dir;
dir                26 ui/base/resource/data_pack_unittest.cc   base::ScopedTempDir dir;
dir                27 ui/base/resource/data_pack_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir                28 ui/base/resource/data_pack_unittest.cc   base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak"));
dir                58 ui/base/resource/data_pack_unittest.cc   base::ScopedTempDir dir;
dir                59 ui/base/resource/data_pack_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir                60 ui/base/resource/data_pack_unittest.cc   base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak"));
dir               110 ui/base/resource/data_pack_unittest.cc   base::ScopedTempDir dir;
dir               111 ui/base/resource/data_pack_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir               112 ui/base/resource/data_pack_unittest.cc   base::FilePath file = dir.path().Append(FILE_PATH_LITERAL("data.pak"));
dir               800 ui/shell_dialogs/select_file_dialog_win.cc   base::FilePath dir;
dir               806 ui/shell_dialogs/select_file_dialog_win.cc       dir = path->DirName();
dir               807 ui/shell_dialogs/select_file_dialog_win.cc       ofn.lpstrInitialDir = dir.value().c_str();
dir                89 ui/views/controls/menu/submenu_view.cc     bool dir;
dir                90 ui/views/controls/menu/submenu_view.cc     gfx::Rect bounds = controller->CalculateMenuBounds(item, false, &dir);
dir               124 webkit/browser/database/vfs_backend.cc     base::File dir(file_path.DirName(), base::File::FLAG_READ);
dir               125 webkit/browser/database/vfs_backend.cc     if (dir.IsValid()) {
dir               126 webkit/browser/database/vfs_backend.cc       if (!dir.Flush())
dir               239 webkit/browser/fileapi/native_file_util_unittest.cc   base::FilePath dir = Path("dir");
dir               241 webkit/browser/fileapi/native_file_util_unittest.cc             NativeFileUtil::CreateDirectory(dir, false, false));
dir               242 webkit/browser/fileapi/native_file_util_unittest.cc   ASSERT_TRUE(base::DirectoryExists(dir));
dir               243 webkit/browser/fileapi/native_file_util_unittest.cc   base::FilePath to_dir_file = dir.AppendASCII("file");
dir               261 webkit/browser/fileapi/native_file_util_unittest.cc                 dir, Path("file"), FileSystemOperation::OPTION_NONE, nosync));
dir               265 webkit/browser/fileapi/native_file_util_unittest.cc                 from_file, dir, FileSystemOperation::OPTION_NONE, nosync));
dir               305 webkit/browser/fileapi/native_file_util_unittest.cc   base::FilePath dir = Path("dir");
dir               307 webkit/browser/fileapi/native_file_util_unittest.cc             NativeFileUtil::CreateDirectory(dir, false, false));
dir               308 webkit/browser/fileapi/native_file_util_unittest.cc   ASSERT_TRUE(base::DirectoryExists(dir));
dir               309 webkit/browser/fileapi/native_file_util_unittest.cc   base::FilePath to_dir_file = dir.AppendASCII("file");
dir               328 webkit/browser/fileapi/native_file_util_unittest.cc                 dir, Path("file"), FileSystemOperation::OPTION_NONE, move));
dir               335 webkit/browser/fileapi/native_file_util_unittest.cc                 from_file, dir, FileSystemOperation::OPTION_NONE, move));
dir                19 webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc   base::ScopedTempDir dir;
dir                20 webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir                23 webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc   SandboxIsolatedOriginDatabase database(kOrigin, dir.path(),
dir                33 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   base::ScopedTempDir dir;
dir                34 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir                35 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName);
dir                63 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   base::ScopedTempDir dir;
dir                64 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir                65 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName);
dir                91 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   base::ScopedTempDir dir;
dir                92 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir                93 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName);
dir               119 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   base::ScopedTempDir dir;
dir               120 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir               121 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName);
dir               146 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   base::ScopedTempDir dir;
dir               147 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir               148 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName);
dir               195 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   base::ScopedTempDir dir;
dir               196 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir               197 webkit/browser/fileapi/sandbox_origin_database_unittest.cc   const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName);
dir               270 webkit/browser/fileapi/sandbox_origin_database_unittest.cc     base::ScopedTempDir dir;
dir               271 webkit/browser/fileapi/sandbox_origin_database_unittest.cc     ASSERT_TRUE(dir.CreateUniqueTempDir());
dir               272 webkit/browser/fileapi/sandbox_origin_database_unittest.cc     const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName);
dir                16 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   base::ScopedTempDir dir;
dir                18 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir                23 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   SandboxPrioritizedOriginDatabase database(dir.path(), NULL);
dir                70 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   base::ScopedTempDir dir;
dir                72 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir                77 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   SandboxPrioritizedOriginDatabase database(dir.path(), NULL);
dir                99 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   base::ScopedTempDir dir;
dir               101 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir               106 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   SandboxPrioritizedOriginDatabase database(dir.path(), NULL);
dir               137 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   base::ScopedTempDir dir;
dir               138 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   ASSERT_TRUE(dir.CreateUniqueTempDir());
dir               150 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc     SandboxOriginDatabase database_old(dir.path(), NULL);
dir               163 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc     old_dir_db_path1 = dir.path().Append(path1);
dir               169 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc     old_dir_db_path2 = dir.path().Append(path2);
dir               178 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   SandboxPrioritizedOriginDatabase database(dir.path(), NULL);
dir               196 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   base::FilePath dir_db_path = dir.path().Append(path1);
dir               203 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   dir_db_path = dir.path().Append(path2);
dir               162 webkit/common/fileapi/file_system_util.cc     const char* dir;
dir               175 webkit/common/fileapi/file_system_util.cc     if (inner_path == kValidTypes[i].dir) {
dir                40 win8/test/metro_registration_helper.cc   base::FilePath dir;
dir                41 win8/test/metro_registration_helper.cc   if (!PathService::Get(base::DIR_EXE, &dir))
dir                44 win8/test/metro_registration_helper.cc   base::FilePath chrome_exe(dir.Append(kChromeExe));
dir                45 win8/test/metro_registration_helper.cc   base::FilePath registrar(dir.Append(kRegistrar));