HomeSort by relevance Sort by last modified time
    Searched refs:file_path (Results 1 - 25 of 48) sorted by null

1 2

  /external/webkit/WebKitTools/Scripts/webkitpy/style/processors/
text.py 37 def __init__(self, file_path, handle_style_error):
38 self.file_path = file_path
text_unittest.py 89 self.assertEquals(processor.file_path, "foo.txt")
  /external/chromium/net/base/
net_util_win.cc 7 #include "base/file_path.h"
16 bool FileURLToFilePath(const GURL& url, FilePath* file_path) {
17 *file_path = FilePath();
18 std::wstring& file_path_str = const_cast<std::wstring&>(file_path->value());
upload_data.h 10 #include "base/file_path.h"
32 const FilePath& file_path() const { return file_path_; } function in class:net::UploadData::Element
72 void AppendFile(const FilePath& file_path) {
74 elements_.back().SetToFilePath(file_path);
77 void AppendFileRange(const FilePath& file_path,
80 elements_.back().SetToFilePathRange(file_path, offset, length);
upload_data_stream.cc 71 int rv = next_element_stream_.Open(element.file_path(), flags);
75 << element.file_path().value()
82 DLOG(WARNING) << "Failed to seek \"" << element.file_path().value()
mime_util.h 11 #include "base/file_path.h"
22 bool GetMimeTypeFromFile(const FilePath& file_path, std::string* mime_type);
gzip_filter_unittest.cc 72 FilePath file_path; local
73 PathService::Get(base::DIR_SOURCE_ROOT, &file_path);
74 file_path = file_path.AppendASCII("net");
75 file_path = file_path.AppendASCII("data");
76 file_path = file_path.AppendASCII("filter_unittests");
77 file_path = file_path.AppendASCII("google.txt")
    [all...]
mime_util_unittest.cc 40 const FilePath::CharType* file_path; member in struct:__anon2543
56 rv = net::GetMimeTypeFromFile(FilePath(tests[i].file_path),
mime_util.cc 25 bool GetMimeTypeFromFile(const FilePath& file_path,
162 bool MimeUtil::GetMimeTypeFromFile(const FilePath& file_path,
164 FilePath::StringType file_name_str = file_path.Extension();
403 bool GetMimeTypeFromFile(const FilePath& file_path, std::string* mime_type) {
404 return GetMimeUtil()->GetMimeTypeFromFile(file_path, mime_type);
  /external/webkit/WebKitTools/Scripts/webkitpy/style/
checker_unittest.py 415 def dispatch_processor(self, file_path):
418 processor = dispatcher.dispatch_processor(file_path,
423 def assert_processor_none(self, file_path):
425 processor = self.dispatch_processor(file_path)
426 self.assertTrue(processor is None, 'Checking: "%s"' % file_path)
428 def assert_processor(self, file_path, expected_class):
430 processor = self.dispatch_processor(file_path)
433 'For path "%(file_path)s" got %(got_class)s when '
435 % {"file_path": file_path,
    [all...]
checker.py 614 def _file_extension(self, file_path):
616 return os.path.splitext(file_path)[1].lstrip(".")
618 def should_skip_with_warning(self, file_path):
621 if file_path.find(skipped_file) >= 0:
625 def should_skip_without_warning(self, file_path):
628 if file_path.find(skipped_file) >= 0:
632 def _file_type(self, file_path):
634 file_extension = self._file_extension(file_path)
636 if (file_extension in self.cpp_file_extensions) or (file_path == '-'):
644 elif ("ChangeLog" in file_path
    [all...]
error_handlers.py 59 def __init__(self, file_path, options, increment_error_count,
64 file_path: The path to the file containing the error. This
79 self._file_path = file_path
145 def __init__(self, diff, file_path, options, increment_error_count,
156 self._default_error_handler = DefaultStyleErrorHandler(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 45 void Resolve(const FilePath& file_path) {
47 bool exists = file_util::GetFileInfo(file_path, &file_info);
82 FilePath file_path; local
83 if (net::FileURLToFilePath(request->url(), &file_path) &&
84 file_util::EnsureEndsWithSeparator(&file_path) &&
85 file_path.IsAbsolute())
86 return new URLRequestFileDirJob(request, file_path);
90 return new URLRequestFileJob(request, file_path);
94 const FilePath& file_path)
96 file_path_(file_path),
    [all...]
url_request_file_job.h 10 #include "base/file_path.h"
24 URLRequestFileJob(URLRequest* request, const FilePath& file_path);
  /development/testrunner/
coverage_targets.py 48 def Parse(self, file_path):
52 file_path: absolute file path to parse
54 errors.ParseError if file_path cannot be parsed
57 doc = xml.dom.minidom.parse(file_path)
60 logger.Log('Results file %s does not exist' % file_path)
63 logger.Log('Error Parsing xml file: %s ' % file_path)
131 """parses out a file_path class from given path to xml"""
  /external/chromium/base/
file_version_info.h 35 static FileVersionInfo* CreateFileVersionInfo(const FilePath& file_path);
38 static FileVersionInfo* CreateFileVersionInfo(const std::wstring& file_path);
mac_util.h 49 void SetOverrideAppBundlePath(const FilePath& file_path);
108 bool SetFileBackupExclusion(const FilePath& file_path, bool exclude);
file_version_info.cc 9 #include "base/file_path.h"
44 const FilePath& file_path) {
46 const wchar_t* path = file_path.value().c_str();
76 const std::wstring& file_path) {
77 FilePath file_path_fp = FilePath::FromWStringHack(file_path);
path_service.cc 13 #include "base/file_path.h"
216 FilePath file_path = path; local
221 if (!file_util::PathExists(file_path) &&
222 !file_util::CreateDirectory(file_path))
228 if (!file_util::AbsolutePath(&file_path))
232 path_data->cache[key] = file_path;
file_util.cc 14 #include "base/file_path.h"
204 bool GetFileSize(const FilePath& file_path, int64* file_size) {
206 if (!GetFileInfo(file_path, &info))
367 bool GetFileInfo(const std::wstring& file_path, FileInfo* results) {
368 return GetFileInfo(FilePath::FromWStringHack(file_path), results);
376 bool GetFileSize(const std::wstring& file_path, int64* file_size) {
377 return GetFileSize(FilePath::FromWStringHack(file_path), file_size);
file_util.h 26 #include "base/file_path.h"
306 bool GetFileSize(const FilePath& file_path, int64* file_size);
308 bool GetFileSize(const std::wstring& file_path, int64* file_size);
325 bool GetFileInfo(const FilePath& file_path, FileInfo* info);
327 bool GetFileInfo(const std::wstring& file_path, FileInfo* info);
  /development/host/windows/usb/legacy/driver/
android_usb_device_object.cpp     [all...]
  /external/dbus/bus/
activation.c 257 DBusString file_path; local
265 if (!_dbus_string_init (&file_path))
271 if (!_dbus_string_append (&file_path, s_dir->dir_c) ||
272 !_dbus_concat_dir_and_file (&file_path, filename))
278 if (!_dbus_stat (&file_path, &stat_buf, NULL))
356 name, _dbus_string_get_const_data (&file_path));
379 _dbus_string_free (&file_path);
387 _dbus_string_free (&file_path);
404 DBusString file_path; local
412 if (!_dbus_string_init (&file_path))
    [all...]
  /external/v8/test/message/
testcfg.py 116 file_path = file_prefix + ".js"
121 result.append(MessageTestCase(test, file_path, output_path, mode,

Completed in 272 milliseconds

1 2