/external/chromium/chrome/browser/download/ |
download_types.cc | 17 : file_path(info.file_path), 25 file_path = info.file_path;
|
drag_download_util.h | 40 net::FileStream* CreateFileStreamForDrop(FilePath* file_path); 49 virtual void OnDownloadCompleted(const FilePath& file_path);
|
drag_download_util.cc | 8 #include "base/file_path.h" 58 FileStream* CreateFileStreamForDrop(FilePath* file_path) { 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) {
|
/external/chromium/base/ |
value_conversions.cc | 7 #include "base/file_path.h" 19 std::string FilePathToUTF8(const FilePath& file_path) { 21 return WideToUTF8(SysNativeMBToWide(file_path.value())); 23 return UTF16ToUTF8(file_path.value()); 43 bool GetValueAsFilePath(const Value& value, FilePath* file_path) { 47 if (file_path) 48 *file_path = UTF8ToFilePath(str);
|
value_conversions.h | 21 BASE_API bool GetValueAsFilePath(const Value& value, FilePath* file_path);
|
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/ |
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...] |
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_class) [all...] |
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 = self._create_file('foo.txt', 'line one\r\nline two\n' [all...] |
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) not in _CARRIAGE_RETURN_ALLOWED_FILE_EXTENSION [all...] |
/external/webkit/Tools/Scripts/webkitpy/style/checkers/ |
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)
|
xml.py | 33 def __init__(self, file_path, handle_style_error): 34 self.file_path = file_path
|
common.py | 64 def __init__(self, file_path, handle_style_error): 65 self.file_path = file_path
|
python.py | 32 def __init__(self, file_path, handle_style_error): 33 self._file_path = file_path
|
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)
|
/external/chromium/webkit/glue/ |
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.value()) [all...] |
/external/chromium/chrome/browser/ |
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;
|
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;
|
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, &file_info) [all...] |
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.BaseName().value()) [all...] |
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.BaseName())) [all...] |
/external/chromium/chrome/browser/net/ |
url_request_slow_http_job.h | 16 URLRequestSlowHTTPJob(net::URLRequest* request, const FilePath& file_path);
|
/development/testrunner/test_defs/ |
test_defs.py | 46 def Parse(self, file_path): 50 file_path: absolute file path to parse 52 ParseError if file_path cannot be parsed 55 doc = xml.dom.minidom.parse(file_path) 58 logger.Log("test file %s does not exist" % file_path) 61 logger.Log("Error Parsing xml file: %s " % file_path) 64 logger.Log("Error Parsing xml file: %s Reason: %s" % (file_path, e.msg)) 120 def Parse(file_path): 124 file_path: string absolute file path 126 a TestDefinitions object containing data parsed from file_path [all...] |
/external/chromium/net/url_request/ |
url_request_file_job.cc | 51 void Resolve(const FilePath& file_path) { 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); [all...] |
/external/v8/build/ |
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)
|