/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
D | move_operation_unittest.cc | 29 const base::FilePath src_path( in TEST_F() local 35 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry)); in TEST_F() 40 operation_->Move(src_path, in TEST_F() 49 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry)); in TEST_F() 52 EXPECT_TRUE(delegate()->get_changed_files().count(src_path)); in TEST_F() 60 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); in TEST_F() local 65 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry)); in TEST_F() 70 operation_->Move(src_path, in TEST_F() 79 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry)); in TEST_F() 82 EXPECT_TRUE(delegate()->get_changed_files().count(src_path)); in TEST_F() [all …]
|
D | copy_operation_unittest.cc | 226 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/Dummy file.txt")); in TEST_F() local 230 ASSERT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &entry)); in TEST_F() 233 operation_->Copy(src_path, in TEST_F() 240 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &entry)); in TEST_F() 246 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); in TEST_F() local 250 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry)); in TEST_F() 255 operation_->Copy(src_path, in TEST_F() 262 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry)); in TEST_F() 270 base::FilePath src_path(FILE_PATH_LITERAL( in TEST_F() local 276 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry)); in TEST_F() [all …]
|
D | move_operation.cc | 22 const base::FilePath& src_path, in UpdateLocalState() argument 27 FileError error = metadata->GetResourceEntryByPath(src_path, &entry); in UpdateLocalState() 41 changed_files->Update(src_path, entry, FileChange::DELETE); in UpdateLocalState()
|
/external/chromium_org/tools/telemetry/telemetry/util/ |
D | bootstrap.py | 71 def Traverse(self, src_path, dst_path): argument 81 if self.IsFile(src_path): 88 logging.info('Saving %s to %s', self.root_url + src_path, dst_path) 89 urllib.urlretrieve(self.root_url + src_path, dst_path) 92 for subdir in self.GetDirList(src_path): 93 self.Traverse(os.path.join(src_path, subdir), 151 for dst_path, src_path in deps.iteritems(): 153 parsed_url = urlparse.urlparse(src_path)
|
/external/chromium_org/extensions/common/ |
D | extension_l10n_util_unittest.cc | 35 base::FilePath src_path = temp.path().Append(kLocaleFolder); in TEST() local 36 base::FilePath locale = src_path.AppendASCII("ms"); in TEST() 57 base::FilePath src_path = temp.path().Append(kLocaleFolder); in TEST() local 58 ASSERT_TRUE(base::CreateDirectory(src_path)); in TEST() 63 extension_l10n_util::GetValidLocales(src_path, &locales, &error)); in TEST() 72 base::FilePath src_path = temp.path().Append(kLocaleFolder); in TEST() local 73 ASSERT_TRUE(base::CreateDirectory(src_path)); in TEST() 74 ASSERT_TRUE(base::CreateDirectory(src_path.AppendASCII("sr"))); in TEST() 79 extension_l10n_util::GetValidLocales(src_path, &locales, &error)); in TEST() 88 base::FilePath src_path = temp.path().Append(kLocaleFolder); in TEST() local [all …]
|
D | file_util_unittest.cc | 145 base::FilePath src_path = temp.path().AppendASCII("some_dir"); in TEST_F() local 146 ASSERT_TRUE(base::CreateDirectory(src_path)); in TEST_F() 150 src_path.AppendASCII("some_file.txt"), data.c_str(), data.length())); in TEST_F() 163 base::FilePath src_path = temp.path().Append(folders[i]); in TEST_F() local 164 ASSERT_TRUE(base::CreateDirectory(src_path)); in TEST_F() 175 base::FilePath src_path = temp.path().Append(extensions::kLocaleFolder); in TEST_F() local 176 ASSERT_TRUE(base::CreateDirectory(src_path)); in TEST_F() 178 src_path = temp.path().AppendASCII("_some_dir"); in TEST_F() 179 ASSERT_TRUE(base::CreateDirectory(src_path)); in TEST_F() 310 base::FilePath src_path = temp.path().AppendASCII("some_dir"); in TEST_F() local [all …]
|
/external/lldb/source/Host/common/ |
D | FileSpec.cpp | 76 FileSpec::ResolveUsername (const char *src_path, char *dst_path, size_t dst_len) in ResolveUsername() argument 78 if (src_path == NULL || src_path[0] == '\0') in ResolveUsername() 88 if (src_path[0] != '~') in ResolveUsername() 90 size_t len = strlen (src_path); in ResolveUsername() 93 ::bcopy (src_path, dst_path, dst_len - 1); in ResolveUsername() 97 ::bcopy (src_path, dst_path, len + 1); in ResolveUsername() 102 const char *first_slash = ::strchr (src_path, '/'); in ResolveUsername() 108 user_name = src_path + 1; in ResolveUsername() 113 size_t user_name_len = first_slash - src_path - 1; in ResolveUsername() 114 ::memcpy (user_home, src_path + 1, user_name_len); in ResolveUsername() [all …]
|
/external/chromium_org/tools/json_schema_compiler/ |
D | compiler.py | 69 src_path = None 83 if src_path is None: 84 src_path = namespace.source_file_dir 86 src_path = os.path.commonprefix((src_path, namespace.source_file_dir)) 101 src_path, 137 output_dir = os.path.join(destdir, src_path)
|
/external/chromium_org/build/ |
D | host_prebuilt_jar.gypi | 26 'src_path': '<(jar_path)', 38 'message': 'Copy <(src_path) to <(dest_path)', 40 '<(src_path)', 46 'python', '<(DEPTH)/build/cp.py', '<(src_path)', '<(dest_path)',
|
/external/owasp/sanitizer/tools/ |
D | cut_release.py | 100 def copy_directory_structure_template(src_path, container_path): argument 103 replace_fields(os.path.basename(src_path))) 104 if os.path.isdir(src_path): 106 for child in os.listdir(src_path): 110 os.path.join(src_path, child), dest_path) 112 shutil.copyfile(src_path, dest_path)
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
D | media_file_validator_factory.cc | 48 base::FilePath src_path = src.virtual_path(); in CreateCopyOrMoveFileValidator() local 49 if (SupportedImageTypeValidator::SupportsFileType(src_path)) in CreateCopyOrMoveFileValidator() 51 if (SupportedAudioVideoChecker::SupportsFileType(src_path)) in CreateCopyOrMoveFileValidator()
|
D | media_file_validator_browsertest.cc | 107 base::FilePath src_path = base.AppendASCII("src_fs"); in SetupOnFileThread() local 108 ASSERT_TRUE(base::CreateDirectory(src_path)); in SetupOnFileThread() 112 base::MessageLoopProxy::current().get(), src_path)); in SetupOnFileThread() 125 base::FilePath test_file = src_path.AppendASCII(filename); in SetupOnFileThread()
|
/external/chromium_org/chrome/test/chromeos/autotest/files/client/deps/chrome_test/ |
D | setup_test_links.sh | 39 for src_path in $@; do 40 [[ "$src_path" == "/usr/local/autotest/deps/pyauto_dep"/* ]] || return 43 [ -e "$dest_path" ] || ln -f -s $src_path $dest_path
|
/external/chromium_org/chrome/installer/util/ |
D | duplicate_tree_detector.cc | 14 bool IsIdenticalFileHierarchy(const base::FilePath& src_path, in IsIdenticalFileHierarchy() argument 20 if (base::GetFileInfo(src_path, &src_info) && in IsIdenticalFileHierarchy() 38 base::FileEnumerator path_enum(src_path, false /* not recursive */, in IsIdenticalFileHierarchy()
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/ |
D | mem_fs.cc | 169 Error MemFs::Rename(const Path& src_path, const Path& target_path) { in Rename() argument 174 int error = FindNode(src_path, 0, &src_node); in Rename() 179 error = FindNode(src_path.Parent(), S_IFDIR, &src_parent); in Rename() 206 target_name = src_path.Basename(); in Rename() 221 error = src_parent->RemoveChild(src_path.Basename()); in Rename()
|
/external/chromium_org/chrome/installer/setup/ |
D | install.cc | 177 const base::FilePath& src_path, in InstallNewVersion() argument 192 src_path, in InstallNewVersion() 292 bool CreateVisualElementsManifest(const base::FilePath& src_path, in CreateVisualElementsManifest() argument 301 if (!base::PathExists(src_path.Append(elements_dir))) { in CreateVisualElementsManifest() 303 << installer::kVisualElementsManifest << " to " << src_path.value(); in CreateVisualElementsManifest() 341 src_path.Append(installer::kVisualElementsManifest), in CreateVisualElementsManifest() 344 << " to " << src_path.value(); in CreateVisualElementsManifest() 348 << " to " << src_path.value(); in CreateVisualElementsManifest() 492 const base::FilePath& src_path, in InstallOrUpdateProduct() argument 510 CreateVisualElementsManifest(src_path, new_version); in InstallOrUpdateProduct() [all …]
|
D | install.h | 60 bool CreateVisualElementsManifest(const base::FilePath& src_path, 114 const base::FilePath& src_path,
|
/external/chromium_org/gpu/gles2_conform_support/ |
D | gles2_conform_test.cc | 27 base::FilePath src_path; in RunGLES2ConformTest() local 28 PathService::Get(base::DIR_SOURCE_ROOT, &src_path); in RunGLES2ConformTest() 30 src_path.Append(FILE_PATH_LITERAL("gpu")). in RunGLES2ConformTest()
|
/external/libcxx/test/ |
D | runtests.py | 45 self.src_path = re.sub(r'\.pass\.cpp', '', path) 46 self.name = '{0}'.format(self.src_path) 57 self.src_path = re.sub(r'\.pass\.cpp', '', path) 58 self.name = '{0}'.format(self.src_path)
|
/external/chromium_org/storage/browser/fileapi/ |
D | native_file_util.cc | 244 const base::FilePath& src_path, in CopyOrMoveFile() argument 249 base::File::Error error = NativeFileUtil::GetFileInfo(src_path, &info); in CopyOrMoveFile() 272 if (!base::CopyFile(src_path, dest_path)) in CopyOrMoveFile() 276 if (!CopyFileAndSync(src_path, dest_path)) in CopyOrMoveFile() 280 if (!base::Move(src_path, dest_path)) in CopyOrMoveFile()
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
D | powermetrics_power_monitor.py | 96 def ConstructMetric(out_path, src_path): argument 99 return RunningAverage(out_path, src_path, []) 121 for k in metric.src_path:
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/compiler-runner/ |
D | build_compiler_runner_jar.py | 23 src_path = rel_to_abs(src_dir) variable 37 for root, dirs, files in sorted(os.walk(src_path)):
|
/external/chromium_org/third_party/closure_compiler/runner/ |
D | build_runner_jar.py | 26 src_path = rel_to_abs(src_dir) variable 41 for root, dirs, files in sorted(os.walk(src_path)):
|
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/ |
D | async_file_util.cc | 290 base::FilePath src_path = util::ExtractDrivePathFromFileSystemUrl(src_url); in CopyFileLocal() local 292 if (src_path.empty() || dest_path.empty()) { in CopyFileLocal() 307 src_path, in CopyFileLocal() 322 base::FilePath src_path = util::ExtractDrivePathFromFileSystemUrl(src_url); in MoveFileLocal() local 324 if (src_path.empty() || dest_path.empty()) { in MoveFileLocal() 335 src_path, dest_path, in MoveFileLocal()
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | file_cache_unittest.cc | 76 const base::FilePath src_path = in TEST_F() local 83 EXPECT_EQ(FILE_ERROR_OK, cache_->Store("id_foo", "md5", src_path, in TEST_F() 89 ASSERT_TRUE(base::CopyFile(src_path, file_directory.AppendASCII("id_bar"))); in TEST_F() 90 ASSERT_TRUE(base::CopyFile(src_path, file_directory.AppendASCII("id_baz"))); in TEST_F() 108 src_path, in TEST_F() 111 src_path, in TEST_F() 115 src_path, in TEST_F() 118 src_path, in TEST_F()
|