/external/chromium_org/chrome/installer/util/ |
duplicate_tree_detector.h | 18 // Returns true if |dest_path| contains all the files from |src_path| in the 24 bool IsIdenticalFileHierarchy(const base::FilePath& src_path,
|
duplicate_tree_detector.cc | 14 bool IsIdenticalFileHierarchy(const base::FilePath& src_path, 20 if (base::GetFileInfo(src_path, &src_info) && 35 // "identical" to all the entries in src_path. 38 base::FileEnumerator path_enum(src_path, false /* not recursive */,
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
move_operation_unittest.cc | 27 const base::FilePath src_path( 33 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry)); 38 operation_->Move(src_path, 47 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry)); 50 EXPECT_TRUE(observer()->get_changed_paths().count(src_path.DirName())); 57 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); 62 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry)); 67 operation_->Move(src_path, 76 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry)); 79 EXPECT_TRUE(observer()->get_changed_paths().count(src_path.DirName())) [all...] |
copy_operation_unittest.cc | 219 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/Dummy file.txt")); 223 ASSERT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &entry)); 226 operation_->Copy(src_path, 233 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &entry)); 239 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); 243 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry)); 248 operation_->Copy(src_path, 255 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry)); 263 base::FilePath src_path(FILE_PATH_LITERAL( 269 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry)) [all...] |
move_operation.cc | 21 const base::FilePath& src_path, 26 FileError error = metadata->GetResourceEntryByPath(src_path, &entry); 60 changed_directories->insert(src_path.DirName());
|
/bionic/libc/kernel/tools/ |
clean_header.py | 88 src_path = path 90 if not os.path.exists(src_path): 96 if not os.path.isfile(src_path): 102 if os.path.commonprefix( [ src_path, original_path ] ) != original_path: 108 src_path = src_path[len(original_path):] 109 if len(src_path) > 0 and src_path[0] == '/': 110 src_path = src_path[1: [all...] |
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
media_file_validator_factory.cc | 48 base::FilePath src_path = src.virtual_path(); local 49 if (SupportedImageTypeValidator::SupportsFileType(src_path)) 51 if (SupportedAudioVideoChecker::SupportsFileType(src_path))
|
/external/chromium_org/tools/telemetry/telemetry/util/ |
bootstrap.py | 71 def Traverse(self, src_path, dst_path): 72 """Walks the directory hierarchy pointed to by src_path download all files. 74 Recursively walks src_path and saves all files and subfolders into 78 src_path: string path on SVN server to save (absolute path on server). 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() [all...] |
/external/chromium_org/chrome/test/chromeos/autotest/files/client/deps/chrome_test/ |
setup_test_links.sh | 40 for src_path in $@; do 41 [[ "$src_path" == "/usr/local/autotest/deps/pyauto_dep"/* ]] || return 42 dest_path="${src_path/pyauto_dep/chrome_test}" 44 [ -e "$dest_path" ] || ln -f -s $src_path $dest_path
|
/external/chromium_org/tools/json_schema_compiler/ |
compiler.py | 65 src_path = None 77 if src_path is None: 78 src_path = namespace.source_file_dir 80 src_path = os.path.commonprefix((src_path, namespace.source_file_dir)) 95 src_path, 127 output_dir = os.path.join(destdir, src_path)
|
/external/chromium_org/gpu/gles2_conform_support/ |
gles2_conform_test.cc | 27 base::FilePath src_path; local 28 PathService::Get(base::DIR_SOURCE_ROOT, &src_path); 30 src_path.Append(FILE_PATH_LITERAL("gpu")).
|
/external/chromium_org/chrome/installer/setup/ |
install.h | 57 // Creates VisualElementsManifest.xml beside chrome.exe in |src_path| if 58 // |src_path|\VisualElements exists. 60 bool CreateVisualElementsManifest(const base::FilePath& src_path, 100 // src_path: the unpacked Chrome package (inside |install_temp_path|). 114 const base::FilePath& src_path,
|
install.cc | 161 // src_path: the path that contains a complete and unpacked Chrome package 180 const base::FilePath& src_path, 195 src_path, 304 bool CreateVisualElementsManifest(const base::FilePath& src_path, 313 if (!base::PathExists(src_path.Append(elements_dir))) { 315 << installer::kVisualElementsManifest << " to " << src_path.value(); 349 // Write the manifest to |src_path|. 353 src_path.Append(installer::kVisualElementsManifest), 356 << " to " << src_path.value(); 360 << " to " << src_path.value() [all...] |
/external/lldb/source/Host/common/ |
FileSpec.cpp | 76 FileSpec::ResolveUsername (const char *src_path, char *dst_path, size_t dst_len) 78 if (src_path == NULL || src_path[0] == '\0') 87 // If there's no ~, then just copy src_path straight to dst_path (they may be the same string...) 88 if (src_path[0] != '~') 90 size_t len = strlen (src_path); 93 ::bcopy (src_path, dst_path, dst_len - 1); 97 ::bcopy (src_path, dst_path, len + 1); 102 const char *first_slash = ::strchr (src_path, '/'); 108 user_name = src_path + 1 [all...] |
/external/chromium_org/extensions/common/ |
file_util_unittest.cc | 153 base::FilePath src_path = temp.path().AppendASCII("some_dir"); local 154 ASSERT_TRUE(base::CreateDirectory(src_path)); 158 src_path.AppendASCII("some_file.txt"), data.c_str(), data.length())); 171 base::FilePath src_path = temp.path().Append(folders[i]); local 172 ASSERT_TRUE(base::CreateDirectory(src_path)); 183 base::FilePath src_path = temp.path().Append(extensions::kLocaleFolder); local 184 ASSERT_TRUE(base::CreateDirectory(src_path)); 186 src_path = temp.path().AppendASCII("_some_dir"); 187 ASSERT_TRUE(base::CreateDirectory(src_path)); 341 base::FilePath src_path = temp.path().AppendASCII("some_dir") local [all...] |
extension_l10n_util_unittest.cc | 36 base::FilePath src_path = temp.path().Append(kLocaleFolder); local 37 base::FilePath locale = src_path.AppendASCII("ms"); 58 base::FilePath src_path = temp.path().Append(kLocaleFolder); local 59 ASSERT_TRUE(base::CreateDirectory(src_path)); 64 extension_l10n_util::GetValidLocales(src_path, &locales, &error)); 73 base::FilePath src_path = temp.path().Append(kLocaleFolder); local 74 ASSERT_TRUE(base::CreateDirectory(src_path)); 75 ASSERT_TRUE(base::CreateDirectory(src_path.AppendASCII("sr"))); 80 extension_l10n_util::GetValidLocales(src_path, &locales, &error)); 89 base::FilePath src_path = temp.path().Append(kLocaleFolder) local 156 base::FilePath src_path = temp.path().Append(kLocaleFolder); local 172 base::FilePath src_path = temp.path().Append(kLocaleFolder); local 199 base::FilePath src_path = temp.path().Append(kLocaleFolder); local [all...] |
/external/lldb/include/lldb/API/ |
SBFileSpec.h | 52 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/compiler-runner/ |
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/owasp/sanitizer/tools/ |
cut_release.py | 100 def copy_directory_structure_template(src_path, container_path): 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/native_client_sdk/src/libraries/nacl_io/memfs/ |
mem_fs.cc | 184 Error MemFs::Rename(const Path& src_path, const Path& target_path) { 189 int error = FindNode(src_path, 0, &src_node); 194 error = FindNode(src_path.Parent(), S_IFDIR, &src_parent); 221 target_name = src_path.Basename(); 236 error = src_parent->RemoveChild(src_path.Basename());
|
/development/testrunner/ |
create_test.py | 240 src_path = app_path + "/tests/src" 241 if not os.path.exists(src_path): 242 os.mkdir(src_path)
|
/external/chromium_org/content/child/fileapi/ |
webfilesystem_impl.h | 66 const blink::WebURL& src_path, 70 const blink::WebURL& src_path,
|
/external/lldb/include/lldb/Host/ |
FileSpec.h | 605 /// Resolves user name and links in \a src_path, and writes the output 606 /// to \a dst_path. Note if the path pointed to by \a src_path does not 607 /// exist, the contents of \a src_path will be copied to \a dst_path 610 /// @param[in] src_path 625 Resolve (const char *src_path, char *dst_path, size_t dst_len); 628 /// Resolves the user name at the beginning of \a src_path, and writes the output 629 /// to \a dst_path. Note, \a src_path can contain other path components after the 633 /// @param[in] src_path 649 ResolveUsername (const char *src_path, char *dst_path, size_t dst_len);
|
/external/lldb/scripts/Python/interface/ |
SBFileSpec.i | 65 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
|
/external/lldb/source/API/ |
SBFileSpec.cpp | 87 SBFileSpec::ResolvePath (const char *src_path, char *dst_path, size_t dst_len) 89 return lldb_private::FileSpec::Resolve (src_path, dst_path, dst_len);
|