HomeSort by relevance Sort by last modified time
    Searched refs:file_path (Results 26 - 50 of 684) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
checker_unittest.py 287 checker = self._dispatcher.dispatch(file_path=path,
333 for file_path, expected_result in files.items():
334 self.assertEqual(dispatcher.should_check_and_strip_carriage_returns(file_path), expected_result, 'Checking: %s' % file_path)
341 def dispatch(self, file_path):
345 checker = dispatcher.dispatch(file_path,
350 def assert_checker_none(self, file_path):
352 checker = self.dispatch(file_path)
353 self.assertIsNone(checker, 'Checking: "%s"' % file_path)
355 def assert_checker(self, file_path, expected_class)
    [all...]
checker.py 399 def _file_extension(self, file_path):
401 return os.path.splitext(file_path)[1].lstrip(".")
403 def _should_skip_file_path(self, file_path, skip_array_entry):
404 match = re.search("\s*png$", file_path)
408 if file_path.find(skip_array_entry) >= 0:
410 elif skip_array_entry.match(file_path):
414 def should_skip_with_warning(self, file_path):
417 if self._should_skip_file_path(file_path, skipped_file):
421 def should_skip_without_warning(self, file_path):
423 if not self._file_type(file_path): # FileType.NONE
    [all...]
  /external/chromium_org/chrome/browser/chromeos/file_manager/
open_with_browser.cc 63 // Returns true if |file_path| is viewable in the browser (ex. HTML file).
64 bool IsViewableInBrowser(const base::FilePath& file_path) {
66 if (file_path.MatchesExtension(kFileExtensionsViewableInBrowser[i]))
122 // for |file_path| as fallback.
124 GURL ReadUrlFromGDocOnBlockingPool(const base::FilePath& file_path) {
125 GURL url = drive::util::ReadUrlFromGDocFile(file_path);
127 url = net::FilePathToFileURL(file_path);
133 bool OpenFileWithBrowser(Profile* profile, const base::FilePath& file_path) {
139 if (IsViewableInBrowser(file_path) ||
140 ShouldBeOpenedWithPlugin(profile, file_path.Extension()))
180 const base::FilePath file_path = local
    [all...]
open_with_browser.h 10 #include "base/files/file_path.h"
17 // Opens the file specified by |file_path| with the browser for
27 bool OpenFileWithBrowser(Profile* profile, const base::FilePath& file_path);
  /external/chromium_org/chrome/browser/chromeos/drive/
dummy_file_system.h 23 virtual void OpenFile(const base::FilePath& file_path,
35 virtual void Remove(const base::FilePath& file_path,
43 virtual void CreateFile(const base::FilePath& file_path,
47 virtual void TouchFile(const base::FilePath& file_path,
51 virtual void TruncateFile(const base::FilePath& file_path,
54 virtual void Pin(const base::FilePath& file_path,
56 virtual void Unpin(const base::FilePath& file_path,
58 virtual void GetFile(const base::FilePath& file_path,
60 virtual void GetFileForSaving(const base::FilePath& file_path,
63 const base::FilePath& file_path,
    [all...]
fileapi_worker.h 84 // Returns the metadata info of the file at |file_path|.
86 void GetFileInfo(const base::FilePath& file_path,
114 // Reads the contents of the directory at |file_path|.
116 void ReadDirectory(const base::FilePath& file_path,
120 // Removes a file at |file_path|. Called from FileSystemProxy::Remove().
121 void Remove(const base::FilePath& file_path,
126 // Creates a new directory at |file_path|.
128 void CreateDirectory(const base::FilePath& file_path,
134 // Creates a new file at |file_path|.
136 void CreateFile(const base::FilePath& file_path,
    [all...]
file_system_backend_delegate.cc 8 #include "base/files/file_path.h"
53 base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); local
54 if (file_path.empty())
61 file_path, offset, expected_modification_time));
72 base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); local
74 if (file_path.empty() || util::HasGDocFileExtension(file_path))
80 context->default_file_task_runner(),file_path, offset));
  /external/chromium_org/chrome/test/functional/ispy/server/
image_handler.py 25 file_path: A path to an image resource in Google Cloud Storage.
27 file_path = self.request.get('file_path')
28 if not file_path:
33 image = bucket.DownloadFile(file_path)
  /external/skia/tools/
sanitize_source_files.py 85 def TrailingWhitespaceRemover(line, file_path, line_number):
89 print 'Removing trailing whitespace in %s:%s' % (file_path, line_number)
93 def CrlfReplacer(line, file_path, line_number):
96 print 'Replacing CRLF with LF in %s:%s' % (file_path, line_number)
100 def TabReplacer(line, file_path, line_number):
103 print 'Replacing Tab with whitespace in %s:%s' % (file_path, line_number)
117 def EOFOneAndOnlyOneNewlineAdder(file_content, file_path):
122 print 'Added exactly one newline to %s' % file_path
126 def SvnEOLChecker(file_content, file_path):
129 'svn propget svn:eol-style %s' % file_path)
    [all...]
  /external/chromium/base/
value_conversions.h 21 BASE_API bool GetValueAsFilePath(const Value& value, FilePath* file_path);
  /external/chromium_org/chrome/browser/extensions/
extension_creator_filter.h 25 bool ShouldPackageFile(const base::FilePath& file_path);
  /external/chromium_org/chrome/installer/util/
uninstall_metrics.h 21 // Extracts uninstall metrics from the JSON file located at file_path.
26 bool ExtractUninstallMetricsFromFile(const base::FilePath& file_path,
  /external/chromium_org/courgette/
base_test_unittest.cc 21 base::FilePath file_path = test_dir_; local
22 file_path = file_path.AppendASCII(file_name);
25 EXPECT_TRUE(base::ReadFileToString(file_path, &file_bytes));
  /external/chromium_org/tools/gn/
function_read_file.cc 55 base::FilePath file_path = local
59 g_scheduler->AddGenDependency(file_path);
63 if (!base::ReadFileToString(file_path, &file_contents)) {
65 "I resolved this to \"" + FilePathToUTF8(file_path) + "\".");
  /external/skia/gm/
gm_json.py 119 def LoadFromFile(file_path):
123 file_contents = open(file_path, 'r').read()
126 def WriteToFile(json_dict, file_path):
127 """Writes the JSON summary in json_dict out to file_path."""
128 with open(file_path, 'w') as outfile:
  /external/chromium/chrome/browser/download/
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_org/extensions/common/
file_util.cc 10 #include "base/files/file_path.h"
23 std::string file_path = net::UnescapeURLComponent(url_path,
25 size_t skip = file_path.find_first_not_of("/\\");
26 if (skip != file_path.npos)
27 file_path = file_path.substr(skip);
29 base::FilePath path = base::FilePath::FromUTF8Unsafe(file_path);
  /external/chromium_org/ppapi/shared_impl/
file_ref_util.cc 7 #include "base/files/file_path.h"
22 const base::FilePath::StringType& file_path = path.value(); local
23 size_t pos = file_path.rfind(base::FilePath::kSeparators[0]);
26 return WideToUTF8(file_path.substr(pos + 1));
28 return file_path.substr(pos + 1);
41 base::FilePath file_path = base::FilePath::FromUTF8Unsafe(path);
42 if (file_path.ReferencesParent())
  /external/chromium_org/webkit/browser/fileapi/
local_file_util.cc 86 base::FilePath file_path; local
87 PlatformFileError error = GetLocalFilePath(context, url, &file_path);
91 if (base::IsLink(file_path))
94 file_path, file_flags, file_handle, created);
106 base::FilePath file_path; local
107 PlatformFileError error = GetLocalFilePath(context, url, &file_path);
110 return NativeFileUtil::EnsureFileExists(file_path, created);
118 base::FilePath file_path; local
119 PlatformFileError error = GetLocalFilePath(context, url, &file_path);
122 return NativeFileUtil::CreateDirectory(file_path, exclusive, recursive)
130 base::FilePath file_path; local
147 base::FilePath file_path; local
178 base::FilePath file_path; local
189 base::FilePath file_path; local
238 base::FilePath file_path; local
248 base::FilePath file_path; local
    [all...]
  /external/chromium_org/webkit/browser/database/
vfs_backend.cc 8 #include "base/files/file_path.h"
58 void VfsBackend::OpenFile(const base::FilePath& file_path,
61 DCHECK(!file_path.empty());
66 !base::CreateDirectory(file_path.DirName()))
98 base::CreatePlatformFile(file_path, flags, NULL, NULL);
122 int VfsBackend::DeleteFile(const base::FilePath& file_path, bool sync_dir) {
123 if (!base::PathExists(file_path))
125 if (!base::DeleteFile(file_path, false))
132 file_path.DirName(), base::PLATFORM_FILE_READ, NULL, NULL);
146 uint32 VfsBackend::GetFileAttributes(const base::FilePath& file_path) {
    [all...]
  /external/chromium_org/chrome/browser/chromeos/drive/file_system/
touch_operation.cc 8 #include "base/files/file_path.h"
23 // Updates the timestamps of the entry specified by |file_path|.
25 const base::FilePath& file_path,
30 FileError error = metadata->GetResourceEntryByPath(file_path, &entry);
58 void TouchOperation::TouchFile(const base::FilePath& file_path,
71 file_path,
77 file_path,
83 const base::FilePath& file_path,
91 observer_->OnDirectoryChangedByOperation(file_path.DirName());
open_file_operation_unittest.cc 10 #include "base/files/file_path.h"
44 base::FilePath file_path; local
51 &error, &file_path, &close_callback));
55 ASSERT_TRUE(base::PathExists(file_path));
57 ASSERT_TRUE(base::GetFileSize(file_path, &local_file_size));
72 base::FilePath file_path; local
79 &error, &file_path, &close_callback));
92 base::FilePath file_path; local
99 &error, &file_path, &close_callback));
111 base::FilePath file_path; local
145 base::FilePath file_path; local
192 base::FilePath file_path; local
223 base::FilePath file_path; local
    [all...]
  /external/chromium_org/build/
gyp_helper.py 14 def apply_gyp_environment_from_file(file_path):
16 if not os.path.exists(file_path):
18 with open(file_path, 'rU') as f:
23 e.filename = os.path.abspath(file_path)
43 var, os.path.abspath(file_path)
  /external/chromium_org/cc/test/
pixel_test_utils.cc 17 bool WritePNGFile(const SkBitmap& bitmap, const base::FilePath& file_path,
23 base::CreateDirectory(file_path.DirName())) {
26 return file_util::WriteFile(file_path, data, size) == size;
31 bool ReadPNGFile(const base::FilePath& file_path, SkBitmap* bitmap) {
34 return base::ReadFileToString(file_path, &png_data) &&

Completed in 271 milliseconds

12 3 4 5 6 7 8 91011>>