/external/chromium/chrome/browser/sync/glue/ |
theme_util_unittest.cc | 7 #include "base/file_path.h" 183 FilePath file_path(kExtensionFilePath); 187 MakeThemeExtension(file_path, kThemeName, kThemeUpdateUrl)); 201 FilePath file_path(kExtensionFilePath); 205 MakeThemeExtension(file_path, kThemeName, kThemeUpdateUrl));
|
/external/chromium/net/base/ |
mime_util.h | 12 #include "base/file_path.h" 24 NET_EXPORT bool GetMimeTypeFromFile(const FilePath& file_path, std::string* mime_type);
|
/external/webkit/Tools/Scripts/webkitpy/style/checkers/ |
text_unittest.py | 89 self.assertEquals(checker.file_path, "foo.txt")
|
xml_unittest.py | 61 self.assertEquals(checker.file_path, 'foo.xml')
|
/external/webkit/Tools/Scripts/webkitpy/tool/commands/ |
rebaselineserver.py | 180 file_path = os.path.join(self.server.test_config.results_directory, file_name) 184 self._serve_file(file_path, cacheable_seconds=60) 198 def _serve_file(self, file_path, cacheable_seconds=0): 199 if not os.path.exists(file_path): 202 with codecs.open(file_path, "rb") as static_file: 204 self.send_header("Content-Length", os.path.getsize(file_path)) 205 mime_type, encoding = mimetypes.guess_type(file_path)
|
/external/chromium/base/ |
file_version_info_win.cc | 9 #include "base/file_path.h" 44 const FilePath& file_path) { 48 const wchar_t* path = file_path.value().c_str();
|
file_util.h | 31 #include "base/file_path.h" 305 BASE_API bool GetFileSize(const FilePath& file_path, int64* file_size); 331 BASE_API bool GetFileInfo(const FilePath& file_path, 629 bool BASE_API PreReadImage(const wchar_t* file_path, size_t size_to_read,
|
/external/chromium/base/memory/ |
scoped_temp_dir_unittest.cc | 99 FilePath file_path(dir.path().Append(FILE_PATH_LITERAL("temp"))); 100 base::PlatformFile file = base::CreatePlatformFile(file_path, file_flags,
|
/external/chromium/chrome/browser/ui/webui/chromeos/ |
imageburner_ui.h | 13 #include "base/file_path.h" 60 void CreateFileStreamOnFileThread(const GURL& url, const FilePath& file_path, 65 const FilePath& file_path, TabContents* tab_contents,
|
imageburner_ui.cc | 713 const FilePath& file_path, 717 file_path, tab_contents, created_file_stream); 740 const FilePath& file_path, TabContents* tab_contents) { 748 &ImageBurnDownloaderTaskProxy::CreateFileStream, url, file_path, 753 const GURL& url, const FilePath& file_path, 757 DCHECK(!file_path.empty()); 760 if (file_stream->Open(file_path, base::PLATFORM_FILE_CREATE_ALWAYS | 769 url, file_path, tab_contents, file_stream.release())); 773 const FilePath& file_path, TabContents* tab_contents, 781 save_info.file_path = file_path [all...] |
/external/v8/test/message/ |
testcfg.py | 118 file_path = file_prefix + ".js" 123 result.append(MessageTestCase(test, file_path, output_path, mode,
|
/external/chromium/chrome/browser/importer/ |
firefox2_importer.h | 13 #include "base/file_path.h" 47 const FilePath& file_path,
|
/external/chromium/chrome/browser/ui/gtk/ |
tab_contents_drag_source.cc | 233 FilePath file_path; local 234 if (net::FileURLToFilePath(file_url, &file_path)) { 237 drag_download_util::CreateFileStreamForDrop(&file_path); 242 new DragDownloadFile(file_path,
|
/external/chromium/chrome/common/ |
libxml_utils.h | 52 bool LoadFile(const FilePath& file_path);
|
/external/chromium/chrome/browser/tab_contents/ |
web_drag_dest_gtk.cc | 9 #include "base/file_path.h" 172 FilePath file_path; local 174 net::FileURLToFilePath(url, &file_path)) { 175 drop_data_->filenames.push_back(UTF8ToUTF16(file_path.value()));
|
/external/chromium/net/url_request/ |
url_request.h | 325 void AppendFileRangeToUpload(const FilePath& file_path, 328 void AppendFileToUpload(const FilePath& file_path) { 329 AppendFileRangeToUpload(file_path, 0, kuint64max, base::Time());
|
/external/v8/test/mjsunit/ |
testcfg.py | 142 file_path = join(self.root, reduce(join, test[1:], "") + ".js") 143 result.append(MjsunitTestCase(test, file_path, mode, self.context, self, False)) 144 result.append(MjsunitTestCase(test, file_path, mode, self.context, self, True))
|
/external/chromium/chrome/browser/ |
browser_focus_uitest.cc | 144 FilePath file_path; local 145 bool r = PathService::Get(chrome::DIR_TEST_DATA, &file_path); 147 file_path = file_path.AppendASCII("focus"); 148 file_path = file_path.AppendASCII(kTypicalPageName); 149 r = file_util::ReadFileToString(file_path, &html_contents_); [all...] |
/external/chromium/chrome/common/extensions/ |
extension_file_util.cc | 527 std::string file_path = UnescapeURLComponent(url_path, 529 size_t skip = file_path.find_first_not_of("/\\"); 530 if (skip != file_path.npos) 531 file_path = file_path.substr(skip); 535 FilePath(file_path); 537 FilePath(UTF8ToWide(file_path));
|
/external/chromium/chrome/browser/history/ |
in_memory_url_index.cc | 238 FilePath file_path; local 239 if (!GetCacheFilePath(&file_path) || !file_util::PathExists(file_path)) 242 if (!file_util::ReadFileToString(file_path, &data)) { 244 << file_path.value(); 251 << file_path.value(); 281 FilePath file_path; local 282 if (!GetCacheFilePath(&file_path)) 284 file_util::ScopedFILE file(file_util::OpenFile(file_path, "w")); 289 if (file_util::WriteFile(file_path, data.c_str(), size) != size) [all...] |
/external/dbus/bus/ |
activation.c | 265 DBusString file_path; local 279 if (!_dbus_string_init (&file_path)) 285 if (!_dbus_string_append (&file_path, s_dir->dir_c) || 286 !_dbus_concat_dir_and_file (&file_path, filename)) 292 if (!_dbus_stat (&file_path, &stat_buf, NULL)) 422 name, _dbus_string_get_const_data (&file_path)); 449 _dbus_string_free (&file_path); 459 _dbus_string_free (&file_path); 476 DBusString file_path; local 484 if (!_dbus_string_init (&file_path)) [all...] |
/external/chromium/testing/gtest/test/ |
gtest-filepath_test.cc | 580 FilePath file_path(FilePath::GenerateUniqueFileName(testdata_path_, 582 EXPECT_STREQ(unique_file0_.c_str(), file_path.c_str()); 583 EXPECT_FALSE(file_path.FileOrDirectoryExists()); // file not there 586 EXPECT_FALSE(file_path.FileOrDirectoryExists()); // file still not there 587 CreateTextFile(file_path.c_str()); 588 EXPECT_TRUE(file_path.FileOrDirectoryExists());
|
/external/gtest/test/ |
gtest-filepath_test.cc | 584 FilePath file_path(FilePath::GenerateUniqueFileName(testdata_path_, 586 EXPECT_STREQ(unique_file0_.c_str(), file_path.c_str()); 587 EXPECT_FALSE(file_path.FileOrDirectoryExists()); // file not there 590 EXPECT_FALSE(file_path.FileOrDirectoryExists()); // file still not there 591 CreateTextFile(file_path.c_str()); 592 EXPECT_TRUE(file_path.FileOrDirectoryExists());
|
/external/protobuf/gtest/test/ |
gtest-filepath_test.cc | 494 FilePath file_path(FilePath::GenerateUniqueFileName(testdata_path_, 496 EXPECT_STREQ(unique_file0_.c_str(), file_path.c_str()); 497 EXPECT_FALSE(file_path.FileOrDirectoryExists()); // file not there 500 EXPECT_FALSE(file_path.FileOrDirectoryExists()); // file still not there 501 CreateTextFile(file_path.c_str()); 502 EXPECT_TRUE(file_path.FileOrDirectoryExists());
|
/bionic/libc/tools/ |
bionic_utils.py | 273 def parse_file(self, file_path): 274 D2("parse_file: %s" % file_path) 275 fp = open(file_path)
|