Searched refs:file_path (Results 1 - 25 of 727) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/app/
H A Dimage_pre_reader_win.h27 static bool PreReadImage(const wchar_t* file_path,
55 static bool PartialPreReadImage(const wchar_t* file_path,
62 static bool PartialPreReadImageOnDisk(const wchar_t* file_path,
69 static bool PartialPreReadImageInMemory(const wchar_t* file_path,
/external/chromium_org/chrome/test/mini_installer/
H A Dfile_verifier.py27 file_path = variable_expander.Expand(expectation_name)
28 file_exists = os.path.exists(file_path)
30 ('File %s exists' % file_path) if file_exists else \
31 ('File %s is missing' % file_path)
/external/chromium_org/net/url_request/
H A Dfile_protocol_handler.cc26 base::FilePath file_path; local
27 const bool is_file = FileURLToFilePath(request->url(), &file_path);
31 !network_delegate->CanAccessFile(*request, file_path)) {
42 file_path.EndsWithSeparator() &&
43 file_path.IsAbsolute()) {
44 return new URLRequestFileDirJob(request, network_delegate, file_path);
49 return new URLRequestFileJob(request, network_delegate, file_path,
/external/chromium_org/tools/findit/
H A Dcomponent_dictionary.py17 def AddFile(self, file_path, crashed_line_range, stack_frame_index,
22 file_path: The path of the crashed file.
28 if file_path not in self.file_dict:
29 self.file_dict[file_path] = {}
30 self.file_dict[file_path]['line_numbers'] = []
31 self.file_dict[file_path]['stack_frame_indices'] = []
32 self.file_dict[file_path]['function'] = []
35 self.file_dict[file_path]['line_numbers'].append(
37 self.file_dict[file_path]['stack_frame_indices'].append(
39 self.file_dict[file_path]['functio
[all...]
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_index_file_win.cc10 #include "base/files/file_path.h"
24 for (base::FilePath file_path = enumerator.Next(); !file_path.empty();
25 file_path = enumerator.Next()) {
26 if (file_path == current_directory || file_path == parent_directory)
28 entry_file_callback.Run(file_path);
/external/chromium_org/chrome/browser/safe_browsing/
H A Dbinary_feature_extractor_posix.cc17 const base::FilePath& file_path,
21 const base::FilePath& file_path,
16 CheckSignature( const base::FilePath& file_path, ClientDownloadRequest_SignatureInfo* signature_info) argument
20 ExtractImageHeaders( const base::FilePath& file_path, ClientDownloadRequest_ImageHeaders* image_headers) argument
H A Dpath_sanitizer.cc22 void PathSanitizer::StripHomeDirectory(base::FilePath* file_path) const {
25 // The |file_path| is overwritten only if a relative path is found.
26 if (home_path_.AppendRelativePath(*file_path, &sanitized_path))
27 *file_path = sanitized_path;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
H A Dtext.py38 def __init__(self, file_path, handle_style_error):
39 self.file_path = file_path
41 self._tab_checker = TabChecker(file_path, handle_style_error)
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dopen_util.h21 // by |file_path|.
23 void OpenRemovableDrive(Profile* profile, const base::FilePath& file_path);
30 void OpenItem(Profile* profile, const base::FilePath& file_path);
33 // |file_path|, with the item selected.
34 void ShowItemInFolder(Profile* profile, const base::FilePath& file_path);
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_node_data_mac.cc21 base::FilePath file_path; local
22 if (ReadBookmarksFromPasteboard(type, elements, &file_path)) {
23 profile_path_ = file_path;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
H A Dfilereader.py70 def _read_lines(self, file_path):
78 if file_path == '-':
89 file = codecs.open(file_path, 'r', 'utf8', 'replace')
99 def process_file(self, file_path, **kwargs):
103 file_path: The path of the file to process.
109 SystemExit: If no file at file_path exists.
114 if not self.filesystem.exists(file_path) and file_path != "-":
115 _log.error("File does not exist: '%s'" % file_path)
118 if not self._processor.should_process(file_path)
[all...]
H A Dchecker.py399 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)
[all...]
/external/chromium_org/base/files/
H A Dfile_util_proxy.cc29 void RunWorkForFilePath(const FilePath& file_path) { argument
30 if (!PathExists(file_path)) {
34 if (!GetFileInfo(file_path, &file_info_))
50 File::Error DeleteAdapter(const FilePath& file_path, bool recursive) { argument
51 if (!PathExists(file_path)) {
54 if (!base::DeleteFile(file_path, recursive)) {
55 if (!recursive && !base::IsDirectoryEmpty(file_path)) {
69 const FilePath& file_path,
75 Unretained(helper), file_path),
81 const FilePath& file_path,
67 GetFileInfo( TaskRunner* task_runner, const FilePath& file_path, const GetFileInfoCallback& callback) argument
80 DeleteFile(TaskRunner* task_runner, const FilePath& file_path, bool recursive, const StatusCallback& callback) argument
91 Touch( TaskRunner* task_runner, const FilePath& file_path, const Time& last_access_time, const Time& last_modified_time, const StatusCallback& callback) argument
[all...]
/external/chromium_org/third_party/skia/tools/
H A Dsanitize_source_files.py85 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/skia/tools/
H A Dsanitize_source_files.py85 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_org/extensions/browser/value_store/
H A Dtesting_value_store_unittest.cc13 ValueStore* Param(const base::FilePath& file_path) { argument
/external/chromium_org/storage/browser/database/
H A Dvfs_backend.h21 static base::File OpenFile(const base::FilePath& file_path,
27 static int DeleteFile(const base::FilePath& file_path, bool sync_dir);
29 static uint32 GetFileAttributes(const base::FilePath& file_path);
31 static int64 GetFileSize(const base::FilePath& file_path);
/external/qemu/android/filesystems/
H A Dramdisk_extractor.h24 // |file_path| is the path of the file within the ramdisk.
29 const char* file_path,
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/
H A Ddevtools_file_hashes.py57 def calculate_file_hash(file_path):
58 with open(file_path) as file:
67 for file_path in file_paths:
68 file_name = re.sub(".*/", "", file_path)
69 if calculate_file_hash(file_path) != hashes.get(file_name, ""):
70 result.append(file_path)
76 for file_path in file_paths:
77 file_name = re.sub(".*/", "", file_path)
78 hashes[file_name] = calculate_file_hash(file_path)
/external/chromium_org/base/android/
H A Dpath_service_android.cc9 #include "base/files/file_path.h"
17 FilePath file_path(ConvertJavaStringToUTF8(env, path));
18 PathService::Override(what, file_path);
/external/chromium_org/base/mac/
H A Dmac_logging.cc15 OSStatusLogMessage::OSStatusLogMessage(const char* file_path, argument
19 : LogMessage(file_path, line, severity),
/external/chromium_org/cc/test/
H A Dpixel_test_utils.h8 #include "base/files/file_path.h"
17 bool WritePNGFile(const SkBitmap& bitmap, const base::FilePath& file_path,
22 bool ReadPNGFile(const base::FilePath& file_path, SkBitmap* bitmap);
/external/chromium_org/media/tools/layout_tests/
H A Dlayouttest_analyzer_helpers_unittest.py37 file_path = os.path.join('test_data', 'base')
39 layouttest_analyzer_helpers.AnalyzerResultMap.Load(file_path))
46 file_path = os.path.join('test_data', 'less')
47 analyzerResultMapBase.Save(file_path)
49 file_path = os.path.join('test_data', 'base')
50 analyzerResultMapBase = AnalyzerResultMap.Load(file_path)
55 file_path = os.path.join('test_data', 'more')
56 analyzerResultMapBase.Save(file_path)
60 file_path = os.path.join('test_data', 'base')
61 analyzerResultMapBase = AnalyzerResultMap.Load(file_path)
[all...]
/external/chromium_org/ui/shell_dialogs/
H A Dselected_file_info.cc13 : file_path(in_file_path),
16 local_path = file_path;
/external/chromium_org/build/
H A Dgyp_helper.py14 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)
44 var, os.path.abspath(file_path)

Completed in 2333 milliseconds

1234567891011>>