/external/chromium/chrome/browser/download/ |
H A D | download_types.cc | 17 : file_path(info.file_path), 25 file_path = info.file_path;
|
H A D | drag_download_util.cc | 8 #include "base/file_path.h" 58 FileStream* CreateFileStreamForDrop(FilePath* file_path) { argument 59 DCHECK(file_path && !file_path->empty()); 66 new_file_path = *file_path; 73 new_file_path = file_path->InsertBeforeExtension(suffix); 81 *file_path = new_file_path; 101 void PromiseFileFinalizer::OnDownloadCompleted(const FilePath& file_path) { argument
|
H A D | drag_download_util.h | 40 net::FileStream* CreateFileStreamForDrop(FilePath* file_path); 49 virtual void OnDownloadCompleted(const FilePath& file_path);
|
/external/chromium/base/ |
H A D | value_conversions.cc | 7 #include "base/file_path.h" 19 std::string FilePathToUTF8(const FilePath& file_path) { argument 21 return WideToUTF8(SysNativeMBToWide(file_path.value())); 23 return UTF16ToUTF8(file_path.value()); 43 bool GetValueAsFilePath(const Value& value, FilePath* file_path) { argument 47 if (file_path) 48 *file_path = UTF8ToFilePath(str);
|
H A D | value_conversions.h | 21 BASE_API bool GetValueAsFilePath(const Value& value, FilePath* file_path);
|
H A D | file_util_proxy.h | 12 #include "base/file_path.h" 59 // a new file at the given |file_path| and calls back with 60 // PLATFORM_FILE_ERROR_FILE_EXISTS if the |file_path| already exists. 62 const FilePath& file_path, 77 // Ensures that the given |file_path| exist. This creates a empty new file 78 // at |file_path| if the |file_path| does not exist. 79 // If a new file han not existed and is created at the |file_path|, 88 const FilePath& file_path, 95 const FilePath& file_path, [all...] |
/external/webkit/Tools/Scripts/webkitpy/style/checkers/ |
H A D | text.py | 38 def __init__(self, file_path, handle_style_error): 39 self.file_path = file_path 41 self._tab_checker = TabChecker(file_path, handle_style_error)
|
H A D | common.py | 64 def __init__(self, file_path, handle_style_error): 65 self.file_path = file_path
|
H A D | xml.py | 33 def __init__(self, file_path, handle_style_error): 34 self.file_path = file_path
|
H A D | python.py | 32 def __init__(self, file_path, handle_style_error): 33 self._file_path = file_path
|
H A D | changelog.py | 37 def __init__(self, file_path, handle_style_error, should_line_be_checked): 38 self.file_path = file_path 41 self._tab_checker = TabChecker(file_path, handle_style_error)
|
H A D | python_unittest.py | 55 file_path = os.path.join(current_dir, "python_unittest_input.py") 57 checker = PythonChecker(file_path, _mock_handle_style_error)
|
/external/webkit/Tools/Scripts/webkitpy/style/ |
H A D | filereader.py | 68 def _read_lines(self, file_path): 76 if file_path == '-': 86 file = codecs.open(file_path, 'r', 'utf8', 'replace') 96 def process_file(self, file_path, **kwargs): 100 file_path: The path of the file to process. 106 SystemExit: If no file at file_path exists. 111 if not os.path.exists(file_path) and file_path != "-": 112 _log.error("File does not exist: '%s'" % file_path) 115 if not self._processor.should_process(file_path) [all...] |
H A D | checker.py | 435 def _file_extension(self, file_path): 437 return os.path.splitext(file_path)[1].lstrip(".") 439 def should_skip_with_warning(self, file_path): 442 if file_path.find(skipped_file) >= 0: 446 def should_skip_without_warning(self, file_path): 448 if not self._file_type(file_path): # FileType.NONE. 458 basename = os.path.basename(file_path) 464 if file_path.find(skipped_file) >= 0: 468 def should_check_and_strip_carriage_returns(self, file_path): 469 return self._file_extension(file_path) no [all...] |
H A D | checker_unittest.py | 318 checker = self._dispatcher.dispatch(file_path=path, 364 for file_path, expected_result in files.items(): 365 self.assertEquals(dispatcher.should_check_and_strip_carriage_returns(file_path), expected_result, 'Checking: %s' % file_path) 372 def dispatch(self, file_path): 376 checker = dispatcher.dispatch(file_path, 381 def assert_checker_none(self, file_path): 383 checker = self.dispatch(file_path) 384 self.assertTrue(checker is None, 'Checking: "%s"' % file_path) 386 def assert_checker(self, file_path, expected_clas [all...] |
H A D | filereader_unittest.py | 53 def should_process(self, file_path): 54 return not file_path.endswith('should_not_process.txt') 56 def process(self, lines, file_path, test_kwarg=None): 57 self.processed.append((lines, file_path, test_kwarg)) 76 file_path = os.path.join(self._temp_dir, rel_path) 77 with codecs.open(file_path, "w", encoding) as file: 79 return file_path 122 file_path = self._create_file('should_not_process.txt', 'contents') 124 self._file_reader.process_file(file_path) 128 file_path [all...] |
H A D | patchreader_unittest.py | 47 """A list of (file_path, line_numbers) pairs.""" 51 def process_file(self, file_path, line_numbers): 52 self.passed_to_process_file.append((file_path, line_numbers))
|
/external/chromium/webkit/glue/ |
H A D | webfileutilities_impl.cc | 7 #include "base/file_path.h" 32 FilePath::StringType file_path = WebStringToFilePathString(path); local 33 return file_util::PathExists(FilePath(file_path)); 70 FilePath file_path(WebStringToFilePathString(path)); 71 return FilePathToWebString(file_path.DirName()); 85 FilePath::StringType file_path = WebStringToFilePathString(path); local 86 return file_util::CreateDirectory(FilePath(file_path)); 90 FilePath file_path(WebStringToFilePathString(path)); 91 file_util::AbsolutePath(&file_path); 92 return FilePathStringToWebString(file_path [all...] |
/external/chromium/chrome/browser/ |
H A D | mock_browsing_data_indexed_db_helper.cc | 28 const FilePath& file_path) { 29 CHECK(files_.find(file_path.value()) != files_.end()); 30 last_deleted_file_ = file_path; 31 files_[file_path.value()] = false; 27 DeleteIndexedDBFile( const FilePath& file_path) argument
|
H A D | mock_browsing_data_local_storage_helper.cc | 29 const FilePath& file_path) { 30 CHECK(files_.find(file_path.value()) != files_.end()); 31 last_deleted_file_ = file_path; 32 files_[file_path.value()] = false; 28 DeleteLocalStorageFile( const FilePath& file_path) argument
|
H A D | browsing_data_indexed_db_helper.cc | 31 virtual void DeleteIndexedDBFile(const FilePath& file_path); 41 void DeleteIndexedDBFileInWebKitThread(const FilePath& file_path); 91 const FilePath& file_path) { 99 file_path)); 108 for (FilePath file_path = file_enumerator.Next(); !file_path.empty(); 109 file_path = file_enumerator.Next()) { 110 if (file_path.Extension() == IndexedDBContext::kIndexedDBExtension) { 113 webkit_glue::FilePathToWebString(file_path.BaseName())); 120 bool ret = file_util::GetFileInfo(file_path, 90 DeleteIndexedDBFile( const FilePath& file_path) argument 153 DeleteIndexedDBFileInWebKitThread( const FilePath& file_path) argument 161 IndexedDBInfo( const std::string& protocol, const std::string& host, unsigned short port, const std::string& database_identifier, const std::string& origin, const FilePath& file_path, int64 size, base::Time last_modified) argument [all...] |
H A D | browsing_data_local_storage_helper_browsertest.cc | 9 #include "base/file_path.h" 49 FilePath file_path = storage_path.Append(kFilesToCreate[i]); local 50 file_util::WriteFile(file_path, NULL, 0); 128 for (FilePath file_path = file_enumerator.Next(); 129 !file_path.empty(); 130 file_path = file_enumerator.Next()) { 131 ASSERT_FALSE(FilePath(kTestFile0) == file_path.BaseName()); 159 EXPECT_EQ(FilePath(file1).value(), result[0].file_path.BaseName().value()); 160 EXPECT_EQ(FilePath(file2).value(), result[1].file_path.BaseName().value()); 181 EXPECT_EQ(FilePath(file).value(), result[0].file_path [all...] |
H A D | browsing_data_local_storage_helper.cc | 32 const FilePath& file_path, 40 file_path(file_path), 79 const FilePath& file_path) { 87 file_path)); 96 for (FilePath file_path = file_enumerator.Next(); !file_path.empty(); 97 file_path = file_enumerator.Next()) { 98 if (file_path.Extension() == DOMStorageContext::kLocalStorageExtension) { 101 webkit_glue::FilePathToWebString(file_path 26 LocalStorageInfo( const std::string& protocol, const std::string& host, unsigned short port, const std::string& database_identifier, const std::string& origin, const FilePath& file_path, int64 size, base::Time last_modified) argument 78 DeleteLocalStorageFile( const FilePath& file_path) argument 141 DeleteLocalStorageFileInWebKitThread( const FilePath& file_path) argument [all...] |
/external/chromium/net/url_request/ |
H A D | url_request_file_job.cc | 51 void Resolve(const FilePath& file_path) { argument 53 bool exists = file_util::GetFileInfo(file_path, &file_info); 86 const FilePath& file_path) 88 file_path_(file_path), 100 FilePath file_path; local 101 const bool is_file = FileURLToFilePath(request->url(), &file_path); 105 if (AccessDisabled(file_path)) 116 file_util::EndsWithSeparator(file_path) && 117 file_path.IsAbsolute()) 118 return new URLRequestFileDirJob(request, file_path); 85 URLRequestFileJob(URLRequest* request, const FilePath& file_path) argument 136 AccessDisabled(const FilePath& file_path) argument [all...] |
/external/v8/build/ |
H A D | gyp_v8 | 44 def apply_gyp_environment(file_path=None): 48 if not file_path or not os.path.exists(file_path): 50 file_contents = open(file_path).read() 54 e.filename = os.path.abspath(file_path) 66 var, os.path.abspath(file_path)
|