file 42 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java File file = new File(path); file 43 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java if (file.exists()) file 44 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java assertTrue(file.delete()); file 45 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java assertFalse(file.exists()); file 76 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java File file = new File(expectedPath); file 77 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java assertTrue(file.exists()); file 78 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java assertTrue(file.length() > 0); file 2739 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java File file = new File(filePath); file 2744 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java file.canRead()); file 125 android_webview/native/state_serializer.cc for (std::vector<base::FilePath>::const_iterator file = file_paths.begin(); file 126 android_webview/native/state_serializer.cc file != file_paths.end(); ++file) { file 128 android_webview/native/state_serializer.cc *file); file 87 apps/app_shim/app_shim_host_mac_unittest.cc const std::vector<base::FilePath>& file) OVERRIDE { file 98 apps/app_shim/app_shim_host_mac_unittest.cc const std::vector<base::FilePath>& file) OVERRIDE { file 119 base/android/java/src/org/chromium/base/CommandLine.java public static void initFromFile(String file) { file 121 base/android/java/src/org/chromium/base/CommandLine.java char[] buffer = readUtf8FileFully(file, 8 * 1024); file 336 base/android/java/src/org/chromium/base/PerfTraceEvent.java public static synchronized void setOutputFile(File file) { file 337 base/android/java/src/org/chromium/base/PerfTraceEvent.java sOutputFile = file; file 140 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java ZipFile file = new ZipFile(new File(appInfo.sourceDir), ZipFile.OPEN_READ); file 145 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java final ZipEntry entry = file.getEntry(jniNameInApk); file 148 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java file.close(); file 167 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java is = file.getInputStream(entry); file 191 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java file.close(); file 195 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java file.close(); file 234 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java for (File file : files) { file 235 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java String fileName = file.getName(); file 236 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java if (!file.delete()) { file 237 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java Log.e(TAG, "Failed to remove " + file.getAbsolutePath()); file 26 base/file_descriptor_posix.h FileDescriptor(File file) : fd(file.TakePlatformFile()), auto_close(true) {} file 137 base/file_util.cc FILE* file = OpenFile(path, "rb"); file 138 base/file_util.cc if (!file) { file 149 base/file_util.cc while ((len = fread(buf, 1, sizeof(buf), file)) > 0) { file 160 base/file_util.cc CloseFile(file); file 208 base/file_util.cc File file(path, flags); file 209 base/file_util.cc if (!file.IsValid()) file 212 base/file_util.cc return file.SetTimes(last_accessed, last_modified); file 215 base/file_util.cc bool CloseFile(FILE* file) { file 216 base/file_util.cc if (file == NULL) file 218 base/file_util.cc return fclose(file) == 0; file 221 base/file_util.cc bool TruncateFile(FILE* file) { file 222 base/file_util.cc if (file == NULL) file 224 base/file_util.cc long current_offset = ftell(file); file 228 base/file_util.cc int fd = _fileno(file); file 232 base/file_util.cc int fd = fileno(file); file 306 base/file_util.h BASE_EXPORT bool CloseFile(FILE* file); file 310 base/file_util.h BASE_EXPORT bool TruncateFile(FILE* file); file 509 base/file_util_posix.cc FILE* file = fdopen(fd, "a+"); file 510 base/file_util_posix.cc if (!file) file 512 base/file_util_posix.cc return file; file 629 base/file_util_posix.cc File file = OpenContentUriForRead(file_path); file 630 base/file_util_posix.cc if (!file.IsValid()) file 632 base/file_util_posix.cc return file.GetInfo(results); file 212 base/file_util_unittest.cc bool HasFile(const FilePath& file) const { file 213 base/file_util_unittest.cc return files_.find(file.value()) != files_.end(); file 227 base/file_util_unittest.cc std::wofstream file; file 228 base/file_util_unittest.cc file.open(filename.value().c_str()); file 229 base/file_util_unittest.cc ASSERT_TRUE(file.is_open()); file 230 base/file_util_unittest.cc file << contents; file 231 base/file_util_unittest.cc file.close(); file 237 base/file_util_unittest.cc std::wifstream file; file 238 base/file_util_unittest.cc file.open(filename.value().c_str()); file 239 base/file_util_unittest.cc EXPECT_TRUE(file.is_open()); file 240 base/file_util_unittest.cc file.getline(contents, arraysize(contents)); file 241 base/file_util_unittest.cc file.close(); file 2454 base/file_util_unittest.cc File file = OpenContentUriForRead(path); file 2455 base/file_util_unittest.cc EXPECT_TRUE(file.IsValid()); file 2456 base/file_util_unittest.cc EXPECT_TRUE(file.ReadAtCurrentPos(buffer, image_size)); file 2469 base/file_util_unittest.cc File file = OpenContentUriForRead(path); file 2470 base/file_util_unittest.cc EXPECT_FALSE(file.IsValid()); file 576 base/file_util_win.cc base::win::ScopedHandle file(CreateFile(filename.value().c_str(), file 583 base/file_util_win.cc if (!file) file 587 base/file_util_win.cc if (::ReadFile(file, data, size, &read, NULL) && file 595 base/file_util_win.cc base::win::ScopedHandle file(CreateFile(filename.value().c_str(), file 602 base/file_util_win.cc if (!file) { file 609 base/file_util_win.cc BOOL result = ::WriteFile(file, data, size, &written, NULL); file 627 base/file_util_win.cc base::win::ScopedHandle file(CreateFile(filename.value().c_str(), file 634 base/file_util_win.cc if (!file) { file 641 base/file_util_win.cc BOOL result = ::WriteFile(file, data, size, &written, NULL); file 293 base/files/file.h void SetPlatformFile(PlatformFile file); file 174 base/files/file_path_watcher_browsertest.cc bool WriteFile(const FilePath& file, const std::string& content) { file 175 base/files/file_path_watcher_browsertest.cc int write_size = ::base::WriteFile(file, content.c_str(), content.length()); file 337 base/files/file_path_watcher_browsertest.cc FilePath file(dir.AppendASCII("file")); file 339 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(SetupWatch(file, &watcher, delegate.get(), false)); file 343 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content")); file 348 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content v2")); file 352 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(file, false)); file 370 base/files/file_path_watcher_browsertest.cc FilePath file(path.AppendASCII("file")); file 372 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(SetupWatch(file, &watcher, delegate.get(), false)); file 381 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content")); file 385 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content v2")); file 398 base/files/file_path_watcher_browsertest.cc FilePath file(dir.AppendASCII("file")); file 400 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content")); file 402 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(SetupWatch(file, &watcher, delegate.get(), false)); file 465 base/files/file_path_watcher_browsertest.cc FilePath file(subdir.AppendASCII("file")); file 467 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(SetupWatch(file, &file_watcher, file_delegate.get(), false)); file 474 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content")); file 681 base/files/file_path_watcher_browsertest.cc FilePath file(dir.AppendASCII("file")); file 686 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content")); file 694 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content v2")); file 698 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(file, false)); file 710 base/files/file_path_watcher_browsertest.cc FilePath file(dir.AppendASCII("file")); file 720 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content")); file 724 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content v2")); file 728 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(file, false)); file 740 base/files/file_path_watcher_browsertest.cc FilePath file(dir.AppendASCII("file")); file 748 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content")); file 752 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(WriteFile(file, "content v2")); file 756 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(file, false)); file 49 base/files/file_posix.cc static bool IsOpenAppend(PlatformFile file) { file 50 base/files/file_posix.cc return (fcntl(file, F_GETFL) & O_APPEND) != 0; file 53 base/files/file_posix.cc static int CallFtruncate(PlatformFile file, int64 length) { file 54 base/files/file_posix.cc return HANDLE_EINTR(ftruncate(file, length)); file 57 base/files/file_posix.cc static int CallFsync(PlatformFile file) { file 58 base/files/file_posix.cc return HANDLE_EINTR(fsync(file)); file 61 base/files/file_posix.cc static int CallFutimes(PlatformFile file, const struct timeval times[2]) { file 72 base/files/file_posix.cc return futimens(file, ts_times); file 74 base/files/file_posix.cc return futimes(file, times); file 78 base/files/file_posix.cc static File::Error CallFctnlFlock(PlatformFile file, bool do_lock) { file 84 base/files/file_posix.cc if (HANDLE_EINTR(fcntl(file, do_lock ? F_SETLK : F_UNLCK, &lock)) == -1) file 90 base/files/file_posix.cc static bool IsOpenAppend(PlatformFile file) { file 97 base/files/file_posix.cc static int CallFtruncate(PlatformFile file, int64 length) { file 102 base/files/file_posix.cc static int CallFsync(PlatformFile file) { file 107 base/files/file_posix.cc static int CallFutimes(PlatformFile file, const struct timeval times[2]) { file 112 base/files/file_posix.cc static File::Error CallFctnlFlock(PlatformFile file, bool do_lock) { file 482 base/files/file_posix.cc void File::SetPlatformFile(PlatformFile file) { file 484 base/files/file_posix.cc file_.reset(file); file 20 base/files/file_proxy.cc FileHelper(FileProxy* proxy, File file) file 21 base/files/file_proxy.cc : file_(file.Pass()), file 44 base/files/file_proxy.cc GenericFileHelper(FileProxy* proxy, File file) file 45 base/files/file_proxy.cc : FileHelper(proxy, file.Pass()) { file 80 base/files/file_proxy.cc CreateOrOpenHelper(FileProxy* proxy, File file) file 81 base/files/file_proxy.cc : FileHelper(proxy, file.Pass()) { file 101 base/files/file_proxy.cc CreateTemporaryHelper(FileProxy* proxy, File file) file 102 base/files/file_proxy.cc : FileHelper(proxy, file.Pass()) { file 143 base/files/file_proxy.cc GetInfoHelper(FileProxy* proxy, File file) file 144 base/files/file_proxy.cc : FileHelper(proxy, file.Pass()) { file 165 base/files/file_proxy.cc ReadHelper(FileProxy* proxy, File file, int bytes_to_read) file 166 base/files/file_proxy.cc : FileHelper(proxy, file.Pass()), file 193 base/files/file_proxy.cc File file, file 195 base/files/file_proxy.cc : FileHelper(proxy, file.Pass()), file 340 base/files/file_proxy.cc void FileProxy::SetFile(File file) { file 342 base/files/file_proxy.cc file_ = file.Pass(); file 133 base/files/file_proxy.h void SetFile(File file); file 21 base/files/file_unittest.cc File file; file 22 base/files/file_unittest.cc EXPECT_FALSE(file.IsValid()); file 23 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_FAILED, file.error_details()); file 32 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 33 base/files/file_unittest.cc EXPECT_FALSE(file.IsValid()); file 34 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, file.error_details()); file 39 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); file 40 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 41 base/files/file_unittest.cc EXPECT_TRUE(file.created()); file 42 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); file 47 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 48 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 49 base/files/file_unittest.cc EXPECT_FALSE(file.created()); file 50 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); file 53 base/files/file_unittest.cc file.Close(); file 54 base/files/file_unittest.cc EXPECT_FALSE(file.IsValid()); file 59 base/files/file_unittest.cc File file; file 60 base/files/file_unittest.cc file.Initialize(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 61 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 62 base/files/file_unittest.cc EXPECT_FALSE(file.created()); file 63 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); file 66 base/files/file_unittest.cc file.Close(); file 67 base/files/file_unittest.cc EXPECT_FALSE(file.IsValid()); file 72 base/files/file_unittest.cc File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_READ); file 73 base/files/file_unittest.cc EXPECT_FALSE(file.IsValid()); file 74 base/files/file_unittest.cc EXPECT_FALSE(file.created()); file 75 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, file.error_details()); file 80 base/files/file_unittest.cc File file(file_path, file 82 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 83 base/files/file_unittest.cc EXPECT_TRUE(file.created()); file 84 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); file 90 base/files/file_unittest.cc File file(file_path, file 93 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 94 base/files/file_unittest.cc EXPECT_TRUE(file.created()); file 95 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); file 107 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_ASYNC); file 108 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 109 base/files/file_unittest.cc EXPECT_TRUE(file.async()); file 113 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN_ALWAYS); file 114 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 115 base/files/file_unittest.cc EXPECT_FALSE(file.async()); file 125 base/files/file_unittest.cc File file(file_path, file 128 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 129 base/files/file_unittest.cc EXPECT_TRUE(file.created()); file 130 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); file 136 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 141 base/files/file_unittest.cc file.Close(); file 150 base/files/file_unittest.cc File file(file_path, file 153 base/files/file_unittest.cc ASSERT_TRUE(file.IsValid()); file 159 base/files/file_unittest.cc int bytes_written = file.Write(0, data_to_write, 0); file 163 base/files/file_unittest.cc bytes_written = file.Write(0, data_to_write, kTestDataSize); file 168 base/files/file_unittest.cc int bytes_read = file.Read(kTestDataSize, data_read_1, kTestDataSize); file 173 base/files/file_unittest.cc bytes_read = file.Read(kPartialReadOffset, data_read_1, kTestDataSize); file 179 base/files/file_unittest.cc bytes_read = file.Read(0, data_read_1, 0); file 183 base/files/file_unittest.cc bytes_read = file.Read(0, data_read_1, kTestDataSize); file 189 base/files/file_unittest.cc bytes_read = file.ReadNoBestEffort(0, data_read_1, kTestDataSize); file 197 base/files/file_unittest.cc bytes_written = file.Write(kOffsetBeyondEndOfFile, file 208 base/files/file_unittest.cc bytes_read = file.Read(0, data_read_2, static_cast<int>(file_size)); file 222 base/files/file_unittest.cc File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_APPEND); file 223 base/files/file_unittest.cc ASSERT_TRUE(file.IsValid()); file 229 base/files/file_unittest.cc int bytes_written = file.Write(0, data_to_write, 0); file 233 base/files/file_unittest.cc bytes_written = file.Write(0, data_to_write, kTestDataSize); file 236 base/files/file_unittest.cc file.Close(); file 243 base/files/file_unittest.cc file = file2.Pass(); file 245 base/files/file_unittest.cc ASSERT_TRUE(file.IsValid()); file 251 base/files/file_unittest.cc bytes_written = file.Write(0, append_data_to_write, kAppendDataSize); file 256 base/files/file_unittest.cc int bytes_read = file.Read(0, data_read_1, file 270 base/files/file_unittest.cc File file(file_path, file 273 base/files/file_unittest.cc ASSERT_TRUE(file.IsValid()); file 274 base/files/file_unittest.cc EXPECT_EQ(0, file.GetLength()); file 279 base/files/file_unittest.cc int bytes_written = file.Write(0, data_to_write, kTestDataSize); file 285 base/files/file_unittest.cc EXPECT_TRUE(file.SetLength(kExtendedFileLength)); file 286 base/files/file_unittest.cc EXPECT_EQ(kExtendedFileLength, file.GetLength()); file 292 base/files/file_unittest.cc int bytes_read = file.Read(0, data_read, static_cast<int>(file_size)); file 301 base/files/file_unittest.cc EXPECT_TRUE(file.SetLength(kTruncatedFileLength)); file 302 base/files/file_unittest.cc EXPECT_EQ(kTruncatedFileLength, file.GetLength()); file 307 base/files/file_unittest.cc bytes_read = file.Read(0, data_read, kTestDataSize); file 321 base/files/file_unittest.cc File file(temp_dir.path().AppendASCII("touch_get_info_file"), file 324 base/files/file_unittest.cc ASSERT_TRUE(file.IsValid()); file 328 base/files/file_unittest.cc EXPECT_TRUE(file.GetInfo(&info)); file 344 base/files/file_unittest.cc int bytes_written = file.Write(0, data, kTestDataSize); file 356 base/files/file_unittest.cc EXPECT_TRUE(file.SetTimes(new_last_accessed, new_last_modified)); file 359 base/files/file_unittest.cc EXPECT_TRUE(file.GetInfo(&info)); file 385 base/files/file_unittest.cc File file(file_path, file 388 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 392 base/files/file_unittest.cc EXPECT_EQ(kDataSize, file.Write(0, kData, kDataSize)); file 394 base/files/file_unittest.cc EXPECT_EQ(0, file.Seek(base::File::FROM_BEGIN, 0)); file 398 base/files/file_unittest.cc EXPECT_EQ(first_chunk_size, file.ReadAtCurrentPos(buffer, first_chunk_size)); file 400 base/files/file_unittest.cc file.ReadAtCurrentPos(buffer + first_chunk_size, file 409 base/files/file_unittest.cc File file(file_path, file 412 base/files/file_unittest.cc EXPECT_TRUE(file.IsValid()); file 418 base/files/file_unittest.cc EXPECT_EQ(first_chunk_size, file.WriteAtCurrentPos(kData, first_chunk_size)); file 420 base/files/file_unittest.cc file.WriteAtCurrentPos(kData + first_chunk_size, file 424 base/files/file_unittest.cc EXPECT_EQ(kDataSize, file.Read(0, buffer, kDataSize)); file 132 base/files/file_util_proxy.cc void RunWorkForPlatformFile(PlatformFile file) { file 134 base/files/file_util_proxy.cc file, reinterpret_cast<PlatformFileInfo*>(&file_info_))) { file 158 base/files/file_util_proxy.cc void RunWork(PlatformFile file, int64 offset) { file 159 base/files/file_util_proxy.cc bytes_read_ = ReadPlatformFile(file, offset, buffer_.get(), bytes_to_read_); file 186 base/files/file_util_proxy.cc void RunWork(PlatformFile file, int64 offset) { file 187 base/files/file_util_proxy.cc bytes_written_ = WritePlatformFile(file, offset, buffer_.get(), file 297 base/files/file_util_proxy.cc PlatformFile file, file 303 base/files/file_util_proxy.cc Unretained(helper), file), file 321 base/files/file_util_proxy.cc PlatformFile file, file 331 base/files/file_util_proxy.cc Bind(&ReadHelper::RunWork, Unretained(helper), file, offset), file 338 base/files/file_util_proxy.cc PlatformFile file, file 349 base/files/file_util_proxy.cc Bind(&WriteHelper::RunWork, Unretained(helper), file, offset), file 356 base/files/file_util_proxy.cc PlatformFile file, file 363 base/files/file_util_proxy.cc Bind(&TouchPlatformFile, file, file 385 base/files/file_util_proxy.cc PlatformFile file, file 391 base/files/file_util_proxy.cc Bind(&TruncatePlatformFile, file, length), file 398 base/files/file_util_proxy.cc PlatformFile file, file 403 base/files/file_util_proxy.cc Bind(&FlushPlatformFile, file), file 94 base/files/file_util_proxy.h PlatformFile file, file 112 base/files/file_util_proxy.h PlatformFile file, file 126 base/files/file_util_proxy.h PlatformFile file, file 136 base/files/file_util_proxy.h PlatformFile file, file 156 base/files/file_util_proxy.h PlatformFile file, file 174 base/files/file_util_proxy.h PlatformFile file, file 47 base/files/file_util_proxy_unittest.cc PassPlatformFile file, file 50 base/files/file_util_proxy_unittest.cc file_ = file.ReleaseValue(); file 56 base/files/file_util_proxy_unittest.cc PassPlatformFile file, file 59 base/files/file_util_proxy_unittest.cc file_ = file.ReleaseValue(); file 166 base/files/file_util_proxy_unittest.cc PlatformFile file = GetTestPlatformFile( file 177 base/files/file_util_proxy_unittest.cc file, file 297 base/files/file_util_proxy_unittest.cc PlatformFile file = GetTestPlatformFile( file 302 base/files/file_util_proxy_unittest.cc file, file 315 base/files/file_util_proxy_unittest.cc file, file 344 base/files/file_win.cc void File::SetPlatformFile(PlatformFile file) { file 345 base/files/file_win.cc file_.Set(file); file 35 base/files/memory_mapped_file.cc bool MemoryMappedFile::Initialize(File file) { file 39 base/files/memory_mapped_file.cc file_ = file.Pass(); file 36 base/files/memory_mapped_file.h bool Initialize(File file); file 10 base/files/scoped_platform_file_closer.cc void PlatformFileCloser::operator()(PlatformFile* file) const { file 11 base/files/scoped_platform_file_closer.cc if (file && *file != kInvalidPlatformFileValue) file 12 base/files/scoped_platform_file_closer.cc ClosePlatformFile(*file); file 16 base/files/scoped_platform_file_closer.h void operator()(PlatformFile* file) const; file 101 base/files/scoped_temp_dir_unittest.cc base::File file(dir.path().Append(FILE_PATH_LITERAL("temp")), file 103 base/files/scoped_temp_dir_unittest.cc EXPECT_TRUE(file.IsValid()); file 104 base/files/scoped_temp_dir_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); file 107 base/files/scoped_temp_dir_unittest.cc file.Close(); file 413 base/logging.cc int GetVlogLevelHelper(const char* file, size_t N) { file 419 base/logging.cc vlog_info->GetVlogLevel(base::StringPiece(file, N - 1)) : file 526 base/logging.cc LogMessage::LogMessage(const char* file, int line, LogSeverity severity, file 528 base/logging.cc : severity_(severity), file_(file), line_(line) { file 529 base/logging.cc Init(file, line); file 532 base/logging.cc LogMessage::LogMessage(const char* file, int line) file 533 base/logging.cc : severity_(LOG_INFO), file_(file), line_(line) { file 534 base/logging.cc Init(file, line); file 537 base/logging.cc LogMessage::LogMessage(const char* file, int line, LogSeverity severity) file 538 base/logging.cc : severity_(severity), file_(file), line_(line) { file 539 base/logging.cc Init(file, line); file 542 base/logging.cc LogMessage::LogMessage(const char* file, int line, std::string* result) file 543 base/logging.cc : severity_(LOG_FATAL), file_(file), line_(line) { file 544 base/logging.cc Init(file, line); file 549 base/logging.cc LogMessage::LogMessage(const char* file, int line, LogSeverity severity, file 551 base/logging.cc : severity_(severity), file_(file), line_(line) { file 552 base/logging.cc Init(file, line); file 671 base/logging.cc void LogMessage::Init(const char* file, int line) { file 672 base/logging.cc base::StringPiece filename(file); file 732 base/logging.cc Win32ErrorLogMessage::Win32ErrorLogMessage(const char* file, file 739 base/logging.cc log_message_(file, line, severity) { file 742 base/logging.cc Win32ErrorLogMessage::Win32ErrorLogMessage(const char* file, file 748 base/logging.cc log_message_(file, line, severity) { file 793 base/logging.cc ErrnoLogMessage::ErrnoLogMessage(const char* file, file 798 base/logging.cc log_message_(file, line, severity) { file 256 base/logging.h int GetVlogLevel(const char (&file)[N]) { file 257 base/logging.h return GetVlogLevelHelper(file, N); file 291 base/logging.h const char* file, int line, size_t message_start, const std::string& str); file 733 base/logging.h LogMessage(const char* file, int line, LogSeverity severity, int ctr); file 743 base/logging.h LogMessage(const char* file, int line); file 750 base/logging.h LogMessage(const char* file, int line, LogSeverity severity); file 755 base/logging.h LogMessage(const char* file, int line, std::string* result); file 759 base/logging.h LogMessage(const char* file, int line, LogSeverity severity, file 767 base/logging.h void Init(const char* file, int line); file 831 base/logging.h Win32ErrorLogMessage(const char* file, file 837 base/logging.h Win32ErrorLogMessage(const char* file, file 859 base/logging.h ErrnoLogMessage(const char* file, file 26 base/logging_win.cc const char* file, int line, size_t message_start, file 75 base/logging_win.cc if (file == NULL) file 76 base/logging_win.cc file = ""; file 84 base/logging_win.cc event.SetField(3, strlen(file) + 1, file); file 56 base/logging_win.h static bool LogMessage(logging::LogSeverity severity, const char* file, file 685 base/message_loop/message_loop.cc void MessageLoopForIO::RegisterIOHandler(HANDLE file, IOHandler* handler) { file 686 base/message_loop/message_loop.cc pump_io()->RegisterIOHandler(file, handler); file 675 base/message_loop/message_loop.h void RegisterIOHandler(HANDLE file, IOHandler* handler); file 137 base/nix/mime_util_xdg.cc bool LoadIndexTheme(const FilePath& file); file 257 base/nix/mime_util_xdg.cc bool IconTheme::LoadIndexTheme(const FilePath& file) { file 258 base/nix/mime_util_xdg.cc FILE* fp = base::OpenFile(file, "r"); file 156 base/platform_file.h BASE_EXPORT FILE* FdopenPlatformFile(PlatformFile file, const char* mode); file 159 base/platform_file.h BASE_EXPORT bool ClosePlatformFile(PlatformFile file); file 164 base/platform_file.h BASE_EXPORT int64 SeekPlatformFile(PlatformFile file, file 173 base/platform_file.h BASE_EXPORT int ReadPlatformFile(PlatformFile file, int64 offset, file 177 base/platform_file.h BASE_EXPORT int ReadPlatformFileAtCurrentPos(PlatformFile file, file 183 base/platform_file.h BASE_EXPORT int ReadPlatformFileNoBestEffort(PlatformFile file, int64 offset, file 187 base/platform_file.h BASE_EXPORT int ReadPlatformFileCurPosNoBestEffort(PlatformFile file, file 196 base/platform_file.h BASE_EXPORT int WritePlatformFile(PlatformFile file, int64 offset, file 200 base/platform_file.h BASE_EXPORT int WritePlatformFileAtCurrentPos(PlatformFile file, file 205 base/platform_file.h BASE_EXPORT int WritePlatformFileCurPosNoBestEffort(PlatformFile file, file 211 base/platform_file.h BASE_EXPORT bool TruncatePlatformFile(PlatformFile file, int64 length); file 214 base/platform_file.h BASE_EXPORT bool FlushPlatformFile(PlatformFile file); file 217 base/platform_file.h BASE_EXPORT bool TouchPlatformFile(PlatformFile file, file 222 base/platform_file.h BASE_EXPORT bool GetPlatformFileInfo(PlatformFile file, PlatformFileInfo* info); file 244 base/platform_file.h BASE_EXPORT PlatformFileError LockPlatformFile(PlatformFile file); file 247 base/platform_file.h BASE_EXPORT PlatformFileError UnlockPlatformFile(PlatformFile file); file 49 base/platform_file_posix.cc static bool IsOpenAppend(PlatformFile file) { file 50 base/platform_file_posix.cc return (fcntl(file, F_GETFL) & O_APPEND) != 0; file 53 base/platform_file_posix.cc static int CallFtruncate(PlatformFile file, int64 length) { file 54 base/platform_file_posix.cc return HANDLE_EINTR(ftruncate(file, length)); file 57 base/platform_file_posix.cc static int CallFsync(PlatformFile file) { file 58 base/platform_file_posix.cc return HANDLE_EINTR(fsync(file)); file 61 base/platform_file_posix.cc static int CallFutimes(PlatformFile file, const struct timeval times[2]) { file 72 base/platform_file_posix.cc return futimens(file, ts_times); file 74 base/platform_file_posix.cc return futimes(file, times); file 78 base/platform_file_posix.cc static PlatformFileError CallFctnlFlock(PlatformFile file, bool do_lock) { file 84 base/platform_file_posix.cc if (HANDLE_EINTR(fcntl(file, do_lock ? F_SETLK : F_UNLCK, &lock)) == -1) file 90 base/platform_file_posix.cc static bool IsOpenAppend(PlatformFile file) { file 97 base/platform_file_posix.cc static int CallFtruncate(PlatformFile file, int64 length) { file 102 base/platform_file_posix.cc static int CallFsync(PlatformFile file) { file 107 base/platform_file_posix.cc static int CallFutimes(PlatformFile file, const struct timeval times[2]) { file 112 base/platform_file_posix.cc static PlatformFileError CallFctnlFlock(PlatformFile file, bool do_lock) { file 217 base/platform_file_posix.cc FILE* FdopenPlatformFile(PlatformFile file, const char* mode) { file 218 base/platform_file_posix.cc return fdopen(file, mode); file 222 base/platform_file_posix.cc bool ClosePlatformFile(PlatformFile file) { file 224 base/platform_file_posix.cc return !IGNORE_EINTR(close(file)); file 227 base/platform_file_posix.cc int64 SeekPlatformFile(PlatformFile file, file 231 base/platform_file_posix.cc if (file < 0 || offset < 0) file 234 base/platform_file_posix.cc return lseek(file, static_cast<off_t>(offset), static_cast<int>(whence)); file 237 base/platform_file_posix.cc int ReadPlatformFile(PlatformFile file, int64 offset, char* data, int size) { file 239 base/platform_file_posix.cc if (file < 0 || size < 0) file 245 base/platform_file_posix.cc rv = HANDLE_EINTR(pread(file, data + bytes_read, file 256 base/platform_file_posix.cc int ReadPlatformFileAtCurrentPos(PlatformFile file, char* data, int size) { file 258 base/platform_file_posix.cc if (file < 0 || size < 0) file 264 base/platform_file_posix.cc rv = HANDLE_EINTR(read(file, data + bytes_read, size - bytes_read)); file 274 base/platform_file_posix.cc int ReadPlatformFileNoBestEffort(PlatformFile file, int64 offset, file 277 base/platform_file_posix.cc if (file < 0) file 280 base/platform_file_posix.cc return HANDLE_EINTR(pread(file, data, size, offset)); file 283 base/platform_file_posix.cc int ReadPlatformFileCurPosNoBestEffort(PlatformFile file, file 286 base/platform_file_posix.cc if (file < 0 || size < 0) file 289 base/platform_file_posix.cc return HANDLE_EINTR(read(file, data, size)); file 292 base/platform_file_posix.cc int WritePlatformFile(PlatformFile file, int64 offset, file 296 base/platform_file_posix.cc if (IsOpenAppend(file)) file 297 base/platform_file_posix.cc return WritePlatformFileAtCurrentPos(file, data, size); file 299 base/platform_file_posix.cc if (file < 0 || size < 0) file 305 base/platform_file_posix.cc rv = HANDLE_EINTR(pwrite(file, data + bytes_written, file 316 base/platform_file_posix.cc int WritePlatformFileAtCurrentPos(PlatformFile file, file 319 base/platform_file_posix.cc if (file < 0 || size < 0) file 325 base/platform_file_posix.cc rv = HANDLE_EINTR(write(file, data + bytes_written, size - bytes_written)); file 335 base/platform_file_posix.cc int WritePlatformFileCurPosNoBestEffort(PlatformFile file, file 338 base/platform_file_posix.cc if (file < 0 || size < 0) file 341 base/platform_file_posix.cc return HANDLE_EINTR(write(file, data, size)); file 344 base/platform_file_posix.cc bool TruncatePlatformFile(PlatformFile file, int64 length) { file 346 base/platform_file_posix.cc return ((file >= 0) && !CallFtruncate(file, length)); file 349 base/platform_file_posix.cc bool FlushPlatformFile(PlatformFile file) { file 351 base/platform_file_posix.cc return !CallFsync(file); file 354 base/platform_file_posix.cc bool TouchPlatformFile(PlatformFile file, const base::Time& last_access_time, file 357 base/platform_file_posix.cc if (file < 0) file 364 base/platform_file_posix.cc return !CallFutimes(file, times); file 367 base/platform_file_posix.cc bool GetPlatformFileInfo(PlatformFile file, PlatformFileInfo* info) { file 372 base/platform_file_posix.cc if (CallFstat(file, &file_info)) file 425 base/platform_file_posix.cc PlatformFileError LockPlatformFile(PlatformFile file) { file 426 base/platform_file_posix.cc return CallFctnlFlock(file, true); file 429 base/platform_file_posix.cc PlatformFileError UnlockPlatformFile(PlatformFile file) { file 430 base/platform_file_posix.cc return CallFctnlFlock(file, false); file 17 base/platform_file_unittest.cc int ReadFully(PlatformFile file, int64 offset, char* data, int size) { file 18 base/platform_file_unittest.cc return ReadPlatformFile(file, offset, data, size); file 23 base/platform_file_unittest.cc int WriteFully(PlatformFile file, int64 offset, file 25 base/platform_file_unittest.cc return WritePlatformFile(file, offset, data, size); file 37 base/platform_file_unittest.cc PlatformFile file = CreatePlatformFile( file 42 base/platform_file_unittest.cc EXPECT_EQ(kInvalidPlatformFileValue, file); file 48 base/platform_file_unittest.cc file = CreatePlatformFile( file 53 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 56 base/platform_file_unittest.cc ClosePlatformFile(file); file 60 base/platform_file_unittest.cc file = CreatePlatformFile( file 65 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 68 base/platform_file_unittest.cc ClosePlatformFile(file); file 71 base/platform_file_unittest.cc file = CreatePlatformFile( file 76 base/platform_file_unittest.cc EXPECT_EQ(kInvalidPlatformFileValue, file); file 82 base/platform_file_unittest.cc file = CreatePlatformFile( file 87 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 90 base/platform_file_unittest.cc ClosePlatformFile(file); file 95 base/platform_file_unittest.cc file = CreatePlatformFile( file 101 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 105 base/platform_file_unittest.cc EXPECT_TRUE(ClosePlatformFile(file)); file 117 base/platform_file_unittest.cc PlatformFile file = CreatePlatformFile( file 123 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 135 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 140 base/platform_file_unittest.cc ClosePlatformFile(file); file 149 base/platform_file_unittest.cc PlatformFile file = CreatePlatformFile( file 155 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 161 base/platform_file_unittest.cc int bytes_written = WriteFully(file, 0, data_to_write, 0); file 165 base/platform_file_unittest.cc bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); file 170 base/platform_file_unittest.cc int bytes_read = ReadFully(file, kTestDataSize, data_read_1, kTestDataSize); file 175 base/platform_file_unittest.cc bytes_read = ReadFully(file, kPartialReadOffset, data_read_1, kTestDataSize); file 181 base/platform_file_unittest.cc bytes_read = ReadFully(file, 0, data_read_1, 0); file 185 base/platform_file_unittest.cc bytes_read = ReadFully(file, 0, data_read_1, kTestDataSize); file 191 base/platform_file_unittest.cc bytes_read = ReadPlatformFileNoBestEffort(file, 0, data_read_1, file 200 base/platform_file_unittest.cc bytes_written = WriteFully(file, kOffsetBeyondEndOfFile, file 211 base/platform_file_unittest.cc bytes_read = ReadFully(file, 0, data_read_2, static_cast<int>(file_size)); file 221 base/platform_file_unittest.cc ClosePlatformFile(file); file 228 base/platform_file_unittest.cc PlatformFile file = CreatePlatformFile( file 233 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 239 base/platform_file_unittest.cc int bytes_written = WriteFully(file, 0, data_to_write, 0); file 243 base/platform_file_unittest.cc bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); file 246 base/platform_file_unittest.cc ClosePlatformFile(file); file 247 base/platform_file_unittest.cc file = CreatePlatformFile( file 253 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 259 base/platform_file_unittest.cc bytes_written = WriteFully(file, 0, append_data_to_write, kAppendDataSize); file 264 base/platform_file_unittest.cc int bytes_read = ReadFully(file, 0, data_read_1, file 273 base/platform_file_unittest.cc ClosePlatformFile(file); file 281 base/platform_file_unittest.cc PlatformFile file = CreatePlatformFile( file 287 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 292 base/platform_file_unittest.cc int bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); file 298 base/platform_file_unittest.cc EXPECT_TRUE(TruncatePlatformFile(file, kExtendedFileLength)); file 304 base/platform_file_unittest.cc int bytes_read = ReadFully(file, 0, data_read, static_cast<int>(file_size)); file 313 base/platform_file_unittest.cc EXPECT_TRUE(TruncatePlatformFile(file, kTruncatedFileLength)); file 318 base/platform_file_unittest.cc bytes_read = ReadFully(file, 0, data_read, kTestDataSize); file 324 base/platform_file_unittest.cc ClosePlatformFile(file); file 335 base/platform_file_unittest.cc PlatformFile file = CreatePlatformFile( file 341 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 345 base/platform_file_unittest.cc EXPECT_TRUE(GetPlatformFileInfo(file, &info)); file 361 base/platform_file_unittest.cc int bytes_written = WriteFully(file, 0, data, kTestDataSize); file 373 base/platform_file_unittest.cc EXPECT_TRUE(TouchPlatformFile(file, new_last_accessed, new_last_modified)); file 376 base/platform_file_unittest.cc EXPECT_TRUE(GetPlatformFileInfo(file, &info)); file 398 base/platform_file_unittest.cc ClosePlatformFile(file); file 406 base/platform_file_unittest.cc PlatformFile file = CreatePlatformFile( file 411 base/platform_file_unittest.cc EXPECT_NE(kInvalidPlatformFileValue, file); file 415 base/platform_file_unittest.cc EXPECT_EQ(kDataSize, WriteFully(file, 0, kData, kDataSize)); file 417 base/platform_file_unittest.cc EXPECT_EQ(0, SeekPlatformFile(file, PLATFORM_FILE_FROM_BEGIN, 0)); file 423 base/platform_file_unittest.cc file, buffer, first_chunk_size)); file 426 base/platform_file_unittest.cc file, buffer + first_chunk_size, file 431 base/platform_file_unittest.cc ClosePlatformFile(file); file 86 base/platform_file_win.cc HANDLE file = CreateFile(name.value().c_str(), access, sharing, NULL, file 89 base/platform_file_win.cc if (INVALID_HANDLE_VALUE != file){ file 93 base/platform_file_win.cc BOOL result = GetFileInformationByHandle(file, &info); file 97 base/platform_file_win.cc CloseHandle(file); file 98 base/platform_file_win.cc file = INVALID_HANDLE_VALUE; file 103 base/platform_file_win.cc if (created && (INVALID_HANDLE_VALUE != file)) { file 111 base/platform_file_win.cc if (file != kInvalidPlatformFileValue) file 117 base/platform_file_win.cc return file; file 120 base/platform_file_win.cc FILE* FdopenPlatformFile(PlatformFile file, const char* mode) { file 121 base/platform_file_win.cc if (file == kInvalidPlatformFileValue) file 123 base/platform_file_win.cc int fd = _open_osfhandle(reinterpret_cast<intptr_t>(file), 0); file 129 base/platform_file_win.cc bool ClosePlatformFile(PlatformFile file) { file 131 base/platform_file_win.cc return (CloseHandle(file) != 0); file 134 base/platform_file_win.cc int64 SeekPlatformFile(PlatformFile file, file 138 base/platform_file_win.cc if (file == kInvalidPlatformFileValue || offset < 0) file 144 base/platform_file_win.cc if (!SetFilePointerEx(file, distance, &res, move_method)) file 149 base/platform_file_win.cc int ReadPlatformFile(PlatformFile file, int64 offset, char* data, int size) { file 151 base/platform_file_win.cc if (file == kInvalidPlatformFileValue || size < 0) file 162 base/platform_file_win.cc if (::ReadFile(file, data, size, &bytes_read, &overlapped) != 0) file 170 base/platform_file_win.cc int ReadPlatformFileAtCurrentPos(PlatformFile file, char* data, int size) { file 172 base/platform_file_win.cc if (file == kInvalidPlatformFileValue || size < 0) file 176 base/platform_file_win.cc if (::ReadFile(file, data, size, &bytes_read, NULL) != 0) file 184 base/platform_file_win.cc int ReadPlatformFileNoBestEffort(PlatformFile file, int64 offset, char* data, file 186 base/platform_file_win.cc return ReadPlatformFile(file, offset, data, size); file 189 base/platform_file_win.cc int ReadPlatformFileCurPosNoBestEffort(PlatformFile file, file 191 base/platform_file_win.cc return ReadPlatformFileAtCurrentPos(file, data, size); file 194 base/platform_file_win.cc int WritePlatformFile(PlatformFile file, int64 offset, file 197 base/platform_file_win.cc if (file == kInvalidPlatformFileValue) file 208 base/platform_file_win.cc if (::WriteFile(file, data, size, &bytes_written, &overlapped) != 0) file 214 base/platform_file_win.cc int WritePlatformFileAtCurrentPos(PlatformFile file, const char* data, file 216 base/platform_file_win.cc return WritePlatformFile(file, 0, data, size); file 219 base/platform_file_win.cc int WritePlatformFileCurPosNoBestEffort(PlatformFile file, file 221 base/platform_file_win.cc return WritePlatformFile(file, 0, data, size); file 224 base/platform_file_win.cc bool TruncatePlatformFile(PlatformFile file, int64 length) { file 226 base/platform_file_win.cc if (file == kInvalidPlatformFileValue) file 233 base/platform_file_win.cc if (::SetFilePointerEx(file, zero, &file_pointer, FILE_CURRENT) == 0) file 240 base/platform_file_win.cc if (!::SetFilePointerEx(file, length_li, NULL, FILE_BEGIN)) file 246 base/platform_file_win.cc return ((::SetEndOfFile(file) != 0) && file 247 base/platform_file_win.cc (::SetFilePointerEx(file, file_pointer, NULL, FILE_BEGIN) != 0)); file 250 base/platform_file_win.cc bool FlushPlatformFile(PlatformFile file) { file 252 base/platform_file_win.cc return ((file != kInvalidPlatformFileValue) && ::FlushFileBuffers(file)); file 255 base/platform_file_win.cc bool TouchPlatformFile(PlatformFile file, const base::Time& last_access_time, file 258 base/platform_file_win.cc if (file == kInvalidPlatformFileValue) file 263 base/platform_file_win.cc return (::SetFileTime(file, NULL, &last_access_filetime, file 267 base/platform_file_win.cc bool GetPlatformFileInfo(PlatformFile file, PlatformFileInfo* info) { file 273 base/platform_file_win.cc if (GetFileInformationByHandle(file, &file_info) == 0) file 289 base/platform_file_win.cc PlatformFileError LockPlatformFile(PlatformFile file) { file 290 base/platform_file_win.cc BOOL result = LockFile(file, 0, 0, MAXDWORD, MAXDWORD); file 296 base/platform_file_win.cc PlatformFileError UnlockPlatformFile(PlatformFile file) { file 297 base/platform_file_win.cc BOOL result = UnlockFile(file, 0, 0, MAXDWORD, MAXDWORD); file 52 base/process/internal_linux.cc bool ReadProcFile(const FilePath& file, std::string* buffer) { file 57 base/process/internal_linux.cc if (!ReadFileToString(file, buffer)) { file 58 base/process/internal_linux.cc DLOG(WARNING) << "Failed to read " << file.MaybeAsASCII(); file 246 base/process/launch_win.cc const string16 file = cmdline.GetProgram().value(); file 254 base/process/launch_win.cc shex_info.lpFile = file.c_str(); file 95 base/process/process_linux.cc const base::FilePath file = file 98 base/process/process_linux.cc return base::WriteFile(file, pid.c_str(), pid.size()) > 0; file 35 base/process/process_metrics_linux.cc static uint64 ReadFileToUint64(const base::FilePath file) { file 37 base/process/process_metrics_linux.cc if (!ReadFileToString(file, &file_as_string)) file 115 base/sync_socket_win.cc HANDLE file, file 127 base/sync_socket_win.cc DCHECK_NE(file, SyncSocket::kInvalidHandle); file 148 base/sync_socket_win.cc file, static_cast<BufferType*>(buffer) + count, chunk, &len, &ol); file 158 base/sync_socket_win.cc GetOverlappedResult(file, &ol, &len, TRUE); file 161 base/sync_socket_win.cc CancelIo(file); file 168 base/sync_socket_win.cc if (!CancelIo(file)) file 24 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java File file = new File(name); file 25 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java if (!file.createNewFile()) { file 31 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java writer = new OutputStreamWriter(new FileOutputStream(file), "UTF-8"); file 46 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java File file = new File(name); file 47 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java file.delete(); file 28 base/test/test_file_util.h bool EvictFileFromSystemCacheWithRetry(const FilePath& file); file 33 base/test/test_file_util.h bool DieFileDie(const FilePath& file, bool recurse); file 37 base/test/test_file_util.h bool EvictFileFromSystemCache(const FilePath& file); file 17 base/test/test_file_util_linux.cc bool EvictFileFromSystemCache(const FilePath& file) { file 18 base/test/test_file_util_linux.cc ScopedFD fd(open(file.value().c_str(), O_RDONLY)); file 16 base/test/test_file_util_mac.cc bool EvictFileFromSystemCache(const FilePath& file) { file 23 base/test/test_file_util_mac.cc if (!GetFileSize(file, &length)) { file 24 base/test/test_file_util_mac.cc DLOG(ERROR) << "failed to get size of " << file.value(); file 36 base/test/test_file_util_mac.cc if (!mapped_file.Initialize(file)) { file 37 base/test/test_file_util_mac.cc DLOG(WARNING) << "failed to memory map " << file.value(); file 43 base/test/test_file_util_mac.cc DLOG(WARNING) << "failed to invalidate memory map of " << file.value() file 76 base/test/test_file_util_posix.cc bool DieFileDie(const FilePath& file, bool recurse) { file 79 base/test/test_file_util_posix.cc return DeleteFile(file, recurse); file 83 base/test/test_file_util_posix.cc bool EvictFileFromSystemCache(const FilePath& file) { file 115 base/test/test_file_util_win.cc bool DieFileDie(const FilePath& file, bool recurse) { file 120 base/test/test_file_util_win.cc if (!PathExists(file)) file 127 base/test/test_file_util_win.cc if (DeleteFile(file, recurse)) file 134 base/test/test_file_util_win.cc bool EvictFileFromSystemCache(const FilePath& file) { file 137 base/test/test_file_util_win.cc CreateFile(file.value().c_str(), GENERIC_READ | GENERIC_WRITE, 0, NULL, file 203 base/test/test_file_util_win.cc file_handle.Set(CreateFile(file.value().c_str(), GENERIC_WRITE, 0, NULL, file 74 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *lock) file 78 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *lock) file 82 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *lock, long is_w) file 86 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *lock, long is_w) file 90 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *barrier, long count, file 95 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *barrier) file 99 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *barrier) file 103 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *barrier) file 107 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *cv, file 112 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *cv) file 116 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *cv) file 120 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *obj) file 124 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *obj) file 128 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *address, long size) file 132 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *address, long size) file 136 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *pcq) file 140 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *pcq) file 144 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *pcq) file 148 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *pcq) file 152 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *mem, long size) file 156 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *mem, file 161 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line) file 165 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *mem, file 170 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *mem, long size, file 175 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *mu) file 179 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *mu) file 183 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *arg) file 187 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const char *name) file 191 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line) file 195 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line) file 199 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line) file 203 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line) file 207 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line) file 211 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line) file 215 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, int enable) file 219 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line, const volatile void *arg) file 223 base/third_party/dynamic_annotations/dynamic_annotations.c const char *file, int line) file 433 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 436 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 439 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 442 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 445 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, const volatile void *barrier, long count, file 448 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 451 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 454 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 457 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, const volatile void *cv, file 460 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 463 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 466 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 469 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 472 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 475 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 478 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 481 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 484 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 487 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 490 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 493 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, const volatile void *mem, file 496 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line) DYNAMIC_ANNOTATIONS_ATTRIBUTE_WEAK; file 498 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, const volatile void *mem, file 501 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, const volatile void *mem, long size, file 504 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 507 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 510 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 513 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 516 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line) DYNAMIC_ANNOTATIONS_ATTRIBUTE_WEAK; file 518 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line) DYNAMIC_ANNOTATIONS_ATTRIBUTE_WEAK; file 520 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line) DYNAMIC_ANNOTATIONS_ATTRIBUTE_WEAK; file 522 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line) DYNAMIC_ANNOTATIONS_ATTRIBUTE_WEAK; file 524 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line) DYNAMIC_ANNOTATIONS_ATTRIBUTE_WEAK; file 526 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line) DYNAMIC_ANNOTATIONS_ATTRIBUTE_WEAK; file 528 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, int enable) DYNAMIC_ANNOTATIONS_ATTRIBUTE_WEAK; file 530 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line, file 533 base/third_party/dynamic_annotations/dynamic_annotations.h const char *file, int line) DYNAMIC_ANNOTATIONS_ATTRIBUTE_WEAK; file 500 base/third_party/xdg_mime/xdgmime.c FILE *file; file 543 base/third_party/xdg_mime/xdgmime.c file = fopen (file_name, "r"); file 544 base/third_party/xdg_mime/xdgmime.c if (file == NULL) file 550 base/third_party/xdg_mime/xdgmime.c bytes_read = fread (data, 1, max_extent, file); file 551 base/third_party/xdg_mime/xdgmime.c if (ferror (file)) file 554 base/third_party/xdg_mime/xdgmime.c fclose (file); file 562 base/third_party/xdg_mime/xdgmime.c fclose (file); file 123 base/third_party/xdg_mime/xdgmimealias.c FILE *file; file 127 base/third_party/xdg_mime/xdgmimealias.c file = fopen (file_name, "r"); file 129 base/third_party/xdg_mime/xdgmimealias.c if (file == NULL) file 136 base/third_party/xdg_mime/xdgmimealias.c while (fgets (line, 255, file) != NULL) file 160 base/third_party/xdg_mime/xdgmimealias.c fclose (file); file 729 base/third_party/xdg_mime/xdgmimecache.c FILE *file; file 771 base/third_party/xdg_mime/xdgmimecache.c file = fopen (file_name, "r"); file 772 base/third_party/xdg_mime/xdgmimecache.c if (file == NULL) file 778 base/third_party/xdg_mime/xdgmimecache.c bytes_read = fread (data, 1, max_extent, file); file 779 base/third_party/xdg_mime/xdgmimecache.c if (ferror (file)) file 782 base/third_party/xdg_mime/xdgmimecache.c fclose (file); file 793 base/third_party/xdg_mime/xdgmimecache.c fclose (file); file 122 base/third_party/xdg_mime/xdgmimeicon.c FILE *file; file 126 base/third_party/xdg_mime/xdgmimeicon.c file = fopen (file_name, "r"); file 128 base/third_party/xdg_mime/xdgmimeicon.c if (file == NULL) file 135 base/third_party/xdg_mime/xdgmimeicon.c while (fgets (line, 255, file) != NULL) file 159 base/third_party/xdg_mime/xdgmimeicon.c fclose (file); file 128 base/third_party/xdg_mime/xdgmimeparent.c FILE *file; file 133 base/third_party/xdg_mime/xdgmimeparent.c file = fopen (file_name, "r"); file 135 base/third_party/xdg_mime/xdgmimeparent.c if (file == NULL) file 142 base/third_party/xdg_mime/xdgmimeparent.c while (fgets (line, 255, file) != NULL) file 195 base/third_party/xdg_mime/xdgmimeparent.c fclose (file); file 51 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc FILE *file; file 84 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc file = fopen (config_file, "r"); file 86 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc if (file == NULL) file 90 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc while (fgets (buffer, sizeof (buffer), file)) file 162 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc fclose (file); file 88 base/vlog.cc base::StringPiece GetModule(const base::StringPiece& file) { file 89 base/vlog.cc base::StringPiece module(file); file 105 base/vlog.cc int VlogInfo::GetVlogLevel(const base::StringPiece& file) const { file 107 base/vlog.cc base::StringPiece module(GetModule(file)); file 111 base/vlog.cc (it->match_target == VmodulePattern::MATCH_FILE) ? file : module); file 47 base/vlog.h int GetVlogLevel(const base::StringPiece& file) const; file 272 cc/output/gl_renderer.cc const char* file, file 276 cc/output/gl_renderer.cc LOG(ERROR) << "GL command failed: File: " << file << "\n\tLine " << line file 78 cc/output/gl_renderer.h const char* file, file 92 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java File file = context.getFileStreamPath(basename); file 94 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java if (file.length() != MAC_KEY_BYTE_COUNT) { file 95 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java Log.w(TAG, "Could not read key from '" + file + "': invalid file contents"); file 100 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java input = new FileInputStream(file); file 111 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java Log.w(TAG, "Could not read key from '" + file + "': " + e); file 119 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java Log.e(TAG, "Could not close key input stream '" + file + "': " + e); file 125 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java File file = context.getFileStreamPath(basename); file 134 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java FileOutputStream output = new FileOutputStream(file); file 139 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java Log.e(TAG, "Could not write key to '" + file + "': " + e); file 276 chrome/app/client_util.cc base::string16 file; file 279 chrome/app/client_util.cc HMODULE metro_dll = Load(&version, &file); file 304 chrome/app/client_util.cc dll_ = Load(&version, &file); file 311 chrome/app/client_util.cc OnBeforeLaunch(file); file 315 chrome/app/client_util.cc return OnBeforeExit(rc, file); file 211 chrome/app/image_pre_reader_win.cc base::win::ScopedHandle file( file 220 chrome/app/image_pre_reader_win.cc if (!file.IsValid()) file 230 chrome/app/image_pre_reader_win.cc if (!ReadMissingBytes(file, &headers, kMinHeaderBufferSize)) file 238 chrome/app/image_pre_reader_win.cc if (!ReadMissingBytes(file, &headers, nt_headers_end)) file 246 chrome/app/image_pre_reader_win.cc if (!ReadMissingBytes(file, &headers, size_of_headers)) file 267 chrome/app/image_pre_reader_win.cc file, section, percentage, buffer.get(), max_chunk_size)) file 335 chrome/app/image_pre_reader_win.cc base::win::ScopedHandle file( file 344 chrome/app/image_pre_reader_win.cc if (!file.IsValid()) file 360 chrome/app/image_pre_reader_win.cc while (::ReadFile(file, buffer, actual_step_size, &len, NULL) && file 2630 chrome/browser/chrome_content_browser_client.cc base::File file(chrome_resources_pak, flags); file 2631 chrome/browser/chrome_content_browser_client.cc DCHECK(file.IsValid()); file 2633 chrome/browser/chrome_content_browser_client.cc FileDescriptor(file.Pass()))); file 2638 chrome/browser/chrome_content_browser_client.cc file.Initialize(locale_pak, flags); file 2639 chrome/browser/chrome_content_browser_client.cc DCHECK(file.IsValid()); file 2641 chrome/browser/chrome_content_browser_client.cc FileDescriptor(file.Pass()))); file 2645 chrome/browser/chrome_content_browser_client.cc file.Initialize(resources_pack_path, flags); file 2646 chrome/browser/chrome_content_browser_client.cc DCHECK(file.IsValid()); file 2648 chrome/browser/chrome_content_browser_client.cc FileDescriptor(file.Pass()))); file 2651 chrome/browser/chrome_content_browser_client.cc file = breakpad::CrashDumpManager::GetInstance()->CreateMinidumpFile( file 2653 chrome/browser/chrome_content_browser_client.cc if (file.IsValid()) { file 2655 chrome/browser/chrome_content_browser_client.cc FileDescriptor(file.Pass()))); file 189 chrome/browser/chromeos/accessibility/accessibility_manager.cc const extensions::UserScript::File &file = script.js_scripts()[j]; file 191 chrome/browser/chromeos/accessibility/accessibility_manager.cc file.relative_path()); file 132 chrome/browser/chromeos/boot_times_loader.cc FILE* file = base::OpenFile(file_path, "a"); file 133 chrome/browser/chromeos/boot_times_loader.cc if (!file) { file 136 chrome/browser/chromeos/boot_times_loader.cc const int num_bytes_written = fwrite(data, 1, size, file); file 137 chrome/browser/chromeos/boot_times_loader.cc base::CloseFile(file); file 417 chrome/browser/chromeos/customization_document.cc const base::FilePath& file) { file 421 chrome/browser/chromeos/customization_document.cc if (!base::ReadFileToString(file, &manifest)) { file 424 chrome/browser/chromeos/customization_document.cc << file.value(); file 214 chrome/browser/chromeos/customization_document.h const base::FilePath& file); file 303 chrome/browser/chromeos/drive/change_list_loader_unittest.cc scoped_ptr<google_apis::ResourceEntry> file = AddNewFile("New File"); file 304 chrome/browser/chromeos/drive/change_list_loader_unittest.cc ASSERT_TRUE(file); file 375 chrome/browser/chromeos/drive/file_cache.cc for (base::FilePath file = enumerator.Next(); !file.empty(); file 376 chrome/browser/chromeos/drive/file_cache.cc file = enumerator.Next()) file 377 chrome/browser/chromeos/drive/file_cache.cc base::DeleteFile(file, false /* recursive */); file 44 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::File file(local_cache_path, file 46 chrome/browser/chromeos/drive/file_system/truncate_operation.cc if (!file.IsValid()) file 49 chrome/browser/chromeos/drive/file_system/truncate_operation.cc if (!file.SetLength(length)) file 252 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath file = temp_dir.path().AppendASCII("test.gdoc"); file 253 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(CreateGDocFile(file, url, resource_id)); file 254 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(HasGDocFileExtension(file)); file 255 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(url, ReadUrlFromGDocFile(file)); file 256 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(resource_id, ReadResourceIdFromGDocFile(file)); file 259 chrome/browser/chromeos/drive/file_system_util_unittest.cc file = temp_dir.path().AppendASCII("test.gsheet"); file 260 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(CreateGDocFile(file, url, resource_id)); file 261 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(HasGDocFileExtension(file)); file 262 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(url, ReadUrlFromGDocFile(file)); file 263 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(resource_id, ReadResourceIdFromGDocFile(file)); file 266 chrome/browser/chromeos/drive/file_system_util_unittest.cc file = temp_dir.path().AppendASCII("test.gslides"); file 267 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(CreateGDocFile(file, url, resource_id)); file 268 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(HasGDocFileExtension(file)); file 269 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(url, ReadUrlFromGDocFile(file)); file 270 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(resource_id, ReadResourceIdFromGDocFile(file)); file 273 chrome/browser/chromeos/drive/file_system_util_unittest.cc file = temp_dir.path().AppendASCII("test.gdraw"); file 274 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(CreateGDocFile(file, url, resource_id)); file 275 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(HasGDocFileExtension(file)); file 276 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(url, ReadUrlFromGDocFile(file)); file 277 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(resource_id, ReadResourceIdFromGDocFile(file)); file 280 chrome/browser/chromeos/drive/file_system_util_unittest.cc file = temp_dir.path().AppendASCII("test.gtable"); file 281 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(CreateGDocFile(file, url, resource_id)); file 282 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(HasGDocFileExtension(file)); file 283 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(url, ReadUrlFromGDocFile(file)); file 284 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(resource_id, ReadResourceIdFromGDocFile(file)); file 287 chrome/browser/chromeos/drive/file_system_util_unittest.cc file = temp_dir.path().AppendASCII("test.glink"); file 288 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(CreateGDocFile(file, url, resource_id)); file 289 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(HasGDocFileExtension(file)); file 290 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(url, ReadUrlFromGDocFile(file)); file 291 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(resource_id, ReadResourceIdFromGDocFile(file)); file 294 chrome/browser/chromeos/drive/file_system_util_unittest.cc file = temp_dir.path().AppendASCII("test.txt"); file 296 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(google_apis::test_util::WriteStringToFile(file, data)); file 297 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_FALSE(HasGDocFileExtension(file)); file 298 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(ReadUrlFromGDocFile(file).is_empty()); file 299 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(ReadResourceIdFromGDocFile(file).empty()); file 52 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::PlatformFile file, file 60 chrome/browser/chromeos/drive/fileapi/async_file_util.cc error, base::PassPlatformFile(&file), file 74 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::PlatformFile file = base::kInvalidPlatformFileValue; file 75 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(error, base::PassPlatformFile(&file), base::Closure()); file 112 chrome/browser/chromeos/extensions/external_cache_unittest.cc void CreateFile(const base::FilePath& file) { file 113 chrome/browser/chromeos/extensions/external_cache_unittest.cc EXPECT_EQ(base::WriteFile(file, NULL, 0), 0); file 22 chrome/browser/chromeos/extensions/install_limiter.cc int64 GetFileSizeOnBlockingPool(const base::FilePath& file) { file 28 chrome/browser/chromeos/extensions/install_limiter.cc return base::GetFileSize(file, &size) ? size : 0; file 54 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc void RunTest(const base::FilePath& file) { file 65 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc InjectJavascript(kVirtualKeyboardTestDir, file); file 109 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc const base::FilePath& file) { file 110 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath path = ui_test_utils::GetTestFilePath(dir, file); file 272 chrome/browser/chromeos/extensions/wallpaper_private_api.cc dict->SetString("currentWallpaper", info.file); file 17 chrome/browser/chromeos/file_manager/file_manager_jstest.cc void RunTest(const base::FilePath& file) { file 19 chrome/browser/chromeos/file_manager/file_manager_jstest.cc base::FilePath(FILE_PATH_LITERAL("file_manager/unit_tests")), file); file 224 chrome/browser/chromeos/login/wallpaper_manager.cc } else if (!info_.file.empty()) { file 403 chrome/browser/chromeos/login/wallpaper_manager.cc const std::string& file) const { file 405 chrome/browser/chromeos/login/wallpaper_manager.cc return custom_wallpaper_path.Append(user_id_hash).Append(file); file 420 chrome/browser/chromeos/login/wallpaper_manager.cc info->file = current_user_wallpaper_info_.file = ""; file 515 chrome/browser/chromeos/login/wallpaper_manager.cc DeleteUserWallpapers(user_id, info.file); file 650 chrome/browser/chromeos/login/wallpaper_manager.cc const std::string& file, file 667 chrome/browser/chromeos/login/wallpaper_manager.cc GetCustomWallpaperPath(kOriginalWallpaperSubDir, user_id_hash, file); file 705 chrome/browser/chromeos/login/wallpaper_manager.cc std::string relative_path = base::FilePath(user_id_hash).Append(file).value(); file 752 chrome/browser/chromeos/login/wallpaper_manager.cc current_user_wallpaper_info_.file = ""; file 776 chrome/browser/chromeos/login/wallpaper_manager.cc wallpaper_info_dict->SetString(kNewWallpaperFileNodeName, info.file); file 846 chrome/browser/chromeos/login/wallpaper_manager.cc wallpaper_path = wallpaper_path.Append(info.file); file 857 chrome/browser/chromeos/login/wallpaper_manager.cc if (info.file.empty()) { file 961 chrome/browser/chromeos/login/wallpaper_manager.cc wallpaper_path = wallpaper_path.Append(info.file); file 1112 chrome/browser/chromeos/login/wallpaper_manager.cc std::string file_name = GURL(info.file).ExtractFileName(); file 1140 chrome/browser/chromeos/login/wallpaper_manager.cc wallpaper_path = user_data_dir.Append(info.file); file 1170 chrome/browser/chromeos/login/wallpaper_manager.cc info->file = ""; file 1174 chrome/browser/chromeos/login/wallpaper_manager.cc wallpaper_info_dict->GetString(kNewWallpaperFileNodeName, &(info->file)); file 1226 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath(user_id_hash).Append(info.file).value(); file 1227 chrome/browser/chromeos/login/wallpaper_manager.cc info.file = relative_path; file 1259 chrome/browser/chromeos/login/wallpaper_manager.cc valid_path = valid_path.Append(info.file); file 1266 chrome/browser/chromeos/login/wallpaper_manager.cc GetCustomWallpaperPath(kOriginalWallpaperSubDir, user_id, info.file); file 1339 chrome/browser/chromeos/login/wallpaper_manager.cc SaveCustomWallpaper(user_id_hash, base::FilePath(info.file), info.layout, file 40 chrome/browser/chromeos/login/wallpaper_manager.h std::string file; file 45 chrome/browser/chromeos/login/wallpaper_manager.h return (file == other.file) && (layout == other.layout) && file 200 chrome/browser/chromeos/login/wallpaper_manager.h const std::string& file) const; file 243 chrome/browser/chromeos/login/wallpaper_manager.h const std::string& file, file 153 chrome/browser/component_updater/background_downloader_win.cc ScopedComPtr<IBackgroundCopyFile> file; file 154 chrome/browser/component_updater/background_downloader_win.cc if (enum_files->Next(1, file.Receive(), NULL) == S_OK) file 155 chrome/browser/component_updater/background_downloader_win.cc files->push_back(file); file 163 chrome/browser/component_updater/background_downloader_win.cc HRESULT GetJobFileProperties(IBackgroundCopyFile* file, file 171 chrome/browser/component_updater/background_downloader_win.cc hr = file->GetLocalName(&name); file 179 chrome/browser/component_updater/background_downloader_win.cc hr = file->GetRemoteName(&name); file 187 chrome/browser/component_updater/background_downloader_win.cc hr = file->GetProgress(&bg_file_progress); file 152 chrome/browser/component_updater/component_unpacker.cc ScopedStdioHandle file(base::OpenFile(path_, "rb")); file 153 chrome/browser/component_updater/component_unpacker.cc if (!file.get()) { file 157 chrome/browser/component_updater/component_unpacker.cc CRXValidator validator(file.get()); file 158 chrome/browser/component_updater/component_unpacker.cc file.Close(); file 55 chrome/browser/component_updater/component_updater_service.h virtual bool GetInstalledFile(const std::string& file, file 102 chrome/browser/component_updater/default_component_installer.cc const std::string& file, file 109 chrome/browser/component_updater/default_component_installer.cc .AppendASCII(current_version_.GetString()).AppendASCII(file); file 90 chrome/browser/component_updater/default_component_installer.h virtual bool GetInstalledFile(const std::string& file, file 259 chrome/browser/component_updater/pepper_flash_component_installer.cc virtual bool GetInstalledFile(const std::string& file, file 305 chrome/browser/component_updater/pepper_flash_component_installer.cc const std::string& file, base::FilePath* installed_file) { file 301 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc const std::string& file, base::FilePath* installed_file) { file 306 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc current_version().GetString()).AppendASCII(file); file 49 chrome/browser/component_updater/pnacl/pnacl_component_installer.h virtual bool GetInstalledFile(const std::string& file, file 61 chrome/browser/component_updater/recovery_component_installer.cc virtual bool GetInstalledFile(const std::string& file, file 139 chrome/browser/component_updater/recovery_component_installer.cc const std::string& file, base::FilePath* installed_file) { file 108 chrome/browser/component_updater/swiftshader_component_installer.cc virtual bool GetInstalledFile(const std::string& file, file 156 chrome/browser/component_updater/swiftshader_component_installer.cc const std::string& file, base::FilePath* installed_file) { file 58 chrome/browser/component_updater/test/component_patcher_unittest.cc base::FilePath test_file(const char* file) { file 61 chrome/browser/component_updater/test/component_patcher_unittest.cc return path.AppendASCII("components").AppendASCII(file); file 190 chrome/browser/component_updater/test/component_updater_service_unittest.cc const base::FilePath ComponentUpdaterTest::test_file(const char* file) { file 191 chrome/browser/component_updater/test/component_updater_service_unittest.cc return test_data_dir_.AppendASCII(file); file 134 chrome/browser/component_updater/test/component_updater_service_unittest.h const base::FilePath test_file(const char* file); file 31 chrome/browser/component_updater/test/crx_downloader_unittest.cc base::FilePath test_file(const char* file) { file 34 chrome/browser/component_updater/test/crx_downloader_unittest.cc return path.AppendASCII("components").AppendASCII(file); file 27 chrome/browser/component_updater/test/test_installer.cc bool TestInstaller::GetInstalledFile(const std::string& file, file 44 chrome/browser/component_updater/test/test_installer.cc bool ReadOnlyTestInstaller::GetInstalledFile(const std::string& file, file 46 chrome/browser/component_updater/test/test_installer.cc *installed_file = install_directory_.AppendASCII(file); file 76 chrome/browser/component_updater/test/test_installer.cc bool VersionedTestInstaller::GetInstalledFile(const std::string& file, file 80 chrome/browser/component_updater/test/test_installer.cc *installed_file = path.Append(base::FilePath::FromUTF8Unsafe(file)); file 29 chrome/browser/component_updater/test/test_installer.h virtual bool GetInstalledFile(const std::string& file, file 49 chrome/browser/component_updater/test/test_installer.h virtual bool GetInstalledFile(const std::string& file, file 67 chrome/browser/component_updater/test/test_installer.h virtual bool GetInstalledFile(const std::string& file, file 30 chrome/browser/component_updater/test/update_checker_unittest.cc base::FilePath test_file(const char* file) { file 33 chrome/browser/component_updater/test/update_checker_unittest.cc return path.AppendASCII("components").AppendASCII(file); file 507 chrome/browser/download/download_browsertest.cc base::FilePath OriginFile(base::FilePath file) { file 508 chrome/browser/download/download_browsertest.cc return test_dir_.Append(file); file 512 chrome/browser/download/download_browsertest.cc base::FilePath DestinationFile(Browser* browser, base::FilePath file) { file 513 chrome/browser/download/download_browsertest.cc return GetDownloadDirectory(browser).Append(file.BaseName()); file 1125 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1126 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1133 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 1141 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1142 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1150 chrome/browser/download/download_browsertest.cc base::FilePath downloaded_file(DestinationFile(browser(), file)); file 1153 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 1164 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1165 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1186 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 1193 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test2.html")); file 1194 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1195 chrome/browser/download/download_browsertest.cc base::FilePath file_path(DestinationFile(browser(), file)); file 1282 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1283 chrome/browser/download/download_browsertest.cc base::FilePath file_path(DestinationFile(browser(), file)); file 1302 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test3.gif")); file 1303 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1310 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), download_file, file); file 1321 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test3.gif")); file 1322 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1329 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), download_file, file); file 1357 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1358 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1403 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1404 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1438 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 1536 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1537 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1548 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 1568 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1578 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 1607 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1608 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1618 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 1639 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1649 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 1671 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1682 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 1693 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1694 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1745 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 1750 chrome/browser/download/download_browsertest.cc base::FilePath file(net::GenerateFileName(download_url, file 1779 chrome/browser/download/download_browsertest.cc EXPECT_EQ(DestinationFile(browser(), file), row.target_path); file 1781 chrome/browser/download/download_browsertest.cc DestinationFile(browser(), file)), file 1814 chrome/browser/download/download_browsertest.cc EXPECT_EQ(DestinationFile(browser(), file), row1.target_path); file 1841 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("downloads/dangerous/dangerous.swf")); file 1842 chrome/browser/download/download_browsertest.cc GURL download_url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1864 chrome/browser/download/download_browsertest.cc EXPECT_EQ(DestinationFile(browser(), file), row.target_path); file 1866 chrome/browser/download/download_browsertest.cc DestinationFile(browser(), file)), file 1886 chrome/browser/download/download_browsertest.cc EXPECT_EQ(DestinationFile(browser(), file), row1.target_path); file 1887 chrome/browser/download/download_browsertest.cc EXPECT_EQ(DestinationFile(browser(), file), row1.current_path); file 1900 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1901 chrome/browser/download/download_browsertest.cc GURL download_url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1920 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1921 chrome/browser/download/download_browsertest.cc GURL download_url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1932 chrome/browser/download/download_browsertest.cc EXPECT_EQ(file.value(), item->GetFullPath().BaseName().value()); file 1933 chrome/browser/download/download_browsertest.cc EXPECT_EQ(file.value(), item->GetTargetFilePath().BaseName().value()); file 1948 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1949 chrome/browser/download/download_browsertest.cc GURL download_url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1972 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1973 chrome/browser/download/download_browsertest.cc GURL download_url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1997 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-anchor-attrib.html")); file 1998 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 2017 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-autoopen.txt")); file 2018 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 2021 chrome/browser/download/download_browsertest.cc GetDownloadPrefs(browser())->EnableAutoOpenBasedOnExtension(file)); file 2039 chrome/browser/download/download_browsertest.cc CheckDownload(browser(), file, file); file 2149 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("extensions/bad_signature.crx")); file 2150 chrome/browser/download/download_browsertest.cc GURL extension_url(URLRequestMockHTTPJob::GetMockUrl(file)); file 2211 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 2212 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 2236 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(CheckDownload(browser(), file, file)); file 2241 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 2242 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 2251 chrome/browser/download/download_browsertest.cc = other_directory.path().Append(file.BaseName()); file 2264 chrome/browser/download/download_browsertest.cc OriginFile(file))); file 2742 chrome/browser/download/download_browsertest.cc base::FilePath file(download_items[0]->GetTargetFilePath()); file 2744 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(VerifyFile(file, expected_contents, expected_contents.length())); file 2748 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 2749 chrome/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 2977 chrome/browser/download/download_browsertest.cc base::File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_WRITE); file 2978 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(file.IsValid()); file 2980 chrome/browser/download/download_browsertest.cc EXPECT_EQ(1, file.Write(size, "a", 1)); file 2981 chrome/browser/download/download_browsertest.cc file.Close(); file 309 chrome/browser/drive/drive_api_util.cc scoped_ptr<google_apis::FileResource> file(new google_apis::FileResource); file 311 chrome/browser/drive/drive_api_util.cc file->set_file_id(entry.resource_id()); file 312 chrome/browser/drive/drive_api_util.cc file->set_title(entry.title()); file 313 chrome/browser/drive/drive_api_util.cc file->set_created_date(entry.published_time()); file 319 chrome/browser/drive/drive_api_util.cc file->set_shared_with_me_date(base::Time::Now()); file 322 chrome/browser/drive/drive_api_util.cc file->set_shared(std::find(entry.labels().begin(), entry.labels().end(), file 326 chrome/browser/drive/drive_api_util.cc file->set_mime_type(kDriveFolderMimeType); file 331 chrome/browser/drive/drive_api_util.cc file->set_mime_type(mime_type); file 334 chrome/browser/drive/drive_api_util.cc file->set_md5_checksum(entry.file_md5()); file 335 chrome/browser/drive/drive_api_util.cc file->set_file_size(entry.file_size()); file 337 chrome/browser/drive/drive_api_util.cc file->mutable_labels()->set_trashed(entry.deleted()); file 338 chrome/browser/drive/drive_api_util.cc file->set_etag(entry.etag()); file 341 chrome/browser/drive/drive_api_util.cc file->mutable_image_media_metadata(); file 346 chrome/browser/drive/drive_api_util.cc std::vector<google_apis::ParentReference>* parents = file->mutable_parents(); file 363 chrome/browser/drive/drive_api_util.cc file->set_alternate_link(link.href()); file 370 chrome/browser/drive/drive_api_util.cc file->set_modified_date(entry.updated_time()); file 371 chrome/browser/drive/drive_api_util.cc file->set_last_viewed_by_me_date(entry.last_viewed_time()); file 373 chrome/browser/drive/drive_api_util.cc return file.Pass(); file 473 chrome/browser/drive/drive_api_util.cc if (change_resource.file()) file 474 chrome/browser/drive/drive_api_util.cc entry = ConvertFileResourceToResourceEntry(*change_resource.file()).Pass(); file 538 chrome/browser/drive/drive_api_util.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 539 chrome/browser/drive/drive_api_util.cc if (!file.IsValid()) file 548 chrome/browser/drive/drive_api_util.cc int result = file.Read(offset, buffer.get(), kBufferSize); file 588 chrome/browser/drive/fake_drive_service.cc const FileResource* file = change->file(); file 595 chrome/browser/drive/fake_drive_service.cc if (!etag.empty() && etag != file->etag()) { file 629 chrome/browser/drive/fake_drive_service.cc FileResource* file = change->mutable_file(); file 631 chrome/browser/drive/fake_drive_service.cc if (change->is_deleted() || file->labels().is_trashed()) { file 634 chrome/browser/drive/fake_drive_service.cc file->mutable_labels()->set_trashed(true); file 674 chrome/browser/drive/fake_drive_service.cc const FileResource* file = entry->change_resource.file(); file 676 chrome/browser/drive/fake_drive_service.cc int64 file_size = file->file_size(); file 748 chrome/browser/drive/fake_drive_service.cc make_scoped_ptr(new FileResource(*entry->change_resource.file()))); file 811 chrome/browser/drive/fake_drive_service.cc FileResource* file = change->mutable_file(); file 812 chrome/browser/drive/fake_drive_service.cc file->set_title(new_title); file 823 chrome/browser/drive/fake_drive_service.cc *file->mutable_parents() = parents; file 827 chrome/browser/drive/fake_drive_service.cc file->set_modified_date(last_modified); file 830 chrome/browser/drive/fake_drive_service.cc file->set_last_viewed_by_me_date(last_viewed_by_me); file 833 chrome/browser/drive/fake_drive_service.cc UpdateETag(file); file 915 chrome/browser/drive/fake_drive_service.cc FileResource* file = change->mutable_file(); file 916 chrome/browser/drive/fake_drive_service.cc std::vector<ParentReference>* parents = file->mutable_parents(); file 1036 chrome/browser/drive/fake_drive_service.cc FileResource* file = entry->change_resource.mutable_file(); file 1037 chrome/browser/drive/fake_drive_service.cc if (!options.etag.empty() && options.etag != file->etag()) { file 1050 chrome/browser/drive/fake_drive_service.cc file->etag(), file 1161 chrome/browser/drive/fake_drive_service.cc FileResource* file = change->mutable_file(); file 1162 chrome/browser/drive/fake_drive_service.cc if (file->etag().empty() || session->etag != file->etag()) { file 1167 chrome/browser/drive/fake_drive_service.cc file->set_md5_checksum(base::MD5String(content_data)); file 1169 chrome/browser/drive/fake_drive_service.cc file->set_file_size(end_position); file 1171 chrome/browser/drive/fake_drive_service.cc UpdateETag(file); file 1297 chrome/browser/drive/fake_drive_service.cc FileResource* file = change->mutable_file(); file 1298 chrome/browser/drive/fake_drive_service.cc file->set_modified_date(last_modified_time); file 1313 chrome/browser/drive/fake_drive_service.cc return it != entries_.end() && it->second->change_resource.file() ? file 1324 chrome/browser/drive/fake_drive_service.cc void FakeDriveService::UpdateETag(google_apis::FileResource* file) { file 1325 chrome/browser/drive/fake_drive_service.cc file->set_etag( file 281 chrome/browser/drive/fake_drive_service.h void UpdateETag(google_apis::FileResource* file); file 33 chrome/browser/extensions/api/execute_code_function.cc if (!success || !details_->file) { file 167 chrome/browser/extensions/api/execute_code_function.cc if (!details_->code.get() && !details_->file.get()) { file 171 chrome/browser/extensions/api/execute_code_function.cc if (details_->code.get() && details_->file.get()) { file 182 chrome/browser/extensions/api/execute_code_function.cc if (!details_->file.get()) file 184 chrome/browser/extensions/api/execute_code_function.cc resource_ = GetExtension()->GetResource(*details_->file); file 82 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::File file(path, creation_flags); file 83 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc if (file.IsValid()) file 85 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc return file.error_details() == base::File::FILE_ERROR_EXISTS; file 499 chrome/browser/extensions/api/file_system/file_system_api.cc virtual void FileSelectedWithExtraInfo(const ui::SelectedFileInfo& file, file 510 chrome/browser/extensions/api/file_system/file_system_api.cc FileSelected(file.file_path, index, params); file 287 chrome/browser/extensions/api/image_writer_private/operation.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 288 chrome/browser/extensions/api/image_writer_private/operation.cc if (!file.IsValid()) { file 294 chrome/browser/extensions/api/image_writer_private/operation.cc file_size = file.GetLength(); file 305 chrome/browser/extensions/api/image_writer_private/operation.cc Passed(file.Pass()), file 314 chrome/browser/extensions/api/image_writer_private/operation.cc base::File file, file 335 chrome/browser/extensions/api/image_writer_private/operation.cc int len = file.Read(bytes_processed, buffer.get(), read_size); file 349 chrome/browser/extensions/api/image_writer_private/operation.cc Passed(file.Pass()), file 132 chrome/browser/extensions/api/image_writer_private/operation.h const base::FilePath& file, file 180 chrome/browser/extensions/api/image_writer_private/operation.h void MD5Chunk(base::File file, file 164 chrome/browser/extensions/api/image_writer_private/test_utils.cc bool ImageWriterUnitTestBase::FillFile(const base::FilePath& file, file 170 chrome/browser/extensions/api/image_writer_private/test_utils.cc return base::WriteFile(file, buffer.get(), length) == length; file 105 chrome/browser/extensions/api/image_writer_private/test_utils.h bool FillFile(const base::FilePath& file, file 174 chrome/browser/extensions/api/serial/serial_connection.cc base::File file(path, flags); file 179 chrome/browser/extensions/api/serial/serial_connection.cc Passed(file.Pass()))); file 182 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::FinishOpen(base::File file) { file 189 chrome/browser/extensions/api/serial/serial_connection.cc if (!file.IsValid()) { file 196 chrome/browser/extensions/api/serial/serial_connection.cc file_ = file.Pass(); file 167 chrome/browser/extensions/api/serial/serial_connection.h void FinishOpen(base::File file); file 88 chrome/browser/extensions/api/serial/serial_connection_posix.cc bool SetCustomBitrate(base::PlatformFile file, file 93 chrome/browser/extensions/api/serial/serial_connection_posix.cc if (ioctl(file, TIOCGSERIAL, &serial) < 0) { file 103 chrome/browser/extensions/api/serial/serial_connection_posix.cc return ioctl(file, TIOCSSERIAL, &serial) >= 0; file 22 chrome/browser/extensions/api/serial/serial_io_handler.cc void SerialIoHandler::Initialize(base::PlatformFile file, file 28 chrome/browser/extensions/api/serial/serial_io_handler.cc file_ = file; file 40 chrome/browser/extensions/api/serial/serial_io_handler.h void Initialize(base::PlatformFile file, file 114 chrome/browser/extensions/api/serial/serial_io_handler.h base::PlatformFile file() const { file 19 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); file 27 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); file 53 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc DCHECK_EQ(fd, file()); file 56 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc int bytes_read = HANDLE_EINTR(read(file(), file 80 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc DCHECK_EQ(fd, file()); file 83 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc int bytes_written = HANDLE_EINTR(write(file(), file 101 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); file 104 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc file(), true, base::MessageLoopForIO::WATCH_READ, file 111 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); file 115 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc file(), true, base::MessageLoopForIO::WATCH_WRITE, file 23 chrome/browser/extensions/api/serial/serial_io_handler_win.cc base::MessageLoopForIO::current()->RegisterIOHandler(file(), this); file 41 chrome/browser/extensions/api/serial/serial_io_handler_win.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); file 45 chrome/browser/extensions/api/serial/serial_io_handler_win.cc if (!ClearCommError(file(), &errors, &status) || errors != 0) { file 50 chrome/browser/extensions/api/serial/serial_io_handler_win.cc SetCommMask(file(), EV_RXCHAR); file 53 chrome/browser/extensions/api/serial/serial_io_handler_win.cc BOOL ok = ::WaitCommEvent(file(), &event_mask_, &comm_context_->overlapped); file 63 chrome/browser/extensions/api/serial/serial_io_handler_win.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); file 65 chrome/browser/extensions/api/serial/serial_io_handler_win.cc BOOL ok = ::WriteFile(file(), file 76 chrome/browser/extensions/api/serial/serial_io_handler_win.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); file 77 chrome/browser/extensions/api/serial/serial_io_handler_win.cc ::CancelIo(file()); file 82 chrome/browser/extensions/api/serial/serial_io_handler_win.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); file 83 chrome/browser/extensions/api/serial/serial_io_handler_win.cc ::CancelIo(file()); file 105 chrome/browser/extensions/api/serial/serial_io_handler_win.cc BOOL ok = ::ReadFile(file(), file 49 chrome/browser/extensions/external_pref_loader.cc base::FilePath file = json_files.Next(); file 50 chrome/browser/extensions/external_pref_loader.cc if (file.BaseName().value() == kExternalExtensionJson) file 52 chrome/browser/extensions/external_pref_loader.cc if (file.empty()) file 54 chrome/browser/extensions/external_pref_loader.cc if (file.MatchesExtension(extension)) { file 55 chrome/browser/extensions/external_pref_loader.cc external_extension_paths.insert(file.BaseName()); file 57 chrome/browser/extensions/external_pref_loader.cc DVLOG(1) << "Not considering: " << file.LossyDisplayName() file 422 chrome/browser/extensions/sandboxed_unpacker.cc ScopedStdioHandle file(base::OpenFile(crx_path_, "rb")); file 424 chrome/browser/extensions/sandboxed_unpacker.cc if (!file.get()) { file 457 chrome/browser/extensions/sandboxed_unpacker.cc size_t len = fread(&header, 1, sizeof(header), file.get()); file 518 chrome/browser/extensions/sandboxed_unpacker.cc len = fread(&key.front(), sizeof(uint8), header.key_size, file.get()); file 532 chrome/browser/extensions/sandboxed_unpacker.cc file.get()); file 561 chrome/browser/extensions/sandboxed_unpacker.cc while ((len = fread(buf, 1, sizeof(buf), file.get())) > 0) file 78 chrome/browser/extensions/updater/local_extension_cache_unittest.cc void CreateFile(const base::FilePath& file, file 82 chrome/browser/extensions/updater/local_extension_cache_unittest.cc EXPECT_EQ(base::WriteFile(file, data.data(), data.size()), int(size)); file 83 chrome/browser/extensions/updater/local_extension_cache_unittest.cc EXPECT_TRUE(base::TouchFile(file, timestamp, timestamp)); file 120 chrome/browser/extensions/webstore_installer.cc base::FilePath file = file 124 chrome/browser/extensions/webstore_installer.cc base::GetUniquePathNumber(file, base::FilePath::StringType()); file 126 chrome/browser/extensions/webstore_installer.cc file = file.InsertBeforeExtensionASCII( file 131 chrome/browser/extensions/webstore_installer.cc base::Bind(callback, file)); file 557 chrome/browser/extensions/webstore_installer.cc void WebstoreInstaller::StartDownload(const base::FilePath& file) { file 560 chrome/browser/extensions/webstore_installer.cc if (file.empty()) { file 610 chrome/browser/extensions/webstore_installer.cc params->set_file_path(file); file 23 chrome/browser/feedback/feedback_report.cc const base::FilePath& file, file 25 chrome/browser/feedback/feedback_report.cc DCHECK(reports_path.IsParent(file)); file 31 chrome/browser/feedback/feedback_report.cc base::ImportantFileWriter::WriteFileAtomically(file, data); file 117 chrome/browser/file_select_helper.cc const ui::SelectedFileInfo& file, file 123 chrome/browser/file_select_helper.cc profile_->set_last_selected_directory(file.file_path.DirName()); file 125 chrome/browser/file_select_helper.cc const base::FilePath& path = file.local_path; file 132 chrome/browser/file_select_helper.cc files.push_back(file); file 90 chrome/browser/file_select_helper.h const ui::SelectedFileInfo& file, file 16 chrome/browser/iframe_browsertest.cc void NavigateAndVerifyTitle(const char* file, const char* page_title) { file 18 chrome/browser/iframe_browsertest.cc base::FilePath(), base::FilePath().AppendASCII(file)); file 162 chrome/browser/importer/ie_importer_browsertest_win.cc bool CreateUrlFileWithFavicon(const base::FilePath& file, file 201 chrome/browser/importer/ie_importer_browsertest_win.cc result = persist_file->Save(file.value().c_str(), TRUE); file 207 chrome/browser/importer/ie_importer_browsertest_win.cc file.ReplaceExtension(kFaviconStreamSuffix), kDummyFaviconImageData, file 211 chrome/browser/importer/ie_importer_browsertest_win.cc bool CreateUrlFile(const base::FilePath& file, const base::string16& url) { file 212 chrome/browser/importer/ie_importer_browsertest_win.cc return CreateUrlFileWithFavicon(file, url, base::string16()); file 710 chrome/browser/lifetime/browser_close_manager_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("downloads/dangerous/dangerous.swf")); file 711 chrome/browser/lifetime/browser_close_manager_browsertest.cc GURL download_url(content::URLRequestMockHTTPJob::GetMockUrl(file)); file 58 chrome/browser/media/webrtc_browsertest_base.cc const char* file, file 62 chrome/browser/media/webrtc_browsertest_base.cc if (file == NULL || std::string("CONSOLE") != file) file 28 chrome/browser/media/webrtc_log_util_unittest.cc base::FilePath file; file 29 chrome/browser/media/webrtc_log_util_unittest.cc ASSERT_TRUE(CreateTemporaryFileInDir(dir_.path(), &file)); file 30 chrome/browser/media/webrtc_log_util_unittest.cc ASSERT_TRUE(CreateTemporaryFileInDir(dir_.path(), &file)); file 34 chrome/browser/media/webrtc_log_util_unittest.cc TouchFile(file, time_expect_to_keep, time_expect_to_keep); file 35 chrome/browser/media/webrtc_log_util_unittest.cc ASSERT_TRUE(CreateTemporaryFileInDir(dir_.path(), &file)); file 39 chrome/browser/media/webrtc_log_util_unittest.cc TouchFile(file, time_expect_to_delete, time_expect_to_delete); file 33 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc void TouchFile(const base::FilePath& file) { file 34 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc ASSERT_EQ(1, base::WriteFile(file, " ", 1)); file 62 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 63 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (!file.IsValid()) file 64 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return file.error_details(); file 69 chrome/browser/media_galleries/fileapi/native_media_file_util.cc int64 len = file.Read(0, buffer, net::kMaxBytesToSniff); file 20 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc const base::PlatformFile& file, file 23 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc file_(file), file 29 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.h const base::PlatformFile& file, file 38 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc bool HasSupportedAudioVideoExtension(const base::FilePath& file) { file 39 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc return ContainsKey(audio_video_extensions_, file.Extension()); file 87 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc void SupportedAudioVideoChecker::OnFileOpen(const base::PlatformFile& file) { file 89 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc if (file == base::kInvalidPlatformFileValue) { file 94 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc safe_checker_ = new SafeAudioVideoChecker(file, callback_); file 34 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.h explicit SupportedAudioVideoChecker(const base::FilePath& file); file 36 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.h void OnFileOpen(const base::PlatformFile& file); file 30 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 31 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc if (!file.IsValid()) file 35 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc if (!file.GetInfo(&file_info) || file 42 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc if (file.Read(0, string_as_array(result.get()), file_info.size) != file 32 chrome/browser/media_galleries/fileapi/supported_image_type_validator.h explicit SupportedImageTypeValidator(const base::FilePath& file); file 46 chrome/browser/net/chrome_net_log.cc FILE* file = NULL; file 48 chrome/browser/net/chrome_net_log.cc file = _wfopen(log_path.value().c_str(), L"w"); file 50 chrome/browser/net/chrome_net_log.cc file = fopen(log_path.value().c_str(), "w"); file 53 chrome/browser/net/chrome_net_log.cc if (file == NULL) { file 58 chrome/browser/net/chrome_net_log.cc net_log_logger_.reset(new net::NetLogLogger(file, *constants)); file 210 chrome/browser/net/crl_set_fetcher.cc const std::string& file, base::FilePath* installed_file) { file 34 chrome/browser/net/crl_set_fetcher.h virtual bool GetInstalledFile(const std::string& file, file 117 chrome/browser/net/net_log_temp_file.cc FILE* file = base::OpenFile(log_path_, "w"); file 118 chrome/browser/net/net_log_temp_file.cc if (file == NULL) file 122 chrome/browser/net/net_log_temp_file.cc net_log_logger_.reset(new net::NetLogLogger(file, *constants)); file 320 chrome/browser/policy/policy_browsertest.cc Browser* browser, const base::FilePath& dir, const base::FilePath& file) { file 326 chrome/browser/policy/policy_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 327 chrome/browser/policy/policy_browsertest.cc base::FilePath downloaded = dir.Append(file); file 337 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(file, enumerator.Next().BaseName()); file 1448 chrome/browser/policy/policy_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); file 1449 chrome/browser/policy/policy_browsertest.cc DownloadAndVerifyFile(browser(), initial_dir.path(), file); file 1450 chrome/browser/policy/policy_browsertest.cc base::DieFileDie(initial_dir.path().Append(file), false); file 1460 chrome/browser/policy/policy_browsertest.cc DownloadAndVerifyFile(browser(), forced_dir.path(), file); file 1462 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(base::PathExists(initial_dir.path().Append(file))); file 769 chrome/browser/prerender/prerender_browsertest.cc HangingFirstRequestProtocolHandler(const base::FilePath& file, file 771 chrome/browser/prerender/prerender_browsertest.cc : file_(file), file 801 chrome/browser/prerender/prerender_browsertest.cc const base::FilePath& file, file 805 chrome/browser/prerender/prerender_browsertest.cc new HangingFirstRequestProtocolHandler(file, callback)); file 815 chrome/browser/prerender/prerender_browsertest.cc const base::FilePath& file) file 816 chrome/browser/prerender/prerender_browsertest.cc : content::URLRequestMockHTTPJob(request, delegate, file) { file 870 chrome/browser/prerender/prerender_browsertest.cc CountingProtocolHandler(const base::FilePath& file, file 872 chrome/browser/prerender/prerender_browsertest.cc : file_(file), file 903 chrome/browser/prerender/prerender_browsertest.cc const base::FilePath& file, file 907 chrome/browser/prerender/prerender_browsertest.cc new CountingProtocolHandler(file, counter)); file 914 chrome/browser/prerender/prerender_browsertest.cc const base::FilePath& file) { file 918 chrome/browser/prerender/prerender_browsertest.cc file)); file 1854 chrome/browser/prerender/prerender_browsertest.cc base::FilePath file(GetTestPath("prerender_page.html")); file 1860 chrome/browser/prerender/prerender_browsertest.cc kNoCommitUrl, file, prerender_start_loop.QuitClosure())); file 1876 chrome/browser/prerender/prerender_browsertest.cc base::FilePath file(GetTestPath("prerender_page.html")); file 1882 chrome/browser/prerender/prerender_browsertest.cc kNoCommitUrl, file, prerender_start_loop.QuitClosure())); file 3348 chrome/browser/prerender/prerender_browsertest.cc base::FilePath file(FILE_PATH_LITERAL( file 3354 chrome/browser/prerender/prerender_browsertest.cc kNoCommitUrl, file, hang_loop.QuitClosure())); file 3747 chrome/browser/prerender/prerender_browsertest.cc base::FilePath file(GetTestPath("prerender_page.html")); file 3751 chrome/browser/prerender/prerender_browsertest.cc GURL(webstore_url), file)); file 207 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath file; file 208 chrome/browser/printing/printing_layout_browsertest.cc while (!(file = enumerator.Next()).empty()) { file 209 chrome/browser/printing/printing_layout_browsertest.cc std::wstring ext = file.Extension(); file 212 chrome/browser/printing/printing_layout_browsertest.cc emf_file << "\" and \"" << file.value() << file 215 chrome/browser/printing/printing_layout_browsertest.cc emf_file = file.value(); file 220 chrome/browser/printing/printing_layout_browsertest.cc prn_file << "\" and \"" << file.value() << file 222 chrome/browser/printing/printing_layout_browsertest.cc prn_file = file.value(); file 224 chrome/browser/printing/printing_layout_browsertest.cc base::DeleteFile(file, false); file 31 chrome/browser/profiles/file_path_verifier_win.cc FileVerificationResult VerifyFileAtPath(const base::FilePath& file) { file 36 chrome/browser/profiles/file_path_verifier_win.cc if (!base::NormalizeFilePath(file, &normalized_path)) { file 43 chrome/browser/profiles/file_path_verifier_win.cc internal::ComparePathsIgnoreCase(file, normalized_path); file 97 chrome/browser/safe_browsing/binary_feature_extractor_win.cc base::MemoryMappedFile file; file 98 chrome/browser/safe_browsing/binary_feature_extractor_win.cc if (!file.Initialize(file_path)) file 102 chrome/browser/safe_browsing/binary_feature_extractor_win.cc if (!pe_image.Initialize(file.data(), file.length())) file 60 chrome/browser/safe_browsing/download_protection_service.cc const base::FilePath& file) { file 61 chrome/browser/safe_browsing/download_protection_service.cc DCHECK(download_protection_util::IsBinaryFile(file)); file 62 chrome/browser/safe_browsing/download_protection_service.cc if (file.MatchesExtension(FILE_PATH_LITERAL(".apk"))) file 64 chrome/browser/safe_browsing/download_protection_service.cc else if (file.MatchesExtension(FILE_PATH_LITERAL(".crx"))) file 68 chrome/browser/safe_browsing/download_protection_service.cc else if (file.MatchesExtension(FILE_PATH_LITERAL(".zip"))) file 123 chrome/browser/safe_browsing/download_protection_service.cc void RecordFileExtensionType(const base::FilePath& file) { file 125 chrome/browser/safe_browsing/download_protection_service.cc GetExtensionType(file), file 155 chrome/browser/safe_browsing/prefix_set.cc base::ScopedFILE file(base::OpenFile(filter_name, "rb")); file 156 chrome/browser/safe_browsing/prefix_set.cc if (!file.get()) file 160 chrome/browser/safe_browsing/prefix_set.cc size_t read = fread(&header, sizeof(header), 1, file.get()); file 195 chrome/browser/safe_browsing/prefix_set.cc read = fread(&(index[0]), sizeof(index[0]), index.size(), file.get()); file 206 chrome/browser/safe_browsing/prefix_set.cc read = fread(&(deltas[0]), sizeof(deltas[0]), deltas.size(), file.get()); file 218 chrome/browser/safe_browsing/prefix_set.cc read = fread(&file_digest, sizeof(file_digest), 1, file.get()); file 251 chrome/browser/safe_browsing/prefix_set.cc base::ScopedFILE file(base::OpenFile(filter_name, "wb")); file 252 chrome/browser/safe_browsing/prefix_set.cc if (!file.get()) file 260 chrome/browser/safe_browsing/prefix_set.cc size_t written = fwrite(&header, sizeof(header), 1, file.get()); file 271 chrome/browser/safe_browsing/prefix_set.cc file.get()); file 283 chrome/browser/safe_browsing/prefix_set.cc file.get()); file 294 chrome/browser/safe_browsing/prefix_set.cc written = fwrite(&digest, sizeof(digest), 1, file.get()); file 299 chrome/browser/safe_browsing/prefix_set.cc file.reset(); file 158 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); file 159 chrome/browser/safe_browsing/prefix_set_unittest.cc IncrementIntAt(file.get(), offset, inc); file 160 chrome/browser/safe_browsing/prefix_set_unittest.cc CleanChecksum(file.get()); file 161 chrome/browser/safe_browsing/prefix_set_unittest.cc file.reset(); file 378 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); file 379 chrome/browser/safe_browsing/prefix_set_unittest.cc IncrementIntAt(file.get(), kPayloadOffset, 1); file 380 chrome/browser/safe_browsing/prefix_set_unittest.cc file.reset(); file 387 chrome/browser/safe_browsing/prefix_set_unittest.cc file.reset(base::OpenFile(filename, "r+b")); file 388 chrome/browser/safe_browsing/prefix_set_unittest.cc CleanChecksum(file.get()); file 389 chrome/browser/safe_browsing/prefix_set_unittest.cc file.reset(); file 448 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); file 449 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_NO_FATAL_FAILURE(IncrementIntAt(file.get(), 666, 1)); file 450 chrome/browser/safe_browsing/prefix_set_unittest.cc file.reset(); file 463 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); file 465 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_NO_FATAL_FAILURE(IncrementIntAt(file.get(), digest_offset, 1)); file 466 chrome/browser/safe_browsing/prefix_set_unittest.cc file.reset(); file 478 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "ab")); file 480 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(strlen(buf), fwrite(buf, 1, strlen(buf), file.get())); file 481 chrome/browser/safe_browsing/prefix_set_unittest.cc file.reset(); file 493 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); file 496 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_NE(-1, fseek(file.get(), sizeof(uint32) * 2, SEEK_SET)); file 500 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(val), fwrite(&val, 1, sizeof(val), file.get())); file 501 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(val), fwrite(&val, 1, sizeof(val), file.get())); file 508 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(item), fwrite(&item, 1, sizeof(item), file.get())); file 511 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(item), fwrite(&item, 1, sizeof(item), file.get())); file 515 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(delta), fwrite(&delta, 1, sizeof(delta), file.get())); file 516 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(delta), fwrite(&delta, 1, sizeof(delta), file.get())); file 520 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(dummy), fwrite(&dummy, 1, sizeof(dummy), file.get())); file 521 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_TRUE(base::TruncateFile(file.get())); file 522 chrome/browser/safe_browsing/prefix_set_unittest.cc CleanChecksum(file.get()); file 523 chrome/browser/safe_browsing/prefix_set_unittest.cc file.reset(); // Flush updates. file 536 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); file 539 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_NE(-1, fseek(file.get(), sizeof(uint32), SEEK_SET)); file 543 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(version), fwrite(&version, 1, sizeof(version), file.get())); file 547 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(val), fwrite(&val, 1, sizeof(val), file.get())); file 548 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(val), fwrite(&val, 1, sizeof(val), file.get())); file 554 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(item), fwrite(&item, 1, sizeof(item), file.get())); file 557 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(item), fwrite(&item, 1, sizeof(item), file.get())); file 561 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(delta), fwrite(&delta, 1, sizeof(delta), file.get())); file 562 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(delta), fwrite(&delta, 1, sizeof(delta), file.get())); file 566 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(dummy), fwrite(&dummy, 1, sizeof(dummy), file.get())); file 567 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_TRUE(base::TruncateFile(file.get())); file 568 chrome/browser/safe_browsing/prefix_set_unittest.cc CleanChecksum(file.get()); file 569 chrome/browser/safe_browsing/prefix_set_unittest.cc file.reset(); // Flush updates. file 222 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc static bool LogMessageIgnorer(int severity, const char* file, int line, file 535 chrome/browser/safe_browsing/safe_browsing_store_file.cc file_util::ScopedFILE file(base::OpenFile(filename, "rb")); file 536 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (file.get() == NULL) file 546 chrome/browser/safe_browsing/safe_browsing_store_file.cc file.get(), &context); file 555 chrome/browser/safe_browsing/safe_browsing_store_file.cc file.get(), &context)) { file 572 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!ReadItem(&shard_header, file.get(), &context)) file 579 chrome/browser/safe_browsing/safe_browsing_store_file.cc file.get(), &context)) { file 587 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!ReadAndVerifyChecksum(file.get(), &context)) file 594 chrome/browser/safe_browsing/safe_browsing_store_file.cc return static_cast<int64>(ftell(file.get())) == size; file 804 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::ScopedFILE file(base::OpenFile(filename_, "rb")); file 805 chrome/browser/safe_browsing/safe_browsing_store_file.cc empty_ = (file.get() == NULL); file 821 chrome/browser/safe_browsing/safe_browsing_store_file.cc file.get(), &context); file 824 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (FileRewind(file.get()) && ReadItem(&retry_header, file.get(), NULL) && file 839 chrome/browser/safe_browsing/safe_browsing_store_file.cc file.reset(); file 844 chrome/browser/safe_browsing/safe_browsing_store_file.cc file_.swap(file); file 97 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedFILE file(base::OpenFile(filename_, "rb")); file 99 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(fseek(file.get(), kOffset, SEEK_SET), 0); file 101 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(fread(&shard_stride, sizeof(shard_stride), 1, file.get()), 1U); file 521 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedFILE file(base::OpenFile(filename_, "rb+")); file 523 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(fseek(file.get(), kOffset, SEEK_SET), 0); file 526 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(fread(&previous, sizeof(previous), 1, file.get()), 1U); file 528 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(fseek(file.get(), kOffset, SEEK_SET), 0); file 529 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(fwrite(&kZero, sizeof(kZero), 1, file.get()), 1U); file 530 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc file.reset(); file 546 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc file.reset(base::OpenFile(filename_, "rb+")); file 547 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(fseek(file.get(), kAddChunkCountOffset, SEEK_SET), 0); file 548 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(fwrite(&kLargeCount, sizeof(kLargeCount), 1, file.get()), 1U); file 549 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc file.reset(); file 587 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedFILE file(base::OpenFile(filename_, "rb+")); file 588 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(0, fseek(file.get(), kOffset, SEEK_SET)); file 589 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_GE(fputs("hello", file.get()), 0); file 606 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedFILE file(base::OpenFile(filename_, "rb+")); file 607 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(0, fseek(file.get(), kOffset, SEEK_SET)); file 608 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_GE(fputs("hello", file.get()), 0); file 626 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedFILE file(base::OpenFile(filename_, "rb+")); file 627 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_EQ(0, fseek(file.get(), kOffset, SEEK_END)); file 628 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_GE(fputs("hello", file.get()), 0); file 304 chrome/browser/sessions/session_backend.cc bool SessionBackend::AppendCommandsToFile(base::File* file, file 315 chrome/browser/sessions/session_backend.cc wrote = file->WriteAtCurrentPos(reinterpret_cast<const char*>(&total_size), file 322 chrome/browser/sessions/session_backend.cc wrote = file->WriteAtCurrentPos(reinterpret_cast<char*>(&command_id), file 329 chrome/browser/sessions/session_backend.cc wrote = file->WriteAtCurrentPos(reinterpret_cast<char*>((*i)->contents()), file 339 chrome/browser/sessions/session_backend.cc file->Flush(); file 374 chrome/browser/sessions/session_backend.cc scoped_ptr<base::File> file(new base::File( file 378 chrome/browser/sessions/session_backend.cc if (!file->IsValid()) file 383 chrome/browser/sessions/session_backend.cc int wrote = file->WriteAtCurrentPos(reinterpret_cast<char*>(&header), file 387 chrome/browser/sessions/session_backend.cc return file.release(); file 111 chrome/browser/sessions/session_backend.h bool AppendCommandsToFile(base::File* file, file 1054 chrome/browser/sessions/session_restore.cc for (std::vector<base::FilePath>::const_iterator file = file_paths.begin(); file 1055 chrome/browser/sessions/session_restore.cc file != file_paths.end(); ++file) { file 1057 chrome/browser/sessions/session_restore.cc *file); file 30 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc void CloseDictionary(base::File file) { file 32 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc file.Close(); file 71 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc if (file.IsValid()) { file 75 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::Bind(&CloseDictionary, Passed(&file))); file 81 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc file(other.object->file.Pass()) { file 88 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc file = other.object->file.Pass(); file 146 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc return dictionary_file_.file.GetPlatformFile(); file 281 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc dictionary.file.Initialize(dictionary.path, file 308 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc DictionaryFile file) { file 310 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc dictionary_file_ = file.Pass(); file 312 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc if (!dictionary_file_.file.IsValid()) { file 104 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h base::File file; file 127 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h void InitializeDictionaryLocationComplete(DictionaryFile file); file 167 chrome/browser/spellchecker/spellcheck_service.cc IPC::PlatformFileForTransit file = IPC::InvalidPlatformFileForTransit(); file 171 chrome/browser/spellchecker/spellcheck_service.cc file = IPC::GetFileHandleForProcess( file 176 chrome/browser/spellchecker/spellcheck_service.cc file, file 475 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc const std::string file = CreateRemoteFile(primary, "file", "data"); file 477 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc AddFileToFolder(CreateRemoteFolder(app_root, "nonprimary1"), file)); file 479 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc AddFileToFolder(CreateRemoteFolder(app_root, "nonprimary2"), file)); file 481 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc AddFileToFolder(CreateRemoteFolder(app_root, "nonprimary3"), file)); file 486 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc EXPECT_EQ(4, CountParents(file)); file 490 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc EXPECT_EQ(1, CountParents(file)); file 502 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc const std::string file = CreateRemoteFolder(primary, "folder"); file 504 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc AddFileToFolder(CreateRemoteFolder(app_root, "nonprimary1"), file)); file 506 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc AddFileToFolder(CreateRemoteFolder(app_root, "nonprimary2"), file)); file 508 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc AddFileToFolder(CreateRemoteFolder(app_root, "nonprimary3"), file)); file 513 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc EXPECT_EQ(4, CountParents(file)); file 517 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc EXPECT_EQ(1, CountParents(file)); file 32 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc void PutFileMetadataToBatch(const FileMetadata& file, file 38 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc bool success = file.SerializeToString(&value); file 40 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc batch->Put(kFileMetadataKeyPrefix + file.file_id(), value); file 98 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc scoped_ptr<FileMetadata> file(new FileMetadata); file 99 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc file->set_file_id(resource.file_id()); file 101 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc FileDetails* details = file->mutable_details(); file 106 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc return file.Pass(); file 110 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc return file.Pass(); file 115 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc scoped_ptr<FileMetadata> file(new FileMetadata); file 116 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc file->set_file_id(change.file_id()); file 118 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc FileDetails* details = file->mutable_details(); file 123 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc return file.Pass(); file 126 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc PopulateFileDetailsByFileResource(*change.file(), details); file 127 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc return file.Pass(); file 133 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc scoped_ptr<FileMetadata> file(new FileMetadata); file 134 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc file->set_file_id(file_id); file 136 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc FileDetails* details = file->mutable_details(); file 139 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc return file.Pass(); file 32 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h void PutFileMetadataToBatch(const FileMetadata& file, file 108 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc scoped_ptr<ResourceEntry> file; file 113 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::Bind(&UploadResultCallback, &error, &file), file 118 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc *file_id = file->resource_id(); file 127 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc scoped_ptr<ResourceEntry> file; file 132 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::Bind(&UploadResultCallback, &error, &file), file 277 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc scoped_ptr<google_apis::ResourceEntry> file; file 278 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc GDataErrorCode error = GetResourceEntry(file_id, &file); file 281 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc if (!file) file 288 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc temp_file, file->resource_id(), file 465 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc FileMetadata file; file 467 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc remote_file_tracker_->file_id(), &file); file 474 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc const FileDetails& details = file.details(); file 483 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc file.details(), file 1774 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::DictionaryValue* file = new base::DictionaryValue; file 1777 chrome/browser/sync_file_system/drive_backend/metadata_database.cc file->SetString("path", path.AsUTF8Unsafe()); file 1779 chrome/browser/sync_file_system/drive_backend/metadata_database.cc file->SetString("title", tracker->synced_details().title()); file 1780 chrome/browser/sync_file_system/drive_backend/metadata_database.cc file->SetString("type", file 1792 chrome/browser/sync_file_system/drive_backend/metadata_database.cc file->Set("details", details); file 1794 chrome/browser/sync_file_system/drive_backend/metadata_database.cc files->Append(file); file 1891 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const FileMetadata& file = *itr->second; file 1894 chrome/browser/sync_file_system/drive_backend/metadata_database.cc dict->SetString("file_id", file.file_id()); file 1895 chrome/browser/sync_file_system/drive_backend/metadata_database.cc if (file.has_details()) { file 1896 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const FileDetails& details = file.details(); file 231 chrome/browser/sync_file_system/drive_backend/metadata_database.h bool FindFileByFileID(const std::string& file_id, FileMetadata* file) const; file 387 chrome/browser/sync_file_system/drive_backend/metadata_database.h void MaybeAddTrackersForNewFile(const FileMetadata& file, file 404 chrome/browser/sync_file_system/drive_backend/metadata_database.h scoped_ptr<FileMetadata> file, file 219 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc const TrackedFile* file = tracked_files[i]; file 220 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc if (file->should_be_absent) file 222 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc if (!file->tracker_only) file 223 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(PutFileToDB(db.get(), file->metadata).ok()); file 224 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(PutTrackerToDB(db.get(), file->tracker).ok()); file 228 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc void VerifyTrackedFile(const TrackedFile& file) { file 229 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc if (!file.should_be_absent) { file 230 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc if (file.tracker_only) { file 232 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.metadata.file_id(), NULL)); file 234 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc VerifyFile(file.metadata); file 236 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc VerifyTracker(file.tracker); file 241 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.metadata.file_id(), NULL)); file 243 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.tracker.tracker_id(), NULL)); file 293 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileMetadata file; file 294 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.set_file_id(GenerateFileID()); file 295 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileDetails* details = file.mutable_details(); file 302 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc return file; file 330 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc const FileMetadata& file) { file 334 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc tracker.set_file_id(file.file_id()); file 340 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc *tracker.mutable_synced_details() = file.details(); file 361 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc TrackedFile file; file 362 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.metadata = CreateFileMetadata(parent.metadata, title); file 363 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.tracker = CreateTracker(parent.tracker, file.metadata); file 364 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc return file; file 376 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc const FileMetadata& file) { file 379 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc for (int i = 0; i < file.details().parent_folder_ids_size(); ++i) { file 381 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc parent.set_file_id(file.details().parent_folder_ids(i)); file 385 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file_resource->set_file_id(file.file_id()); file 386 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file_resource->set_title(file.details().title()); file 387 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc if (file.details().file_kind() == FILE_KIND_FOLDER) file 389 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc else if (file.details().file_kind() == FILE_KIND_FILE) file 393 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file_resource->set_md5_checksum(file.details().md5()); file 394 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file_resource->set_etag(file.details().etag()); file 396 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.details().creation_time())); file 398 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.details().modification_time())); file 404 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc const FileMetadata& file) { file 407 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc change->set_change_id(file.details().change_id()); file 408 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc change->set_file_id(file.file_id()); file 409 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc change->set_deleted(file.details().missing()); file 413 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc change->set_file(CreateFileResourceFromMetadata(file)); file 418 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileMetadata* file) { file 419 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileDetails* details = file->mutable_details(); file 425 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileMetadata* file) { file 426 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileDetails* details = file->mutable_details(); file 432 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc void ApplyContentChangeToMetadata(FileMetadata* file) { file 433 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileDetails* details = file->mutable_details(); file 439 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc void ApplyNoopChangeToMetadata(FileMetadata* file) { file 440 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file->mutable_details()->set_change_id(++current_change_id_); file 448 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc leveldb::Status PutFileToDB(leveldb::DB* db, const FileMetadata& file) { file 450 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc PutFileMetadataToBatch(file, &batch); file 517 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc void VerifyFile(const FileMetadata& file) { file 520 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.file_id(), &file_in_metadata_database)); file 522 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc SCOPED_TRACE("Expect equivalent " + file.file_id()); file 523 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc ExpectEquivalent(&file, &file_in_metadata_database); file 648 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc TrackedFile file(CreateTrackedFile(app_root, "file")); file 656 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc &sync_root, &app_root, &file, &folder, &file_in_folder, &orphaned_file file 672 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc TrackedFile file(CreateTrackedFile(app_root, "file")); file 677 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc &sync_root, &app_root, &file, &folder, file 715 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.should_be_absent = true; file 717 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc VerifyTrackedFile(file); file 734 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileMetadata file(CreateFileMetadata(folder, "file")); file 735 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileTracker file_tracker(CreateTracker(folder_tracker, file)); file 752 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(PutFileToDB(db.get(), file).ok()); file 787 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileMetadata file(CreateFileMetadata(folder2, "file")); file 788 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc FileTracker file_tracker(CreateTracker(folder_tracker2, file)); file 807 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(PutFileToDB(db.get(), file).ok()); file 879 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc TrackedFile file(CreateTrackedFile(app_root, "file")); file 892 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc &file, &renamed_file, &folder, &reorganized_file, &updated_file, &noop_file, file 1017 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc TrackedFile file(CreateTrackedFile(disabled_app_root, "file")); file 1018 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.should_be_absent = true; file 1021 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc &sync_root, &disabled_app_root, &disabled_app_root, &known_file, &file, file 1029 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc disabled_app_children.push_back(file.metadata.file_id()); file 1032 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc ResetTrackerID(&file.tracker); file 1033 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.tracker.clear_synced_details(); file 1034 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.tracker.set_dirty(true); file 1035 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.tracker.set_active(false); file 1036 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.should_be_absent = false; file 1037 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.tracker_only = true; file 1049 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc TrackedFile file(CreateTrackedFile(app_root, "file")); file 1050 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.tracker.set_dirty(true); file 1051 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.metadata.mutable_details()->set_title("renamed file"); file 1064 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc &sync_root, &app_root, &file, &inactive_file, &new_conflict file 1072 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc *file.tracker.mutable_synced_details() = file.metadata.details(); file 1073 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.tracker.set_dirty(false); file 1074 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_EQ(SYNC_STATUS_OK, UpdateTracker(file.tracker)); file 1090 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.tracker.set_dirty(true); file 1091 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file.tracker.set_active(false); file 1148 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::DictionaryValue* file = NULL; file 1151 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc ASSERT_TRUE(files->GetDictionary(0, &file)); file 1152 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(file->GetString("title", &str) && str == "folder_0"); file 1153 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(file->GetString("type", &str) && str == "folder"); file 1154 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(file->HasKey("details")); file 1156 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc ASSERT_TRUE(files->GetDictionary(1, &file)); file 1157 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(file->GetString("title", &str) && str == "file_0"); file 1158 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(file->GetString("type", &str) && str == "file"); file 1159 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(file->HasKey("details")); file 136 chrome/browser/sync_file_system/drive_backend/register_app_task.cc FileMetadata file; file 140 chrome/browser/sync_file_system/drive_backend/register_app_task.cc if (!metadata_database()->FindFileByFileID(tracker->file_id(), &file)) { file 149 chrome/browser/sync_file_system/drive_backend/register_app_task.cc if (file.details().file_kind() != FILE_KIND_FOLDER) file 152 chrome/browser/sync_file_system/drive_backend/register_app_task.cc if (file.details().missing()) file 683 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc webkit_blob::ScopedFile file) { file 684 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::FilePath path = file.path(); file 689 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc callback, base::Passed(&file)), file 695 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc webkit_blob::ScopedFile file, file 704 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::FilePath path = file.path(); file 710 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc callback, base::Passed(&file))); file 715 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc webkit_blob::ScopedFile file, file 732 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::FilePath path = file.path(); file 738 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc callback, base::Passed(&file))); file 177 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h webkit_blob::ScopedFile file); file 179 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h webkit_blob::ScopedFile file, file 183 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h webkit_blob::ScopedFile file, file 274 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc const std::string file = CreateRemoteFile(app_root, "file", "data"); file 287 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc DeleteRemoteFile(file); file 212 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc webkit_blob::ScopedFile file) { file 214 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc ASSERT_TRUE(base::PathExists(file.path())); file 353 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc scoped_ptr<ResourceEntry> file; file 356 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc SetUpFile(origin_root_id, file_content, file_title, &file); file 395 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc scoped_ptr<ResourceEntry> file; file 398 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc SetUpFile(origin_root_id, file_content, file_title, &file); file 429 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc scoped_ptr<ResourceEntry> file; file 430 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc SetUpFile(origin_root_id, kFileContent, kFileTitle, &file); file 434 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->resource_id(), file 439 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc EXPECT_EQ(file->file_md5(), output.file_md5); file 449 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc scoped_ptr<ResourceEntry> file; file 450 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc SetUpFile(origin_root_id, kFileContent, kFileTitle, &file); file 456 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->resource_id(), file 457 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->file_md5(), file 461 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc EXPECT_EQ(file->file_md5(), output.file_md5); file 522 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc scoped_ptr<ResourceEntry> file; file 523 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc SetUpFile(origin_root_id, kFileContent, kFileTitle, &file); file 527 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->resource_id(), file 528 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->file_md5(), file 534 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc EXPECT_EQ(file->resource_id(), output.resource_id); file 537 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->title(), file 538 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->resource_id(), file 539 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->kind()); file 549 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc scoped_ptr<ResourceEntry> file; file 550 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc SetUpFile(origin_root_id, kFileContent, kFileTitle, &file); file 558 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->resource_id(), file 569 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->title(), file 570 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->resource_id(), file 571 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->kind()); file 580 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc scoped_ptr<ResourceEntry> file; file 581 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc SetUpFile(origin_root_id, kFileContent, kFileTitle, &file); file 584 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc api_util()->DeleteFile(file->resource_id(), file 585 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->file_md5(), file 600 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc scoped_ptr<ResourceEntry> file; file 601 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc SetUpFile(origin_root_id, kFileContent, kFileTitle, &file); file 608 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc api_util()->DeleteFile(file->resource_id(), file 617 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->title(), file 618 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->resource_id(), file 619 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc file->kind()); file 784 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::DictionaryValue* file = new base::DictionaryValue; file 785 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc file->SetString("path", itr->first.AsUTF8Unsafe()); file 786 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc file->SetString("title", itr->first.BaseName().AsUTF8Unsafe()); file 787 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc file->SetString("type", DriveTypeToString(metadata.type())); file 794 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc file->Set("details", details); file 795 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc files->Append(file); file 609 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::DictionaryValue* file = NULL; file 612 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc ASSERT_TRUE(files->GetDictionary(0, &file)); file 613 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc EXPECT_TRUE(file->GetString("title", &str) && str == "file_0"); file 614 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc EXPECT_TRUE(file->GetString("type", &str) && str == "file"); file 615 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc EXPECT_TRUE(file->HasKey("details")); file 617 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc ASSERT_TRUE(files->GetDictionary(1, &file)); file 618 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc EXPECT_TRUE(file->GetString("title", &str) && str == "folder_0"); file 619 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc EXPECT_TRUE(file->GetString("type", &str) && str == "folder"); file 620 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc EXPECT_TRUE(file->HasKey("details")); file 121 chrome/browser/sync_file_system/sync_file_system_service.cc base::DictionaryValue* file, file 127 chrome/browser/sync_file_system/sync_file_system_service.cc if (file) file 128 chrome/browser/sync_file_system/sync_file_system_service.cc file->SetString("status", SyncFileStatusToString(sync_file_status)); file 528 chrome/browser/sync_file_system/sync_file_system_service.cc base::Callback<void(base::DictionaryValue* file, file 536 chrome/browser/sync_file_system/sync_file_system_service.cc base::DictionaryValue* file = NULL; file 538 chrome/browser/sync_file_system/sync_file_system_service.cc if (!files->GetDictionary(i, &file) || file 539 chrome/browser/sync_file_system/sync_file_system_service.cc !file->GetString("path", &path_string)) { file 548 chrome/browser/sync_file_system/sync_file_system_service.cc GetFileSyncStatus(url, base::Bind(completion_callback, file)); file 420 chrome/browser/themes/browser_theme_pack.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 421 chrome/browser/themes/browser_theme_pack.cc if (file.IsValid()) { file 422 chrome/browser/themes/browser_theme_pack.cc int64 length = file.GetLength(); file 428 chrome/browser/themes/browser_theme_pack.cc if (file.ReadAtCurrentPos(data, size) == length) file 571 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath file = dir.path().AppendASCII("data.pak"); file 578 chrome/browser/themes/browser_theme_pack_unittest.cc ASSERT_TRUE(pack->WriteToDisk(file)); file 586 chrome/browser/themes/browser_theme_pack_unittest.cc file, "mblmlcbknbnfebdfjnolmcapmdofhmme"); file 595 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath file = dir.path().AppendASCII("theme_data.pak"); file 602 chrome/browser/themes/browser_theme_pack_unittest.cc ASSERT_TRUE(pack->WriteToDisk(file)); file 609 chrome/browser/themes/browser_theme_pack_unittest.cc BrowserThemePack::BuildFromDataPack(file, "gllekhaobjnhgeag"); file 280 chrome/browser/translate/translate_tab_helper.cc scoped_ptr<base::File> file( file 282 chrome/browser/translate/translate_tab_helper.cc if (!file->IsValid()) { file 288 chrome/browser/translate/translate_tab_helper.cc if (!file->GetInfo(&file_info)) { file 305 chrome/browser/translate/translate_tab_helper.cc s_cached_file_ = file.release(); file 242 chrome/browser/ui/views/select_file_dialog_extension.cc const ui::SelectedFileInfo& file, file 250 chrome/browser/ui/views/select_file_dialog_extension.cc dialog->selection_files_.push_back(file); file 56 chrome/browser/ui/views/select_file_dialog_extension.h const ui::SelectedFileInfo& file, file 366 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* file = GetDownloadByValue(args); file 367 chrome/browser/ui/webui/downloads_dom_handler.cc if (file) file 368 chrome/browser/ui/webui/downloads_dom_handler.cc file->OpenDownload(); file 373 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* file = GetDownloadByValue(args); file 374 chrome/browser/ui/webui/downloads_dom_handler.cc if (!file) file 382 chrome/browser/ui/webui/downloads_dom_handler.cc if (file->GetState() != content::DownloadItem::COMPLETE) file 386 chrome/browser/ui/webui/downloads_dom_handler.cc file->GetTargetFilePath(), IconLoader::NORMAL); file 392 chrome/browser/ui/webui/downloads_dom_handler.cc DragDownloadItem(file, icon, view); file 398 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* file = GetDownloadByValue(args); file 399 chrome/browser/ui/webui/downloads_dom_handler.cc if (file) file 400 chrome/browser/ui/webui/downloads_dom_handler.cc ShowDangerPrompt(file); file 405 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* file = GetDownloadByValue(args); file 406 chrome/browser/ui/webui/downloads_dom_handler.cc if (file) file 407 chrome/browser/ui/webui/downloads_dom_handler.cc file->Remove(); file 412 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* file = GetDownloadByValue(args); file 413 chrome/browser/ui/webui/downloads_dom_handler.cc if (file) file 414 chrome/browser/ui/webui/downloads_dom_handler.cc file->ShowDownloadInShell(); file 419 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* file = GetDownloadByValue(args); file 420 chrome/browser/ui/webui/downloads_dom_handler.cc if (file) file 421 chrome/browser/ui/webui/downloads_dom_handler.cc file->Pause(); file 426 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* file = GetDownloadByValue(args); file 427 chrome/browser/ui/webui/downloads_dom_handler.cc if (file) file 428 chrome/browser/ui/webui/downloads_dom_handler.cc file->Resume(); file 436 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* file = GetDownloadByValue(args); file 437 chrome/browser/ui/webui/downloads_dom_handler.cc if (file) file 438 chrome/browser/ui/webui/downloads_dom_handler.cc file->Remove(); file 443 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* file = GetDownloadByValue(args); file 444 chrome/browser/ui/webui/downloads_dom_handler.cc if (file) file 445 chrome/browser/ui/webui/downloads_dom_handler.cc file->Cancel(true); file 221 chrome/browser/ui/webui/net_internals/net_internals_ui.cc typedef base::Callback<void(base::File file, file 263 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void CloseDebugLogFile(base::File file) { file 264 chrome/browser/ui/webui/net_internals/net_internals_ui.cc file.Close(); file 269 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void CloseAndDeleteDebugLogFile(base::File file, file 271 chrome/browser/ui/webui/net_internals/net_internals_ui.cc file.Close(); file 279 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::File file, file 285 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&CloseAndDeleteDebugLogFile, Passed(&file), file_path), file 291 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&CloseDebugLogFile, Passed(&file)), file 299 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::File file, file 302 chrome/browser/ui/webui/net_internals/net_internals_ui.cc if (!file.IsValid()) { file 305 chrome/browser/ui/webui/net_internals/net_internals_ui.cc "error: " << file.error_details(); file 309 chrome/browser/ui/webui/net_internals/net_internals_ui.cc file.GetPlatformFile(), file 311 chrome/browser/ui/webui/net_internals/net_internals_ui.cc callback, Passed(&file), file_path)); file 84 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc base::FilePath file(paths[i]); file 85 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc if (base::PathExists(file.Append(command[0]))) { file 44 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc base::FilePath file = base::FilePath::FromUTF8Unsafe(path); file 45 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc if (file.IsAbsolute() || file.ReferencesParent()) { file 50 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc file = extension->path().AppendASCII(path); file 51 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc if (!base::PathExists(file)) { file 53 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc base::StringPrintf("File does not exist: %s", file.value().c_str()); file 57 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc if (!base::ReadFileToString(file, &content)) { file 58 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc *error = base::StringPrintf("Can't read %s", file.value().c_str()); file 88 chrome/common/extensions/docs/examples/apps/hello-java/HelloLicenseServlet.java String file = ""; file 89 chrome/common/extensions/docs/examples/apps/hello-java/HelloLicenseServlet.java for (String line; (line = input.readLine()) != null; file += line); file 93 chrome/common/extensions/docs/examples/apps/hello-java/HelloLicenseServlet.java JSONObject json = new JSONObject(file); file 399 chrome/common/extensions/extension_file_util.cc base::FilePath file; file 400 chrome/common/extensions/extension_file_util.cc while (!(file = all_files.Next()).empty()) { file 401 chrome/common/extensions/extension_file_util.cc base::FilePath::StringType filename = file.BaseName().value(); file 409 chrome/common/extensions/extension_file_util.cc file.BaseName().AsUTF8Unsafe().c_str()); file 40 chrome/common/extensions/extension_l10n_util.cc base::FilePath file = locale_path.AppendASCII(locale) file 42 chrome/common/extensions/extension_l10n_util.cc JSONFileValueSerializer messages_serializer(file); file 53 chrome/common/extensions/extension_l10n_util.cc base::UTF16ToUTF8(file.LossyDisplayName()), file 73 chrome/common/importer/firefox_importer_utils.h void ParseProfileINI(const base::FilePath& file, base::DictionaryValue* root); file 95 chrome/common/mac/mock_launchd.cc MockLaunchd::MockLaunchd(const base::FilePath& file, file 99 chrome/common/mac/mock_launchd.cc : file_(file), file 31 chrome/common/mac/mock_launchd.h MockLaunchd(const base::FilePath& file, base::MessageLoop* loop, file 10 chrome/common/safe_browsing/download_protection_util.cc bool IsArchiveFile(const base::FilePath& file) { file 11 chrome/common/safe_browsing/download_protection_util.cc return file.MatchesExtension(FILE_PATH_LITERAL(".zip")); file 14 chrome/common/safe_browsing/download_protection_util.cc bool IsBinaryFile(const base::FilePath& file) { file 17 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".bas")) || file 18 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".bat")) || file 19 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".cab")) || file 20 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".cmd")) || file 21 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".com")) || file 22 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".exe")) || file 23 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".hta")) || file 24 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".msi")) || file 25 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".pif")) || file 26 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".reg")) || file 27 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".scr")) || file 28 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".vb")) || file 29 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".vbs")) || file 31 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".crx")) || file 32 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".apk")) || file 34 chrome/common/safe_browsing/download_protection_util.cc IsArchiveFile(file)); file 16 chrome/common/safe_browsing/download_protection_util.h bool IsBinaryFile(const base::FilePath& file); file 19 chrome/common/safe_browsing/download_protection_util.h bool IsArchiveFile(const base::FilePath& file); file 31 chrome/common/safe_browsing/zip_analyzer.cc const base::FilePath& file = reader.current_entry_info()->file_path(); file 32 chrome/common/safe_browsing/zip_analyzer.cc if (download_protection_util::IsBinaryFile(file)) { file 35 chrome/common/safe_browsing/zip_analyzer.cc if (download_protection_util::IsArchiveFile(file)) { file 38 chrome/common/safe_browsing/zip_analyzer.cc VLOG(2) << "Downloaded a zipped executable: " << file.value(); file 43 chrome/common/safe_browsing/zip_analyzer.cc VLOG(3) << "Ignoring non-binary file: " << file.value(); file 303 chrome/common/service_process_util_unittest.cc void DeleteFunc(const base::FilePath& file) { file 304 chrome/common/service_process_util_unittest.cc EXPECT_TRUE(base::DeleteFile(file, true)); file 87 chrome/installer/mini_installer/decompress.cc HANDLE file = CreateFileW(path, access, FILE_SHARE_READ, NULL, disposition, file 89 chrome/installer/mini_installer/decompress.cc return reinterpret_cast<INT_PTR>(file); file 155 chrome/installer/test/alternate_version_generator.cc bool Initialize(base::File file); file 180 chrome/installer/test/alternate_version_generator.cc bool MappedFile::Initialize(base::File file) { file 185 chrome/installer/test/alternate_version_generator.cc if (file.GetInfo(&file_info)) { file 188 chrome/installer/test/alternate_version_generator.cc mapping_ = CreateFileMapping(file.GetPlatformFile(), NULL, PAGE_READWRITE, file 208 chrome/installer/test/alternate_version_generator.cc file_ = file.Pass(); file 362 chrome/installer/test/alternate_version_generator.cc base::File file(image_file, flags); file 367 chrome/installer/test/alternate_version_generator.cc while (!file.IsValid() && retries-- > 0) { file 371 chrome/installer/test/alternate_version_generator.cc file.Initialize(image_file, flags); file 374 chrome/installer/test/alternate_version_generator.cc if (file.IsValid()) { file 376 chrome/installer/test/alternate_version_generator.cc if (image_mapping.Initialize(file.Pass())) { file 437 chrome/installer/test/alternate_version_generator.cc base::FilePath file = all_files.Next(); file 438 chrome/installer/test/alternate_version_generator.cc if (file.empty()) { file 441 chrome/installer/test/alternate_version_generator.cc std::wstring extension = file.Extension(); file 443 chrome/installer/test/alternate_version_generator.cc doing_great = UpdateVersionIfMatch(file, &ctx); file 34 chrome/installer/tools/validate_installation_main.cc const char* file, file 104 chrome/installer/tools/validate_installation_main.cc const char* file, file 114 chrome/installer/tools/validate_installation_main.cc return (old_message_handler_)(severity, file, line, message_start, str); file 41 chrome/installer/util/copy_tree_work_item_unittest.cc std::ofstream file; file 42 chrome/installer/util/copy_tree_work_item_unittest.cc file.open(filename.c_str()); file 43 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(file.is_open()); file 44 chrome/installer/util/copy_tree_work_item_unittest.cc file << contents; file 45 chrome/installer/util/copy_tree_work_item_unittest.cc file.close(); file 64 chrome/installer/util/copy_tree_work_item_unittest.cc std::wifstream file; file 65 chrome/installer/util/copy_tree_work_item_unittest.cc file.open(filename.c_str()); file 66 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(file.is_open()); file 67 chrome/installer/util/copy_tree_work_item_unittest.cc file.getline(contents, 64); file 68 chrome/installer/util/copy_tree_work_item_unittest.cc file.close(); file 80 chrome/installer/util/delete_after_reboot_helper.cc HANDLE file = ::CreateFileW(path.value().c_str(), file 83 chrome/installer/util/delete_after_reboot_helper.cc if (file != INVALID_HANDLE_VALUE) { file 85 chrome/installer/util/delete_after_reboot_helper.cc ::CloseHandle(file); file 124 chrome/installer/util/delete_after_reboot_helper.cc for (base::FilePath file = file_enum.Next(); !file.empty(); file 125 chrome/installer/util/delete_after_reboot_helper.cc file = file_enum.Next()) { file 126 chrome/installer/util/delete_after_reboot_helper.cc success = ScheduleFileSystemEntityForDeletion(file); file 128 chrome/installer/util/delete_after_reboot_helper.cc LOG(ERROR) << "Failed to schedule file for deletion: " << file.value(); file 74 chrome/installer/util/delete_tree_work_item.cc HANDLE file = ::CreateFile(key_file.value().c_str(), FILE_ALL_ACCESS, file 77 chrome/installer/util/delete_tree_work_item.cc if (file != INVALID_HANDLE_VALUE) { file 79 chrome/installer/util/delete_tree_work_item.cc opened_key_files.push_back(file); file 34 chrome/installer/util/delete_tree_work_item_unittest.cc std::ofstream file; file 35 chrome/installer/util/delete_tree_work_item_unittest.cc file.open(filename.c_str()); file 36 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(file.is_open()); file 37 chrome/installer/util/delete_tree_work_item_unittest.cc file << contents; file 38 chrome/installer/util/delete_tree_work_item_unittest.cc file.close(); file 29 chrome/installer/util/duplicate_tree_detector_unittest.cc std::wofstream file; file 30 chrome/installer/util/duplicate_tree_detector_unittest.cc file.open(filename.c_str()); file 31 chrome/installer/util/duplicate_tree_detector_unittest.cc ASSERT_TRUE(file.is_open()); file 32 chrome/installer/util/duplicate_tree_detector_unittest.cc file << contents; file 33 chrome/installer/util/duplicate_tree_detector_unittest.cc file.close(); file 75 chrome/installer/util/html_dialog.h EulaHTMLDialog(const std::wstring& file, const std::wstring& param); file 176 chrome/installer/util/html_dialog_impl.cc EulaHTMLDialog::EulaHTMLDialog(const std::wstring& file, file 178 chrome/installer/util/html_dialog_impl.cc dialog_ = CreateNativeHTMLDialog(file, param); file 413 chrome/installer/util/install_util.cc bool InstallUtil::GetSentinelFilePath(const base::FilePath::CharType* file, file 421 chrome/installer/util/install_util.cc *path = user_data_dir.Append(file); file 551 chrome/installer/util/install_util.cc base::File* file) { file 552 chrome/installer/util/install_util.cc DCHECK(file); file 553 chrome/installer/util/install_util.cc file->Initialize(path, base::File::FLAG_OPEN); file 554 chrome/installer/util/install_util.cc return file->IsValid(); file 559 chrome/installer/util/install_util.cc bool InstallUtil::ProgramCompare::GetInfo(const base::File& file, file 561 chrome/installer/util/install_util.cc DCHECK(file.IsValid()); file 562 chrome/installer/util/install_util.cc return GetFileInformationByHandle(file.GetPlatformFile(), info) != 0; file 610 chrome/installer/util/install_util.cc base::File file; file 613 chrome/installer/util/install_util.cc return (OpenForInfo(path, &file) && file 614 chrome/installer/util/install_util.cc GetInfo(file, &info) && file 114 chrome/installer/util/install_util.h static bool GetSentinelFilePath(const base::FilePath::CharType* file, file 196 chrome/installer/util/install_util.h static bool OpenForInfo(const base::FilePath& path, base::File* file); file 197 chrome/installer/util/install_util.h static bool GetInfo(const base::File& file, file 29 chrome/installer/util/installation_validation_helper.cc const char* file, file 79 chrome/installer/util/installation_validation_helper.cc const char* file, file 88 chrome/installer/util/installation_validation_helper.cc ADD_FAILURE_AT(file, line) file 94 chrome/installer/util/installation_validation_helper.cc return (old_message_handler_)(severity, file, line, message_start, str); file 321 chrome/installer/util/installation_validator_unittest.cc virtual void ReceiveValidationError(const char* file, file 327 chrome/installer/util/installation_validator_unittest.cc MOCK_METHOD3(ReceiveValidationError, void(const char* file, file 334 chrome/installer/util/installation_validator_unittest.cc const char* file, file 412 chrome/installer/util/installation_validator_unittest.cc const char* file, file 424 chrome/installer/util/installation_validator_unittest.cc file, line, str.substr(message_start, message_length).c_str()); file 427 chrome/installer/util/installation_validator_unittest.cc ADD_FAILURE_AT(file, line) file 434 chrome/installer/util/installation_validator_unittest.cc return (old_log_message_handler_)(severity, file, line, message_start, str); file 590 chrome/installer/util/installer_state.cc bool InstallerState::IsFileInUse(const base::FilePath& file) { file 593 chrome/installer/util/installer_state.cc return !base::win::ScopedHandle(CreateFile(file.value().c_str(), file 642 chrome/installer/util/installer_state.cc base::FilePath file(directory.Append(kBinaryFileNames[i])); file 643 chrome/installer/util/installer_state.cc if (base::PathExists(file) && IsFileInUse(file)) file 230 chrome/installer/util/installer_state.h static bool IsFileInUse(const base::FilePath& file); file 55 chrome/installer/util/installer_state_unittest.cc static bool IsFileInUse(const base::FilePath& file) { file 56 chrome/installer/util/installer_state_unittest.cc return InstallerState::IsFileInUse(file); file 69 chrome/installer/util/installer_state_unittest.cc std::ofstream file; file 70 chrome/installer/util/installer_state_unittest.cc file.open(filename.c_str()); file 71 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(file.is_open()); file 72 chrome/installer/util/installer_state_unittest.cc file << contents; file 73 chrome/installer/util/installer_state_unittest.cc file.close(); file 198 chrome/installer/util/installer_state_unittest.cc std::ofstream file; file 199 chrome/installer/util/installer_state_unittest.cc file.open(chrome_dll_2.value().c_str()); file 298 chrome/installer/util/installer_state_unittest.cc base::win::ScopedHandle file( file 301 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(file.IsValid()); file 318 chrome/installer/util/installer_state_unittest.cc file.Close(); file 21 chrome/installer/util/lzma_util.cc SRes LzmaReadFile(HANDLE file, void *data, size_t *size) { file 29 chrome/installer/util/lzma_util.cc BOOL res = ReadFile(file, data, maxSize, &processedLoc, NULL); file 64 chrome/installer/util/lzma_util.cc value.LowPart = SetFilePointer(s->file.handle, value.LowPart, &value.HighPart, file 73 chrome/installer/util/lzma_util.cc return LzmaReadFile(s->file.handle, buffer, size); file 136 chrome/installer/util/lzma_util.cc archiveStream.file.handle = archive_handle_; file 36 chrome/installer/util/move_tree_work_item_unittest.cc std::wofstream file; file 37 chrome/installer/util/move_tree_work_item_unittest.cc file.open(base::UTF16ToASCII(filename).c_str()); file 38 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(file.is_open()); file 39 chrome/installer/util/move_tree_work_item_unittest.cc file << contents; file 40 chrome/installer/util/move_tree_work_item_unittest.cc file.close(); file 46 chrome/installer/util/move_tree_work_item_unittest.cc std::wifstream file; file 47 chrome/installer/util/move_tree_work_item_unittest.cc file.open(base::UTF16ToASCII(path.value()).c_str()); file 48 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(file.is_open()); file 49 chrome/installer/util/move_tree_work_item_unittest.cc file.getline(contents, arraysize(contents)); file 50 chrome/installer/util/move_tree_work_item_unittest.cc file.close(); file 79 chrome/installer/util/user_experiment.cc base::win::ScopedHandle file(::CreateFileW(path, 0, share, NULL, file 81 chrome/installer/util/user_experiment.cc if (!file.IsValid()) file 85 chrome/installer/util/user_experiment.cc return ::GetFileTime(file, NULL, NULL, &time) ? FileTimeToHours(time) : -1; file 201 chrome/renderer/extensions/user_script_slave.cc const UserScript::File& file = scripts_[i]->css_scripts()[j]; file 202 chrome/renderer/extensions/user_script_slave.cc std::string content = file.GetContent().as_string(); file 283 chrome/renderer/extensions/user_script_slave.cc UserScript::File &file = script->js_scripts()[j]; file 284 chrome/renderer/extensions/user_script_slave.cc std::string content = file.GetContent().as_string(); file 295 chrome/renderer/extensions/user_script_slave.cc WebScriptSource(WebString::fromUTF8(content), file.url())); file 349 chrome/renderer/printing/print_web_view_helper_browsertest.cc const wchar_t* file; file 50 chrome/renderer/spellchecker/hunspell_engine.cc void HunspellEngine::Init(base::File file) { file 54 chrome/renderer/spellchecker/hunspell_engine.cc file_ = file.Pass(); file 28 chrome/renderer/spellchecker/hunspell_engine.h virtual void Init(base::File file) OVERRIDE; file 170 chrome/renderer/spellchecker/spellcheck.cc void SpellCheck::Init(base::File file, file 173 chrome/renderer/spellchecker/spellcheck.cc spellcheck_.Init(file.Pass(), language); file 47 chrome/renderer/spellchecker/spellcheck.h void Init(base::File file, file 19 chrome/renderer/spellchecker/spellcheck_language.cc void SpellcheckLanguage::Init(base::File file, const std::string& language) { file 21 chrome/renderer/spellchecker/spellcheck_language.cc platform_spelling_engine_->Init(file.Pass()); file 24 chrome/renderer/spellchecker/spellcheck_language.h void Init(base::File file, const std::string& language); file 58 chrome/renderer/spellchecker/spellcheck_unittest.cc base::File file( file 68 chrome/renderer/spellchecker/spellcheck_unittest.cc spell_check_->Init(file.Pass(), std::set<std::string>(), language); file 89 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java for (File file : files) { file 90 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java if (!file.getAbsolutePath().endsWith("/lib") && !removeFile(file)) file 103 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java private static boolean removeFile(File file) { file 104 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java if (file.isDirectory()) { file 105 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java File[] files = file.listFiles(); file 113 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java return file.delete(); file 281 chrome/test/base/ui_test_utils.cc const base::FilePath& file) { file 284 chrome/test/base/ui_test_utils.cc return path.Append(dir).Append(file); file 287 chrome/test/base/ui_test_utils.cc GURL GetTestUrl(const base::FilePath& dir, const base::FilePath& file) { file 288 chrome/test/base/ui_test_utils.cc return net::FilePathToFileURL(GetTestFilePath(dir, file)); file 122 chrome/test/base/ui_test_utils.h const base::FilePath& file); file 128 chrome/test/base/ui_test_utils.h GURL GetTestUrl(const base::FilePath& dir, const base::FilePath& file); file 71 chrome/test/base/web_ui_browsertest.cc const char* file, file 76 chrome/test/base/web_ui_browsertest.cc file && file 77 chrome/test/base/web_ui_browsertest.cc std::string("CONSOLE") == file) { file 95 chrome/test/chromedriver/logging.cc const char* file, file 379 chrome/test/chromedriver/util.cc base::FilePath* file) { file 401 chrome/test/chromedriver/util.cc *file = first_file; file 40 chrome/test/chromedriver/util.h base::FilePath* file); file 25 chrome/test/chromedriver/util_unittest.cc base::FilePath file; file 26 chrome/test/chromedriver/util_unittest.cc Status status = UnzipSoleFile(temp_dir.path(), data, &file); file 29 chrome/test/chromedriver/util_unittest.cc ASSERT_TRUE(base::ReadFileToString(file, &contents)); file 44 chrome/test/chromedriver/util_unittest.cc base::FilePath file; file 45 chrome/test/chromedriver/util_unittest.cc Status status = UnzipSoleFile(temp_dir.path(), data, &file); file 48 chrome/test/chromedriver/util_unittest.cc ASSERT_TRUE(base::ReadFileToString(file, &contents)); file 19 chrome/test/data/webui/webui_resource_browsertest.cc void RunTest(const base::FilePath& file) { file 21 chrome/test/data/webui/webui_resource_browsertest.cc base::FilePath(FILE_PATH_LITERAL("webui")), file); file 60 chrome/test/logging/win/log_file_printer.cc void WriteLocationToStream(const base::StringPiece& file, file 63 chrome/test/logging/win/log_file_printer.cc base::StringPiece filename(file); file 111 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& file, file 221 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& file, file 226 chrome/test/logging/win/log_file_printer.cc WriteLocationToStream(file, line, &location_stream); file 153 chrome/test/logging/win/log_file_reader.cc base::StringPiece file; file 161 chrome/test/logging/win/log_file_reader.cc parser.ReadString(&file) && file 166 chrome/test/logging/win/log_file_reader.cc line, file, message); file 54 chrome/test/logging/win/log_file_reader.h const base::StringPiece& file, file 54 chrome/tools/convert_dict/dic_reader.cc bool PopulateWordSet(WordSet* word_set, FILE* file, AffReader* aff_reader, file 58 chrome/tools/convert_dict/dic_reader.cc while (!feof(file)) { file 59 chrome/tools/convert_dict/dic_reader.cc std::string line = ReadLine(file); file 29 chrome/tools/convert_dict/hunspell_reader.cc std::string ReadLine(FILE* file) { file 30 chrome/tools/convert_dict/hunspell_reader.cc const char* line = fgets(line_buffer, kLineBufferLen - 1, file); file 14 chrome/tools/convert_dict/hunspell_reader.h std::string ReadLine(FILE* file); file 614 chrome/utility/chrome_content_utility_client.cc base::win::ScopedHandle file(pdf_file); file 622 chrome/utility/chrome_content_utility_client.cc DWORD length = ::GetFileSize(file, NULL); file 923 chrome/utility/chrome_content_utility_client.cc base::PlatformFile file = file 925 chrome/utility/chrome_content_utility_client.cc bool result = parser.Parse(iapps::ReadPlatformFileAsString(file)); file 935 chrome/utility/chrome_content_utility_client.cc base::PlatformFile file = file 937 chrome/utility/chrome_content_utility_client.cc bool result = parser.Parse(iapps::ReadPlatformFileAsString(file)); file 46 chrome/utility/importer/firefox_importer.cc base::FilePath file = app_path.AppendASCII("defaults") file 54 chrome/utility/importer/firefox_importer.cc file, file 146 chrome/utility/importer/firefox_importer.cc base::FilePath file = source_path_.AppendASCII("places.sqlite"); file 147 chrome/utility/importer/firefox_importer.cc if (!base::PathExists(file)) file 151 chrome/utility/importer/firefox_importer.cc if (!db.Open(file)) file 190 chrome/utility/importer/firefox_importer.cc base::FilePath file = source_path_.AppendASCII("places.sqlite"); file 191 chrome/utility/importer/firefox_importer.cc if (!base::PathExists(file)) file 195 chrome/utility/importer/firefox_importer.cc if (!db.Open(file)) file 348 chrome/utility/importer/firefox_importer.cc base::FilePath file = source_path.AppendASCII("signons.sqlite"); file 349 chrome/utility/importer/firefox_importer.cc if (base::PathExists(file)) { file 351 chrome/utility/importer/firefox_importer.cc decryptor.ReadAndParseSignons(file, &forms); file 354 chrome/utility/importer/firefox_importer.cc file = source_path.AppendASCII("signons3.txt"); file 355 chrome/utility/importer/firefox_importer.cc if (!base::PathExists(file)) file 356 chrome/utility/importer/firefox_importer.cc file = source_path.AppendASCII("signons2.txt"); file 359 chrome/utility/importer/firefox_importer.cc base::ReadFileToString(file, &content); file 389 chrome/utility/importer/firefox_importer.cc base::FilePath file = source_path_.AppendASCII("search.sqlite"); file 390 chrome/utility/importer/firefox_importer.cc if (!base::PathExists(file)) file 394 chrome/utility/importer/firefox_importer.cc if (!db.Open(file)) file 430 chrome/utility/importer/firefox_importer.cc base::FilePath file; file 439 chrome/utility/importer/firefox_importer.cc file = app_path.AppendASCII(engine.substr(index + kAppPrefix.length())); file 442 chrome/utility/importer/firefox_importer.cc file = profile_path.AppendASCII( file 446 chrome/utility/importer/firefox_importer.cc file = base::FilePath::FromUTF8Unsafe(engine); file 449 chrome/utility/importer/firefox_importer.cc base::ReadFileToString(file, &file_data); file 474 chrome/utility/importer/firefox_importer.cc base::ReadFileToString(file, &file_data); file 67 chrome/utility/importer/ie_importer_win.cc base::Time GetFileCreationTime(const base::string16& file) { file 70 chrome/utility/importer/ie_importer_win.cc CreateFile(file.c_str(), GENERIC_READ, file 269 chrome/utility/importer/ie_importer_win.cc const base::string16& file, file 281 chrome/utility/importer/ie_importer_win.cc if (FAILED(persist_file->Load(file.c_str(), STGM_READ))) file 323 chrome/utility/importer/ie_importer_win.cc bool ReadFaviconDataFromInternetShortcut(const base::string16& file, file 326 chrome/utility/importer/ie_importer_win.cc base::FilePath(file + kFaviconStreamName), data); file 352 chrome/utility/importer/ie_importer_win.cc bool ReadReencodedFaviconData(const base::string16& file, file 356 chrome/utility/importer/ie_importer_win.cc if (!ReadFaviconDataFromInternetShortcut(file, &image_data) && file 793 chrome/utility/importer/ie_importer_win.cc base::FilePath file; file 801 chrome/utility/importer/ie_importer_win.cc while (!(file = file_enumerator.Next()).value().empty() && !cancelled()) file 802 chrome/utility/importer/ie_importer_win.cc file_list.push_back(file.value()); file 80 chrome/utility/media_galleries/iapps_xml_utils.cc std::string ReadPlatformFileAsString(const base::PlatformFile file) { file 82 chrome/utility/media_galleries/iapps_xml_utils.cc if (file == base::kInvalidPlatformFileValue) file 89 chrome/utility/media_galleries/iapps_xml_utils.cc if (!base::GetPlatformFileInfo(file, &file_info) || file 91 chrome/utility/media_galleries/iapps_xml_utils.cc base::ClosePlatformFile(file); file 97 chrome/utility/media_galleries/iapps_xml_utils.cc base::ReadPlatformFile(file, 0, string_as_array(&result), file_info.size); file 101 chrome/utility/media_galleries/iapps_xml_utils.cc base::ClosePlatformFile(file); file 35 chrome/utility/media_galleries/iapps_xml_utils.h std::string ReadPlatformFileAsString(const base::PlatformFile file); file 30 chrome/utility/media_galleries/pmp_column_reader.cc bool PmpColumnReader::ReadFile(base::File* file, file 35 chrome/utility/media_galleries/pmp_column_reader.cc if (!file->IsValid()) file 39 chrome/utility/media_galleries/pmp_column_reader.cc if (!file->GetInfo(&info)) file 52 chrome/utility/media_galleries/pmp_column_reader.cc bool success = file->Read(0, data_begin, length_) && file 30 chrome/utility/media_galleries/pmp_column_reader.h bool ReadFile(base::File* file, const PmpFieldType expected_type); file 37 chrome/utility/media_galleries/pmp_column_reader_unittest.cc base::File file(temp_path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 38 chrome/utility/media_galleries/pmp_column_reader_unittest.cc if (!file.IsValid()) file 41 chrome/utility/media_galleries/pmp_column_reader_unittest.cc return reader->ReadFile(&file, expected_type); file 48 chromeos/dbus/debug_daemon_client.cc virtual void GetDebugLogs(base::PlatformFile file, file 51 chromeos/dbus/debug_daemon_client.cc dbus::FileDescriptor* file_descriptor = new dbus::FileDescriptor(file); file 33 chromeos/dbus/debug_daemon_client.h virtual void GetDebugLogs(base::PlatformFile file, file 24 chromeos/dbus/fake_debug_daemon_client.cc void FakeDebugDaemonClient::GetDebugLogs(base::PlatformFile file, file 22 chromeos/dbus/fake_debug_daemon_client.h virtual void GetDebugLogs(base::PlatformFile file, file 66 chromeos/network/network_event_log.cc LogEntry(const std::string& file, file 86 chromeos/network/network_event_log.cc std::string file; file 95 chromeos/network/network_event_log.cc LogEntry::LogEntry(const std::string& file, file 100 chromeos/network/network_event_log.cc : file(file), file 116 chromeos/network/network_event_log.cc std::string filestr = format_html ? net::EscapeForHTML(file) : file; file 117 chromeos/network/network_event_log.cc line += base::StringPrintf("%s:%d ", file.c_str(), file_line); file 130 chromeos/network/network_event_log.cc base::StringPrintf("%s:%d ", file.c_str(), file_line)); file 188 chromeos/network/network_event_log.cc return file == other.file && file 380 chromeos/network/network_event_log.cc void AddEntry(const char* file, file 386 chromeos/network/network_event_log.cc if (file) file 387 chromeos/network/network_event_log.cc filestr = base::FilePath(std::string(file)).BaseName().value(); file 66 chromeos/network/network_event_log.h CHROMEOS_EXPORT void AddEntry(const char* file, file 116 chromeos/system/statistics_provider.cc void LoadOemManifestFromFile(const base::FilePath& file); file 278 chromeos/system/statistics_provider.cc const base::FilePath& file) { file 284 chromeos/system/statistics_provider.cc if (!KioskOemManifestParser::Load(file, &oem_manifest)) { file 285 chromeos/system/statistics_provider.cc LOG(WARNING) << "Unable to load OEM Manifest file: " << file.value(); file 297 chromeos/system/statistics_provider.cc VLOG(1) << "Loaded OEM Manifest statistics from " << file.value(); file 425 cloud_print/gcp20/prototype/cloud_print_requester.cc current_print_job_->file = response; file 34 cloud_print/gcp20/prototype/cloud_print_response_parser.h std::string file; file 507 cloud_print/gcp20/prototype/printer.cc print_job_handler_->SavePrintJob(job.file, job.ticket, job.create_time, file 332 cloud_print/service/win/cloud_print_service.cc base::FilePath file = user_data_dir.Append(chrome::kServiceStateFileName); file 337 cloud_print/service/win/cloud_print_service.cc bool is_valid = base::ReadFileToString(file, &contents) && file 341 cloud_print/service/win/cloud_print_service.cc LOG(INFO) << file.value() << ": " << contents; file 354 cloud_print/service/win/cloud_print_service.cc size_t written = base::WriteFile(file, new_contents.c_str(), file 375 cloud_print/service/win/cloud_print_service_config.cc base::FilePath file = setup.user_data_dir(); file 376 cloud_print/service/win/cloud_print_service_config.cc file = file.Append(chrome::kServiceStateFileName); file 381 cloud_print/service/win/cloud_print_service_config.cc if (base::ReadFileToString(file, &contents)) { file 392 cloud_print/service/win/cloud_print_service_config.cc size_t written = base::WriteFile(file, contents.c_str(), file 54 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc PortData() : job_id(0), printer_handle(NULL), file(0) { file 64 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (file) { file 65 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::CloseFile(file); file 66 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc file = NULL; file 71 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc FILE* file; file 431 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc port_data->file = base::OpenFile(file_path, "wb+"); file 432 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (port_data->file == NULL) { file 449 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc static_cast<DWORD>(fwrite(buffer, 1, buffer_size, port_data->file)); file 475 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (port_data->file != NULL) { file 476 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::CloseFile(port_data->file); file 477 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc port_data->file = NULL; file 17 components/autofill/core/browser/data_driven_test.cc bool ReadFile(const base::FilePath& file, std::string* content) { file 18 components/autofill/core/browser/data_driven_test.cc if (!base::ReadFileToString(file, content)) file 26 components/autofill/core/browser/data_driven_test.cc bool WriteFile(const base::FilePath& file, const std::string& content) { file 27 components/autofill/core/browser/data_driven_test.cc int write_size = base::WriteFile(file, content.c_str(), file 53 components/breakpad/tools/crash_service.cc std::wofstream file(file_path.c_str(), file 55 components/breakpad/tools/crash_service.cc if (!file.is_open()) file 64 components/breakpad/tools/crash_service.cc file.write(line.c_str(), static_cast<std::streamsize>(line.length())); file 124 components/nacl/browser/nacl_browser.cc base::File file(file_path, file 128 components/nacl/browser/nacl_browser.cc if (!file.IsValid()) file 129 components/nacl/browser/nacl_browser.cc return file.Pass(); file 135 components/nacl/browser/nacl_browser.cc if (!file.GetInfo(&file_info) || file_info.is_directory) file 138 components/nacl/browser/nacl_browser.cc return file.Pass(); file 261 components/nacl/browser/nacl_browser.cc base::PassPlatformFile file, file 267 components/nacl/browser/nacl_browser.cc irt_platform_file_ = file.ReleaseValue(); file 142 components/nacl/browser/nacl_browser.h base::PassPlatformFile file, bool created); file 89 components/nacl/browser/nacl_file_host.cc base::File file, file 101 components/nacl/browser/nacl_file_host.cc file.Pass(), file 125 components/nacl/browser/nacl_file_host.cc base::File file = nacl::OpenNaClExecutableImpl(file_path); file 126 components/nacl/browser/nacl_file_host.cc if (file.IsValid()) { file 134 components/nacl/browser/nacl_file_host.cc Passed(file.Pass()), file_path, reply_msg)); file 112 components/nacl/browser/nacl_host_message_filter.cc base::File file) { file 113 components/nacl/browser/nacl_host_message_filter.cc if (file.IsValid()) { file 116 components/nacl/browser/nacl_host_message_filter.cc IPC::TakeFileHandleForProcess(file.Pass(), PeerHandle())); file 66 components/nacl/browser/nacl_host_message_filter.h base::File file); file 951 components/nacl/browser/nacl_process_host.cc base::File file) { file 952 components/nacl/browser/nacl_process_host.cc if (file.IsValid()) { file 954 components/nacl/browser/nacl_process_host.cc file.Pass(), file 156 components/nacl/browser/nacl_process_host.h base::File file); file 29 components/nacl/browser/pnacl_host.cc void CloseBaseFile(base::File file) { file 31 components/nacl/browser/pnacl_host.cc file.Close(); file 151 components/nacl/browser/pnacl_host.cc base::File file; file 158 components/nacl/browser/pnacl_host.cc file.Initialize( file 164 components/nacl/browser/pnacl_host.cc if (!file.IsValid()) file 165 components/nacl/browser/pnacl_host.cc PLOG(ERROR) << "Temp file open failed: " << file.error_details(); file 168 components/nacl/browser/pnacl_host.cc BrowserThread::IO, FROM_HERE, base::Bind(cb, Passed(file.Pass()))); file 283 components/nacl/browser/pnacl_host.cc base::File file) { file 291 components/nacl/browser/pnacl_host.cc FROM_HERE, base::Bind(CloseBaseFile, Passed(file.Pass()))); file 294 components/nacl/browser/pnacl_host.cc if (!file.IsValid()) { file 309 components/nacl/browser/pnacl_host.cc pt->nexe_fd = file.TakePlatformFile(); file 146 components/nacl/browser/pnacl_host.h void OnTempFileReturn(const TranslationID& id, base::File file); file 130 components/nacl/renderer/pnacl_translation_resource_host.cc IPC::PlatformFileForTransit file) { file 136 components/nacl/renderer/pnacl_translation_resource_host.cc !(file == IPC::InvalidPlatformFileForTransit()) && file 139 components/nacl/renderer/pnacl_translation_resource_host.cc *it->second.file_handle = IPC::PlatformFileForTransitToPlatformFile(file); file 150 components/nacl/renderer/pnacl_translation_resource_host.cc if (file == IPC::InvalidPlatformFileForTransit()) { file 153 components/nacl/renderer/pnacl_translation_resource_host.cc base::ClosePlatformFile(IPC::PlatformFileForTransitToPlatformFile(file)); file 73 components/nacl/renderer/pnacl_translation_resource_host.h IPC::PlatformFileForTransit file); file 275 components/storage_monitor/storage_monitor_linux_unittest.cc FILE* file = setmntent(mtab_file_.value().c_str(), overwrite ? "w" : "a"); file 276 components/storage_monitor/storage_monitor_linux_unittest.cc ASSERT_TRUE(file); file 296 components/storage_monitor/storage_monitor_linux_unittest.cc ASSERT_EQ(0, addmntent(file, &entry)); file 298 components/storage_monitor/storage_monitor_linux_unittest.cc ASSERT_EQ(1, endmntent(file)); file 68 components/visitedlink/browser/visitedlink_master.cc void AsyncOpen(FILE** file, const base::FilePath& filename) { file 69 components/visitedlink/browser/visitedlink_master.cc *file = base::OpenFile(filename, "wb+"); file 70 components/visitedlink/browser/visitedlink_master.cc DLOG_IF(ERROR, !(*file)) << "Failed to open file " << filename.value(); file 74 components/visitedlink/browser/visitedlink_master.cc static bool WriteToFile(FILE* file, file 78 components/visitedlink/browser/visitedlink_master.cc if (fseek(file, offset, SEEK_SET) != 0) file 81 components/visitedlink/browser/visitedlink_master.cc size_t num_written = fwrite(data, 1, data_len, file); file 87 components/visitedlink/browser/visitedlink_master.cc int ret = fflush(file); file 96 components/visitedlink/browser/visitedlink_master.cc void AsyncWrite(FILE** file, int32 offset, const std::string& data) { file 97 components/visitedlink/browser/visitedlink_master.cc if (*file) file 98 components/visitedlink/browser/visitedlink_master.cc WriteToFile(*file, offset, data.data(), data.size()); file 104 components/visitedlink/browser/visitedlink_master.cc void AsyncTruncate(FILE** file) { file 105 components/visitedlink/browser/visitedlink_master.cc if (*file) file 106 components/visitedlink/browser/visitedlink_master.cc base::IgnoreResult(base::TruncateFile(*file)); file 112 components/visitedlink/browser/visitedlink_master.cc void AsyncClose(FILE** file) { file 113 components/visitedlink/browser/visitedlink_master.cc if (*file) file 114 components/visitedlink/browser/visitedlink_master.cc base::IgnoreResult(fclose(*file)); file 115 components/visitedlink/browser/visitedlink_master.cc free(file); file 600 components/visitedlink/browser/visitedlink_master.cc bool VisitedLinkMaster::ReadFileHeader(FILE* file, file 610 components/visitedlink/browser/visitedlink_master.cc if (fseek(file, 0, SEEK_END) == -1) file 612 components/visitedlink/browser/visitedlink_master.cc size_t file_size = ftell(file); file 618 components/visitedlink/browser/visitedlink_master.cc if (!ReadFromFile(file, 0, &header, kFileHeaderSize)) file 887 components/visitedlink/browser/visitedlink_master.cc void VisitedLinkMaster::WriteToFile(FILE** file, file 896 components/visitedlink/browser/visitedlink_master.cc base::Bind(&AsyncWrite, file, offset, file 929 components/visitedlink/browser/visitedlink_master.cc bool VisitedLinkMaster::ReadFromFile(FILE* file, file 940 components/visitedlink/browser/visitedlink_master.cc if (fseek(file, offset, SEEK_SET) != 0) file 943 components/visitedlink/browser/visitedlink_master.cc size_t num_read = fread(data, 1, data_size, file); file 224 components/webdata/common/web_database_migration_unittest.cc bool GetWebDatabaseData(const base::FilePath& file, std::string* contents) { file 231 components/webdata/common/web_database_migration_unittest.cc source_path = source_path.Append(file); file 252 components/webdata/common/web_database_migration_unittest.cc void LoadDatabase(const base::FilePath::StringType& file); file 263 components/webdata/common/web_database_migration_unittest.cc const base::FilePath::StringType& file) { file 265 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(GetWebDatabaseData(base::FilePath(file), &contents)); file 22 content/app/startup_helper_win.cc const wchar_t* file, unsigned int line, file 102 content/browser/child_process_security_policy_impl.cc void GrantPermissionsForFile(const base::FilePath& file, int permissions) { file 103 content/browser/child_process_security_policy_impl.cc base::FilePath stripped = file.StripTrailingSeparators(); file 110 content/browser/child_process_security_policy_impl.cc void GrantRequestOfSpecificFile(const base::FilePath &file) { file 111 content/browser/child_process_security_policy_impl.cc request_file_set_.insert(file.StripTrailingSeparators()); file 115 content/browser/child_process_security_policy_impl.cc void RevokeAllPermissionsForFile(const base::FilePath& file) { file 116 content/browser/child_process_security_policy_impl.cc base::FilePath stripped = file.StripTrailingSeparators(); file 140 content/browser/child_process_security_policy_impl.cc bool HasPermissionsForContentUri(const base::FilePath& file, file 142 content/browser/child_process_security_policy_impl.cc DCHECK(!file.empty()); file 143 content/browser/child_process_security_policy_impl.cc DCHECK(file.IsContentUri()); file 146 content/browser/child_process_security_policy_impl.cc base::FilePath file_path = file.StripTrailingSeparators(); file 189 content/browser/child_process_security_policy_impl.cc bool HasPermissionsForFile(const base::FilePath& file, int permissions) { file 191 content/browser/child_process_security_policy_impl.cc if (file.IsContentUri()) file 192 content/browser/child_process_security_policy_impl.cc return HasPermissionsForContentUri(file, permissions); file 194 content/browser/child_process_security_policy_impl.cc if (!permissions || file.empty() || !file.IsAbsolute()) file 196 content/browser/child_process_security_policy_impl.cc base::FilePath current_path = file.StripTrailingSeparators(); file 455 content/browser/child_process_security_policy_impl.cc const base::FilePath& file) { file 456 content/browser/child_process_security_policy_impl.cc GrantPermissionsForFile(child_id, file, READ_FILE_GRANT); file 460 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& file) { file 461 content/browser/child_process_security_policy_impl.cc GrantPermissionsForFile(child_id, file, CREATE_READ_WRITE_FILE_GRANT); file 475 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& file, int permissions) { file 482 content/browser/child_process_security_policy_impl.cc state->second->GrantPermissionsForFile(file, permissions); file 486 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& file) { file 493 content/browser/child_process_security_policy_impl.cc state->second->RevokeAllPermissionsForFile(file); file 649 content/browser/child_process_security_policy_impl.cc const base::FilePath& file) { file 650 content/browser/child_process_security_policy_impl.cc return HasPermissionsForFile(child_id, file, READ_FILE_GRANT); file 655 content/browser/child_process_security_policy_impl.cc const base::FilePath& file) { file 656 content/browser/child_process_security_policy_impl.cc return HasPermissionsForFile(child_id, file, CREATE_READ_WRITE_FILE_GRANT); file 683 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& file, int permissions) { file 685 content/browser/child_process_security_policy_impl.cc bool result = ChildProcessHasPermissionsForFile(child_id, file, permissions); file 692 content/browser/child_process_security_policy_impl.cc file, file 807 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& file, int permissions) { file 811 content/browser/child_process_security_policy_impl.cc return state->second->HasPermissionsForFile(file, permissions); file 45 content/browser/child_process_security_policy_impl.h virtual void GrantReadFile(int child_id, const base::FilePath& file) OVERRIDE; file 47 content/browser/child_process_security_policy_impl.h const base::FilePath& file) OVERRIDE; file 70 content/browser/child_process_security_policy_impl.h virtual bool CanReadFile(int child_id, const base::FilePath& file) OVERRIDE; file 72 content/browser/child_process_security_policy_impl.h const base::FilePath& file) OVERRIDE; file 118 content/browser/child_process_security_policy_impl.h void RevokeAllPermissionsForFile(int child_id, const base::FilePath& file); file 216 content/browser/child_process_security_policy_impl.h const base::FilePath& file, file 222 content/browser/child_process_security_policy_impl.h const base::FilePath& file, file 238 content/browser/child_process_security_policy_impl.h const base::FilePath& file, file 87 content/browser/child_process_security_policy_unittest.cc const base::FilePath& file, file 89 content/browser/child_process_security_policy_unittest.cc p->GrantPermissionsForFile(child_id, file, permissions); file 101 content/browser/child_process_security_policy_unittest.cc const base::FilePath& file, file 103 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanReadFile(kRendererID, file)); file 104 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanCreateReadWriteFile(kRendererID, file)); file 392 content/browser/child_process_security_policy_unittest.cc base::FilePath file(TEST_PATH("/dir/testfile")); file 393 content/browser/child_process_security_policy_unittest.cc file = file.NormalizePathSeparators(); file 395 content/browser/child_process_security_policy_unittest.cc GURL("http://foo/"), fileapi::kFileSystemTypeTest, file); file 398 content/browser/child_process_security_policy_unittest.cc CheckHasNoFileSystemFilePermission(p, file, url); file 401 content/browser/child_process_security_policy_unittest.cc p->GrantReadFile(kRendererID, file); file 402 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanReadFile(kRendererID, file)); file 403 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanCreateReadWriteFile(kRendererID, file)); file 410 content/browser/child_process_security_policy_unittest.cc p->RevokeAllPermissionsForFile(kRendererID, file); file 411 content/browser/child_process_security_policy_unittest.cc CheckHasNoFileSystemFilePermission(p, file, url); file 413 content/browser/child_process_security_policy_unittest.cc p->GrantCreateReadWriteFile(kRendererID, file); file 414 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanReadFile(kRendererID, file)); file 415 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanCreateReadWriteFile(kRendererID, file)); file 422 content/browser/child_process_security_policy_unittest.cc p->RevokeAllPermissionsForFile(kRendererID, file); file 423 content/browser/child_process_security_policy_unittest.cc CheckHasNoFileSystemFilePermission(p, file, url); file 426 content/browser/child_process_security_policy_unittest.cc p->GrantCreateReadWriteFile(kRendererID, file); file 427 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanReadFile(kRendererID, file)); file 428 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanCreateReadWriteFile(kRendererID, file)); file 436 content/browser/child_process_security_policy_unittest.cc CheckHasNoFileSystemFilePermission(p, file, url); file 440 content/browser/child_process_security_policy_unittest.cc CheckHasNoFileSystemFilePermission(p, file, url); file 619 content/browser/child_process_security_policy_unittest.cc base::FilePath file(TEST_PATH("/etc/passwd")); file 624 content/browser/child_process_security_policy_unittest.cc p->GrantReadFile(kRendererID, file); file 628 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanReadFile(kRendererID, file)); file 639 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanReadFile(kRendererID, file)); file 280 content/browser/devtools/renderer_overrides_handler.cc base::FilePath::StringType file; file 281 content/browser/devtools/renderer_overrides_handler.cc if (!file_list->GetString(i, &file)) file 284 content/browser/devtools/renderer_overrides_handler.cc host->GetProcess()->GetID(), base::FilePath(file)); file 34 content/browser/download/base_file.cc base::File file, file 39 content/browser/download/base_file.cc file_(file.Pass()), file 42 content/browser/download/base_file.h base::File file, file 142 content/browser/download/base_file_unittest.cc BaseFile file(base::FilePath(), file 152 content/browser/download/base_file_unittest.cc file.Initialize(temp_dir_.path())); file 153 content/browser/download/base_file_unittest.cc file_name = file.full_path(); file 157 content/browser/download/base_file_unittest.cc file.AppendDataToFile(kTestData4, kTestDataLength4)); file 160 content/browser/download/base_file_unittest.cc file.Detach(); file 486 content/browser/download/base_file_unittest.cc base::File file(path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); file 493 content/browser/download/base_file_unittest.cc file.Pass(), file 748 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); file 749 content/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 820 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); file 821 content/browser/download/download_browsertest.cc NavigateToURL(shell(), URLRequestMockHTTPJob::GetMockUrl(file)); file 869 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); file 870 content/browser/download/download_browsertest.cc NavigateToURL(shell(), URLRequestMockHTTPJob::GetMockUrl(file)); file 979 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); file 980 content/browser/download/download_browsertest.cc NavigateToURL(shell(), URLRequestMockHTTPJob::GetMockUrl(file)); file 1286 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); file 1287 content/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1337 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); file 1338 content/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 1389 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); file 1390 content/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(file)); file 47 content/browser/download/download_file_impl.cc save_info->file.Pass(), file 1117 content/browser/download/download_item_impl.cc scoped_ptr<DownloadFile> file, file 1121 content/browser/download/download_item_impl.cc DCHECK(file.get()); file 1124 content/browser/download/download_item_impl.cc download_file_ = file.Pass(); file 121 content/browser/download/download_manager_impl.cc save_info->file = params->GetFile(); file 56 content/browser/download/drag_download_file.cc void InitiateDownload(base::File file, file 70 content/browser/download/drag_download_file.cc params->set_file(file.Pass()); // Nulls file. file 153 content/browser/download/drag_download_file.cc base::File file, file 159 content/browser/download/drag_download_file.cc file_(file.Pass()), file 38 content/browser/download/drag_download_file.h base::File file, file 97 content/browser/download/drag_download_file_browsertest.cc scoped_refptr<DragDownloadFile> file( file 106 content/browser/download/drag_download_file_browsertest.cc file->Start(observer.get()); file 118 content/browser/download/drag_download_file_browsertest.cc scoped_refptr<DragDownloadFile> file(new DragDownloadFile( file 127 content/browser/download/drag_download_file_browsertest.cc file->Start(observer.get()); file 78 content/browser/download/drag_download_util.cc base::File file( file 80 content/browser/download/drag_download_util.cc if (file.IsValid()) { file 82 content/browser/download/drag_download_util.cc return file.Pass(); file 30 content/browser/download/file_metadata_linux.cc void AddOriginMetadataToFile(const base::FilePath& file, const GURL& source, file 32 content/browser/download/file_metadata_linux.cc DCHECK(base::PathIsWritable(file)); file 34 content/browser/download/file_metadata_linux.cc SetExtendedFileAttribute(file.value().c_str(), kSourceURLAttrName, file 38 content/browser/download/file_metadata_linux.cc SetExtendedFileAttribute(file.value().c_str(), kReferrerURLAttrName, file 28 content/browser/download/file_metadata_linux.h CONTENT_EXPORT void AddOriginMetadataToFile(const base::FilePath& file, file 19 content/browser/download/file_metadata_mac.h void AddOriginMetadataToFile(const base::FilePath& file, const GURL& source, file 26 content/browser/download/file_metadata_mac.h void AddQuarantineMetadataToFile(const base::FilePath& file, const GURL& source, file 27 content/browser/download/mhtml_generation_manager.cc void set_browser_file(base::File file) { browser_file_ = file.Pass(); } file 102 content/browser/download/mhtml_generation_manager.cc const base::FilePath& file, file 112 content/browser/download/mhtml_generation_manager.cc job_id, file, renderer_process)); file 213 content/browser/download/mhtml_generation_manager.cc void MHTMLGenerationManager::CloseFile(base::File file) { file 215 content/browser/download/mhtml_generation_manager.cc file.Close(); file 33 content/browser/download/mhtml_generation_manager.h const base::FilePath& file, file 39 content/browser/download/mhtml_generation_manager.h base::File file, file 56 content/browser/download/mhtml_generation_manager.h const base::FilePath& file, file 67 content/browser/download/mhtml_generation_manager.h void CloseFile(base::File file); file 770 content/browser/fileapi/file_system_operation_impl_unittest.cc FileSystemURL file(CreateFile("file")); file 771 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->CreateFile(file, true, RecordStatusCallback()); file 779 content/browser/fileapi/file_system_operation_impl_unittest.cc FileSystemURL file(CreateFile("file")); file 780 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->CreateFile(file, false, RecordStatusCallback()); file 831 content/browser/fileapi/file_system_operation_impl_unittest.cc FileSystemURL file(CreateFile("file")); file 832 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->CreateDirectory(file, true, false, file 888 content/browser/fileapi/file_system_operation_impl_unittest.cc FileSystemURL file(CreateFile("dir/file")); file 902 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->FileExists(file, RecordStatusCallback()); file 907 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->GetMetadata(file, RecordMetadataCallback()); file 924 content/browser/fileapi/file_system_operation_impl_unittest.cc FileSystemURL file(CreateFile("file")); file 925 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->DirectoryExists(file, RecordStatusCallback()); file 938 content/browser/fileapi/file_system_operation_impl_unittest.cc FileSystemURL file(CreateFile("file")); file 939 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->ReadDirectory(file, RecordReadDirectoryCallback()); file 1034 content/browser/fileapi/file_system_operation_impl_unittest.cc FileSystemURL file(CreateFile("file")); file 1043 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->GetMetadata(file, RecordMetadataCallback()); file 1051 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->Truncate(file, length, RecordStatusCallback()); file 1072 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->Truncate(file, length, RecordStatusCallback()); file 1092 content/browser/fileapi/file_system_operation_impl_unittest.cc FileSystemURL file(CreateFile("dir/file")); file 1097 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->Truncate(file, 10, RecordStatusCallback()); file 1105 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->Truncate(file, 11, RecordStatusCallback()); file 1114 content/browser/fileapi/file_system_operation_impl_unittest.cc FileSystemURL file(CreateFile("file")); file 1130 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->TouchFile(file, new_accessed_time, new_modified_time, file 1149 content/browser/fileapi/file_system_operation_impl_unittest.cc FileSystemURL file(CreateFile("dir/file")); file 1150 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->FileExists(file, RecordStatusCallback()); file 1158 content/browser/fileapi/file_system_operation_impl_unittest.cc operation_runner()->CreateSnapshotFile(file, RecordSnapshotFileCallback()); file 344 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File file(data_path, file 346 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_TRUE(file.IsValid()); file 347 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_FALSE(file.created()); file 348 content/browser/fileapi/obfuscated_file_util_unittest.cc file_handle = file.TakePlatformFile(); file 558 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File file(src_file_path, file 560 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_TRUE(file.IsValid()); file 561 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(file.created()); file 562 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_TRUE(file.SetLength(src_file_length)); file 563 content/browser/fileapi/obfuscated_file_util_unittest.cc file.Close(); file 1723 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PlatformFile file; file 1788 content/browser/fileapi/obfuscated_file_util_unittest.cc &file, &created)); file 1791 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File base_file(file); file 2307 content/browser/fileapi/obfuscated_file_util_unittest.cc FileSystemURL file(CreateURLFromUTF8("file")); file 2314 content/browser/fileapi/obfuscated_file_util_unittest.cc AllowUsageIncrease(PathCost(file))->context(), file 2315 content/browser/fileapi/obfuscated_file_util_unittest.cc file, &created)); file 2342 content/browser/fileapi/obfuscated_file_util_unittest.cc file, 340)); file 2359 content/browser/fileapi/obfuscated_file_util_unittest.cc AllowUsageIncrease(-PathCost(file) - 340)->context(), file 2360 content/browser/fileapi/obfuscated_file_util_unittest.cc file)); file 2370 content/browser/fileapi/obfuscated_file_util_unittest.cc FileSystemURL file(CreateURLFromUTF8("file")); file 2377 content/browser/fileapi/obfuscated_file_util_unittest.cc AllowUsageIncrease(PathCost(file))->context(), file 2378 content/browser/fileapi/obfuscated_file_util_unittest.cc file, &created)); file 2385 content/browser/fileapi/obfuscated_file_util_unittest.cc AllowUsageIncrease(0)->context(), file, file 2394 content/browser/fileapi/obfuscated_file_util_unittest.cc AllowUsageIncrease(length)->context(), file, length)); file 2400 content/browser/fileapi/obfuscated_file_util_unittest.cc AllowUsageIncrease(-length)->context(), file, file 2409 content/browser/fileapi/obfuscated_file_util_unittest.cc AllowUsageIncrease(length)->context(), file, length)); file 2415 content/browser/fileapi/obfuscated_file_util_unittest.cc AllowUsageIncrease(-length)->context(), file, file 2443 content/browser/fileapi/obfuscated_file_util_unittest.cc FileSystemURL file(CreateURLFromUTF8("file")); file 2448 content/browser/fileapi/obfuscated_file_util_unittest.cc ofu()->EnsureFileExists(UnlimitedContext().get(), file, &created)); file 2471 content/browser/fileapi/obfuscated_file_util_unittest.cc FileSystemURL file(CreateURLFromUTF8("file")); file 2478 content/browser/fileapi/obfuscated_file_util_unittest.cc ofu()->EnsureFileExists(UnlimitedContext().get(), file, &created)); file 101 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc FileSystemURL file = CreateURL(root_url, "foo"); file 104 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc AsyncFileTestHelper::CreateFile(context_.get(), file)); file 106 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc AsyncFileTestHelper::GetPlatformPath(context_.get(), file, file 583 content/browser/indexed_db/indexed_db_backing_store.cc base::PlatformFile file = base::CreatePlatformFile( file 589 content/browser/indexed_db/indexed_db_backing_store.cc if (file) { file 591 content/browser/indexed_db/indexed_db_backing_store.cc if (file_size == base::ReadPlatformFile(file, 0, &bytes[0], file_size)) { file 601 content/browser/indexed_db/indexed_db_backing_store.cc base::ClosePlatformFile(file); file 625 content/browser/indexed_db/indexed_db_backing_store.cc base::PlatformFile file = base::CreatePlatformFile( file 630 content/browser/indexed_db/indexed_db_backing_store.cc if (!file) file 633 content/browser/indexed_db/indexed_db_backing_store.cc base::WritePlatformFile(file, 0, output_js.c_str(), output_js.length()); file 634 content/browser/indexed_db/indexed_db_backing_store.cc base::ClosePlatformFile(file); file 66 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_WRITE); file 67 content/browser/indexed_db/leveldb/leveldb_unittest.cc file.SetLength(0); file 68 content/browser/indexed_db/leveldb/leveldb_unittest.cc file.Close(); file 246 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::FilePath file = temp_directory.path().AppendASCII("LOCK"); file 248 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb::Status status = env->LockFile(file.AsUTF8Unsafe(), &lock); file 254 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = env->LockFile(file.AsUTF8Unsafe(), &lock); file 258 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = env->LockFile(file.AsUTF8Unsafe(), &lock2); file 55 content/browser/loader/resource_dispatcher_host_browsertest.cc GURL GetMockURL(const std::string& file) { file 57 content/browser/loader/resource_dispatcher_host_browsertest.cc base::FilePath().AppendASCII(file)); file 574 content/browser/loader/resource_dispatcher_host_unittest.cc scoped_refptr<ShareableFileReference> file = file 576 content/browser/loader/resource_dispatcher_host_unittest.cc file->AddFinalReleaseCallback( file 436 content/browser/loader/resource_loader_unittest.cc base::File file(temp_path_, flags); file 437 content/browser/loader/resource_loader_unittest.cc CHECK(file.IsValid()); file 441 content/browser/loader/resource_loader_unittest.cc new net::testing::MockFileStream(file.Pass(), NULL, file 122 content/browser/renderer_host/database_message_filter.cc base::File file; file 133 content/browser/renderer_host/database_message_filter.cc file = VfsBackend::OpenTempFileInDirectory(db_tracker_->DatabaseDirectory(), file 145 content/browser/renderer_host/database_message_filter.cc file = file 149 content/browser/renderer_host/database_message_filter.cc file_handle = file.TakePlatformFile(); file 154 content/browser/renderer_host/database_message_filter.cc file = VfsBackend::OpenFile(db_file, desired_flags); file 163 content/browser/renderer_host/database_message_filter.cc if (file.IsValid()) { file 164 content/browser/renderer_host/database_message_filter.cc target_handle = IPC::TakeFileHandleForProcess(file.Pass(), PeerHandle()); file 231 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::PlatformFile file, file 244 content/browser/renderer_host/pepper/pepper_file_io_host.cc file)); file 250 content/browser/renderer_host/pepper/pepper_file_io_host.cc reply_context, result, base::PassPlatformFile(&file), true); file 358 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::PlatformFile file, file 363 content/browser/renderer_host/pepper/pepper_file_io_host.cc reply_context, base::File::FILE_OK, base::PassPlatformFile(&file), file 422 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::PassPlatformFile file, file 426 content/browser/renderer_host/pepper/pepper_file_io_host.cc file_ = file.ReleaseValue(); file 84 content/browser/renderer_host/pepper/pepper_file_io_host.h base::PassPlatformFile file, file 94 content/browser/renderer_host/pepper/pepper_file_io_host.h base::PlatformFile file, file 103 content/browser/renderer_host/pepper/pepper_file_io_host.h base::PlatformFile file, file 127 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File file(full_path, platform_file_flags); file 128 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc if (!file.IsValid()) { file 129 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc return ppapi::FileErrorToPepperError(file.error_details()); file 135 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc if (!file.GetInfo(&info) || info.is_directory) { file 142 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc IPC::TakeFileHandleForProcess(file.Pass(), plugin_process_handle_); file 264 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File file(file_path, file 269 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc if (!file.IsValid()) file 270 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc return ppapi::FileErrorToPepperError(file.error_details()); file 273 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc IPC::TakeFileHandleForProcess(file.Pass(), plugin_process_handle_); file 24 content/browser/renderer_host/pepper/pepper_security_helper.cc const FileID& file) { file 35 content/browser/renderer_host/pepper/pepper_security_helper.cc if (pp_read && !(policy->*can_read)(child_id, file)) file 38 content/browser/renderer_host/pepper/pepper_security_helper.cc if (pp_write && !(policy->*can_write)(child_id, file)) file 42 content/browser/renderer_host/pepper/pepper_security_helper.cc if (pp_append && !(policy->*can_create_read_write)(child_id, file)) file 50 content/browser/renderer_host/pepper/pepper_security_helper.cc return (policy->*can_create)(child_id, file); file 53 content/browser/renderer_host/pepper/pepper_security_helper.cc return (policy->*can_create_read_write)(child_id, file); file 56 content/browser/renderer_host/pepper/pepper_security_helper.cc return (policy->*can_create_read_write)(child_id, file); file 65 content/browser/renderer_host/pepper/pepper_security_helper.cc const base::FilePath& file) { file 71 content/browser/renderer_host/pepper/pepper_security_helper.cc pp_open_flags, child_id, file); file 18 content/browser/renderer_host/pepper/pepper_security_helper.h const base::FilePath& file); file 107 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::File file(MakeFilePath(file_name), file 109 content/browser/renderer_host/pepper/quota_reservation_unittest.cc ASSERT_TRUE(file.IsValid()); file 110 content/browser/renderer_host/pepper/quota_reservation_unittest.cc ASSERT_TRUE(file.SetLength(size)); file 1573 content/browser/renderer_host/render_process_host_impl.cc void RenderProcessHostImpl::EnableAecDump(const base::FilePath& file) { file 1577 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&CreateAecDumpFileForProcess, file, GetHandle()), file 133 content/browser/renderer_host/render_process_host_impl.h virtual void EnableAecDump(const base::FilePath& file) OVERRIDE; file 981 content/browser/renderer_host/render_view_host_impl.cc const ui::SelectedFileInfo& file = files[i]; file 984 content/browser/renderer_host/render_view_host_impl.cc GetProcess()->GetID(), file.local_path); file 987 content/browser/renderer_host/render_view_host_impl.cc GetProcess()->GetID(), file.local_path); file 997 content/browser/renderer_host/render_view_host_impl.cc for (std::vector<base::FilePath>::const_iterator file = files.begin(); file 998 content/browser/renderer_host/render_view_host_impl.cc file != files.end(); ++file) { file 1000 content/browser/renderer_host/render_view_host_impl.cc GetProcess()->GetID(), *file); file 1847 content/browser/renderer_host/render_view_host_impl.cc for (std::vector<base::FilePath>::const_iterator file = file_paths.begin(); file 1848 content/browser/renderer_host/render_view_host_impl.cc file != file_paths.end(); ++file) { file 1849 content/browser/renderer_host/render_view_host_impl.cc if (!policy->CanReadFile(GetProcess()->GetID(), *file)) file 31 content/browser/safe_util_win.cc HANDLE file = CreateFile(path.c_str(), GENERIC_WRITE, kShare, NULL, file 33 content/browser/safe_util_win.cc if (INVALID_HANDLE_VALUE == file) file 40 content/browser/safe_util_win.cc BOOL result = WriteFile(file, kIdentifier, kIdentifierSize, &written, NULL); file 41 content/browser/safe_util_win.cc BOOL flush_result = FlushFileBuffers(file); file 42 content/browser/safe_util_win.cc CloseHandle(file); file 95 content/browser/session_history_browsertest.cc GURL GetURL(const std::string file) { file 97 content/browser/session_history_browsertest.cc std::string("/session_history/") + file); file 1887 content/browser/web_contents/web_contents_impl.cc const base::FilePath& file, file 1889 content/browser/web_contents/web_contents_impl.cc MHTMLGenerationManager::GetInstance()->SaveMHTML(this, file, callback); file 254 content/browser/web_contents/web_contents_impl.h const base::FilePath& file, file 222 content/browser/web_contents/web_drag_source_gtk.cc base::File file(CreateFileForDrop(&file_path)); file 223 content/browser/web_contents/web_drag_source_gtk.cc if (file.IsValid()) { file 228 content/browser/web_contents/web_drag_source_gtk.cc file.Pass(), file 120 content/child/fileapi/file_system_dispatcher.cc void DidOpenFile(base::PlatformFile file, file 123 content/child/fileapi/file_system_dispatcher.cc open_callback_.Run(file, file_open_id, quota_policy); file 416 content/child/fileapi/file_system_dispatcher.cc IPC::PlatformFileForTransit file, file 421 content/child/fileapi/file_system_dispatcher.cc dispatcher->DidOpenFile(IPC::PlatformFileForTransitToPlatformFile(file), file 59 content/child/fileapi/file_system_dispatcher.h base::PlatformFile file, file 152 content/child/fileapi/file_system_dispatcher.h IPC::PlatformFileForTransit file, file 424 content/child/npapi/plugin_host.cc NPBool file, file 438 content/child/npapi/plugin_host.cc if (file) { file 509 content/child/npapi/plugin_host.cc NPBool file, file 511 content/child/npapi/plugin_host.cc return PostURLNotify(id, url, target, len, buf, file, true, notify_data); file 519 content/child/npapi/plugin_host.cc NPBool file) { file 541 content/child/npapi/plugin_host.cc return PostURLNotify(id, url, target, len, buf, file, false, 0); file 1144 content/common/gpu/media/video_decode_accelerator_unittest.cc base::File file(base::FilePath(log_path), file 1146 content/common/gpu/media/video_decode_accelerator_unittest.cc file.WriteAtCurrentPos(content.data(), content.length()); file 28 content/common/mojo/mojo_channel_init.cc base::PlatformFile file, file 34 content/common/mojo/mojo_channel_init.cc mojo::embedder::PlatformHandle(file)), file 35 content/common/mojo/mojo_channel_init.h void Init(base::PlatformFile file, file 29 content/gpu/gpu_child_thread.cc const char* file, int line, file 71 content/gpu/gpu_main.cc const char* file, int line, file 98 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java File file = new File(uri.getPath()); file 99 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java String path = file.getAbsolutePath(); file 100 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java if (file.exists() && (path.startsWith("/mnt/sdcard/") || file 75 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java for (String file : filenames) { file 76 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java if (!new File(mOutputDir, file).exists()) { file 110 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java for (String file : files) { file 111 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java if (!paksToInstall.matcher(file).matches()) { file 114 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java boolean isICUData = file.equals(ICU_DATA_FILENAME); file 115 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java File output = new File(isICUData ? mAppDataDir : mOutputDir, file); file 123 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java is = manager.open(file); file 125 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java Log.i(LOGTAG, "Extracting resource " + file); file 138 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java throw new IOException(file + " extracted with 0 length!"); file 142 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java filenames.add(file); file 339 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java for (File file : files) { file 340 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java if (!file.delete()) { file 341 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java Log.e(LOGTAG, "Unable to remove existing resource " + file.getName()); file 139 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java File file = new File( file 142 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java return startTracing(file.getPath(), showToasts, categories, recordContinuously); file 41 content/public/android/javatests/src/org/chromium/content/browser/TracingControllerAndroidTest.java File file = new File(tracingController.getOutputPath()); file 42 content/public/android/javatests/src/org/chromium/content/browser/TracingControllerAndroidTest.java assertTrue(file.getName().startsWith("chrome-profile-results")); file 62 content/public/android/javatests/src/org/chromium/content/browser/TracingControllerAndroidTest.java assertTrue(file.exists()); file 63 content/public/android/javatests/src/org/chromium/content/browser/TracingControllerAndroidTest.java assertTrue(file.delete()); file 47 content/public/browser/child_process_security_policy.h virtual void GrantReadFile(int child_id, const base::FilePath& file) = 0; file 52 content/public/browser/child_process_security_policy.h const base::FilePath& file) = 0; file 66 content/public/browser/child_process_security_policy.h virtual bool CanReadFile(int child_id, const base::FilePath& file) = 0; file 68 content/public/browser/child_process_security_policy.h const base::FilePath& file) = 0; file 32 content/public/browser/download_save_info.h base::File file; file 101 content/public/browser/download_url_parameters.h void set_file(base::File file) { file 102 content/public/browser/download_url_parameters.h save_info_.file = file.Pass(); file 140 content/public/browser/download_url_parameters.h base::File GetFile() { return save_info_.file.Pass(); } file 217 content/public/browser/render_process_host.h virtual void EnableAecDump(const base::FilePath& file) = 0; file 380 content/public/browser/web_contents.h const base::FilePath& file, file 24 content/public/test/content_browser_test_utils.cc base::FilePath GetTestFilePath(const char* dir, const char* file) { file 28 content/public/test/content_browser_test_utils.cc base::FilePath().AppendASCII(file))); file 31 content/public/test/content_browser_test_utils.cc GURL GetTestUrl(const char* dir, const char* file) { file 32 content/public/test/content_browser_test_utils.cc return net::FilePathToFileURL(GetTestFilePath(dir, file)); file 34 content/public/test/content_browser_test_utils.h base::FilePath GetTestFilePath(const char* dir, const char* file); file 40 content/public/test/content_browser_test_utils.h GURL GetTestUrl(const char* dir, const char* file); file 263 content/public/test/mock_render_process_host.cc void MockRenderProcessHost::EnableAecDump(const base::FilePath& file) { file 79 content/public/test/mock_render_process_host.h virtual void EnableAecDump(const base::FilePath& file) OVERRIDE; file 93 content/renderer/gpu/gpu_benchmarking_extension.cc SkFILEWStream file(filepath.c_str()); file 94 content/renderer/gpu/gpu_benchmarking_extension.cc DCHECK(file.isValid()); file 95 content/renderer/gpu/gpu_benchmarking_extension.cc picture->serialize(&file, &EncodeBitmapToData); file 42 content/renderer/media/media_stream_audio_processor_unittest.cc base::FilePath file; file 43 content/renderer/media/media_stream_audio_processor_unittest.cc CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &file)); file 44 content/renderer/media/media_stream_audio_processor_unittest.cc file = file.Append(FILE_PATH_LITERAL("media")) file 48 content/renderer/media/media_stream_audio_processor_unittest.cc DCHECK(base::PathExists(file)); file 50 content/renderer/media/media_stream_audio_processor_unittest.cc DCHECK(base::GetFileSize(file, &data_file_size64)); file 51 content/renderer/media/media_stream_audio_processor_unittest.cc EXPECT_EQ(length, base::ReadFile(file, data, length)); file 750 content/renderer/media/media_stream_dependency_factory.cc base::PlatformFile file = file 752 content/renderer/media/media_stream_dependency_factory.cc DCHECK_NE(file, base::kInvalidPlatformFileValue); file 757 content/renderer/media/media_stream_dependency_factory.cc GetWebRtcAudioDevice()->EnableAecDump(file); file 764 content/renderer/media/media_stream_dependency_factory.cc StartAecDump(file); file 766 content/renderer/media/media_stream_dependency_factory.cc aec_dump_file_ = file; file 35 content/renderer/mhtml_generator.cc base::PlatformFile file = file 37 content/renderer/mhtml_generator.cc file_ = file; file 39 content/renderer/mhtml_generator.cc base::ClosePlatformFile(file); file 42 content/renderer/mojo/mojo_render_process_observer.cc const IPC::PlatformFileForTransit& file) { file 44 content/renderer/mojo/mojo_render_process_observer.cc base::PlatformFile handle = file.fd; file 46 content/renderer/mojo/mojo_render_process_observer.cc base::PlatformFile handle = file; file 41 content/renderer/mojo/mojo_render_process_observer.h void OnChannelCreated(const IPC::PlatformFileForTransit& file); file 67 content/renderer/pepper/host_var_tracker.h base::SharedMemoryHandle file, file 48 content/shell/browser/shell_net_log.cc FILE* file = NULL; file 50 content/shell/browser/shell_net_log.cc file = _wfopen(log_path.value().c_str(), L"w"); file 52 content/shell/browser/shell_net_log.cc file = fopen(log_path.value().c_str(), "w"); file 55 content/shell/browser/shell_net_log.cc if (file == NULL) { file 60 content/shell/browser/shell_net_log.cc net_log_logger_.reset(new net::NetLogLogger(file, *constants)); file 48 content/test/fileapi_test_file_set.cc base::File file(path, file 50 content/test/fileapi_test_file_set.cc ASSERT_TRUE(file.IsValid()); file 55 content/test/fileapi_test_file_set.cc file.Write(0, content.data(), static_cast<int>(content.size()))); file 79 content/test/net/url_request_mock_http_job.cc const base::FilePath& file) { file 82 content/test/net/url_request_mock_http_job.cc "http", hostname, CreateProtocolHandlerForSingleFile(file)); file 114 content/test/net/url_request_mock_http_job.cc const base::FilePath& file) { file 116 content/test/net/url_request_mock_http_job.cc new ProtocolHandler(file, true)); file 40 content/test/net/url_request_mock_http_job.h const base::FilePath& file); file 61 content/test/net/url_request_mock_http_job.h CreateProtocolHandlerForSingleFile(const base::FilePath& file); file 26 content/test/webui_resource_browsertest.cc void RunTest(const base::FilePath& file) { file 27 content/test/webui_resource_browsertest.cc ASSERT_TRUE(PathExists(file)); file 28 content/test/webui_resource_browsertest.cc NavigateToURL(shell(), net::FilePathToFileURL(file)); file 35 content/test/webui_resource_browsertest.cc void RunMediaInternalsTest(const base::FilePath::CharType* file) { file 43 content/test/webui_resource_browsertest.cc .Append(file)); file 11 courgette/encode_decode_unittest.cc void TestAssembleToStreamDisassemble(std::string file, file 16 courgette/encode_decode_unittest.cc std::string file, file 18 courgette/encode_decode_unittest.cc const void* original_buffer = file.c_str(); file 19 courgette/encode_decode_unittest.cc size_t original_length = file.length(); file 72 courgette/encode_decode_unittest.cc std::string file = FileContents("setup1.exe"); file 73 courgette/encode_decode_unittest.cc TestAssembleToStreamDisassemble(file, 971850); file 77 courgette/encode_decode_unittest.cc std::string file = FileContents("chrome64_1.exe"); file 78 courgette/encode_decode_unittest.cc TestAssembleToStreamDisassemble(file, 814709); file 82 courgette/encode_decode_unittest.cc std::string file = FileContents("elf-32-1"); file 83 courgette/encode_decode_unittest.cc TestAssembleToStreamDisassemble(file, 135988); file 54 courgette/memory_allocator.cc bool FileMapping::Create(HANDLE file, size_t size) { file 55 courgette/memory_allocator.cc DCHECK(file != INVALID_HANDLE_VALUE); file 57 courgette/memory_allocator.cc mapping_ = ::CreateFileMapping(file, NULL, PAGE_READWRITE, 0, 0, NULL); file 67 courgette/memory_allocator.h bool Create(HANDLE file, size_t size); file 72 crypto/openssl_util.cc static void LockingCallback(int mode, int n, const char* file, int line) { file 73 crypto/openssl_util.cc OpenSSLInitSingleton::GetInstance()->OnLockingCallback(mode, n, file, line); file 76 crypto/openssl_util.cc void OnLockingCallback(int mode, int n, const char* file, int line) { file 166 extensions/browser/value_store/leveldb_value_store_unittest.cc for (base::FilePath file = enumerator.Next(); !file.empty(); file 167 extensions/browser/value_store/leveldb_value_store_unittest.cc file = enumerator.Next()) { file 169 extensions/browser/value_store/leveldb_value_store_unittest.cc ASSERT_NE(base::WriteFile(file, kLolCats.c_str(), kLolCats.length()), file 162 extensions/common/user_script.cc for (FileList::const_iterator file = scripts.begin(); file 163 extensions/common/user_script.cc file != scripts.end(); ++file) { file 164 extensions/common/user_script.cc file->Pickle(pickle); file 230 extensions/common/user_script.cc File file; file 231 extensions/common/user_script.cc file.Unpickle(pickle, iter); file 232 extensions/common/user_script.cc scripts->push_back(file); file 28 google_apis/drive/drive_api_parser.cc scoped_ptr<FileResource>* file) { file 29 google_apis/drive/drive_api_parser.cc *file = FileResource::CreateFrom(*value); file 30 google_apis/drive/drive_api_parser.cc return !!*file; file 720 google_apis/drive/drive_api_parser.h const FileResource* file() const { return file_.get(); } file 735 google_apis/drive/drive_api_parser.h void set_file(scoped_ptr<FileResource> file) { file 736 google_apis/drive/drive_api_parser.h file_ = file.Pass(); file 255 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(change1.file_id(), change1.file()->file_id()); file 256 google_apis/drive/drive_api_parser_unittest.cc EXPECT_FALSE(change1.file()->shared()); file 257 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(change1.file()->modified_date(), change1.modification_date()); file 263 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(change2.file_id(), change2.file()->file_id()); file 264 google_apis/drive/drive_api_parser_unittest.cc EXPECT_TRUE(change2.file()->shared()); file 265 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(change2.file()->modified_date(), change2.modification_date()); file 271 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(change3.file_id(), change3.file()->file_id()); file 272 google_apis/drive/drive_api_parser_unittest.cc EXPECT_FALSE(change3.file()->shared()); file 273 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(change3.file()->modified_date(), change3.modification_date()); file 527 google_apis/drive/gdata_wapi_parser.h static int ClassifyEntryKindByFileExtension(const base::FilePath& file); file 27 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc bool CheckErrors(const char* file, int line) { file 33 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc << file << ":" << line << " " << eglerror; file 38 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc << file << ":" << line << " " << glerror; file 43 gpu/command_buffer/service/error_state_mock.h const char* file, int line, const char* filename)); file 45 gpu/command_buffer/service/error_state_mock.h const char* file, int line, const char* filename)); file 47 gpu/command_buffer/service/error_state_mock.h const char* file, int line, const char* filename)); file 48 ipc/ipc_platform_file.cc PlatformFileForTransit TakeFileHandleForProcess(base::File file, file 50 ipc/ipc_platform_file.cc return GetFileHandleForProcess(file.TakePlatformFile(), process, true); file 54 ipc/ipc_platform_file.h base::PlatformFile file, file 61 ipc/ipc_platform_file.h base::File file, file 38 media/audio/openbsd/audio_manager_openbsd.cc const char *file; file 40 media/audio/openbsd/audio_manager_openbsd.cc if ((file = getenv("AUDIOCTLDEVICE")) == 0 || *file == '\0') file 41 media/audio/openbsd/audio_manager_openbsd.cc file = "/dev/audioctl"; file 43 media/audio/openbsd/audio_manager_openbsd.cc if ((fd = open(file, O_RDONLY)) < 0) file 118 media/audio/win/audio_output_win_unittest.cc HANDLE file = ::CreateFileW(file_name, GENERIC_READ, FILE_SHARE_READ, NULL, file 120 media/audio/win/audio_output_win_unittest.cc if (INVALID_HANDLE_VALUE == file) file 122 media/audio/win/audio_output_win_unittest.cc fmap_ = ::CreateFileMappingW(file, NULL, PAGE_READONLY, 0, 0, NULL); file 123 media/audio/win/audio_output_win_unittest.cc ::CloseHandle(file); file 24 media/base/media_file_checker.cc MediaFileChecker::MediaFileChecker(base::File file) : file_(file.Pass()) { file 23 media/base/media_file_checker.h explicit MediaFileChecker(base::File file); file 15 media/base/media_file_checker_unittest.cc base::File file(GetTestDataFilePath(filename), file 17 media/base/media_file_checker_unittest.cc ASSERT_TRUE(file.IsValid()); file 19 media/base/media_file_checker_unittest.cc MediaFileChecker checker(file.Pass()); file 88 media/cdm/ppapi/cdm_logging.cc CdmLogMessage::CdmLogMessage(const char* file, int line) { file 89 media/cdm/ppapi/cdm_logging.cc std::string filename(file); file 41 media/cdm/ppapi/cdm_logging.h CdmLogMessage(const char* file, int line); file 18 media/filters/file_data_source.cc FileDataSource::FileDataSource(base::File file) file 21 media/filters/file_data_source.cc file_.Initialize(file.Pass()); file 22 media/filters/file_data_source.h explicit FileDataSource(base::File file); file 114 media/video/capture/file_video_capture_device.cc base::File* file, file 117 media/video/capture/file_video_capture_device.cc file->Read(0, &header[0], kY4MHeaderMaxSize - 1); file 129 media/video/capture/file_video_capture_device.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 130 media/video/capture/file_video_capture_device.cc CHECK(file.IsValid()) << file_path.value(); file 131 media/video/capture/file_video_capture_device.cc return file.Pass(); file 159 media/video/capture/file_video_capture_device.cc base::File file = OpenFileForRead(GetFilePathFromCommandLine()); file 161 media/video/capture/file_video_capture_device.cc ParseFileAndExtractVideoFormat(&file, &capture_format); file 218 media/video/capture/linux/video_capture_device_linux.cc FILE* file = fopen(path.c_str(), "rb"); file 219 media/video/capture/linux/video_capture_device_linux.cc if (!file) file 221 media/video/capture/linux/video_capture_device_linux.cc const bool success = fread(id_buf, kVidPidSize, 1, file) == 1; file 222 media/video/capture/linux/video_capture_device_linux.cc fclose(file); file 161 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileIO file(this); file 164 native_client_sdk/src/examples/api/file_io/file_io.cc file.Open(ref, file 183 native_client_sdk/src/examples/api/file_io/file_io.cc bytes_written = file.Write(offset, file 196 native_client_sdk/src/examples/api/file_io/file_io.cc int32_t flush_result = file.Flush(pp::BlockUntilComplete()); file 210 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileIO file(this); file 213 native_client_sdk/src/examples/api/file_io/file_io.cc file.Open(ref, PP_FILEOPENFLAG_READ, pp::BlockUntilComplete()); file 222 native_client_sdk/src/examples/api/file_io/file_io.cc int32_t query_result = file.Query(&info, pp::BlockUntilComplete()); file 238 native_client_sdk/src/examples/api/file_io/file_io.cc bytes_read = file.Read(offset, file 119 native_client_sdk/src/examples/demo/nacl_io/handlers.c static int AddFileToMap(FILE* file) { file 120 native_client_sdk/src/examples/demo/nacl_io/handlers.c return AddToMap((void**)g_OpenFiles, MAX_OPEN_FILES, file); file 192 native_client_sdk/src/examples/demo/nacl_io/handlers.c FILE* file; file 205 native_client_sdk/src/examples/demo/nacl_io/handlers.c file = fopen(filename, mode); file 206 native_client_sdk/src/examples/demo/nacl_io/handlers.c if (!file) { file 211 native_client_sdk/src/examples/demo/nacl_io/handlers.c file_index = AddFileToMap(file); file 240 native_client_sdk/src/examples/demo/nacl_io/handlers.c FILE* file; file 252 native_client_sdk/src/examples/demo/nacl_io/handlers.c file = GetFileFromIndexString(file_index_string, NULL); file 256 native_client_sdk/src/examples/demo/nacl_io/handlers.c if (!file) { file 262 native_client_sdk/src/examples/demo/nacl_io/handlers.c bytes_written = fwrite(data, 1, data_len, file); file 264 native_client_sdk/src/examples/demo/nacl_io/handlers.c if (ferror(file)) { file 293 native_client_sdk/src/examples/demo/nacl_io/handlers.c FILE* file; file 305 native_client_sdk/src/examples/demo/nacl_io/handlers.c file = GetFileFromIndexString(file_index_string, NULL); file 308 native_client_sdk/src/examples/demo/nacl_io/handlers.c if (!file) { file 315 native_client_sdk/src/examples/demo/nacl_io/handlers.c bytes_read = fread(buffer, 1, data_len, file); file 318 native_client_sdk/src/examples/demo/nacl_io/handlers.c if (ferror(file)) { file 351 native_client_sdk/src/examples/demo/nacl_io/handlers.c FILE* file; file 363 native_client_sdk/src/examples/demo/nacl_io/handlers.c file = GetFileFromIndexString(file_index_string, NULL); file 367 native_client_sdk/src/examples/demo/nacl_io/handlers.c if (!file) { file 373 native_client_sdk/src/examples/demo/nacl_io/handlers.c result = fseek(file, offset, whence); file 379 native_client_sdk/src/examples/demo/nacl_io/handlers.c offset = ftell(file); file 406 native_client_sdk/src/examples/demo/nacl_io/handlers.c FILE* file; file 415 native_client_sdk/src/examples/demo/nacl_io/handlers.c file = GetFileFromIndexString(file_index_string, NULL); file 417 native_client_sdk/src/examples/demo/nacl_io/handlers.c if (!file) { file 423 native_client_sdk/src/examples/demo/nacl_io/handlers.c fflush(file); file 445 native_client_sdk/src/examples/demo/nacl_io/handlers.c FILE* file; file 456 native_client_sdk/src/examples/demo/nacl_io/handlers.c file = GetFileFromIndexString(file_index_string, &file_index); file 457 native_client_sdk/src/examples/demo/nacl_io/handlers.c if (!file) { file 463 native_client_sdk/src/examples/demo/nacl_io/handlers.c result = fclose(file); file 316 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc int ki_open_resource(const char* file) { file 317 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc ON_NOSYS_RETURN(-1); return s_state.kp->open_resource(file); file 110 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h int ki_open_resource(const char* file); file 65 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int open_resource(const char* file); file 278 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int WRAP(open_resource)(const char* file, int* fd) { file 279 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc *fd = ki_open_resource(file); file 472 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int _real_open_resource(const char* file, int* fd) { file 474 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc return REAL(open_resource)(file, fd); file 51 native_client_sdk/src/libraries/nacl_io/kernel_wrap_dummy.cc int _real_open_resource(const char* file, int* fd) { file 242 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc int WRAP(open_resource)(const char* file, int* fd) { file 243 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc *fd = ki_open_resource(file); file 383 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc int _real_open_resource(const char* file, int* fd) { file 385 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc return REAL(open_resource)(file, fd); file 323 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc int _real_open_resource(const char* file, int* fd) { file 26 native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h int _real_open_resource(const char* file, int* fd); file 21 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.cc << resource_tracker->file() file 30 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.cc const char* file, file 35 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.cc new FakeResourceTracker(resource, classname, file, line); file 54 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.cc << resource_tracker->file() << ":" file 70 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.cc << resource_tracker->file() << ":" file 102 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.cc << resource_tracker->file() << ":" file 110 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.cc const char* file, file 114 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.cc file_(file), file 26 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.h const char* file, file 50 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.h const char* file, file 77 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.h const char* file() const { return file_; } file 39 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ScopedNode file; file 57 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, fs.Open(Path("/foo"), O_RDWR | O_CREAT, &file)); file 58 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ASSERT_NE(NULL_NODE, file.get()); file 63 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(2, file->RefCount()); file 96 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, file->GetSize(&result_size)); file 98 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, file->Write(attrs, buf1, sizeof(buf1), &result_bytes)); file 100 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, file->GetSize(&result_size)); file 102 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, file->Read(attrs, buf1, sizeof(buf1), &result_bytes)); file 105 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(2, file->RefCount()); file 110 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(3, file->RefCount()); file 112 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(file.get(), result_node.get()); file 113 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, file->GetSize(&result_size)); file 117 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc file.reset(); file 134 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, fs.Open(Path("/foo/bar"), O_RDWR | O_CREAT | O_EXCL, &file)); file 135 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ASSERT_NE(NULL_NODE, file.get()); file 136 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(2, file->RefCount()); file 142 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(2, file->RefCount()); file 148 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(1, file->RefCount()); file 152 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc file.reset(); file 161 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(ENOENT, fs.Open(Path("/foo"), O_RDWR, &file)); file 162 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(NULL_NODE, file.get()); file 167 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ScopedNode file; file 175 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ASSERT_EQ(0, fs.Open(Path("/foo"), O_RDWR | O_CREAT, &file)); file 176 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ASSERT_EQ(0, file->Write(attrs, buf, strlen(buf), &result_bytes)); file 181 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ASSERT_EQ(0, fs.Open(Path("/foo"), O_RDWR | O_TRUNC, &file)); file 182 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ASSERT_EQ(0, file->Read(attrs, read_buf, sizeof(read_buf), &result_bytes)); file 188 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ScopedNode file; file 192 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ASSERT_EQ(0, fs.Open(Path("/file"), O_RDWR | O_CREAT | O_EXCL, &file)); file 193 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_NE(NULL_NODE, file.get()); file 195 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc file.reset(); file 214 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ScopedNode file; file 215 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc ASSERT_EQ(0, fs.Open(Path("/dir1/file"), O_RDWR | O_CREAT | O_EXCL, &file)); file 73 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc File* file = FindFile(path); file 74 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc if (file == NULL) file 78 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc stbuf->st_size = file->data.size(); file 102 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc File* file = FindFile(path); file 103 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc if (file != NULL) { file 108 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc file = &g_files.back(); file 109 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc file->name = &path[1]; // Skip initial / file 127 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc File* file = FindFile(path); file 128 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc if (file == NULL) file 131 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc size_t filesize = file->data.size(); file 139 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc memcpy(buf, file->data.data() + offset, size); file 148 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc File* file = FindFile(path); file 149 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc if (file == NULL) file 152 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc size_t filesize = file->data.size(); file 155 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc file->data.resize(offset + size); file 157 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc memcpy(file->data.data() + offset, buf, size); file 69 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc MemFsNodeForTesting file; file 74 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.Init(0)); file 77 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.GetLinks()); file 78 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(S_IRALL | S_IWALL, file.GetMode()); file 79 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(S_IFREG, file.GetType()); file 80 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_FALSE(file.IsaDir()); file 81 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_TRUE(file.IsaFile()); file 82 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(ENOTTY, file.Isatty()); file 83 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.RefCount()); file 93 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.GetSize(&result_size)); file 95 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.Read(attr, buf2, sizeof(buf2), &result_bytes)); file 97 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.GetSize(&result_size)); file 99 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.Write(attr, buf1, sizeof(buf1), &result_bytes)); file 101 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.GetSize(&result_size)); file 103 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.Read(attr, buf2, sizeof(buf2), &result_bytes)); file 108 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.GetStat(&s)); file 114 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(ENOTDIR, file.GetDents(0, &d, sizeof(d), &result_bytes)); file 115 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(ENOTDIR, file.AddChild("", result_node)); file 116 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(ENOTDIR, file.RemoveChild("")); file 117 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(ENOTDIR, file.FindChild("", &result_node)); file 122 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc MemFsNodeForTesting file; file 137 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc ASSERT_EQ(0, file.Write(attr, data, sizeof(data), &result_bytes)); file 141 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.FTruncate(sizeof(data) * 2)); file 142 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.GetSize(&result_size)); file 146 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.Read(attr, buffer, sizeof(buffer), &result_bytes)); file 152 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.Read(attr, buffer, sizeof(buffer), &result_bytes)); file 157 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.FTruncate(100)); file 158 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.GetSize(&result_size)); file 163 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.Read(attr, buffer, sizeof(buffer), &result_bytes)); file 171 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc ScopedNode file(node); file 172 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc KernelHandle handle(fs, file); file 226 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc ScopedNode file(raw_file); file 229 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(1, file->RefCount()); file 230 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, root.AddChild("F1", file)); file 231 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(1, file->GetLinks()); file 232 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(2, file->RefCount()); file 261 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, root.AddChild("F2", file)); file 262 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(2, file->GetLinks()); file 263 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(3, file->RefCount()); file 264 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(EEXIST, root.AddChild("F1", file)); file 265 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(2, file->GetLinks()); file 266 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(3, file->RefCount()); file 278 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(1, file->GetLinks()); file 279 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(2, file->RefCount()); file 281 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file->GetLinks()); file 282 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(1, file->RefCount()); file 285 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc file.reset(); file 292 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc ScopedNode file(node); file 300 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc KernelHandle handle(fs, file); file 309 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc KernelHandle handle(fs, file); file 319 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc KernelHandle handle(fs, file); file 58 net/android/javatests/src/org/chromium/net/X509UtilTest.java RandomAccessFile file = new RandomAccessFile(pathname, "r"); file 59 net/android/javatests/src/org/chromium/net/X509UtilTest.java byte[] bytes = new byte[(int) file.length()]; file 60 net/android/javatests/src/org/chromium/net/X509UtilTest.java int bytesRead = file.read(bytes); file 112 net/base/directory_lister_unittest.cc base::File file(file_path, file 114 net/base/directory_lister_unittest.cc ASSERT_TRUE(file.IsValid()); file 36 net/base/file_stream.cc FileStream::FileStream(base::PlatformFile file, file 41 net/base/file_stream.cc context_(new Context(base::File(file), flags, bound_net_log_, file 46 net/base/file_stream.cc FileStream::FileStream(base::PlatformFile file, int flags, NetLog* net_log) file 48 net/base/file_stream.cc context_(new Context(base::File(file), flags, bound_net_log_, file 53 net/base/file_stream.cc FileStream::FileStream(base::File file, file 57 net/base/file_stream.cc context_(new Context(file.Pass(), bound_net_log_, task_runner)) { file 61 net/base/file_stream.cc FileStream::FileStream(base::File file, net::NetLog* net_log) file 63 net/base/file_stream.cc context_(new Context(file.Pass(), bound_net_log_, file 117 net/base/file_stream.cc return context_->file().IsValid(); file 293 net/base/file_stream.cc return context_->file(); file 51 net/base/file_stream.h FileStream(base::PlatformFile file, file 58 net/base/file_stream.h FileStream(base::PlatformFile file, int flags, net::NetLog* net_log); file 61 net/base/file_stream.h FileStream(base::File file, file 64 net/base/file_stream.h FileStream(base::File file, net::NetLog* net_log); file 49 net/base/file_stream_context.cc FileStream::Context::OpenResult::OpenResult(base::File file, file 51 net/base/file_stream_context.cc : file(file.Pass()), file 56 net/base/file_stream_context.cc : file(other.object->file.Pass()), file 63 net/base/file_stream_context.cc file = other.object->file.Pass(); file 114 net/base/file_stream_context.cc if (result.file.IsValid()) { file 115 net/base/file_stream_context.cc file_ = result.file.Pass(); file 226 net/base/file_stream_context.cc base::File file; file 232 net/base/file_stream_context.cc file = base::OpenContentUriForRead(path); file 242 net/base/file_stream_context.cc file.Initialize(path, open_flags); file 246 net/base/file_stream_context.cc if (!file.IsValid()) file 249 net/base/file_stream_context.cc return OpenResult(file.Pass(), IOResult(OK, 0)); file 264 net/base/file_stream_context.cc if (!open_result.file.IsValid()) { file 267 net/base/file_stream_context.cc file_ = open_result.file.Pass(); file 65 net/base/file_stream_context.h Context(base::File file, file 71 net/base/file_stream_context.h Context(base::File file, file 100 net/base/file_stream_context.h const base::File& file() const { return file_; } file 148 net/base/file_stream_context.h OpenResult(base::File file, IOResult error_code); file 153 net/base/file_stream_context.h base::File file; file 57 net/base/file_stream_context_posix.cc FileStream::Context::Context(base::File file, file 60 net/base/file_stream_context_posix.cc : file_(file.Pass()), file 69 net/base/file_stream_context_posix.cc FileStream::Context::Context(base::File file, file 73 net/base/file_stream_context_posix.cc : file_(file.Pass()), file 54 net/base/file_stream_context_win.cc FileStream::Context::Context(base::File file, file 58 net/base/file_stream_context_win.cc file_(file.Pass()), file 72 net/base/file_stream_context_win.cc FileStream::Context::Context(base::File file, file 77 net/base/file_stream_context_win.cc file_(file.Pass()), file 123 net/base/file_stream_unittest.cc base::File file(temp_file_path(), flags); file 127 net/base/file_stream_unittest.cc new FileStream(file.Pass(), NULL, base::MessageLoopProxy::current())); file 140 net/base/file_stream_unittest.cc file.Initialize(temp_file_path(), flags); file 143 net/base/file_stream_unittest.cc new FileStream(file.Pass(), NULL, base::MessageLoopProxy::current())); file 1030 net/base/file_stream_unittest.cc base::File file(temp_file_path(), flags); file 1031 net/base/file_stream_unittest.cc ASSERT_TRUE(file.IsValid()); file 1034 net/base/file_stream_unittest.cc new FileStream(file.Pass(), NULL, base::MessageLoopProxy::current())); file 1055 net/base/file_stream_unittest.cc base::File file(temp_file_path(), flags); file 1056 net/base/file_stream_unittest.cc ASSERT_TRUE(file.IsValid()); file 1059 net/base/file_stream_unittest.cc new FileStream(file.Pass(), NULL, base::MessageLoopProxy::current())); file 22 net/base/mock_file_stream.cc MockFileStream::MockFileStream(base::File file, net::NetLog* net_log) file 23 net/base/mock_file_stream.cc : net::FileStream(file.Pass(), net_log), file 31 net/base/mock_file_stream.cc base::File file, file 34 net/base/mock_file_stream.cc : net::FileStream(file.Pass(), net_log, task_runner), file 26 net/base/mock_file_stream.h MockFileStream(base::File file, net::NetLog* net_log); file 27 net/base/mock_file_stream.h MockFileStream(base::File file, net::NetLog* net_log, file 25 net/base/net_log_logger.cc NetLogLogger::NetLogLogger(FILE* file, const base::Value& constants) file 26 net/base/net_log_logger.cc : file_(file), log_level_(NetLog::LOG_ALL_BUT_BYTES), added_events_(false) { file 27 net/base/net_log_logger.cc DCHECK(file); file 29 net/base/net_log_logger.h NetLogLogger(FILE* file, const base::Value& constants); file 31 net/base/net_log_logger_unittest.cc FILE* file = base::OpenFile(log_path_, "w"); file 32 net/base/net_log_logger_unittest.cc ASSERT_TRUE(file); file 34 net/base/net_log_logger_unittest.cc NetLogLogger logger(file, *constants); file 53 net/base/net_log_logger_unittest.cc FILE* file = base::OpenFile(log_path_, "w"); file 54 net/base/net_log_logger_unittest.cc ASSERT_TRUE(file); file 56 net/base/net_log_logger_unittest.cc NetLogLogger logger(file, *constants); file 85 net/base/net_log_logger_unittest.cc FILE* file = base::OpenFile(log_path_, "w"); file 86 net/base/net_log_logger_unittest.cc ASSERT_TRUE(file); file 88 net/base/net_log_logger_unittest.cc NetLogLogger logger(file, *constants); file 43 net/base/net_util_unittest.cc const wchar_t* file; file 555 net/base/net_util_unittest.cc file_util::WStringAsFilePath(round_trip_cases[i].file))); file 560 net/base/net_util_unittest.cc EXPECT_EQ(round_trip_cases[i].file, file_util::FilePathAsWString(output)); file 599 net/base/net_util_unittest.cc EXPECT_EQ(url_cases[i].file, file_util::FilePathAsWString(output)); file 45 net/cert/test_root_certs.cc bool TestRootCerts::AddFromFile(const base::FilePath& file) { file 46 net/cert/test_root_certs.cc CertificateList root_certs = LoadCertificates(file); file 58 net/cert/test_root_certs.h bool AddFromFile(const base::FilePath& file); file 3065 net/disk_cache/backend_unittest.cc scoped_refptr<disk_cache::File> file(new disk_cache::File(false)); file 3066 net/disk_cache/backend_unittest.cc file->Init(name); file 3089 net/disk_cache/backend_unittest.cc EXPECT_TRUE(file->Write(buffer1, kSize, 0)); file 3090 net/disk_cache/backend_unittest.cc EXPECT_TRUE(file->Read(buffer2, kSize, 0)); file 674 net/disk_cache/blockfile/backend_impl.cc base::File file(name, flags); file 675 net/disk_cache/blockfile/backend_impl.cc if (!file.IsValid()) { file 676 net/disk_cache/blockfile/backend_impl.cc base::File::Error error = file.error_details(); file 1243 net/disk_cache/blockfile/backend_impl.cc bool BackendImpl::CreateBackingStore(disk_cache::File* file) { file 1255 net/disk_cache/blockfile/backend_impl.cc if (!file->Write(&header, sizeof(header), 0)) file 1258 net/disk_cache/blockfile/backend_impl.cc return file->SetLength(GetIndexSize(header.table_len)); file 1276 net/disk_cache/blockfile/backend_impl.cc scoped_refptr<disk_cache::File> file(new disk_cache::File(base_file.Pass())); file 1278 net/disk_cache/blockfile/backend_impl.cc ret = CreateBackingStore(file.get()); file 1280 net/disk_cache/blockfile/backend_impl.cc file = NULL; file 1354 net/disk_cache/blockfile/backend_impl.cc MappedFile* file = File(address); file 1355 net/disk_cache/blockfile/backend_impl.cc if (!file) file 1361 net/disk_cache/blockfile/backend_impl.cc if (!file->Read(data.get(), size, offset)) file 1380 net/disk_cache/blockfile/backend_impl.cc MappedFile* file = File(address); file 1381 net/disk_cache/blockfile/backend_impl.cc if (!file) file 1386 net/disk_cache/blockfile/backend_impl.cc file->Write(data.get(), size, offset); // ignore result. file 284 net/disk_cache/blockfile/backend_impl.h bool CreateBackingStore(disk_cache::File* file); file 785 net/disk_cache/blockfile/backend_impl_v3.cc MappedFile* file = File(address); file 786 net/disk_cache/blockfile/backend_impl_v3.cc if (!file) file 792 net/disk_cache/blockfile/backend_impl_v3.cc if (!file->Read(data.get(), size, offset)) file 811 net/disk_cache/blockfile/backend_impl_v3.cc MappedFile* file = File(address); file 812 net/disk_cache/blockfile/backend_impl_v3.cc if (!file) file 817 net/disk_cache/blockfile/backend_impl_v3.cc file->Write(data.get(), size, offset); // ignore result. file 289 net/disk_cache/blockfile/backend_worker_v3.cc bool BackendImpl::CreateBackingStore(disk_cache::File* file) { file 301 net/disk_cache/blockfile/backend_worker_v3.cc if (!file->Write(&header, sizeof(header), 0)) file 304 net/disk_cache/blockfile/backend_worker_v3.cc return file->SetLength(GetIndexSize(header.table_len)); file 317 net/disk_cache/blockfile/backend_worker_v3.cc scoped_refptr<disk_cache::File> file(new disk_cache::File( file 320 net/disk_cache/blockfile/backend_worker_v3.cc if (!file->IsValid()) file 325 net/disk_cache/blockfile/backend_worker_v3.cc ret = CreateBackingStore(file.get()); file 327 net/disk_cache/blockfile/backend_worker_v3.cc file = NULL; file 442 net/disk_cache/blockfile/backend_worker_v3.cc MappedFile* file = File(address); file 443 net/disk_cache/blockfile/backend_worker_v3.cc if (!file) file 449 net/disk_cache/blockfile/backend_worker_v3.cc if (!file->Read(data.get(), size, offset)) file 35 net/disk_cache/blockfile/backend_worker_v3.h bool CreateBackingStore(disk_cache::File* file); file 46 net/disk_cache/blockfile/block_files.cc BlockHeader::BlockHeader(MappedFile* file) file 47 net/disk_cache/blockfile/block_files.cc : header_(reinterpret_cast<BlockFileHeader*>(file->buffer())) { file 331 net/disk_cache/blockfile/block_files.cc MappedFile* file = FileForNewBlock(block_type, block_count); file 332 net/disk_cache/blockfile/block_files.cc if (!file) file 335 net/disk_cache/blockfile/block_files.cc ScopedFlush flush(file); file 336 net/disk_cache/blockfile/block_files.cc BlockHeader file_header(file); file 357 net/disk_cache/blockfile/block_files.cc MappedFile* file = GetFile(address); file 358 net/disk_cache/blockfile/block_files.cc if (!file) file 367 net/disk_cache/blockfile/block_files.cc file->Write(zero_buffer_, size, offset); file 369 net/disk_cache/blockfile/block_files.cc BlockHeader file_header(file); file 371 net/disk_cache/blockfile/block_files.cc file->Flush(); file 423 net/disk_cache/blockfile/block_files.cc MappedFile* file = GetFile(address); file 424 net/disk_cache/blockfile/block_files.cc if (!file) file 427 net/disk_cache/blockfile/block_files.cc BlockHeader header(file); file 438 net/disk_cache/blockfile/block_files.cc bool ok = file->Read(buffer.get(), size, offset); file 451 net/disk_cache/blockfile/block_files.cc scoped_refptr<File> file(new File(base::File(name, flags))); file 452 net/disk_cache/blockfile/block_files.cc if (!file->IsValid()) file 463 net/disk_cache/blockfile/block_files.cc return file->Write(&header, sizeof(header), 0); file 474 net/disk_cache/blockfile/block_files.cc scoped_refptr<MappedFile> file(new MappedFile()); file 476 net/disk_cache/blockfile/block_files.cc if (!file->Init(name, kBlockHeaderSize)) { file 481 net/disk_cache/blockfile/block_files.cc size_t file_len = file->GetLength(); file 487 net/disk_cache/blockfile/block_files.cc BlockHeader file_header(file.get()); file 496 net/disk_cache/blockfile/block_files.cc if (!FixBlockFileHeader(file.get())) { file 510 net/disk_cache/blockfile/block_files.cc if (!file->Preload()) file 514 net/disk_cache/blockfile/block_files.cc ScopedFlush flush(file.get()); file 516 net/disk_cache/blockfile/block_files.cc file.swap(&block_files_[index]); file 520 net/disk_cache/blockfile/block_files.cc bool BlockFiles::GrowBlockFile(MappedFile* file, BlockFileHeader* header) { file 524 net/disk_cache/blockfile/block_files.cc ScopedFlush flush(file); file 532 net/disk_cache/blockfile/block_files.cc if (!file->SetLength(new_size_bytes)) { file 534 net/disk_cache/blockfile/block_files.cc if (header->updating < 10 && !FixBlockFileHeader(file)) { file 552 net/disk_cache/blockfile/block_files.cc MappedFile* file = block_files_[block_type - 1]; file 553 net/disk_cache/blockfile/block_files.cc BlockHeader file_header(file); file 558 net/disk_cache/blockfile/block_files.cc file = NextFile(file); file 559 net/disk_cache/blockfile/block_files.cc if (!file) file 561 net/disk_cache/blockfile/block_files.cc file_header = BlockHeader(file); file 565 net/disk_cache/blockfile/block_files.cc if (!GrowBlockFile(file, file_header.Header())) file 570 net/disk_cache/blockfile/block_files.cc return file; file 573 net/disk_cache/blockfile/block_files.cc MappedFile* BlockFiles::NextFile(MappedFile* file) { file 574 net/disk_cache/blockfile/block_files.cc ScopedFlush flush(file); file 575 net/disk_cache/blockfile/block_files.cc BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); file 608 net/disk_cache/blockfile/block_files.cc MappedFile* file = block_files_[block_type - 1]; file 609 net/disk_cache/blockfile/block_files.cc BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); file 626 net/disk_cache/blockfile/block_files.cc file->Flush(); file 644 net/disk_cache/blockfile/block_files.cc file = next_file; file 651 net/disk_cache/blockfile/block_files.cc bool BlockFiles::FixBlockFileHeader(MappedFile* file) { file 652 net/disk_cache/blockfile/block_files.cc ScopedFlush flush(file); file 653 net/disk_cache/blockfile/block_files.cc BlockHeader file_header(file); file 654 net/disk_cache/blockfile/block_files.cc int file_size = static_cast<int>(file->GetLength()); file 36 net/disk_cache/blockfile/block_files.h explicit BlockHeader(MappedFile* file); file 130 net/disk_cache/blockfile/block_files.h bool GrowBlockFile(MappedFile* file, BlockFileHeader* header); file 136 net/disk_cache/blockfile/block_files.h MappedFile* NextFile(MappedFile* file); file 145 net/disk_cache/blockfile/block_files.h bool FixBlockFileHeader(MappedFile* file); file 21 net/disk_cache/blockfile/block_files_unittest.cc for (base::FilePath file = iter.Next(); !file.value().empty(); file 22 net/disk_cache/blockfile/block_files_unittest.cc file = iter.Next()) { file 117 net/disk_cache/blockfile/block_files_unittest.cc MappedFile* file = files.GetFile(address); file 118 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(NULL != file); file 121 net/disk_cache/blockfile/block_files_unittest.cc reinterpret_cast<BlockFileHeader*>(file->buffer()); file 142 net/disk_cache/blockfile/block_files_unittest.cc file = files.GetFile(address); file 143 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(NULL != file); file 145 net/disk_cache/blockfile/block_files_unittest.cc header = reinterpret_cast<BlockFileHeader*>(file->buffer()); file 169 net/disk_cache/blockfile/block_files_unittest.cc scoped_refptr<File> file(new File); file 170 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(file->Init(filename)); file 171 net/disk_cache/blockfile/block_files_unittest.cc EXPECT_TRUE(file->SetLength(0)); file 192 net/disk_cache/blockfile/block_files_unittest.cc scoped_refptr<File> file(new File); file 193 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(file->Init(filename)); file 194 net/disk_cache/blockfile/block_files_unittest.cc EXPECT_TRUE(file->SetLength(15000)); file 213 net/disk_cache/blockfile/block_files_unittest.cc MappedFile* file = files.GetFile(address); file 214 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(NULL != file); file 216 net/disk_cache/blockfile/block_files_unittest.cc BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); file 225 net/disk_cache/blockfile/block_files_unittest.cc file = files.GetFile(address); file 226 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(NULL != file); file 227 net/disk_cache/blockfile/block_files_unittest.cc header = reinterpret_cast<BlockFileHeader*>(file->buffer()); file 239 net/disk_cache/blockfile/block_files_unittest.cc file = files.GetFile(address); file 240 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(NULL != file); file 241 net/disk_cache/blockfile/block_files_unittest.cc header = reinterpret_cast<BlockFileHeader*>(file->buffer()); file 1018 net/disk_cache/blockfile/entry_impl.cc File* file = GetBackingFile(address, index); file 1019 net/disk_cache/blockfile/entry_impl.cc if (!file) { file 1041 net/disk_cache/blockfile/entry_impl.cc if (!file->Read(buf->data(), buf_len, file_offset, io_callback, &completed)) { file 1119 net/disk_cache/blockfile/entry_impl.cc File* file = GetBackingFile(address, index); file 1120 net/disk_cache/blockfile/entry_impl.cc if (!file) file 1129 net/disk_cache/blockfile/entry_impl.cc if (!file->SetLength(offset + buf_len)) file 1145 net/disk_cache/blockfile/entry_impl.cc if (!file->Write(buf->data(), buf_len, file_offset, io_callback, file 1241 net/disk_cache/blockfile/entry_impl.cc File* file; file 1243 net/disk_cache/blockfile/entry_impl.cc file = GetExternalFile(address, index); file 1245 net/disk_cache/blockfile/entry_impl.cc file = backend_->File(address); file 1246 net/disk_cache/blockfile/entry_impl.cc return file; file 1253 net/disk_cache/blockfile/entry_impl.cc scoped_refptr<File> file(new File(kKeyFileIndex == index)); file 1254 net/disk_cache/blockfile/entry_impl.cc if (file->Init(backend_->GetFileName(address))) file 1255 net/disk_cache/blockfile/entry_impl.cc files_[index].swap(file); file 1369 net/disk_cache/blockfile/entry_impl.cc File* file = GetBackingFile(address, index); file 1375 net/disk_cache/blockfile/entry_impl.cc if (!file || file 1376 net/disk_cache/blockfile/entry_impl.cc !file->Read(user_buffers_[index]->Data(), len, offset, NULL, NULL)) { file 1469 net/disk_cache/blockfile/entry_impl.cc File* file = GetBackingFile(address, index); file 1470 net/disk_cache/blockfile/entry_impl.cc if (!file) file 1473 net/disk_cache/blockfile/entry_impl.cc if (!file->Write(user_buffers_[index]->Data(), len, offset, NULL, NULL)) file 817 net/disk_cache/blockfile/entry_impl_v3.cc File* file = GetBackingFile(address, index); file 818 net/disk_cache/blockfile/entry_impl_v3.cc if (!file) { file 840 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->Read(buf->data(), buf_len, file_offset, io_callback, &completed)) { file 918 net/disk_cache/blockfile/entry_impl_v3.cc File* file = GetBackingFile(address, index); file 919 net/disk_cache/blockfile/entry_impl_v3.cc if (!file) file 928 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->SetLength(offset + buf_len)) file 944 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->Write(buf->data(), buf_len, file_offset, io_callback, file 1191 net/disk_cache/blockfile/entry_impl_v3.cc File* file = GetBackingFile(address, index); file 1197 net/disk_cache/blockfile/entry_impl_v3.cc if (!file || file 1198 net/disk_cache/blockfile/entry_impl_v3.cc !file->Read(user_buffers_[index]->Data(), len, offset, NULL, NULL)) { file 1291 net/disk_cache/blockfile/entry_impl_v3.cc File* file = GetBackingFile(address, index); file 1292 net/disk_cache/blockfile/entry_impl_v3.cc if (!file) file 1295 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->Write(user_buffers_[index]->Data(), len, offset, NULL, NULL)) file 42 net/disk_cache/blockfile/file.h explicit File(base::File file); file 26 net/disk_cache/blockfile/file_ios.cc FileBackgroundIO(disk_cache::File* file, const void* buf, size_t buf_len, file 29 net/disk_cache/blockfile/file_ios.cc : disk_cache::BackgroundIO(controller), callback_(callback), file_(file), file 72 net/disk_cache/blockfile/file_ios.cc void PostRead(disk_cache::File* file, void* buf, size_t buf_len, file 74 net/disk_cache/blockfile/file_ios.cc void PostWrite(disk_cache::File* file, const void* buf, size_t buf_len, file 111 net/disk_cache/blockfile/file_ios.cc void FileInFlightIO::PostRead(disk_cache::File *file, void* buf, size_t buf_len, file 114 net/disk_cache/blockfile/file_ios.cc new FileBackgroundIO(file, buf, buf_len, offset, callback, this)); file 115 net/disk_cache/blockfile/file_ios.cc file->AddRef(); // Balanced on OnOperationComplete() file 122 net/disk_cache/blockfile/file_ios.cc void FileInFlightIO::PostWrite(disk_cache::File* file, const void* buf, file 126 net/disk_cache/blockfile/file_ios.cc new FileBackgroundIO(file, buf, buf_len, offset, callback, this)); file 127 net/disk_cache/blockfile/file_ios.cc file->AddRef(); // Balanced on OnOperationComplete() file 143 net/disk_cache/blockfile/file_ios.cc op->file()->Release(); file 169 net/disk_cache/blockfile/file_ios.cc File::File(base::File file) file 172 net/disk_cache/blockfile/file_ios.cc base_file_(file.Pass()) { file 37 net/disk_cache/blockfile/file_posix.cc File::File(base::File file) file 40 net/disk_cache/blockfile/file_posix.cc base_file_(file.Pass()) { file 17 net/disk_cache/blockfile/file_win.cc MyOverlapped(disk_cache::File* file, size_t offset, file 59 net/disk_cache/blockfile/file_win.cc MyOverlapped::MyOverlapped(disk_cache::File* file, size_t offset, file 64 net/disk_cache/blockfile/file_win.cc file_ = file; file 72 net/disk_cache/blockfile/file_win.cc File::File(base::File file) file 75 net/disk_cache/blockfile/file_win.cc sync_base_file_(file.Pass()) { file 224 net/disk_cache/blockfile/file_win.cc HANDLE file = platform_file(); file 225 net/disk_cache/blockfile/file_win.cc if (INVALID_SET_FILE_POINTER == SetFilePointer(file, size, NULL, FILE_BEGIN)) file 228 net/disk_cache/blockfile/file_win.cc return TRUE == SetEndOfFile(file); file 234 net/disk_cache/blockfile/file_win.cc HANDLE file = platform_file(); file 235 net/disk_cache/blockfile/file_win.cc if (!GetFileSizeEx(file, &size)) file 72 net/disk_cache/blockfile/mapped_file.h explicit ScopedFlush(MappedFile* file) : file_(file) {} file 63 net/disk_cache/blockfile/mapped_file_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); file 65 net/disk_cache/blockfile/mapped_file_unittest.cc ASSERT_TRUE(file->Init(filename, 8192)); file 71 net/disk_cache/blockfile/mapped_file_unittest.cc EXPECT_TRUE(file->Write(buffer1, sizeof(buffer1), 8192)); file 72 net/disk_cache/blockfile/mapped_file_unittest.cc EXPECT_TRUE(file->Read(buffer2, sizeof(buffer2), 8192)); file 78 net/disk_cache/blockfile/mapped_file_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); file 80 net/disk_cache/blockfile/mapped_file_unittest.cc ASSERT_TRUE(file->Init(filename, 8192)); file 91 net/disk_cache/blockfile/mapped_file_unittest.cc EXPECT_TRUE(file->Write(buffer1, sizeof(buffer1), 1024 * 1024, &callback, file 98 net/disk_cache/blockfile/mapped_file_unittest.cc EXPECT_TRUE(file->Read(buffer2, sizeof(buffer2), 1024 * 1024, &callback, file 112 net/disk_cache/blockfile/mapped_file_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); file 114 net/disk_cache/blockfile/mapped_file_unittest.cc ASSERT_TRUE(file->Init(filename, 8192)); file 125 net/disk_cache/blockfile/mapped_file_unittest.cc EXPECT_TRUE(file->Store(&file_block1, &callback, &completed)); file 131 net/disk_cache/blockfile/mapped_file_unittest.cc EXPECT_TRUE(file->Load(&file_block2, &callback, &completed)); file 110 net/disk_cache/blockfile/sparse_control.cc disk_cache::File* file(backend_->File(address)); file 111 net/disk_cache/blockfile/sparse_control.cc if (!file) file 119 net/disk_cache/blockfile/sparse_control.cc if (!file->Read(buffer_.get(), len, file_offset, this, &completed)) file 110 net/disk_cache/blockfile/sparse_control_v3.cc disk_cache::File* file(backend_->File(address)); file 111 net/disk_cache/blockfile/sparse_control_v3.cc if (!file) file 119 net/disk_cache/blockfile/sparse_control_v3.cc if (!file->Read(buffer_.get(), len, file_offset, this, &completed)) file 16 net/disk_cache/blockfile/storage_block-inl.h template<typename T> StorageBlock<T>::StorageBlock(MappedFile* file, file 18 net/disk_cache/blockfile/storage_block-inl.h : data_(NULL), file_(file), address_(address), modified_(false), file 45 net/disk_cache/blockfile/storage_block-inl.h template<typename T> bool StorageBlock<T>::LazyInit(MappedFile* file, file 51 net/disk_cache/blockfile/storage_block-inl.h file_ = file; file 33 net/disk_cache/blockfile/storage_block.h StorageBlock(MappedFile* file, Addr address); file 42 net/disk_cache/blockfile/storage_block.h bool LazyInit(MappedFile* file, Addr address); file 17 net/disk_cache/blockfile/storage_block_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); file 19 net/disk_cache/blockfile/storage_block_unittest.cc ASSERT_TRUE(file->Init(filename, 8192)); file 21 net/disk_cache/blockfile/storage_block_unittest.cc CacheEntryBlock entry1(file.get(), disk_cache::Addr(0xa0010001)); file 37 net/disk_cache/blockfile/storage_block_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); file 39 net/disk_cache/blockfile/storage_block_unittest.cc ASSERT_TRUE(file->Init(filename, 8192)); file 41 net/disk_cache/blockfile/storage_block_unittest.cc CacheEntryBlock entry1(file.get(), disk_cache::Addr(0xa0010001)); file 44 net/disk_cache/blockfile/storage_block_unittest.cc CacheEntryBlock entry2(file.get(), disk_cache::Addr(0xa0010002)); file 57 net/disk_cache/blockfile/storage_block_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); file 59 net/disk_cache/blockfile/storage_block_unittest.cc ASSERT_TRUE(file->Init(filename, 8192)); file 62 net/disk_cache/blockfile/storage_block_unittest.cc new CacheEntryBlock(file.get(), disk_cache::Addr(0xa0010003)); file 69 net/disk_cache/blockfile/storage_block_unittest.cc CacheEntryBlock entry2(file.get(), disk_cache::Addr(0xa0010003)); file 238 net/disk_cache/blockfile/stress_cache.cc bool MessageHandler(int severity, const char* file, int line, file 94 net/disk_cache/cache_util.cc for (base::FilePath file = iter.Next(); !file.value().empty(); file 95 net/disk_cache/cache_util.cc file = iter.Next()) { file 96 net/disk_cache/cache_util.cc if (!base::DeleteFile(file, /* recursive */ true)) { file 36 net/disk_cache/cache_util_win.cc base::win::ScopedHandle file(CreateFile( file 38 net/disk_cache/cache_util_win.cc if (file.IsValid()) file 49 net/disk_cache/disk_cache_test_util.cc base::File file(name, flags); file 50 net/disk_cache/disk_cache_test_util.cc if (!file.IsValid()) file 53 net/disk_cache/disk_cache_test_util.cc file.SetLength(4 * 1024 * 1024); file 2571 net/disk_cache/entry_unittest.cc base::File file(file_path, base::File::FLAG_WRITE | base::File::FLAG_OPEN); file 2572 net/disk_cache/entry_unittest.cc if (!file.IsValid()) file 2574 net/disk_cache/entry_unittest.cc return file.SetLength(length); file 272 net/disk_cache/simple/simple_index_file_unittest.cc base::File file(cache_path.AppendASCII("index"), file 274 net/disk_cache/simple/simple_index_file_unittest.cc ASSERT_TRUE(file.IsValid()); file 278 net/disk_cache/simple/simple_index_file_unittest.cc int bytes_written = file.Write(0, reinterpret_cast<char*>(&file_contents), file 281 net/disk_cache/simple/simple_index_file_unittest.cc file.Close(); file 289 net/disk_cache/simple/simple_synchronous_entry.cc File* file = const_cast<File*>(&files_[file_index]); file 291 net/disk_cache/simple/simple_synchronous_entry.cc file->Read(file_offset, out_buf->data(), in_entry_op.buf_len); file 1078 net/disk_cache/simple/simple_synchronous_entry.cc File* file = const_cast<File*>(&files_[0]); file 1080 net/disk_cache/simple/simple_synchronous_entry.cc file->Read(file_offset, (*stream_0_data)->data(), stream_0_size); file 1109 net/disk_cache/simple/simple_synchronous_entry.cc File* file = const_cast<File*>(&files_[file_index]); file 1110 net/disk_cache/simple/simple_synchronous_entry.cc if (file->Read(file_offset, reinterpret_cast<char*>(&eof_record), file 33 net/disk_cache/simple/simple_version_upgrade.cc base::File file(file_name, base::File::FLAG_CREATE | base::File::FLAG_WRITE); file 34 net/disk_cache/simple/simple_version_upgrade.cc if (!file.IsValid()) file 41 net/disk_cache/simple/simple_version_upgrade.cc int bytes_written = file.Write(0, reinterpret_cast<char*>(&file_contents), file 829 net/proxy/proxy_config_service_linux.cc base::FilePath file(paths[i]); file 830 net/proxy/proxy_config_service_linux.cc if (base::PathExists(file.Append("gnome-network-properties"))) { file 50 net/test/scoped_mock_log.cc const char* file, file 54 net/test/scoped_mock_log.cc return g_instance_->Log(severity, file, line, message_start, str); file 71 net/test/scoped_mock_log.h const char* file, file 83 net/test/scoped_mock_log.h const char* file, file 103 net/tools/dump_cache/cache_dumper.cc base::FilePath::StringType file = entry_path_.value(); file 105 net/tools/dump_cache/cache_dumper.cc entry_ = CreateFileW(file.c_str(), GENERIC_WRITE|GENERIC_READ, 0, 0, file 108 net/tools/dump_cache/cache_dumper.cc wprintf(L"CreateFileW (%s) failed: %d\n", file.c_str(), GetLastError()); file 34 net/tools/dump_cache/dump_files.cc base::File file(name, base::File::FLAG_OPEN | base::File::FLAG_READ); file 35 net/tools/dump_cache/dump_files.cc if (!file.IsValid()) { file 40 net/tools/dump_cache/dump_files.cc int read = file.Read(0, header, header_size); file 68 net/tools/dump_cache/dump_files.cc disk_cache::MappedFile* file = block_files.GetFile(address); file 69 net/tools/dump_cache/dump_files.cc if (!file) file 79 net/tools/dump_cache/dump_files.cc if (!file->Read(buffer.get(), length, offset)) file 235 net/tools/dump_cache/dump_files.cc disk_cache::MappedFile* file = block_files_.GetFile(address); file 236 net/tools/dump_cache/dump_files.cc if (!file) file 239 net/tools/dump_cache/dump_files.cc disk_cache::StorageBlock<disk_cache::EntryStore> entry_block(file, address); file 260 net/tools/dump_cache/dump_files.cc disk_cache::MappedFile* file = block_files_.GetFile(address); file 261 net/tools/dump_cache/dump_files.cc if (!file) file 264 net/tools/dump_cache/dump_files.cc disk_cache::StorageBlock<disk_cache::RankingsNode> rank_block(file, address); file 345 net/tools/dump_cache/dump_files.cc for (base::FilePath file = iter.Next(); !file.empty(); file = iter.Next()) file 346 net/tools/dump_cache/dump_files.cc DumpBlockHeader(file); file 148 net/tools/quic/quic_in_memory_cache.cc FilePath file = file_list.Next(); file 149 net/tools/quic/quic_in_memory_cache.cc while (!file.empty()) { file 151 net/tools/quic/quic_in_memory_cache.cc if (file.value().find("/.svn/") != std::string::npos) { file 152 net/tools/quic/quic_in_memory_cache.cc file = file_list.Next(); file 159 net/tools/quic/quic_in_memory_cache.cc base::ReadFileToString(file, &file_contents); file 176 net/tools/quic/quic_in_memory_cache.cc LOG(DFATAL) << "Did not frame entire message from file: " << file.value() file 189 net/tools/quic/quic_in_memory_cache.cc StringPiece base = file.value(); file 219 net/tools/quic/quic_in_memory_cache.cc file = file_list.Next(); file 942 net/url_request/url_request_unittest.cc HANDLE file = CreateFile(app_path.value().c_str(), GENERIC_READ, file 945 net/url_request/url_request_unittest.cc EXPECT_NE(INVALID_HANDLE_VALUE, file); file 949 net/url_request/url_request_unittest.cc result = ReadFile(file, buffer.get(), data.nFileSizeLow, file 952 net/url_request/url_request_unittest.cc CloseHandle(file); file 45 ppapi/c/private/ppb_flash_file.h PP_FileHandle* file); file 89 ppapi/c/private/ppb_flash_file.h int32_t (*CreateTemporaryFile)(PP_Instance instance, PP_FileHandle* file); file 107 ppapi/c/private/ppb_flash_file.h PP_FileHandle* file); file 373 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::FileRef file(url_response_.GetBodyAsFileRef()); file 374 ppapi/native_client/src/trusted/plugin/file_downloader.cc if (file.is_null()) { file 384 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp_error = file_reader_.Open(file, PP_FILEOPENFLAG_READ, onopen_callback); file 43 ppapi/native_client/src/trusted/plugin/utility.cc char* file = getenv("NACL_PLUGIN_LOG"); file 44 ppapi/native_client/src/trusted/plugin/utility.cc if (NULL != file) { file 49 ppapi/native_client/src/trusted/plugin/utility.cc size_t filename_length = strlen(file) + 32; file 51 ppapi/native_client/src/trusted/plugin/utility.cc int ret = SNPRINTF(filename, filename_length, "%s.%d.log", file, pid); file 42 ppapi/proxy/file_io_resource.cc void DoClose(base::PlatformFile file) { file 43 ppapi/proxy/file_io_resource.cc base::ClosePlatformFile(file); file 61 ppapi/proxy/file_io_resource.cc base::File file(file_handle_->raw_handle()); file 62 ppapi/proxy/file_io_resource.cc bool success = file.GetInfo(&file_info_); file 63 ppapi/proxy/file_io_resource.cc file.TakePlatformFile(); file 202 ppapi/proxy/file_io_resource.cc base::File file(file_handle_->raw_handle()); file 203 ppapi/proxy/file_io_resource.cc bool success = file.GetInfo(&file_info); file 204 ppapi/proxy/file_io_resource.cc file.TakePlatformFile(); file 56 ppapi/proxy/flash_file_resource.cc PP_FileHandle* file) { file 57 ppapi/proxy/flash_file_resource.cc return OpenFileHelper(path, PepperFilePath::DOMAIN_MODULE_LOCAL, mode, file); file 142 ppapi/proxy/flash_file_resource.cc PP_FileHandle* file) { file 143 ppapi/proxy/flash_file_resource.cc if (!file) file 157 ppapi/proxy/flash_file_resource.cc *file = IPC::PlatformFileForTransitToPlatformFile(transit_file); file 164 ppapi/proxy/flash_file_resource.cc PP_FileHandle* file) { file 166 ppapi/proxy/flash_file_resource.cc PepperFilePath::DOMAIN_ABSOLUTE, mode, file); file 179 ppapi/proxy/flash_file_resource.cc PP_FileHandle* file) { file 182 ppapi/proxy/flash_file_resource.cc !file) file 199 ppapi/proxy/flash_file_resource.cc *file = IPC::PlatformFileForTransitToPlatformFile(transit_file); file 32 ppapi/proxy/flash_file_resource.h PP_FileHandle* file) OVERRIDE; file 49 ppapi/proxy/flash_file_resource.h PP_FileHandle* file) OVERRIDE; file 53 ppapi/proxy/flash_file_resource.h PP_FileHandle* file) OVERRIDE; file 62 ppapi/proxy/flash_file_resource.h PP_FileHandle* file); file 70 ppapi/proxy/plugin_var_tracker.h base::SharedMemoryHandle file, file 84 ppapi/proxy/serialized_handle.cc base::PlatformFile file = file 87 ppapi/proxy/serialized_handle.cc base::ClosePlatformFile(file); file 89 ppapi/proxy/serialized_handle.cc close(file); file 83 ppapi/tests/test_broker.cc bool ReadMessage(PlatformFile file, size_t message_len, char* message) { file 88 ppapi/tests/test_broker.cc return ::ReadFile(file, message, size, &read, NULL) && read == size; file 94 ppapi/tests/test_broker.cc ssize_t read = HANDLE_EINTR(::read(file, message + total_read, file 104 ppapi/tests/test_broker.cc bool WriteMessage(PlatformFile file, size_t message_len, const char* message) { file 109 ppapi/tests/test_broker.cc return ::WriteFile(file, message, size, &written, NULL) && written == size; file 115 ppapi/tests/test_broker.cc ssize_t written = HANDLE_EINTR(::write(file, message + total_written, file 125 ppapi/tests/test_broker.cc bool VerifyMessage(PlatformFile file, size_t message_len, const char* message) { file 127 ppapi/tests/test_broker.cc bool success = ReadMessage(file, message_len, message_received) && file 133 ppapi/tests/test_broker.cc bool ClosePlatformFile(PlatformFile file) { file 135 ppapi/tests/test_broker.cc return !!::CloseHandle(file); file 137 ppapi/tests/test_broker.cc return !IGNORE_EINTR(::close(file)); file 143 ppapi/tests/test_broker.cc FILE* file = NULL; file 148 ppapi/tests/test_broker.cc ::_wfopen_s(&file, file_name, L"w")) file 151 ppapi/tests/test_broker.cc if (::fclose(file)) { file 174 ppapi/tests/test_broker.cc PlatformFile file = IntToPlatformFile(handle); file 175 ppapi/tests/test_broker.cc if (file == kInvalidPlatformFileValue) file 179 ppapi/tests/test_broker.cc if (!WriteMessage(file, sizeof(kHelloMessage), kHelloMessage)) { file 180 ppapi/tests/test_broker.cc ClosePlatformFile(file); file 186 ppapi/tests/test_broker.cc if (!WriteMessage(file, sizeof(kBrokerUnsandboxed), kBrokerUnsandboxed)) { file 187 ppapi/tests/test_broker.cc ClosePlatformFile(file); file 191 ppapi/tests/test_broker.cc if (!WriteMessage(file, sizeof(kBrokerSandboxed), kBrokerSandboxed)) { file 192 ppapi/tests/test_broker.cc ClosePlatformFile(file); file 197 ppapi/tests/test_broker.cc if (!ClosePlatformFile(file)) file 296 ppapi/tests/test_broker.cc PlatformFile file = IntToPlatformFile(handle); file 297 ppapi/tests/test_broker.cc ASSERT_TRUE(VerifyMessage(file, sizeof(kHelloMessage), kHelloMessage)); file 298 ppapi/tests/test_broker.cc ASSERT_TRUE(VerifyMessage(file, sizeof(kBrokerUnsandboxed), file 301 ppapi/tests/test_broker.cc ASSERT_TRUE(ClosePlatformFile(file)); file 100 ppapi/tests/test_case.cc std::string TestCase::MakeFailureMessage(const char* file, file 111 ppapi/tests/test_case.cc output << "Failure in " << file << "(" << line << "): " << cmd; file 59 ppapi/tests/test_case.h static std::string MakeFailureMessage(const char* file, int line, file 28 ppapi/thunk/ppb_flash_file_api.h PP_FileHandle* file) = 0; file 45 ppapi/thunk/ppb_flash_file_api.h PP_FileHandle* file) = 0; file 51 ppapi/thunk/ppb_flash_file_api.h PP_FileHandle* file) = 0; file 25 ppapi/thunk/ppb_flash_file_fileref_thunk.cc int32_t OpenFile(PP_Resource file_ref_id, int32_t mode, PP_FileHandle* file) { file 32 ppapi/thunk/ppb_flash_file_fileref_thunk.cc return enter.functions()->OpenFileRef(instance, file_ref_id, mode, file); file 26 ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc PP_FileHandle* file) { file 30 ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc return enter.functions()->OpenFile(instance, path, mode, file); file 81 ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc int32_t CreateTemporaryFile(PP_Instance instance, PP_FileHandle* file) { file 86 ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc *file = PP_kInvalidFileHandle; file 87 ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc return enter.functions()->CreateTemporaryFile(instance, file); file 283 printing/emf_win.cc HANDLE file = CreateFile(file_path.value().c_str(), GENERIC_WRITE, file 286 printing/emf_win.cc if (file == INVALID_HANDLE_VALUE) file 293 printing/emf_win.cc if (WriteFile(file, &*buffer.begin(), static_cast<DWORD>(buffer.size()), file 299 printing/emf_win.cc CloseHandle(file); file 1029 remoting/client/plugin/chromoting_instance.cc bool ChromotingInstance::LogToUI(int severity, const char* file, int line, file 1071 remoting/client/plugin/chromoting_instance.cc return (g_logging_old_handler)(severity, file, line, message_start, str); file 171 remoting/client/plugin/chromoting_instance.h static bool LogToUI(int severity, const char* file, int line, file 86 remoting/host/plugin/host_log_handler.cc bool HostLogHandler::LogToUI(int severity, const char* file, int line, file 118 remoting/host/plugin/host_log_handler.cc return (g_logging_old_handler)(severity, file, line, message_start, str); file 32 remoting/host/plugin/host_log_handler.h static bool LogToUI(int severity, const char* file, int line, file 100 remoting/host/win/elevated_controller.cc base::win::ScopedHandle file( file 109 remoting/host/win/elevated_controller.cc if (!file.IsValid()) { file 118 remoting/host/win/elevated_controller.cc if (!::ReadFile(file, &buffer[0], size, &size, NULL)) { file 166 remoting/host/win/elevated_controller.cc base::win::ScopedHandle file( file 175 remoting/host/win/elevated_controller.cc if (!file.IsValid()) { file 183 remoting/host/win/elevated_controller.cc if (!WriteFile(file, content, static_cast<DWORD>(length), &written, NULL)) { file 47 sandbox/linux/seccomp-bpf/die.cc void Die::SandboxDie(const char* msg, const char* file, int line) { file 49 sandbox/linux/seccomp-bpf/die.cc LogToStderr(msg, file, line); file 51 sandbox/linux/seccomp-bpf/die.cc logging::LogMessage(file, line, logging::LOG_FATAL).stream() << msg; file 63 sandbox/linux/seccomp-bpf/die.cc void Die::SandboxInfo(const char* msg, const char* file, int line) { file 65 sandbox/linux/seccomp-bpf/die.cc logging::LogMessage(file, line, logging::LOG_INFO).stream() << msg; file 69 sandbox/linux/seccomp-bpf/die.cc void Die::LogToStderr(const char* msg, const char* file, int line) { file 73 sandbox/linux/seccomp-bpf/die.cc std::string s = std::string(file) + ":" + buf + ":" + msg + "\n"; file 35 sandbox/linux/seccomp-bpf/die.h static void SandboxDie(const char* msg, const char* file, int line) file 42 sandbox/linux/seccomp-bpf/die.h static void SandboxInfo(const char* msg, const char* file, int line); file 46 sandbox/linux/seccomp-bpf/die.h static void LogToStderr(const char* msg, const char* file, int line); file 250 sandbox/linux/tests/unit_tests.cc void UnitTests::AssertionFailure(const char* expr, const char* file, int line) { file 251 sandbox/linux/tests/unit_tests.cc fprintf(stderr, "%s:%d:%s", file, line, expr); file 97 sandbox/linux/tests/unit_tests.h static void AssertionFailure(const char* expr, const char* file, int line); file 21 sandbox/win/sandbox_poc/pocdll/fs.cc HANDLE file; file 22 sandbox/win/sandbox_poc/pocdll/fs.cc file = ::CreateFile(path_expanded, file 30 sandbox/win/sandbox_poc/pocdll/fs.cc if (file && INVALID_HANDLE_VALUE != file) { file 32 sandbox/win/sandbox_poc/pocdll/fs.cc file); file 33 sandbox/win/sandbox_poc/pocdll/fs.cc ::CloseHandle(file); file 37 sandbox/win/src/app_container_test.cc base::win::ScopedHandle file; file 38 sandbox/win/src/app_container_test.cc file.Set(CreateFile(file_name, GENERIC_READ | STANDARD_RIGHTS_READ, kSharing, file 41 sandbox/win/src/app_container_test.cc if (!file.IsValid()) file 45 sandbox/win/src/app_container_test.cc if (!AtlGetSecurityDescriptor(file.Get(), SE_FILE_OBJECT, &sd, file 70 sandbox/win/src/file_policy_test.cc HANDLE file = ::CreateFileW(full_path.c_str(), GENERIC_READ, kSharing, file 73 sandbox/win/src/file_policy_test.cc if (INVALID_HANDLE_VALUE != file) { file 74 sandbox/win/src/file_policy_test.cc ::CloseHandle(file); file 97 sandbox/win/src/file_policy_test.cc base::string16 file(argv[0]); file 98 sandbox/win/src/file_policy_test.cc if (0 != _wcsnicmp(file.c_str(), kNTObjManPrefix, kNTObjManPrefixLen)) file 99 sandbox/win/src/file_policy_test.cc file = MakePathToSys(argv[0], true); file 102 sandbox/win/src/file_policy_test.cc RtlInitUnicodeString(&object_name, file.c_str()); file 135 sandbox/win/src/file_policy_test.cc base::string16 file = MakePathToSys(argv[0], true); file 137 sandbox/win/src/file_policy_test.cc RtlInitUnicodeString(&object_name, file.c_str()); file 215 sandbox/win/src/file_policy_test.cc base::string16 file = MakePathToSys(argv[0], true); file 216 sandbox/win/src/file_policy_test.cc RtlInitUnicodeString(&object_name, file.c_str()); file 540 sandbox/win/src/file_policy_test.cc HANDLE file = ::CreateFile(temp_file.c_str(), FILE_ALL_ACCESS, file 543 sandbox/win/src/file_policy_test.cc ASSERT_TRUE(INVALID_HANDLE_VALUE != file); file 544 sandbox/win/src/file_policy_test.cc ASSERT_TRUE(::CloseHandle(file)); file 549 sandbox/win/src/file_policy_test.cc file = ::CreateFile(temp_file_in_temp.c_str(), FILE_ALL_ACCESS, file 552 sandbox/win/src/file_policy_test.cc ASSERT_TRUE(file != NULL); file 553 sandbox/win/src/file_policy_test.cc ASSERT_TRUE(::CloseHandle(file)); file 19 sandbox/win/src/filesystem_interception.cc PHANDLE file, ACCESS_MASK desired_access, file 27 sandbox/win/src/filesystem_interception.cc NTSTATUS status = orig_CreateFile(file, desired_access, object_attributes, file 39 sandbox/win/src/filesystem_interception.cc if (!ValidParameter(file, sizeof(HANDLE), WRITE)) file 82 sandbox/win/src/filesystem_interception.cc *file = answer.handle; file 94 sandbox/win/src/filesystem_interception.cc NTSTATUS WINAPI TargetNtOpenFile(NtOpenFileFunction orig_OpenFile, PHANDLE file, file 100 sandbox/win/src/filesystem_interception.cc NTSTATUS status = orig_OpenFile(file, desired_access, object_attributes, file 110 sandbox/win/src/filesystem_interception.cc if (!ValidParameter(file, sizeof(HANDLE), WRITE)) file 150 sandbox/win/src/filesystem_interception.cc *file = answer.handle; file 276 sandbox/win/src/filesystem_interception.cc NtSetInformationFileFunction orig_SetInformationFile, HANDLE file, file 280 sandbox/win/src/filesystem_interception.cc NTSTATUS status = orig_SetInformationFile(file, io_status, file_info, length, file 338 sandbox/win/src/filesystem_interception.cc ResultCode code = CrossCall(ipc, IPC_NTSETINFO_RENAME_TAG, file, file 17 sandbox/win/src/filesystem_interception.h NtCreateFileFunction orig_CreateFile, PHANDLE file, file 25 sandbox/win/src/filesystem_interception.h NtOpenFileFunction orig_OpenFile, PHANDLE file, ACCESS_MASK desired_access, file 45 sandbox/win/src/filesystem_interception.h NtSetInformationFileFunction orig_SetInformationFile, HANDLE file, file 232 sandbox/win/src/filesystem_policy.cc const base::string16 &file, file 251 sandbox/win/src/filesystem_policy.cc InitObjectAttribs(file, attributes, NULL, &obj_attributes, &uni_name); file 263 sandbox/win/src/filesystem_policy.cc const base::string16 &file, file 282 sandbox/win/src/filesystem_policy.cc InitObjectAttribs(file, attributes, NULL, &obj_attributes, &uni_name); file 295 sandbox/win/src/filesystem_policy.cc const base::string16 &file, file 311 sandbox/win/src/filesystem_policy.cc InitObjectAttribs(file, attributes, NULL, &obj_attributes, &uni_name); file 320 sandbox/win/src/filesystem_policy.cc const base::string16 &file, file 336 sandbox/win/src/filesystem_policy.cc InitObjectAttribs(file, attributes, NULL, &obj_attributes, &uni_name); file 43 sandbox/win/src/filesystem_policy.h const base::string16 &file, file 61 sandbox/win/src/filesystem_policy.h const base::string16 &file, file 74 sandbox/win/src/filesystem_policy.h const base::string16 &file, file 84 sandbox/win/src/filesystem_policy.h const base::string16 &file, file 91 sandbox/win/src/interceptors_64.cc PHANDLE file, ACCESS_MASK desired_access, file 97 sandbox/win/src/interceptors_64.cc return TargetNtCreateFile(orig_fn, file, desired_access, object_attributes, file 104 sandbox/win/src/interceptors_64.cc PHANDLE file, ACCESS_MASK desired_access, file 109 sandbox/win/src/interceptors_64.cc return TargetNtOpenFile(orig_fn, file, desired_access, object_attributes, file 133 sandbox/win/src/interceptors_64.cc HANDLE file, PIO_STATUS_BLOCK io_status, PVOID file_information, file 137 sandbox/win/src/interceptors_64.cc return TargetNtSetInformationFile(orig_fn, file, io_status, file_information, file 61 sandbox/win/src/interceptors_64.h PHANDLE file, ACCESS_MASK desired_access, file 68 sandbox/win/src/interceptors_64.h PHANDLE file, ACCESS_MASK desired_access, file 84 sandbox/win/src/interceptors_64.h HANDLE file, PIO_STATUS_BLOCK io_status, PVOID file_information, file 271 sandbox/win/src/win_utils.cc HANDLE file = ::CreateFileW(path.c_str(), 0, file 274 sandbox/win/src/win_utils.cc if (file == INVALID_HANDLE_VALUE) file 276 sandbox/win/src/win_utils.cc bool rv = GetPathFromHandle(file, nt_path); file 277 sandbox/win/src/win_utils.cc ::CloseHandle(file); file 70 sandbox/win/src/win_utils_unittest.cc base::win::ScopedHandle file(CreateFile( file 74 sandbox/win/src/win_utils_unittest.cc EXPECT_TRUE(file.IsValid()); file 78 sandbox/win/src/win_utils_unittest.cc EXPECT_TRUE(SameObject(file.Get(), file_name_nt1.c_str())); file 79 sandbox/win/src/win_utils_unittest.cc EXPECT_TRUE(SameObject(file.Get(), file_name_nt2.c_str())); file 81 sandbox/win/src/win_utils_unittest.cc file.Close(); file 50 sandbox/win/tests/validation_tests/commands.cc HANDLE file; file 51 sandbox/win/tests/validation_tests/commands.cc file = ::CreateFile(path_expanded, file 59 sandbox/win/tests/validation_tests/commands.cc if (INVALID_HANDLE_VALUE != file) { file 60 sandbox/win/tests/validation_tests/commands.cc ::CloseHandle(file); file 55 sandbox/win/tools/finder/finder_fs.cc HANDLE file; file 57 sandbox/win/tools/finder/finder_fs.cc file = ::CreateFile(name.GetBuffer(), file 65 sandbox/win/tools/finder/finder_fs.cc if (file != INVALID_HANDLE_VALUE) { file 68 sandbox/win/tools/finder/finder_fs.cc ::CloseHandle(file); file 77 sandbox/win/tools/finder/finder_fs.cc file = ::CreateFile(name.GetBuffer(), file 85 sandbox/win/tools/finder/finder_fs.cc if (file != INVALID_HANDLE_VALUE) { file 88 sandbox/win/tools/finder/finder_fs.cc ::CloseHandle(file); file 97 sandbox/win/tools/finder/finder_fs.cc file = ::CreateFile(name.GetBuffer(), file 105 sandbox/win/tools/finder/finder_fs.cc if (file != INVALID_HANDLE_VALUE) { file 108 sandbox/win/tools/finder/finder_fs.cc ::CloseHandle(file); file 171 skia/config/SkUserConfig.h SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, file 13 skia/ext/google_logging.cc void SkDebugf_FileLine(const char* file, int line, bool fatal, file 22 skia/ext/google_logging.cc logging::LogMessage(file, line, file 129 sql/connection.cc int GetSqlite3File(sqlite3* db, sqlite3_file** file) { file 130 sql/connection.cc *file = NULL; file 131 sql/connection.cc int rc = sqlite3_file_control(db, NULL, SQLITE_FCNTL_FILE_POINTER, file); file 138 sql/connection.cc if (!*file || !(*file)->pMethods) file 328 sql/connection.cc sqlite3_file* file = NULL; file 329 sql/connection.cc int rc = GetSqlite3File(db_, &file); file 334 sql/connection.cc rc = file->pMethods->xFileSize(file, &file_size); file 344 sql/connection.cc rc = file->pMethods->xRead(file, buf.get(), page_size, pos); file 460 sql/connection.cc sqlite3_file* file = NULL; file 461 sql/connection.cc rc = GetSqlite3File(db_, &file); file 467 sql/connection.cc rc = file->pMethods->xTruncate(file, 0); file 53 sql/connection.h StatementID(const char* file, int line) file 55 sql/connection.h str_(file) { file 427 sql/connection_unittest.cc base::ScopedFILE file(base::OpenFile(db_path(), "rb+")); file 428 sql/connection_unittest.cc ASSERT_TRUE(file.get() != NULL); file 429 sql/connection_unittest.cc ASSERT_EQ(0, fseek(file.get(), 0, SEEK_SET)); file 430 sql/connection_unittest.cc ASSERT_TRUE(base::TruncateFile(file.get())); file 445 sql/connection_unittest.cc base::ScopedFILE file(base::OpenFile(db_path(), "wb")); file 446 sql/connection_unittest.cc ASSERT_TRUE(file.get() != NULL); file 449 sql/connection_unittest.cc fputs(kJunk, file.get()); file 478 sql/connection_unittest.cc base::ScopedFILE file(base::OpenFile(db_path(), "rb+")); file 479 sql/connection_unittest.cc ASSERT_TRUE(file.get() != NULL); file 480 sql/connection_unittest.cc ASSERT_EQ(0, fseek(file.get(), 0, SEEK_SET)); file 483 sql/connection_unittest.cc fputs(kJunk, file.get()); file 79 sql/test/test_helpers.cc base::ScopedFILE file(base::OpenFile(db_path, "rb+")); file 80 sql/test/test_helpers.cc if (!file.get()) file 83 sql/test/test_helpers.cc if (0 != fseek(file.get(), 0, SEEK_SET)) file 85 sql/test/test_helpers.cc if (1u != fread(header, sizeof(header), 1, file.get())) file 104 sql/test/test_helpers.cc if (0 != fseek(file.get(), 0, SEEK_SET)) file 106 sql/test/test_helpers.cc if (1u != fwrite(header, sizeof(header), 1, file.get())) file 132 sql/test/test_helpers.cc base::ScopedFILE file(base::OpenFile(db_path, "rb+")); file 133 sql/test/test_helpers.cc if (!file.get()) file 135 sql/test/test_helpers.cc if (0 != fseek(file.get(), page_ofs, SEEK_SET)) file 137 sql/test/test_helpers.cc if (1u != fread(page_buf.get(), page_size, 1, file.get())) file 158 sql/test/test_helpers.cc if (0 != fflush(file.get())) file 160 sql/test/test_helpers.cc if (0 != fseek(file.get(), page_ofs, SEEK_SET)) file 162 sql/test/test_helpers.cc if (1u != fread(check_page_buf.get(), page_size, 1, file.get())) file 168 sql/test/test_helpers.cc if (0 != fseek(file.get(), page_ofs, SEEK_SET)) file 170 sql/test/test_helpers.cc if (1u != fwrite(page_buf.get(), page_size, 1, file.get())) file 30 sync/notifier/sync_system_resources.cc void SyncLogger::Log(LogLevel level, const char* file, int line, file 57 sync/notifier/sync_system_resources.cc logging::LogMessage(file, line, log_severity).stream() << result; file 39 sync/notifier/sync_system_resources.h virtual void Log(LogLevel level, const char* file, int line, file 269 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateRWLockCreate(const char *file, int line, file 271 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateRWLockDestroy(const char *file, int line, file 273 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateRWLockAcquired(const char *file, int line, file 275 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateRWLockReleased(const char *file, int line, file 277 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateCondVarWait(const char *file, int line, file 280 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateCondVarSignal(const char *file, int line, file 282 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateCondVarSignalAll(const char *file, int line, file 284 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotatePublishMemoryRange(const char *file, int line, file 287 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotatePCQCreate(const char *file, int line, file 289 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotatePCQDestroy(const char *file, int line, file 291 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotatePCQPut(const char *file, int line, file 293 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotatePCQGet(const char *file, int line, file 295 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateNewMemory(const char *file, int line, file 298 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateExpectRace(const char *file, int line, file 301 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateBenignRace(const char *file, int line, file 304 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateMutexIsUsedAsCondVar(const char *file, int line, file 306 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateTraceMemory(const char *file, int line, file 308 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateThreadName(const char *file, int line, file 310 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateIgnoreReadsBegin(const char *file, int line); file 311 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateIgnoreReadsEnd(const char *file, int line); file 312 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateIgnoreWritesBegin(const char *file, int line); file 313 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateIgnoreWritesEnd(const char *file, int line); file 314 third_party/cld/base/dynamic_annotations.h extern "C" void AnnotateNoOp(const char *file, int line, file 895 third_party/cld/base/logging.h LogMessage(const char* file, int line, LogSeverity severity, int ctr, file 906 third_party/cld/base/logging.h LogMessage(const char* file, int line); file 913 third_party/cld/base/logging.h LogMessage(const char* file, int line, LogSeverity severity); file 918 third_party/cld/base/logging.h LogMessage(const char* file, int line, LogSeverity severity, LogSink* sink, file 924 third_party/cld/base/logging.h LogMessage(const char* file, int line, LogSeverity severity, file 930 third_party/cld/base/logging.h LogMessage(const char* file, int line, LogSeverity severity, file 934 third_party/cld/base/logging.h LogMessage(const char* file, int line, const CheckOpString& result); file 982 third_party/cld/base/logging.h void Init(const char* file, int line, LogSeverity severity, file 1045 third_party/cld/base/logging.h LogMessageFatal(const char* file, int line); file 1046 third_party/cld/base/logging.h LogMessageFatal(const char* file, int line, const CheckOpString& result); file 1052 third_party/cld/base/logging.h LogMessageQuietlyFatal(const char* file, int line); file 1053 third_party/cld/base/logging.h LogMessageQuietlyFatal(const char* file, int line, file 1073 third_party/cld/base/logging.h T* CheckNotNull(const char *file, int line, const char *names, T* t) { file 1074 third_party/cld/base/logging.h return CheckNotNullCommon(file, line, names, t); file 1078 third_party/cld/base/logging.h T& CheckNotNull(const char *file, int line, const char *names, T& t) { file 1079 third_party/cld/base/logging.h return CheckNotNullCommon(file, line, names, t); file 1083 third_party/cld/base/logging.h T& CheckNotNullCommon(const char *file, int line, const char *names, T& t) { file 1085 third_party/cld/base/logging.h LogMessageFatal(file, line, new string(names)); file 1114 third_party/cld/base/logging.h ErrnoLogMessage(const char* file, int line, LogSeverity severity, int ctr, file 1197 third_party/cld/base/logging.h static string ToString(LogSeverity severity, const char* file, int line, file 1398 third_party/cld/base/logging.h NullStreamFatal(const char* file, int line, const CheckOpString& result) : file 1399 third_party/cld/base/logging.h NullStream(file, line, result) { } file 131 third_party/cld/base/vlog_is_on.h inline bool VLogEnabled(Atomic32* site, int32 level, const char* const file) { file 135 third_party/cld/base/vlog_is_on.h SiteLevel(site_copy) : InitVLOG(site, file); file 397 third_party/harfbuzz-ng/src/hb-uniscribe.cc const OT::OpenTypeFontFile &file = * (OT::OpenTypeFontFile *) (new_sfnt_data); file 398 third_party/harfbuzz-ng/src/hb-uniscribe.cc unsigned int face_count = file.get_face_count (); file 403 third_party/harfbuzz-ng/src/hb-uniscribe.cc const OT::OpenTypeFontFace &face = file.get_face (face_index); file 570 third_party/leveldatabase/env_chromium.cc ::base::File file; file 573 third_party/leveldatabase/env_chromium.cc file.Initialize(CreateFilePath(fname), flags); file 574 third_party/leveldatabase/env_chromium.cc if (!file.IsValid()) file 575 third_party/leveldatabase/env_chromium.cc error_code = file.error_details(); file 576 third_party/leveldatabase/env_chromium.cc } while (!file.IsValid() && retrier.ShouldKeepTrying(error_code)); file 578 third_party/leveldatabase/env_chromium.cc if (!file.IsValid()) { file 606 third_party/leveldatabase/env_chromium.cc error_code = file.Lock(); file 619 third_party/leveldatabase/env_chromium.cc my_lock->file_ = file.Pass(); file 825 third_party/leveldatabase/env_chromium.cc base::FilePath file = base::FilePath::FromUTF8Unsafe(filename); file 826 third_party/leveldatabase/env_chromium.cc return FilePathToString(file.DirName()); file 34 third_party/leveldatabase/env_chromium_stdio.cc size_t fread_unlocked(void* ptr, size_t size, size_t n, FILE* file) { file 35 third_party/leveldatabase/env_chromium_stdio.cc return fread(ptr, size, n, file); file 38 third_party/leveldatabase/env_chromium_stdio.cc size_t fwrite_unlocked(const void* ptr, size_t size, size_t n, FILE* file) { file 39 third_party/leveldatabase/env_chromium_stdio.cc return fwrite(ptr, size, n, file); file 42 third_party/leveldatabase/env_chromium_stdio.cc int fflush_unlocked(FILE* file) { return fflush(file); } file 114 third_party/leveldatabase/env_chromium_stdio.cc ::base::File file, file 116 third_party/leveldatabase/env_chromium_stdio.cc : filename_(fname), file_(file.Pass()), uma_logger_(uma_logger) {} file 277 third_party/leveldatabase/env_chromium_stdio.cc ::base::File file(ChromiumEnv::CreateFilePath(fname), flags); file 278 third_party/leveldatabase/env_chromium_stdio.cc if (file.IsValid()) { file 279 third_party/leveldatabase/env_chromium_stdio.cc *result = new ChromiumRandomAccessFile(fname, file.Pass(), this); file 283 third_party/leveldatabase/env_chromium_stdio.cc ::base::File::Error error_code = file.error_details(); file 99 third_party/leveldatabase/env_chromium_win.cc ::base::File file, file 101 third_party/leveldatabase/env_chromium_win.cc : filename_(fname), file_(file.Pass()), uma_logger_(uma_logger) {} file 268 third_party/leveldatabase/env_chromium_win.cc ::base::File file(ChromiumEnv::CreateFilePath(fname), flags); file 269 third_party/leveldatabase/env_chromium_win.cc if (file.IsValid()) { file 270 third_party/leveldatabase/env_chromium_win.cc *result = new ChromiumRandomAccessFileWin(fname, file.Pass(), this); file 274 third_party/leveldatabase/env_chromium_win.cc ::base::File::Error error_code = file.error_details(); file 62 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc std::ifstream file(kDataFileName); file 63 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc assert(file.is_open()); file 66 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc while (file.good()) { file 67 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc std::getline(file, line); file 85 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc file.close(); file 548 third_party/libevent/http.c static char file[1024]; file 575 third_party/libevent/http.c evutil_snprintf(file, sizeof(file), "/%s", p2); file 593 third_party/libevent/http.c *pfile = file; file 124 third_party/libjingle/overrides/talk/base/logging.cc DiagnosticLogMessage::DiagnosticLogMessage(const char* file, file 130 third_party/libjingle/overrides/talk/base/logging.cc : file_name_(file), file 137 third_party/libjingle/overrides/talk/base/logging.cc DiagnosticLogMessage::DiagnosticLogMessage(const char* file, file 144 third_party/libjingle/overrides/talk/base/logging.cc : file_name_(file), file 102 third_party/libjingle/overrides/talk/base/logging.h DiagnosticLogMessage(const char* file, int line, LoggingSeverity severity, file 104 third_party/libjingle/overrides/talk/base/logging.h DiagnosticLogMessage(const char* file, int line, LoggingSeverity severity, file 88 third_party/libjpeg/jinclude.h #define JFREAD(file,buf,sizeofbuf) \ file 89 third_party/libjpeg/jinclude.h ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file))) file 90 third_party/libjpeg/jinclude.h #define JFWRITE(file,buf,sizeofbuf) \ file 91 third_party/libjpeg/jinclude.h ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file))) file 2325 third_party/libxml/src/catalog.c const char *file, int super) { file 2330 third_party/libxml/src/catalog.c if ((cur == NULL) || (file == NULL)) file 2332 third_party/libxml/src/catalog.c base = xmlStrdup((const xmlChar *) file); file 246 third_party/libxml/src/error.c char *file = NULL; file 263 third_party/libxml/src/error.c file = err->file; file 293 third_party/libxml/src/error.c if (file != NULL) file 294 third_party/libxml/src/error.c channel(data, "%s:%d: ", file, line); file 444 third_party/libxml/src/error.c const char *file, int line, const char *str1, file 499 third_party/libxml/src/error.c if (file == NULL) { file 506 third_party/libxml/src/error.c file = input->filename; file 512 third_party/libxml/src/error.c } else if ((node != NULL) && (file == NULL)) { file 539 third_party/libxml/src/error.c if (file != NULL) file 540 third_party/libxml/src/error.c to->file = (char *) xmlStrdup((const xmlChar *) file); file 565 third_party/libxml/src/error.c to->file = (char *) xmlGetProp(prev, BAD_CAST "href"); file 568 third_party/libxml/src/error.c to->file = (char *) xmlGetProp(prev, BAD_CAST "href"); file 572 third_party/libxml/src/error.c to->file = (char *) xmlStrdup(baseptr->doc->URL); file 573 third_party/libxml/src/error.c if ((to->file == NULL) && (node != NULL) && (node->doc != NULL)) { file 574 third_party/libxml/src/error.c to->file = (char *) xmlStrdup(node->doc->URL); file 872 third_party/libxml/src/error.c if (err->file != NULL) file 873 third_party/libxml/src/error.c xmlFree(err->file); file 949 third_party/libxml/src/error.c char *message, *file, *str1, *str2, *str3; file 955 third_party/libxml/src/error.c file = (char *) xmlStrdup ((xmlChar *) from->file); file 962 third_party/libxml/src/error.c if (to->file != NULL) file 963 third_party/libxml/src/error.c xmlFree(to->file); file 980 third_party/libxml/src/error.c to->file = file; file 115 third_party/libxml/src/include/libxml/nanoftp.h const char *file); file 672 third_party/libxml/src/include/libxml/tree.h xmlBufferDump (FILE *file, file 173 third_party/libxml/src/include/libxml/xmlIO.h xmlParserInputBufferCreateFile (FILE *file, file 231 third_party/libxml/src/include/libxml/xmlIO.h xmlOutputBufferCreateFile (FILE *file, file 81 third_party/libxml/src/include/libxml/xmlerror.h char *file; /* the filename */ file 926 third_party/libxml/src/include/libxml/xmlerror.h const char *file, file 161 third_party/libxml/src/include/libxml/xmlmemory.h xmlMallocLoc (size_t size, const char *file, int line) LIBXML_ATTR_ALLOC_SIZE(1); file 163 third_party/libxml/src/include/libxml/xmlmemory.h xmlReallocLoc (void *ptr, size_t size, const char *file, int line); file 165 third_party/libxml/src/include/libxml/xmlmemory.h xmlMallocAtomicLoc (size_t size, const char *file, int line) LIBXML_ATTR_ALLOC_SIZE(1); file 167 third_party/libxml/src/include/libxml/xmlmemory.h xmlMemStrdupLoc (const char *str, const char *file, int line); file 351 third_party/libxml/src/include/libxml/xpathInternals.h const char *file, file 1316 third_party/libxml/src/nanoftp.c xmlNanoFTPDele(void *ctx, const char *file) { file 1322 third_party/libxml/src/nanoftp.c if ((ctxt == NULL) || (ctxt->controlFd < 0) || (file == NULL)) return(-1); file 1323 third_party/libxml/src/nanoftp.c if (file == NULL) return (0); file 1334 third_party/libxml/src/nanoftp.c snprintf(buf, sizeof(buf), "DELE %s\r\n", file); file 1834 third_party/libxml/src/parserInternals.c if (ctxt->lastError.file != NULL) file 1835 third_party/libxml/src/parserInternals.c xmlFree(ctxt->lastError.file); file 350 third_party/libxml/src/runtest.c char *file = NULL; file 366 third_party/libxml/src/runtest.c file = err->file; file 402 third_party/libxml/src/runtest.c if (file != NULL) file 403 third_party/libxml/src/runtest.c channel(data, "%s:%d: ", file, line); file 11596 third_party/libxml/src/testapi.c const char * file; /* a file or directory on the server */ file 11603 third_party/libxml/src/testapi.c file = gen_filepath(n_file, 1); file 11605 third_party/libxml/src/testapi.c ret_val = xmlNanoFTPDele(ctx, file); file 11609 third_party/libxml/src/testapi.c des_filepath(n_file, file, 1); file 28287 third_party/libxml/src/testapi.c FILE * file; /* a FILE* */ file 28295 third_party/libxml/src/testapi.c file = gen_FILE_ptr(n_file, 0); file 28298 third_party/libxml/src/testapi.c ret_val = xmlOutputBufferCreateFile(file, encoder); file 28301 third_party/libxml/src/testapi.c des_FILE_ptr(n_file, file, 0); file 28558 third_party/libxml/src/testapi.c FILE * file; /* a FILE* */ file 28566 third_party/libxml/src/testapi.c file = gen_FILE_ptr(n_file, 0); file 28569 third_party/libxml/src/testapi.c ret_val = xmlParserInputBufferCreateFile(file, enc); file 28572 third_party/libxml/src/testapi.c des_FILE_ptr(n_file, file, 0); file 50746 third_party/libxml/src/testapi.c const char * file; /* the file name */ file 50759 third_party/libxml/src/testapi.c file = gen_filepath(n_file, 1); file 50763 third_party/libxml/src/testapi.c xmlXPatherror(ctxt, file, line, no); file 50766 third_party/libxml/src/testapi.c des_filepath(n_file, file, 1); file 7122 third_party/libxml/src/tree.c xmlBufferDump(FILE *file, xmlBufferPtr buf) { file 7139 third_party/libxml/src/tree.c if (file == NULL) file 7140 third_party/libxml/src/tree.c file = stdout; file 7141 third_party/libxml/src/tree.c ret = fwrite(buf->content, sizeof(xmlChar), buf->use, file); file 3455 third_party/libxml/src/trio.c FILE *file; file 3460 third_party/libxml/src/trio.c file = (FILE *)self->location; file 3462 third_party/libxml/src/trio.c if (fputc(output, file) == EOF) file 3692 third_party/libxml/src/trio.c TRIO_VARGS3((file, format, va_alist), file 3693 third_party/libxml/src/trio.c FILE *file, file 3700 third_party/libxml/src/trio.c assert(VALID(file)); file 3704 third_party/libxml/src/trio.c status = TrioFormat(file, 0, TrioOutStreamFile, format, &args, NULL); file 3719 third_party/libxml/src/trio.c TRIO_ARGS3((file, format, args), file 3720 third_party/libxml/src/trio.c FILE *file, file 3724 third_party/libxml/src/trio.c assert(VALID(file)); file 3727 third_party/libxml/src/trio.c return TrioFormat(file, 0, TrioOutStreamFile, format, &args, NULL); file 3740 third_party/libxml/src/trio.c TRIO_ARGS3((file, format, args), file 3741 third_party/libxml/src/trio.c FILE *file, file 3745 third_party/libxml/src/trio.c assert(VALID(file)); file 3748 third_party/libxml/src/trio.c return TrioFormat(file, 0, TrioOutStreamFile, format, NULL, args); file 6417 third_party/libxml/src/trio.c FILE *file = (FILE *)self->location; file 6420 third_party/libxml/src/trio.c assert(VALID(file)); file 6422 third_party/libxml/src/trio.c self->current = fgetc(file); file 6425 third_party/libxml/src/trio.c self->error = (ferror(file)) file 6621 third_party/libxml/src/trio.c TRIO_VARGS3((file, format, va_alist), file 6622 third_party/libxml/src/trio.c FILE *file, file 6629 third_party/libxml/src/trio.c assert(VALID(file)); file 6633 third_party/libxml/src/trio.c status = TrioScan((trio_pointer_t)file, 0, file 6642 third_party/libxml/src/trio.c TRIO_ARGS3((file, format, args), file 6643 third_party/libxml/src/trio.c FILE *file, file 6647 third_party/libxml/src/trio.c assert(VALID(file)); file 6650 third_party/libxml/src/trio.c return TrioScan((trio_pointer_t)file, 0, file 6657 third_party/libxml/src/trio.c TRIO_ARGS3((file, format, args), file 6658 third_party/libxml/src/trio.c FILE *file, file 6662 third_party/libxml/src/trio.c assert(VALID(file)); file 6665 third_party/libxml/src/trio.c return TrioScan((trio_pointer_t)file, 0, file 84 third_party/libxml/src/trio.h int trio_fprintf TRIO_PROTO((FILE *file, TRIO_CONST char *format, ...)); file 85 third_party/libxml/src/trio.h int trio_vfprintf TRIO_PROTO((FILE *file, TRIO_CONST char *format, va_list args)); file 86 third_party/libxml/src/trio.h int trio_fprintfv TRIO_PROTO((FILE *file, TRIO_CONST char *format, void **args)); file 126 third_party/libxml/src/trio.h int trio_fscanf TRIO_PROTO((FILE *file, TRIO_CONST char *format, ...)); file 127 third_party/libxml/src/trio.h int trio_vfscanf TRIO_PROTO((FILE *file, TRIO_CONST char *format, va_list args)); file 128 third_party/libxml/src/trio.h int trio_fscanfv TRIO_PROTO((FILE *file, TRIO_CONST char *format, void **args)); file 2727 third_party/libxml/src/xmlIO.c xmlParserInputBufferCreateFile(FILE *file, xmlCharEncoding enc) { file 2733 third_party/libxml/src/xmlIO.c if (file == NULL) return(NULL); file 2737 third_party/libxml/src/xmlIO.c ret->context = file; file 2757 third_party/libxml/src/xmlIO.c xmlOutputBufferCreateFile(FILE *file, xmlCharEncodingHandlerPtr encoder) { file 2763 third_party/libxml/src/xmlIO.c if (file == NULL) return(NULL); file 2767 third_party/libxml/src/xmlIO.c ret->context = file; file 161 third_party/libxml/src/xmlmemory.c xmlMallocLoc(size_t size, const char * file, int line) file 185 third_party/libxml/src/xmlmemory.c p->mh_file = file; file 229 third_party/libxml/src/xmlmemory.c xmlMallocAtomicLoc(size_t size, const char * file, int line) file 253 third_party/libxml/src/xmlmemory.c p->mh_file = file; file 312 third_party/libxml/src/xmlmemory.c xmlReallocLoc(void *ptr,size_t size, const char * file, int line) file 321 third_party/libxml/src/xmlmemory.c return(xmlMallocLoc(size, file, line)); file 359 third_party/libxml/src/xmlmemory.c p->mh_file = file; file 480 third_party/libxml/src/xmlmemory.c xmlMemStrdupLoc(const char *str, const char *file, int line) file 496 third_party/libxml/src/xmlmemory.c p->mh_file = file; file 2036 third_party/libxml/src/xmlschemas.c const char *file = NULL; file 2063 third_party/libxml/src/xmlschemas.c file = vctxt->parserCtxt->input->filename; file 2076 third_party/libxml/src/xmlschemas.c file = (const char *) vctxt->doc->URL; file 2079 third_party/libxml/src/xmlschemas.c file = vctxt->parserCtxt->input->filename; file 2083 third_party/libxml/src/xmlschemas.c error, errorLevel, file, line, file 387 third_party/libxml/src/xpath.c xmlXPatherror(xmlXPathParserContextPtr ctxt, const char *file ATTRIBUTE_UNUSED, file 84 third_party/libxslt/libxslt/trio.h int trio_fprintf TRIO_PROTO((FILE *file, TRIO_CONST char *format, ...)); file 85 third_party/libxslt/libxslt/trio.h int trio_vfprintf TRIO_PROTO((FILE *file, TRIO_CONST char *format, va_list args)); file 86 third_party/libxslt/libxslt/trio.h int trio_fprintfv TRIO_PROTO((FILE *file, TRIO_CONST char *format, void **args)); file 126 third_party/libxslt/libxslt/trio.h int trio_fscanf TRIO_PROTO((FILE *file, TRIO_CONST char *format, ...)); file 127 third_party/libxslt/libxslt/trio.h int trio_vfscanf TRIO_PROTO((FILE *file, TRIO_CONST char *format, va_list args)); file 128 third_party/libxslt/libxslt/trio.h int trio_fscanfv TRIO_PROTO((FILE *file, TRIO_CONST char *format, void **args)); file 606 third_party/libxslt/libxslt/xsltutils.c const xmlChar *file = NULL; file 627 third_party/libxslt/libxslt/xsltutils.c file = doc->URL; file 631 third_party/libxslt/libxslt/xsltutils.c file = node->doc->URL; file 650 third_party/libxslt/libxslt/xsltutils.c if ((file != NULL) && (line != 0) && (name != NULL)) file 652 third_party/libxslt/libxslt/xsltutils.c type, file, line, name); file 653 third_party/libxslt/libxslt/xsltutils.c else if ((file != NULL) && (name != NULL)) file 654 third_party/libxslt/libxslt/xsltutils.c error(errctx, "%s: file %s element %s\n", type, file, name); file 655 third_party/libxslt/libxslt/xsltutils.c else if ((file != NULL) && (line != 0)) file 656 third_party/libxslt/libxslt/xsltutils.c error(errctx, "%s: file %s line %d\n", type, file, line); file 657 third_party/libxslt/libxslt/xsltutils.c else if (file != NULL) file 658 third_party/libxslt/libxslt/xsltutils.c error(errctx, "%s: file %s\n", type, file); file 1644 third_party/libxslt/libxslt/xsltutils.c xsltSaveResultToFile(FILE *file, xmlDocPtr result, xsltStylesheetPtr style) { file 1649 third_party/libxslt/libxslt/xsltutils.c if ((file == NULL) || (result == NULL) || (style == NULL)) file 1663 third_party/libxslt/libxslt/xsltutils.c buf = xmlOutputBufferCreateFile(file, encoder); file 1665 third_party/libxslt/libxslt/xsltutils.c buf = xmlOutputBufferCreateFile(file, NULL); file 226 third_party/libxslt/libxslt/xsltutils.h xsltSaveResultToFile (FILE *file, file 33 third_party/lzma_sdk/7zFile.c p->file = NULL; file 48 third_party/lzma_sdk/7zFile.c p->file = fopen(name, writeMode ? "wb+" : "rb"); file 49 third_party/lzma_sdk/7zFile.c return (p->file != 0) ? 0 : file 86 third_party/lzma_sdk/7zFile.c if (p->file != NULL) file 88 third_party/lzma_sdk/7zFile.c int res = fclose(p->file); file 91 third_party/lzma_sdk/7zFile.c p->file = NULL; file 124 third_party/lzma_sdk/7zFile.c *size = fread(data, 1, originalSize, p->file); file 127 third_party/lzma_sdk/7zFile.c return ferror(p->file); file 159 third_party/lzma_sdk/7zFile.c *size = fwrite(data, 1, originalSize, p->file); file 162 third_party/lzma_sdk/7zFile.c return ferror(p->file); file 203 third_party/lzma_sdk/7zFile.c res = fseek(p->file, (long)*pos, moveMethod); file 204 third_party/lzma_sdk/7zFile.c *pos = ftell(p->file); file 227 third_party/lzma_sdk/7zFile.c long pos = ftell(p->file); file 228 third_party/lzma_sdk/7zFile.c int res = fseek(p->file, 0, SEEK_END); file 229 third_party/lzma_sdk/7zFile.c *length = ftell(p->file); file 230 third_party/lzma_sdk/7zFile.c fseek(p->file, pos, SEEK_SET); file 242 third_party/lzma_sdk/7zFile.c return File_Read(&p->file, buf, size) == 0 ? SZ_OK : SZ_ERROR_READ; file 256 third_party/lzma_sdk/7zFile.c return (File_Read(&p->file, buf, size) == 0) ? SZ_OK : SZ_ERROR_READ; file 262 third_party/lzma_sdk/7zFile.c return File_Seek(&p->file, pos, origin); file 277 third_party/lzma_sdk/7zFile.c File_Write(&p->file, data, &size); file 28 third_party/lzma_sdk/7zFile.h FILE *file; file 58 third_party/lzma_sdk/7zFile.h CSzFile file; file 67 third_party/lzma_sdk/7zFile.h CSzFile file; file 76 third_party/lzma_sdk/7zFile.h CSzFile file; file 206 third_party/lzma_sdk/7zIn.c CSzFileItem *file = p->db.Files + i; file 207 third_party/lzma_sdk/7zIn.c int emptyStream = !file->HasStream; file 1092 third_party/lzma_sdk/7zIn.c CSzFileItem *file = files + i; file 1093 third_party/lzma_sdk/7zIn.c file->IsAnti = 0; file 1095 third_party/lzma_sdk/7zIn.c file->HasStream = 1; file 1097 third_party/lzma_sdk/7zIn.c file->HasStream = (Byte)((*emptyStreamVector)[i] ? 0 : 1); file 1098 third_party/lzma_sdk/7zIn.c if (file->HasStream) file 1100 third_party/lzma_sdk/7zIn.c file->IsDir = 0; file 1101 third_party/lzma_sdk/7zIn.c file->Size = (*unpackSizes)[sizeIndex]; file 1102 third_party/lzma_sdk/7zIn.c file->Crc = (*digests)[sizeIndex]; file 1103 third_party/lzma_sdk/7zIn.c file->CrcDefined = (Byte)(*digestsDefined)[sizeIndex]; file 1109 third_party/lzma_sdk/7zIn.c file->IsDir = 1; file 1111 third_party/lzma_sdk/7zIn.c file->IsDir = (Byte)((*emptyFileVector)[emptyFileIndex] ? 0 : 1); file 1113 third_party/lzma_sdk/7zIn.c file->Size = 0; file 1114 third_party/lzma_sdk/7zIn.c file->Crc = 0; file 1115 third_party/lzma_sdk/7zIn.c file->CrcDefined = 0; file 863 third_party/npapi/bindings/npapi.h const char* buf, NPBool file, file 867 third_party/npapi/bindings/npapi.h const char* buf, NPBool file); file 75 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_PostURLNotifyProcPtr)(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file, void* notifyData); file 77 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_PostURLProcPtr)(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file); file 95 third_party/npapi/npspy/common/npn_gate.cpp NPError NPN_PostURLNotify(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file, void* notifyData) file 102 third_party/npapi/npspy/common/npn_gate.cpp logger->logCall(action_npn_post_url_notify, (DWORD)instance, (DWORD)url, (DWORD)window, (DWORD)len, (DWORD)buf, (DWORD)file, (DWORD)notifyData); file 105 third_party/npapi/npspy/common/npn_gate.cpp rv = NPNFuncs.posturlnotify(instance, url, window, len, buf, file, notifyData); file 115 third_party/npapi/npspy/common/npn_gate.cpp NPError NPN_PostURL(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file) file 118 third_party/npapi/npspy/common/npn_gate.cpp logger->logCall(action_npn_post_url, (DWORD)instance, (DWORD)url, (DWORD)window, (DWORD)len, (DWORD)buf, (DWORD)file); file 120 third_party/npapi/npspy/common/npn_gate.cpp NPError rv = NPNFuncs.posturl(instance, url, window, len, buf, file); file 310 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PRDescType) PR_GetDescType(PRFileDesc *file); file 237 third_party/npapi/npspy/extern/nspr/prlog.h NSPR_API(void) PR_Assert(const char *s, const char *file, PRIntn ln); file 720 third_party/npapi/npspy/extern/plugin/npapi.h const char* buf, NPBool file, file 724 third_party/npapi/npspy/extern/plugin/npapi.h const char* buf, NPBool file); file 206 third_party/npapi/npspy/extern/plugin/npupp.h typedef NPError (* NP_LOADDS NPN_PostURLNotifyUPP)(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file, void* notifyData); file 220 third_party/npapi/npspy/extern/plugin/npupp.h typedef NPError (* NP_LOADDS NPN_PostURLUPP)(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file); file 14 third_party/ocmock/gtest_support.h bool VerifyOCMock(OCMockObject* mock, const char* file, int line); file 476 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java public FileDescriptor getFile() { return file; } file 522 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.findSymbol(fullName + '.' + name); file 536 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java return file.pool.fieldsByNumber.get( file 547 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.findSymbol(fullName + '.' + name); file 562 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.findSymbol(fullName + '.' + name); file 573 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java private final FileDescriptor file; file 581 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java final FileDescriptor file, file 587 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java fullName = computeFullName(file, parent, proto.getName()); file 588 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java this.file = file; file 594 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java proto.getNestedType(i), file, this, i); file 600 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java proto.getEnumType(i), file, this, i); file 606 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java proto.getField(i), file, this, i, false); file 612 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java proto.getExtension(i), file, this, i, true); file 615 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.addSymbol(this); file 694 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java public FileDescriptor getFile() { return file; } file 834 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java private final FileDescriptor file; file 912 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java final FileDescriptor file, file 919 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java fullName = computeFullName(file, parent, proto.getName()); file 920 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java this.file = file; file 958 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.addSymbol(this); file 965 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.lookupSymbol(proto.getExtendee(), this, file 983 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.lookupSymbol(proto.getTypeName(), this, file 1132 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.addFieldByNumber(this); file 1190 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java public FileDescriptor getFile() { return file; } file 1210 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.findSymbol(fullName + '.' + name); file 1225 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java return file.pool.enumValuesByNumber.get( file 1232 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java private final FileDescriptor file; file 1237 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java final FileDescriptor file, file 1243 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java fullName = computeFullName(file, parent, proto.getName()); file 1244 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java this.file = file; file 1257 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java proto.getValue(i), file, this, i); file 1260 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.addSymbol(this); file 1305 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java public FileDescriptor getFile() { return file; } file 1318 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java private final FileDescriptor file; file 1322 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java final FileDescriptor file, file 1328 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java this.file = file; file 1333 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.addSymbol(this); file 1334 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.addEnumValueByNumber(this); file 1366 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java public FileDescriptor getFile() { return file; } file 1383 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.findSymbol(fullName + '.' + name); file 1394 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java private final FileDescriptor file; file 1398 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java final FileDescriptor file, file 1403 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java fullName = computeFullName(file, null, proto.getName()); file 1404 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java this.file = file; file 1409 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java proto.getMethod(i), file, this, i); file 1412 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.addSymbol(this); file 1456 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java public FileDescriptor getFile() { return file; } file 1475 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java private final FileDescriptor file; file 1483 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java final FileDescriptor file, file 1489 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java this.file = file; file 1494 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.addSymbol(this); file 1499 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.lookupSymbol(proto.getInputType(), this, file 1508 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java file.pool.lookupSymbol(proto.getOutputType(), this, file 1525 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java private static String computeFullName(final FileDescriptor file, file 1530 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java } else if (file.getPackage().length() > 0) { file 1531 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java return file.getPackage() + '.' + name; file 1644 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java private void importPublicDependencies(final FileDescriptor file) { file 1645 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java for (FileDescriptor dependency : file.getPublicDependencies()) { file 1830 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java public Message toProto() { return file.toProto(); } file 1833 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java public FileDescriptor getFile() { return file; } file 1836 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java final FileDescriptor file) { file 1837 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java this.file = file; file 1844 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java private final FileDescriptor file; file 1853 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java void addPackage(final String fullName, final FileDescriptor file) file 1860 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java addPackage(fullName.substring(0, dotpos), file); file 1866 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java new PackageDescriptor(name, fullName, file)); file 1870 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java throw new DescriptorValidationException(file, file 91 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java FileDescriptor file = UnittestProto.getDescriptor(); file 93 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals("google/protobuf/unittest.proto", file.getName()); file 94 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals("protobuf_unittest", file.getPackage()); file 96 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals("UnittestProto", file.getOptions().getJavaOuterClassname()); file 98 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java file.toProto().getName()); file 101 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java file.getDependencies()); file 104 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(messageType, file.getMessageTypes().get(0)); file 105 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(messageType, file.findMessageTypeByName("TestAllTypes")); file 106 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertNull(file.findMessageTypeByName("NoSuchType")); file 107 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertNull(file.findMessageTypeByName("protobuf_unittest.TestAllTypes")); file 108 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java for (int i = 0; i < file.getMessageTypes().size(); i++) { file 109 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(i, file.getMessageTypes().get(i).getIndex()); file 113 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(enumType, file.getEnumTypes().get(0)); file 114 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(enumType, file.findEnumTypeByName("ForeignEnum")); file 115 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertNull(file.findEnumTypeByName("NoSuchType")); file 116 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertNull(file.findEnumTypeByName("protobuf_unittest.ForeignEnum")); file 119 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java for (int i = 0; i < file.getEnumTypes().size(); i++) { file 120 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(i, file.getEnumTypes().get(i).getIndex()); file 124 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(service, file.getServices().get(0)); file 125 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(service, file.findServiceByName("TestService")); file 126 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertNull(file.findServiceByName("NoSuchType")); file 127 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertNull(file.findServiceByName("protobuf_unittest.TestService")); file 130 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java for (int i = 0; i < file.getServices().size(); i++) { file 131 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(i, file.getServices().get(i).getIndex()); file 136 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(extension, file.getExtensions().get(0)); file 138 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java file.findExtensionByName("optional_int32_extension")); file 139 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertNull(file.findExtensionByName("no_such_ext")); file 140 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertNull(file.findExtensionByName( file 144 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java for (int i = 0; i < file.getExtensions().size(); i++) { file 145 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(i, file.getExtensions().get(i).getIndex()); file 491 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java FileDescriptor file = file 495 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertNotNull(file); file 496 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java List<Descriptor> msglist = file.getMessageTypes(); file 264 third_party/protobuf/java/src/test/java/com/google/protobuf/ServiceTest.java FileDescriptor file = UnittestNoGenericServices.getDescriptor(); file 265 third_party/protobuf/java/src/test/java/com/google/protobuf/ServiceTest.java assertEquals(1, file.getServices().size()); file 266 third_party/protobuf/java/src/test/java/com/google/protobuf/ServiceTest.java assertEquals("TestService", file.getServices().get(0).getName()); file 267 third_party/protobuf/java/src/test/java/com/google/protobuf/ServiceTest.java assertEquals(1, file.getServices().get(0).getMethods().size()); file 269 third_party/protobuf/java/src/test/java/com/google/protobuf/ServiceTest.java file.getServices().get(0).getMethods().get(0).getName()); file 2763 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java private final Descriptors.FileDescriptor file; file 2813 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java this.file = baseDescriptor.getFile(); file 2814 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java Assert.assertEquals(1, file.getDependencies().size()); file 2815 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java this.importFile = file.getDependencies().get(0); file 2822 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java testAllTypes = file.findMessageTypeByName("TestAllTypes"); file 2836 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java file.findMessageTypeByName("OptionalGroup_extension"); file 2838 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java file.findMessageTypeByName("RepeatedGroup_extension"); file 2841 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java this.foreignMessage = file.findMessageTypeByName("ForeignMessage"); file 2847 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java this.foreignEnum = file.findEnumTypeByName("ForeignEnum"); file 2901 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java result = file.findExtensionByName(name + "_extension"); file 3892 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java RandomAccessFile file = new RandomAccessFile(fullPath, "r"); file 3893 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java byte[] content = new byte[(int) file.length()]; file 3894 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java file.readFully(content); file 77 third_party/protobuf/src/google/protobuf/compiler/code_generator.h virtual bool Generate(const FileDescriptor* file, file 709 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc FileDescriptorProto file; file 710 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc file.set_name("empty_message.proto"); file 711 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc file.add_message_type()->set_name("EmptyMessage"); file 712 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc GOOGLE_CHECK(pool.BuildFile(file) != NULL); file 1264 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc const CodeGeneratorResponse::File& output_file = response.file(i); file 1412 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc const FileDescriptor* file, bool include_source_code_info, file 1415 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc if (!already_seen->insert(file).second) { file 1421 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc for (int i = 0; i < file->dependency_count(); i++) { file 1422 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc GetTransitiveDependencies(file->dependency(i), include_source_code_info, file 1428 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc file->CopyTo(new_descriptor); file 1430 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc file->CopySourceCodeInfoTo(new_descriptor); file 257 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.h const FileDescriptor* file, file 200 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc bool Generate(const FileDescriptor* file, file 817 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_EQ("bar.proto", descriptor_set.file(0).name()); file 819 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_FALSE(descriptor_set.file(0).has_source_code_info()); file 842 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_EQ("bar.proto", descriptor_set.file(0).name()); file 844 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_TRUE(descriptor_set.file(0).has_source_code_info()); file 867 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc if (descriptor_set.file(0).name() == "bar.proto") { file 871 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_EQ("foo.proto", descriptor_set.file(0).name()); file 872 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_EQ("bar.proto", descriptor_set.file(1).name()); file 874 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_FALSE(descriptor_set.file(0).has_source_code_info()); file 875 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_FALSE(descriptor_set.file(1).has_source_code_info()); file 898 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc if (descriptor_set.file(0).name() == "bar.proto") { file 902 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_EQ("foo.proto", descriptor_set.file(0).name()); file 903 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_EQ("bar.proto", descriptor_set.file(1).name()); file 905 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_TRUE(descriptor_set.file(0).has_source_code_info()); file 906 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc EXPECT_TRUE(descriptor_set.file(1).has_source_code_info()); file 104 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc if (HasDescriptorMethods(descriptor_->file())) { file 124 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc if (HasDescriptorMethods(descriptor_->file())) { file 157 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc if (HasDescriptorMethods(descriptor_->file())) { file 195 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc if (HasDescriptorMethods(descriptor_->file())) { file 124 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc if (HasUnknownFields(descriptor_->file())) { file 169 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc if (descriptor_->options().packed() && HasGeneratedMethods(descriptor_->file())) { file 241 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc if (HasUnknownFields(descriptor_->file())) { file 53 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc FileGenerator::FileGenerator(const FileDescriptor* file, file 55 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc : file_(file), file 57 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc new scoped_ptr<MessageGenerator>[file->message_type_count()]), file 59 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc new scoped_ptr<EnumGenerator>[file->enum_type_count()]), file 61 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc new scoped_ptr<ServiceGenerator>[file->service_count()]), file 63 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc new scoped_ptr<ExtensionGenerator>[file->extension_count()]), file 66 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc for (int i = 0; i < file->message_type_count(); i++) { file 68 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc new MessageGenerator(file->message_type(i), options)); file 71 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc for (int i = 0; i < file->enum_type_count(); i++) { file 73 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc new EnumGenerator(file->enum_type(i), options)); file 76 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc for (int i = 0; i < file->service_count(); i++) { file 78 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc new ServiceGenerator(file->service(i), options)); file 81 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc for (int i = 0; i < file->extension_count(); i++) { file 83 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc new ExtensionGenerator(file->extension(i), options)); file 64 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.h explicit FileGenerator(const FileDescriptor* file, file 54 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc bool CppGenerator::Generate(const FileDescriptor* file, file 97 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc string basename = StripProto(file->name()); file 100 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc FileGenerator file_generator(file, file_options); file 58 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.h bool Generate(const FileDescriptor* file, file 165 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc return HasDescriptorMethods(descriptor->file()) ? file 378 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc bool StaticInitializersForced(const FileDescriptor* file) { file 379 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc if (HasDescriptorMethods(file) || file->extension_count() > 0) { file 382 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc for (int i = 0; i < file->message_type_count(); ++i) { file 383 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc if (HasExtension(file->message_type(i))) { file 391 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc const FileDescriptor* file, io::Printer* printer, file 403 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc vars, file, printer, with_static_init, without_static_init); file 407 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc const map<string, string>& vars, const FileDescriptor* file, file 410 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc if (StaticInitializersForced(file)) { file 431 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc bool HasEnumDefinitions(const FileDescriptor* file) { file 432 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc if (file->enum_type_count() > 0) return true; file 433 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc for (int i = 0; i < file->message_type_count(); ++i) { file 434 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc if (HasEnumDefinitions(file->message_type(i))) return true; file 125 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h inline bool HasUnknownFields(const FileDescriptor* file) { file 126 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h return file->options().optimize_for() != FileOptions::LITE_RUNTIME || file 127 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h file->options().retain_unknown_fields(); file 131 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h bool HasEnumDefinitions(const FileDescriptor* file); file 135 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h inline bool HasGeneratedMethods(const FileDescriptor* file) { file 136 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h return file->options().optimize_for() != FileOptions::CODE_SIZE; file 140 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h inline bool HasDescriptorMethods(const FileDescriptor* file) { file 141 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h return file->options().optimize_for() != FileOptions::LITE_RUNTIME; file 145 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h inline bool HasGenericServices(const FileDescriptor* file) { file 146 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h return file->service_count() > 0 && file 147 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h file->options().optimize_for() != FileOptions::LITE_RUNTIME && file 148 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h file->options().cc_generic_services(); file 152 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h inline bool HasUtf8Verification(const FileDescriptor* file) { file 153 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h return file->options().optimize_for() != FileOptions::LITE_RUNTIME; file 159 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h inline bool HasFastArraySerialization(const FileDescriptor* file) { file 160 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h return file->options().optimize_for() == FileOptions::SPEED; file 164 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h bool StaticInitializersForced(const FileDescriptor* file); file 170 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h const FileDescriptor* file, io::Printer* printer, file 176 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h const map<string, string>& vars, const FileDescriptor* file, file 482 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 495 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasDescriptorMethods(descriptor_->file()) && file 505 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (!StaticInitializersForced(descriptor_->file())) { file 527 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasGeneratedMethods(descriptor_->file())) { file 528 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasDescriptorMethods(descriptor_->file())) { file 548 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasFastArraySerialization(descriptor_->file())) { file 563 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasDescriptorMethods(descriptor_->file())) { file 645 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 688 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc descriptor_->file(), printer, file 696 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc GlobalAddDescriptorsName(descriptor_->file()->name())); file 703 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc GlobalAssignDescriptorsName(descriptor_->file()->name()), file 704 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "shutdownfilename", GlobalShutdownFileName(descriptor_->file()->name())); file 863 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasDescriptorMethods(descriptor_->file())) { file 921 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasGeneratedMethods(descriptor_->file())) { file 931 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasFastArraySerialization(descriptor_->file())) { file 952 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasDescriptorMethods(descriptor_->file())) { file 1030 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc descriptor_->file(), printer, file 1087 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc descriptor_->file(), printer, file 1137 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasDescriptorMethods(descriptor_->file()) && file 1147 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc GlobalAddDescriptorsName(descriptor_->file()->name())); file 1155 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc descriptor_->file(), printer, file 1162 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc GlobalAddDescriptorsName(descriptor_->file()->name())); file 1175 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc GlobalAddDescriptorsName(descriptor_->file()->name())); file 1253 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 1271 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasGeneratedMethods(descriptor_->file())) { file 1282 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 1301 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasDescriptorMethods(descriptor_->file())) { file 1397 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 1408 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasDescriptorMethods(descriptor_->file())) { file 1450 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc descriptor_->file(), printer, file 1620 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 1622 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc descriptor_->file(), printer, file 1631 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc descriptor_->file(), printer, file 1643 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 1721 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 1754 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 1812 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 1840 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 1923 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasUnknownFields(descriptor_->file())) { file 53 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc (HasFastArraySerialization(descriptor->message_type()->file()) ? file 91 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc variables_, descriptor_->file(), printer, file 57 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_plugin_unittest.cc virtual bool Generate(const FileDescriptor* file, file 215 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc if (descriptor_->options().packed() && HasGeneratedMethods(descriptor_->file())) { file 263 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc if (HasUtf8Verification(descriptor_->file()) && file 274 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc if (HasUtf8Verification(descriptor_->file()) && file 288 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc if (HasUtf8Verification(descriptor_->file()) && file 434 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc if (HasUtf8Verification(descriptor_->file()) && file 448 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc if (HasUtf8Verification(descriptor_->file()) && file 465 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc if (HasUtf8Verification(descriptor_->file()) && file 104 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc unittest::TestAllTypes::descriptor()->file(); file 1319 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc const FileDescriptor* file = file 1320 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc no_generic_services_test::TestMessage::descriptor()->file(); file 1322 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc ASSERT_EQ(1, file->service_count()); file 1323 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_EQ("TestService", file->service(0)->name()); file 1324 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc ASSERT_EQ(1, file->service(0)->method_count()); file 1325 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_EQ("Foo", file->service(0)->method(0)->name()); file 124 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc const FileDescriptor* file = importer_.Import("foo.proto"); file 126 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc ASSERT_TRUE(file != NULL); file 128 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc ASSERT_EQ(1, file->message_type_count()); file 129 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc EXPECT_EQ("Foo", file->message_type(0)->name()); file 132 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc EXPECT_EQ(file, importer_.Import("foo.proto")); file 226 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc const FileDescriptor* file = importer_.Import("map.proto"); file 227 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc ASSERT_TRUE(file != NULL) << error_collector_.text_; file 231 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc const Descriptor* item_type = file->FindMessageTypeByName("Item"); file 233 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc const Descriptor* map_type = file->FindMessageTypeByName("Map"); file 183 third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc "file", ClassName(descriptor_->file()), file 84 third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc scope_ = ClassName(descriptor_->file()); file 135 third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc if (HasDescriptorMethods(descriptor_->file())) { file 199 third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc HasDescriptorMethods(descriptor_->file())) { file 135 third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc FileGenerator::FileGenerator(const FileDescriptor* file) file 136 third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc : file_(file), file 137 third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc java_package_(FileJavaPackage(file)), file 138 third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc classname_(FileClassName(file)) { file 440 third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc "filename", descriptor->file()->name()); file 59 third_party/protobuf/src/google/protobuf/compiler/java/java_file.h explicit FileGenerator(const FileDescriptor* file); file 52 third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc bool JavaGenerator::Generate(const FileDescriptor* file, file 79 third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc if (file->options().optimize_for() == FileOptions::LITE_RUNTIME && file 80 third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc file->options().java_generate_equals_and_hash()) { file 87 third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc FileGenerator file_generator(file); file 58 third_party/protobuf/src/google/protobuf/compiler/java/java_generator.h bool Generate(const FileDescriptor* file, file 121 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc string FileClassName(const FileDescriptor* file) { file 122 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc if (file->options().has_java_outer_classname()) { file 123 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return file->options().java_outer_classname(); file 126 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc string::size_type last_slash = file->name().find_last_of('/'); file 128 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc basename = file->name(); file 130 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc basename = file->name().substr(last_slash + 1); file 136 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc string FileJavaPackage(const FileDescriptor* file) { file 139 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc if (file->options().has_java_package()) { file 140 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc result = file->options().java_package(); file 143 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc if (!file->package().empty()) { file 145 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc result += file->package(); file 160 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc string ToJavaName(const string& full_name, const FileDescriptor* file) { file 162 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc if (file->options().java_multiple_files()) { file 163 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc result = FileJavaPackage(file); file 165 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc result = ClassName(file); file 170 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc if (file->package().empty()) { file 175 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc result += full_name.substr(file->package().size() + 1); file 181 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return ToJavaName(descriptor->full_name(), descriptor->file()); file 185 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return ToJavaName(descriptor->full_name(), descriptor->file()); file 189 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return ToJavaName(descriptor->full_name(), descriptor->file()); file 66 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h string FileClassName(const FileDescriptor* file); file 69 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h string FileJavaPackage(const FileDescriptor* file); file 77 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h string ToJavaName(const string& full_name, const FileDescriptor* file); file 87 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h return ToJavaName(descriptor->full_name(), descriptor->file()); file 123 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h return descriptor->file()->options().optimize_for() != file 125 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h descriptor->file()->options().retain_unknown_fields(); file 131 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h return descriptor->file()->options().optimize_for() != file 137 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h return descriptor->file()->options().java_generate_equals_and_hash(); file 142 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h return descriptor->file()->options().optimize_for() != file 146 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h return descriptor->file()->options().optimize_for() != file 156 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h return descriptor->file()->options().optimize_for() != file 161 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h inline bool HasGenericServices(const FileDescriptor *file) { file 162 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h return file->service_count() > 0 && file 163 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h file->options().optimize_for() != FileOptions::LITE_RUNTIME && file 164 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h file->options().java_generic_services(); file 179 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (descriptor_->file()->options().java_multiple_files()) { file 302 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc descriptor_->file()->options().java_multiple_files(); file 781 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "fileclass", ClassName(descriptor_->file()), file 793 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "fileclass", ClassName(descriptor_->file()), file 877 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "fileclass", ClassName(descriptor_->file()), file 57 third_party/protobuf/src/google/protobuf/compiler/java/java_plugin_unittest.cc virtual bool Generate(const FileDescriptor* file, file 53 third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc bool is_own_file = descriptor_->file()->options().java_multiple_files(); file 80 third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc "file", ClassName(descriptor_->file()), file 75 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc const string& file, file 81 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc output_directory + "/" + GetOutputFileName(name, file), &content)); file 99 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc EXPECT_EQ(GetOutputFileContent(name, parameter, file, file 108 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc file, file, first_message_name), file 113 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc file, file, first_message_name), file 119 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc const FileDescriptor* file, file 123 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc for (int i = 0; i < file->message_type_count(); i++) { file 124 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc if (HasPrefixString(file->message_type(i)->name(), "MockCodeGenerator_")) { file 125 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc string command = StripPrefixString(file->message_type(i)->name(), file 138 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc file->CopySourceCodeInfoTo(&file_descriptor_proto); file 160 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc GetOutputFileName(insert_into[i], file), file 164 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc file, context)); file 174 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc GetOutputFileName(insert_into[i], file), file 178 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc file, context)); file 187 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc context->Open(GetOutputFileName(name_, file))); file 191 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc file, context)); file 205 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc const FileDescriptor* file) { file 206 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc return GetOutputFileName(generator_name, file->name()); file 210 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc const string& file) { file 211 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc return file + ".MockCodeGenerator." + generator_name; file 217 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc const FileDescriptor* file, file 222 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc generator_name, parameter, file->name(), file 224 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc file->message_type_count() > 0 ? file 225 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc file->message_type(0)->name() : "(none)"); file 231 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc const string& file, file 235 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc generator_name, parameter, file, file 81 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.h const string& file, file 88 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.h const FileDescriptor* file); file 90 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.h const string& file); file 94 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.h virtual bool Generate(const FileDescriptor* file, file 104 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.h const FileDescriptor* file, file 108 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.h const string& file, file 411 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::Parse(io::Tokenizer* input, FileDescriptorProto* file) { file 445 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (!ParseTopLevelStatement(file, root_location)) { file 460 third_party/protobuf/src/google/protobuf/compiler/parser.cc source_code_info.Swap(file->mutable_source_code_info()); file 484 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseTopLevelStatement(FileDescriptorProto* file, file 491 third_party/protobuf/src/google/protobuf/compiler/parser.cc FileDescriptorProto::kMessageTypeFieldNumber, file->message_type_size()); file 492 third_party/protobuf/src/google/protobuf/compiler/parser.cc return ParseMessageDefinition(file->add_message_type(), location); file 495 third_party/protobuf/src/google/protobuf/compiler/parser.cc FileDescriptorProto::kEnumTypeFieldNumber, file->enum_type_size()); file 496 third_party/protobuf/src/google/protobuf/compiler/parser.cc return ParseEnumDefinition(file->add_enum_type(), location); file 499 third_party/protobuf/src/google/protobuf/compiler/parser.cc FileDescriptorProto::kServiceFieldNumber, file->service_size()); file 500 third_party/protobuf/src/google/protobuf/compiler/parser.cc return ParseServiceDefinition(file->add_service(), location); file 504 third_party/protobuf/src/google/protobuf/compiler/parser.cc return ParseExtend(file->mutable_extension(), file 505 third_party/protobuf/src/google/protobuf/compiler/parser.cc file->mutable_message_type(), file 510 third_party/protobuf/src/google/protobuf/compiler/parser.cc return ParseImport(file->mutable_dependency(), file 511 third_party/protobuf/src/google/protobuf/compiler/parser.cc file->mutable_public_dependency(), file 512 third_party/protobuf/src/google/protobuf/compiler/parser.cc file->mutable_weak_dependency(), file 515 third_party/protobuf/src/google/protobuf/compiler/parser.cc return ParsePackage(file, root_location); file 519 third_party/protobuf/src/google/protobuf/compiler/parser.cc return ParseOption(file->mutable_options(), location, OPTION_STATEMENT); file 1512 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParsePackage(FileDescriptorProto* file, file 1514 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (file->has_package()) { file 1518 third_party/protobuf/src/google/protobuf/compiler/parser.cc file->clear_package(); file 1526 third_party/protobuf/src/google/protobuf/compiler/parser.cc location.RecordLegacyLocation(file, DescriptorPool::ErrorCollector::NAME); file 1531 third_party/protobuf/src/google/protobuf/compiler/parser.cc file->mutable_package()->append(identifier); file 1533 third_party/protobuf/src/google/protobuf/compiler/parser.cc file->mutable_package()->append("."); file 73 third_party/protobuf/src/google/protobuf/compiler/parser.h bool Parse(io::Tokenizer* input, FileDescriptorProto* file); file 282 third_party/protobuf/src/google/protobuf/compiler/parser.h bool ParseTopLevelStatement(FileDescriptorProto* file, file 292 third_party/protobuf/src/google/protobuf/compiler/parser.h bool ParsePackage(FileDescriptorProto* file, file 148 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc FileDescriptorProto file; file 149 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc parser_->Parse(input_.get(), &file); file 161 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc FileDescriptorProto file; file 162 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc file.set_name("foo.proto"); file 163 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc parser_->Parse(input_.get(), &file); file 170 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc file, &validation_error_collector) == NULL); file 1288 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc protobuf_unittest::TestAllTypes::descriptor()->file(); file 1309 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc protobuf_unittest_import::PublicImportMessage::descriptor()->file(); file 1314 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc protobuf_unittest_import::ImportMessage::descriptor()->file(); file 1337 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc protobuf_unittest::AggregateMessage::descriptor()->file(); file 1356 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FileDescriptor* import = FileDescriptorProto::descriptor()->file(); file 73 third_party/protobuf/src/google/protobuf/compiler/plugin.cc CodeGeneratorResponse::File* file = response_->add_file(); file 74 third_party/protobuf/src/google/protobuf/compiler/plugin.cc file->set_name(filename); file 75 third_party/protobuf/src/google/protobuf/compiler/plugin.cc return new io::StringOutputStream(file->mutable_content()); file 80 third_party/protobuf/src/google/protobuf/compiler/plugin.cc CodeGeneratorResponse::File* file = response_->add_file(); file 81 third_party/protobuf/src/google/protobuf/compiler/plugin.cc file->set_name(filename); file 82 third_party/protobuf/src/google/protobuf/compiler/plugin.cc file->set_insertion_point(insertion_point); file 83 third_party/protobuf/src/google/protobuf/compiler/plugin.cc return new io::StringOutputStream(file->mutable_content()); file 115 third_party/protobuf/src/google/protobuf/compiler/plugin.cc const FileDescriptor* file = pool.BuildFile(request.proto_file(i)); file 116 third_party/protobuf/src/google/protobuf/compiler/plugin.cc if (file == NULL) { file 137 third_party/protobuf/src/google/protobuf/compiler/plugin.cc const FileDescriptor* file = parsed_files[i]; file 141 third_party/protobuf/src/google/protobuf/compiler/plugin.cc file, request.parameter(), &context, &error); file 148 third_party/protobuf/src/google/protobuf/compiler/plugin.cc response.set_error(file->name() + ": " + error); file 40 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc const ::google::protobuf::FileDescriptor* file = file 43 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc GOOGLE_CHECK(file != NULL); file 44 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc CodeGeneratorRequest_descriptor_ = file->message_type(0); file 61 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc CodeGeneratorResponse_descriptor_ = file->message_type(1); file 959 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc 15, this->file(i), output); file 984 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc 15, this->file(i), target); file 1011 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->file(i)); file 351 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.h inline const ::google::protobuf::compiler::CodeGeneratorResponse_File& file(int index) const; file 355 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.h file() const; file 820 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.h inline const ::google::protobuf::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::file(int index) const { file 830 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.h CodeGeneratorResponse::file() const { file 111 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc inline bool HasTopLevelEnums(const FileDescriptor *file) { file 112 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return file->enum_type_count() > 0; file 117 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc inline bool HasGenericServices(const FileDescriptor *file) { file 118 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return file->service_count() > 0 && file 119 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc file->options().py_generic_services(); file 126 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc io::Printer* printer, const FileDescriptor* file, bool descriptor_proto) { file 132 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc "filename", file->name()); file 133 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc if (HasTopLevelEnums(file)) { file 142 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc if (HasGenericServices(file)) { file 246 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc bool Generator::Generate(const FileDescriptor* file, file 259 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc file_ = file; file 260 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc string module_name = ModuleName(file->name()); file 293 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc if (HasGenericServices(file)) { file 760 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc GOOGLE_CHECK_EQ(field.file(), file_) << field.file()->name() << " vs. " file 981 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc if (descriptor.file() != file_) { file 982 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc name = ModuleName(descriptor.file()->name()) + "." + name; file 993 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc if (descriptor.file() != file_) { file 994 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc name = ModuleName(descriptor.file()->name()) + "." + name; file 1006 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc if (descriptor.file() != file_) { file 1007 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc name = ModuleName(descriptor.file()->name()) + "." + name; file 67 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h virtual bool Generate(const FileDescriptor* file, file 57 third_party/protobuf/src/google/protobuf/compiler/python/python_plugin_unittest.cc virtual bool Generate(const FileDescriptor* file, file 279 third_party/protobuf/src/google/protobuf/descriptor.cc case MESSAGE : return descriptor ->file(); file 280 third_party/protobuf/src/google/protobuf/descriptor.cc case FIELD : return field_descriptor ->file(); file 281 third_party/protobuf/src/google/protobuf/descriptor.cc case ENUM : return enum_descriptor ->file(); file 282 third_party/protobuf/src/google/protobuf/descriptor.cc case ENUM_VALUE : return enum_value_descriptor->type()->file(); file 283 third_party/protobuf/src/google/protobuf/descriptor.cc case SERVICE : return service_descriptor ->file(); file 284 third_party/protobuf/src/google/protobuf/descriptor.cc case METHOD : return method_descriptor ->service()->file(); file 408 third_party/protobuf/src/google/protobuf/descriptor.cc bool AddFile(const FileDescriptor* file); file 745 third_party/protobuf/src/google/protobuf/descriptor.cc bool DescriptorPool::Tables::AddFile(const FileDescriptor* file) { file 746 third_party/protobuf/src/google/protobuf/descriptor.cc if (InsertIfNotPresent(&files_by_name_, file->name().c_str(), file)) { file 747 third_party/protobuf/src/google/protobuf/descriptor.cc files_after_checkpoint_.push_back(file->name().c_str()); file 759 third_party/protobuf/src/google/protobuf/descriptor.cc parent = field->file(); file 1099 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindFieldByNumber(this, key); file 1110 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindFieldByLowercaseName(this, key); file 1121 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindFieldByCamelcaseName(this, key); file 1132 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindNestedSymbolOfType(this, key, Symbol::FIELD); file 1143 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindNestedSymbolOfType(this, key, Symbol::FIELD); file 1154 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindFieldByLowercaseName(this, key); file 1165 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindFieldByCamelcaseName(this, key); file 1176 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindNestedSymbolOfType(this, key, Symbol::MESSAGE); file 1187 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindNestedSymbolOfType(this, key, Symbol::ENUM); file 1198 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindNestedSymbolOfType(this, key, Symbol::ENUM_VALUE); file 1209 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindNestedSymbolOfType(this, key, Symbol::ENUM_VALUE); file 1219 third_party/protobuf/src/google/protobuf/descriptor.cc return file()->tables_->FindEnumValueByNumber(this, key); file 1225 third_party/protobuf/src/google/protobuf/descriptor.cc file()->tables_->FindNestedSymbolOfType(this, key, Symbol::METHOD); file 2024 third_party/protobuf/src/google/protobuf/descriptor.cc return file()->GetSourceLocation(path, out_location); file 2030 third_party/protobuf/src/google/protobuf/descriptor.cc return file()->GetSourceLocation(path, out_location); file 2036 third_party/protobuf/src/google/protobuf/descriptor.cc return file()->GetSourceLocation(path, out_location); file 2042 third_party/protobuf/src/google/protobuf/descriptor.cc return service()->file()->GetSourceLocation(path, out_location); file 2048 third_party/protobuf/src/google/protobuf/descriptor.cc return file()->GetSourceLocation(path, out_location); file 2055 third_party/protobuf/src/google/protobuf/descriptor.cc return type()->file()->GetSourceLocation(path, out_location); file 2183 third_party/protobuf/src/google/protobuf/descriptor.cc bool IsInPackage(const FileDescriptor* file, const string& package_name); file 2187 third_party/protobuf/src/google/protobuf/descriptor.cc void RecordPublicDependencies(const FileDescriptor* file); file 2256 third_party/protobuf/src/google/protobuf/descriptor.cc const FileDescriptor* file); file 2332 third_party/protobuf/src/google/protobuf/descriptor.cc void CrossLinkFile(FileDescriptor* file, const FileDescriptorProto& proto); file 2477 third_party/protobuf/src/google/protobuf/descriptor.cc void ValidateFileOptions(FileDescriptor* file, file 2574 third_party/protobuf/src/google/protobuf/descriptor.cc bool DescriptorBuilder::IsInPackage(const FileDescriptor* file, file 2576 third_party/protobuf/src/google/protobuf/descriptor.cc return HasPrefixString(file->package(), package_name) && file 2577 third_party/protobuf/src/google/protobuf/descriptor.cc (file->package().size() == package_name.size() || file 2578 third_party/protobuf/src/google/protobuf/descriptor.cc file->package()[package_name.size()] == '.'); file 2581 third_party/protobuf/src/google/protobuf/descriptor.cc void DescriptorBuilder::RecordPublicDependencies(const FileDescriptor* file) { file 2582 third_party/protobuf/src/google/protobuf/descriptor.cc if (file == NULL || !dependencies_.insert(file).second) return; file 2583 third_party/protobuf/src/google/protobuf/descriptor.cc for (int i = 0; file != NULL && i < file->public_dependency_count(); i++) { file 2584 third_party/protobuf/src/google/protobuf/descriptor.cc RecordPublicDependencies(file->public_dependency(i)); file 2630 third_party/protobuf/src/google/protobuf/descriptor.cc const FileDescriptor* file = result.GetFile(); file 2631 third_party/protobuf/src/google/protobuf/descriptor.cc if (file == file_ || dependencies_.count(file) > 0) return result; file 2649 third_party/protobuf/src/google/protobuf/descriptor.cc possible_undeclared_dependency_ = file; file 2892 third_party/protobuf/src/google/protobuf/descriptor.cc const string& name, const Message& proto, const FileDescriptor* file) { file 2893 third_party/protobuf/src/google/protobuf/descriptor.cc if (tables_->AddSymbol(name, Symbol(file))) { file 2902 third_party/protobuf/src/google/protobuf/descriptor.cc AddPackage(*parent_name, proto, file); file 3738 third_party/protobuf/src/google/protobuf/descriptor.cc FileDescriptor* file, const FileDescriptorProto& proto) { file 3739 third_party/protobuf/src/google/protobuf/descriptor.cc if (file->options_ == NULL) { file 3740 third_party/protobuf/src/google/protobuf/descriptor.cc file->options_ = &FileOptions::default_instance(); file 3743 third_party/protobuf/src/google/protobuf/descriptor.cc for (int i = 0; i < file->message_type_count(); i++) { file 3744 third_party/protobuf/src/google/protobuf/descriptor.cc CrossLinkMessage(&file->message_types_[i], proto.message_type(i)); file 3747 third_party/protobuf/src/google/protobuf/descriptor.cc for (int i = 0; i < file->extension_count(); i++) { file 3748 third_party/protobuf/src/google/protobuf/descriptor.cc CrossLinkField(&file->extensions_[i], proto.extension(i)); file 3751 third_party/protobuf/src/google/protobuf/descriptor.cc for (int i = 0; i < file->enum_type_count(); i++) { file 3752 third_party/protobuf/src/google/protobuf/descriptor.cc CrossLinkEnum(&file->enum_types_[i], proto.enum_type(i)); file 3755 third_party/protobuf/src/google/protobuf/descriptor.cc for (int i = 0; i < file->service_count(); i++) { file 3756 third_party/protobuf/src/google/protobuf/descriptor.cc CrossLinkService(&file->services_[i], proto.service(i)); file 4020 third_party/protobuf/src/google/protobuf/descriptor.cc static bool IsLite(const FileDescriptor* file) { file 4023 third_party/protobuf/src/google/protobuf/descriptor.cc return file != NULL && file 4024 third_party/protobuf/src/google/protobuf/descriptor.cc &file->options() != NULL && file 4025 third_party/protobuf/src/google/protobuf/descriptor.cc &file->options() != &FileOptions::default_instance() && file 4026 third_party/protobuf/src/google/protobuf/descriptor.cc file->options().optimize_for() == FileOptions::LITE_RUNTIME; file 4029 third_party/protobuf/src/google/protobuf/descriptor.cc void DescriptorBuilder::ValidateFileOptions(FileDescriptor* file, file 4031 third_party/protobuf/src/google/protobuf/descriptor.cc VALIDATE_OPTIONS_FROM_ARRAY(file, message_type, Message); file 4032 third_party/protobuf/src/google/protobuf/descriptor.cc VALIDATE_OPTIONS_FROM_ARRAY(file, enum_type, Enum); file 4033 third_party/protobuf/src/google/protobuf/descriptor.cc VALIDATE_OPTIONS_FROM_ARRAY(file, service, Service); file 4034 third_party/protobuf/src/google/protobuf/descriptor.cc VALIDATE_OPTIONS_FROM_ARRAY(file, extension, Field); file 4037 third_party/protobuf/src/google/protobuf/descriptor.cc if (!IsLite(file)) { file 4038 third_party/protobuf/src/google/protobuf/descriptor.cc for (int i = 0; i < file->dependency_count(); i++) { file 4039 third_party/protobuf/src/google/protobuf/descriptor.cc if (IsLite(file->dependency(i))) { file 4041 third_party/protobuf/src/google/protobuf/descriptor.cc file->name(), proto, file 4045 third_party/protobuf/src/google/protobuf/descriptor.cc "imports \"" + file->dependency(i)->name() + "\" which is."); file 4118 third_party/protobuf/src/google/protobuf/descriptor.cc if (IsLite(field->file()) && file 4120 third_party/protobuf/src/google/protobuf/descriptor.cc !IsLite(field->containing_type()->file())) { file 4166 third_party/protobuf/src/google/protobuf/descriptor.cc if (IsLite(service->file()) && file 4167 third_party/protobuf/src/google/protobuf/descriptor.cc (service->file()->options().cc_generic_services() || file 4168 third_party/protobuf/src/google/protobuf/descriptor.cc service->file()->options().java_generic_services())) { file 4701 third_party/protobuf/src/google/protobuf/descriptor.cc if (enum_type->file()->pool() != DescriptorPool::generated_pool()) { file 144 third_party/protobuf/src/google/protobuf/descriptor.h const FileDescriptor* file() const; file 398 third_party/protobuf/src/google/protobuf/descriptor.h const FileDescriptor* file() const;// File in which this field was defined. file 602 third_party/protobuf/src/google/protobuf/descriptor.h const FileDescriptor* file() const; file 758 third_party/protobuf/src/google/protobuf/descriptor.h const FileDescriptor* file() const; file 1324 third_party/protobuf/src/google/protobuf/descriptor.h PROTOBUF_DEFINE_ACCESSOR(Descriptor, file, const FileDescriptor*) file 1347 third_party/protobuf/src/google/protobuf/descriptor.h PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, file, const FileDescriptor*) file 1373 third_party/protobuf/src/google/protobuf/descriptor.h PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, file, const FileDescriptor*) file 1388 third_party/protobuf/src/google/protobuf/descriptor.h PROTOBUF_DEFINE_ACCESSOR(ServiceDescriptor, file, const FileDescriptor*) file 94 third_party/protobuf/src/google/protobuf/descriptor.pb.cc const ::google::protobuf::FileDescriptor* file = file 97 third_party/protobuf/src/google/protobuf/descriptor.pb.cc GOOGLE_CHECK(file != NULL); file 98 third_party/protobuf/src/google/protobuf/descriptor.pb.cc FileDescriptorSet_descriptor_ = file->message_type(0); file 113 third_party/protobuf/src/google/protobuf/descriptor.pb.cc FileDescriptorProto_descriptor_ = file->message_type(1); file 138 third_party/protobuf/src/google/protobuf/descriptor.pb.cc DescriptorProto_descriptor_ = file->message_type(2); file 175 third_party/protobuf/src/google/protobuf/descriptor.pb.cc FieldDescriptorProto_descriptor_ = file->message_type(3); file 199 third_party/protobuf/src/google/protobuf/descriptor.pb.cc EnumDescriptorProto_descriptor_ = file->message_type(4); file 216 third_party/protobuf/src/google/protobuf/descriptor.pb.cc EnumValueDescriptorProto_descriptor_ = file->message_type(5); file 233 third_party/protobuf/src/google/protobuf/descriptor.pb.cc ServiceDescriptorProto_descriptor_ = file->message_type(6); file 250 third_party/protobuf/src/google/protobuf/descriptor.pb.cc MethodDescriptorProto_descriptor_ = file->message_type(7); file 268 third_party/protobuf/src/google/protobuf/descriptor.pb.cc FileOptions_descriptor_ = file->message_type(8); file 294 third_party/protobuf/src/google/protobuf/descriptor.pb.cc MessageOptions_descriptor_ = file->message_type(9); file 311 third_party/protobuf/src/google/protobuf/descriptor.pb.cc FieldOptions_descriptor_ = file->message_type(10); file 333 third_party/protobuf/src/google/protobuf/descriptor.pb.cc EnumOptions_descriptor_ = file->message_type(11); file 349 third_party/protobuf/src/google/protobuf/descriptor.pb.cc EnumValueOptions_descriptor_ = file->message_type(12); file 364 third_party/protobuf/src/google/protobuf/descriptor.pb.cc ServiceOptions_descriptor_ = file->message_type(13); file 379 third_party/protobuf/src/google/protobuf/descriptor.pb.cc MethodOptions_descriptor_ = file->message_type(14); file 394 third_party/protobuf/src/google/protobuf/descriptor.pb.cc UninterpretedOption_descriptor_ = file->message_type(15); file 431 third_party/protobuf/src/google/protobuf/descriptor.pb.cc SourceCodeInfo_descriptor_ = file->message_type(16); file 830 third_party/protobuf/src/google/protobuf/descriptor.pb.cc 1, this->file(i), output); file 845 third_party/protobuf/src/google/protobuf/descriptor.pb.cc 1, this->file(i), target); file 863 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->file(i)); file 910 third_party/protobuf/src/google/protobuf/descriptor.pb.cc if (!this->file(i).IsInitialized()) return false; file 214 third_party/protobuf/src/google/protobuf/descriptor.pb.h inline const ::google::protobuf::FileDescriptorProto& file(int index) const; file 218 third_party/protobuf/src/google/protobuf/descriptor.pb.h file() const; file 2785 third_party/protobuf/src/google/protobuf/descriptor.pb.h inline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(int index) const { file 2795 third_party/protobuf/src/google/protobuf/descriptor.pb.h FileDescriptorSet::file() const { file 54 third_party/protobuf/src/google/protobuf/descriptor_database.cc const FileDescriptorProto& file, file 56 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (!InsertIfNotPresent(&by_name_, file.name(), value)) { file 57 third_party/protobuf/src/google/protobuf/descriptor_database.cc GOOGLE_LOG(ERROR) << "File already exists in database: " << file.name(); file 64 third_party/protobuf/src/google/protobuf/descriptor_database.cc string path = file.has_package() ? file.package() : string(); file 67 third_party/protobuf/src/google/protobuf/descriptor_database.cc for (int i = 0; i < file.message_type_size(); i++) { file 68 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (!AddSymbol(path + file.message_type(i).name(), value)) return false; file 69 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (!AddNestedExtensions(file.message_type(i), value)) return false; file 71 third_party/protobuf/src/google/protobuf/descriptor_database.cc for (int i = 0; i < file.enum_type_size(); i++) { file 72 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (!AddSymbol(path + file.enum_type(i).name(), value)) return false; file 74 third_party/protobuf/src/google/protobuf/descriptor_database.cc for (int i = 0; i < file.extension_size(); i++) { file 75 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (!AddSymbol(path + file.extension(i).name(), value)) return false; file 76 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (!AddExtension(file.extension(i), value)) return false; file 78 third_party/protobuf/src/google/protobuf/descriptor_database.cc for (int i = 0; i < file.service_size(); i++) { file 79 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (!AddSymbol(path + file.service(i).name(), value)) return false; file 256 third_party/protobuf/src/google/protobuf/descriptor_database.cc bool SimpleDescriptorDatabase::Add(const FileDescriptorProto& file) { file 258 third_party/protobuf/src/google/protobuf/descriptor_database.cc new_file->CopyFrom(file); file 262 third_party/protobuf/src/google/protobuf/descriptor_database.cc bool SimpleDescriptorDatabase::AddAndOwn(const FileDescriptorProto* file) { file 263 third_party/protobuf/src/google/protobuf/descriptor_database.cc files_to_delete_.push_back(file); file 264 third_party/protobuf/src/google/protobuf/descriptor_database.cc return index_.AddFile(*file, file); file 292 third_party/protobuf/src/google/protobuf/descriptor_database.cc bool SimpleDescriptorDatabase::MaybeCopy(const FileDescriptorProto* file, file 294 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (file == NULL) return false; file 295 third_party/protobuf/src/google/protobuf/descriptor_database.cc output->CopyFrom(*file); file 310 third_party/protobuf/src/google/protobuf/descriptor_database.cc FileDescriptorProto file; file 311 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (file.ParseFromArray(encoded_file_descriptor, size)) { file 312 third_party/protobuf/src/google/protobuf/descriptor_database.cc return index_.AddFile(file, make_pair(encoded_file_descriptor, size)); file 399 third_party/protobuf/src/google/protobuf/descriptor_database.cc const FileDescriptor* file = pool_.FindFileByName(filename); file 400 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (file == NULL) return false; file 402 third_party/protobuf/src/google/protobuf/descriptor_database.cc file->CopyTo(output); file 409 third_party/protobuf/src/google/protobuf/descriptor_database.cc const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name); file 410 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (file == NULL) return false; file 412 third_party/protobuf/src/google/protobuf/descriptor_database.cc file->CopyTo(output); file 428 third_party/protobuf/src/google/protobuf/descriptor_database.cc extension->file()->CopyTo(output); file 138 third_party/protobuf/src/google/protobuf/descriptor_database.h bool Add(const FileDescriptorProto& file); file 141 third_party/protobuf/src/google/protobuf/descriptor_database.h bool AddAndOwn(const FileDescriptorProto* file); file 165 third_party/protobuf/src/google/protobuf/descriptor_database.h bool AddFile(const FileDescriptorProto& file, file 256 third_party/protobuf/src/google/protobuf/descriptor_database.h bool MaybeCopy(const FileDescriptorProto* file, file 86 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc virtual bool AddToDatabase(const FileDescriptorProto& file) = 0; file 104 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc virtual bool AddToDatabase(const FileDescriptorProto& file) { file 105 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc return database_.Add(file); file 124 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc virtual bool AddToDatabase(const FileDescriptorProto& file) { file 126 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc file.SerializeToString(&data); file 147 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc virtual bool AddToDatabase(const FileDescriptorProto& file) { file 148 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc return pool_.BuildFile(file); file 191 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 192 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); file 193 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 194 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "Foo"); file 198 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 199 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileByName("bar.proto", &file)); file 200 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("bar.proto", file.name()); file 201 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "Bar"); file 206 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 207 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(database_->FindFileByName("baz.proto", &file)); file 236 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 237 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingSymbol("Foo", &file)); file 238 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 243 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 244 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.qux", &file)); file 245 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 250 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 251 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Grault", &file)); file 252 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 257 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 258 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Garply", &file)); file 259 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 264 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 265 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo", &file)); file 266 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 271 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 272 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo.FRED", &file)); file 273 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 278 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 279 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingSymbol("plugh", &file)); file 280 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 285 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 286 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingSymbol("Xyzzy", &file)); file 287 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 292 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 293 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingSymbol("Xyzzy.Thud", &file)); file 294 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 299 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 300 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingSymbol("corge.Bar", &file)); file 301 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("bar.proto", file.name()); file 306 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 307 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(database_->FindFileContainingSymbol("Baz", &file)); file 312 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 313 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(database_->FindFileContainingSymbol("Bar", &file)); file 339 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 340 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingExtension("Foo", 5, &file)); file 341 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 345 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 346 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingExtension("Foo", 32, &file)); file 347 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("bar.proto", file.name()); file 352 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 353 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileContainingExtension("corge.Bar", 70, &file)); file 354 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("bar.proto", file.name()); file 360 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 361 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(database_->FindFileContainingExtension("Bar", 56, &file)); file 363 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc database_->FindFileContainingExtension("corge.Bar", 56, &file)); file 368 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 369 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(database_->FindFileContainingExtension("Foo", 12, &file)); file 374 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 376 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc database_->FindFileContainingExtension("NoSuchType", 5, &file)); file 381 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 382 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(database_->FindFileContainingExtension("Bar", 70, &file)); file 564 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 565 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileByName("foo.proto", &file)); file 566 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 567 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "Foo"); file 572 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 573 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileByName("bar.proto", &file)); file 574 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("bar.proto", file.name()); file 575 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "Bar"); file 580 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 581 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileByName("baz.proto", &file)); file 582 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("baz.proto", file.name()); file 583 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "FromPool1"); file 588 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 589 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(reverse_merged_.FindFileByName("baz.proto", &file)); file 590 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("baz.proto", file.name()); file 591 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "FromPool2"); file 596 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 597 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(forward_merged_.FindFileByName("no_such.proto", &file)); file 604 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 605 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileContainingSymbol("Foo", &file)); file 606 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 607 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "Foo"); file 612 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 613 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileContainingSymbol("Bar", &file)); file 614 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("bar.proto", file.name()); file 615 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "Bar"); file 620 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 621 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileContainingSymbol("Baz", &file)); file 622 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("baz.proto", file.name()); file 623 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "FromPool1"); file 628 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 629 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(reverse_merged_.FindFileContainingSymbol("Baz", &file)); file 630 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("baz.proto", file.name()); file 631 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "FromPool2"); file 637 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 638 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileContainingSymbol("FromPool1", &file)); file 639 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(reverse_merged_.FindFileContainingSymbol("FromPool1", &file)); file 644 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 646 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc forward_merged_.FindFileContainingSymbol("NoSuchType", &file)); file 653 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 655 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc forward_merged_.FindFileContainingExtension("Foo", 3, &file)); file 656 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("foo.proto", file.name()); file 657 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "Foo"); file 662 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 664 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc forward_merged_.FindFileContainingExtension("Bar", 5, &file)); file 665 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("bar.proto", file.name()); file 666 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "Bar"); file 671 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 673 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc forward_merged_.FindFileContainingExtension("Baz", 12, &file)); file 674 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("baz.proto", file.name()); file 675 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "FromPool1"); file 680 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 682 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc reverse_merged_.FindFileContainingExtension("Baz", 12, &file)); file 683 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_EQ("baz.proto", file.name()); file 684 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc ExpectContainsType(file, "FromPool2"); file 690 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 691 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileContainingExtension("Baz", 13, &file)); file 692 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(reverse_merged_.FindFileContainingExtension("Baz", 13, &file)); file 697 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc FileDescriptorProto file; file 699 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc forward_merged_.FindFileContainingExtension("Foo", 6, &file)); file 62 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc DescriptorProto* AddMessage(FileDescriptorProto* file, const string& name) { file 63 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc DescriptorProto* result = file->add_message_type(); file 74 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EnumDescriptorProto* AddEnum(FileDescriptorProto* file, const string& name) { file 75 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EnumDescriptorProto* result = file->add_enum_type(); file 87 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ServiceDescriptorProto* AddService(FileDescriptorProto* file, file 89 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ServiceDescriptorProto* result = file->add_service(); file 106 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc FieldDescriptorProto* AddExtension(FileDescriptorProto* file, file 111 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc FieldDescriptorProto* result = file->add_extension(); file 163 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc void AddEmptyEnum(FileDescriptorProto* file, const string& name) { file 164 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddEnumValue(AddEnum(file, name), name + "_DUMMY", 1); file 354 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc FileDescriptorProto file; file 355 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc foo_file_->CopyTo(&file); file 356 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(foo_file_, pool_.BuildFile(file)); file 359 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file.set_package("some.other.package"); file 360 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(pool_.BuildFile(file) == NULL); file 489 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(foo_file_, message_->file()); file 493 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(bar_file_, message2_->file()); file 563 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(foo_file_, foo_->file()); file 564 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(foo_file_, bar_->file()); file 565 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(foo_file_, baz_->file()); file 566 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(foo_file_, qux_->file()); file 568 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(bar_file_, foo2_->file()); file 569 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(bar_file_, bar2_->file()); file 570 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(bar_file_, quux2_->file()); file 652 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc FileDescriptorProto file; file 653 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file.set_name("foo.proto"); file 655 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddExtensionRange(AddMessage(&file, "ExtendableMessage"), 1, 1000); file 657 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc DescriptorProto* message = AddMessage(&file, "TestMessage"); file 690 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddExtension(&file, "ExtendableMessage", "baz_foo", 11, file 693 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddExtension(&file, "ExtendableMessage", "BazBar", 12, file 696 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddExtension(&file, "ExtendableMessage", "BazBaz", 13, file 699 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddExtension(&file, "ExtendableMessage", "bazFoo", 14, // Conflict file 702 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddExtension(&file, "ExtendableMessage", "bazbar", 15, // Conflict file 706 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file_ = pool_.BuildFile(file); file 911 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(foo_file_, enum_->file()); file 915 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(bar_file_, enum2_->file()); file 1085 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(foo_file_, service_->file()); file 1089 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(bar_file_, service2_->file()); file 1543 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = pool_->BuildFile(file_proto); file 1545 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc if (file != NULL && file 1546 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file->message_type_count() == 1 && file 1547 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file->message_type(0)->field_count() == 1) { file 1548 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc return file->message_type(0)->field(0); file 1707 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = pool.BuildFile(file_proto); file 1708 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(file != NULL); file 1710 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_EQ(1, file->enum_type_count()); file 1711 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const EnumDescriptor* enum_type = file->enum_type(0); file 1716 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_EQ(1, file->message_type_count()); file 1717 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const Descriptor* message = file->message_type(0); file 1791 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = pool.BuildFile(file_proto); file 1792 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(file != NULL); file 1794 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_EQ(1, file->message_type_count()); file 1795 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const Descriptor* message = file->message_type(0); file 1931 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("Baz.placeholder.proto", baz_type->file()->name()); file 1938 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("corge.Qux.placeholder.proto", qux_type->file()->name()); file 1989 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = BuildFile(extension_proto); file 1991 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(file != NULL); file 1993 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_EQ(1, file->extension_count()); file 1994 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const Descriptor* extendee = file->extension(0)->containing_type(); file 2042 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = BuildFile(option_proto); file 2043 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(file != NULL); file 2048 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file->options().GetReflection()->ListFields(file->options(), &fields); file 2050 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(file->options().has_optimize_for()); file 2051 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(2, file->options().uninterpreted_option_size()); file 2105 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = BuildFile(test_proto); file 2106 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(file != NULL); file 2107 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc GOOGLE_LOG(INFO) << file->DebugString(); file 2109 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(0, file->dependency_count()); file 2110 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_EQ(1, file->message_type_count()); file 2111 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const Descriptor* corge_desc = file->message_type(0); file 2120 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc quux_field->message_type()->file()->name()); file 2134 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = message->file(); file 2139 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file->FindServiceByName("TestServiceWithCustomOptions"); file 2143 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file->options().GetExtension(protobuf_unittest::file_opt1)); file 2265 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto); file 2269 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ->file()->CopyTo(&file_proto); file 2306 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = pool.BuildFile(file_proto); file 2307 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(file != NULL); file 2308 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(1234, file->options().GetExtension(protobuf_unittest::file_opt1)); file 2309 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(file->options().has_java_package()); file 2310 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("foo", file->options().java_package()); file 2311 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(file->options().has_optimize_for()); file 2312 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FileOptions::SPEED, file->options().optimize_for()); file 2324 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto); file 2328 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ->file()->CopyTo(&file_proto); file 2384 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = pool.BuildFile(file_proto); file 2385 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(file != NULL); file 2386 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_EQ(1, file->message_type_count()); file 2388 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const MessageOptions& options = file->message_type(0)->options(); file 2396 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = msg->file(); file 2398 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const EnumDescriptor* enumd = file->FindEnumTypeByName("AggregateEnum"); file 2400 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const ServiceDescriptor* service = file->FindServiceByName( file 2406 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file->options().GetExtension(protobuf_unittest::fileopt); file 2411 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file_options.file().GetExtension(protobuf_unittest::fileopt).s()); file 2495 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc void BuildFileInTestPool(const FileDescriptor* file) { file 2497 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file->CopyTo(&file_proto); file 2504 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc BuildFileInTestPool(DescriptorProto::descriptor()->file()); file 4203 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = pool.FindFileContainingSymbol("Foo"); file 4204 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(file != NULL); file 4205 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("foo.proto", file->name()); file 4206 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(file, pool.FindFileByName("foo.proto")); file 4217 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(type->file(), pool.FindFileByName("foo.proto")); file 4231 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(extension->file(), pool.FindFileByName("bar.proto")); file 4314 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc protobuf_unittest::TestAllTypes::descriptor()->file(); file 4340 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = pool.FindFileByName("foo.proto"); file 4341 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(file != NULL); file 4360 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(file->FindMessageTypeByName("NoSuchMessageType") == NULL); file 4361 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(file->FindEnumTypeByName("NoSuchEnumType") == NULL); file 4362 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(file->FindEnumValueByName("NO_SUCH_VALUE") == NULL); file 4363 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(file->FindServiceByName("NO_SUCH_VALUE") == NULL); file 4364 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(file->FindExtensionByName("no_such_extension") == NULL); file 4417 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = pool.FindFileByName("foo.proto"); file 4418 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(file != NULL); file 474 third_party/protobuf/src/google/protobuf/dynamic_message.cc type->file()->pool() == DescriptorPool::generated_pool()) { file 488 third_party/protobuf/src/google/protobuf/dynamic_message.cc type_info->pool = (pool_ == NULL) ? type->file()->pool() : pool_; file 78 third_party/protobuf/src/google/protobuf/dynamic_message_unittest.cc unittest::TestAllTypes::descriptor()->file()->CopyTo(&unittest_file); file 79 third_party/protobuf/src/google/protobuf/dynamic_message_unittest.cc unittest_import::ImportMessage::descriptor()->file()->CopyTo( file 81 third_party/protobuf/src/google/protobuf/dynamic_message_unittest.cc unittest_import::PublicImportMessage::descriptor()->file()->CopyTo( file 571 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc unittest::TestAllExtensions::descriptor()->file()->name()); file 607 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc const FileDescriptor* file = dynamic_pool.BuildFile(dynamic_proto); file 608 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc ASSERT_TRUE(file != NULL); file 693 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc file->FindExtensionByName("message_extension"); file 711 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc file->FindExtensionByName("dynamic_message_extension"); file 275 third_party/protobuf/src/google/protobuf/generated_message_reflection_unittest.cc &message, descriptor->file()->FindExtensionByName( file 333 third_party/protobuf/src/google/protobuf/generated_message_reflection_unittest.cc unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( file 336 third_party/protobuf/src/google/protobuf/generated_message_reflection_unittest.cc unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( file 358 third_party/protobuf/src/google/protobuf/generated_message_reflection_unittest.cc unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( file 361 third_party/protobuf/src/google/protobuf/generated_message_reflection_unittest.cc unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( file 683 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc int file = file 685 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ASSERT_GE(file, 0); file 688 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc FileOutputStream output(file, kBlockSizes[i]); file 694 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ASSERT_NE(lseek(file, 0, SEEK_SET), (off_t)-1); file 697 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc FileInputStream input(file, kBlockSizes[j]); file 702 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc close(file); file 714 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc int file = file 716 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ASSERT_GE(file, 0); file 718 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc FileOutputStream output(file, kBlockSizes[i]); file 727 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ASSERT_NE(lseek(file, 0, SEEK_SET), (off_t)-1); file 730 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc FileInputStream input(file, kBlockSizes[j]); file 736 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc close(file); file 759 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc const wchar_t *file, file 240 third_party/protobuf/src/google/protobuf/message.cc void RegisterFile(const char* file, RegistrationFunc* registration_func); file 278 third_party/protobuf/src/google/protobuf/message.cc const char* file, RegistrationFunc* registration_func) { file 279 third_party/protobuf/src/google/protobuf/message.cc if (!InsertIfNotPresent(&file_map_, file, registration_func)) { file 280 third_party/protobuf/src/google/protobuf/message.cc GOOGLE_LOG(FATAL) << "File is already registered: " << file; file 286 third_party/protobuf/src/google/protobuf/message.cc GOOGLE_DCHECK_EQ(descriptor->file()->pool(), DescriptorPool::generated_pool()) file 309 third_party/protobuf/src/google/protobuf/message.cc if (type->file()->pool() != DescriptorPool::generated_pool()) return NULL; file 313 third_party/protobuf/src/google/protobuf/message.cc FindPtrOrNull(file_map_, type->file()->name().c_str()); file 316 third_party/protobuf/src/google/protobuf/message.cc "registered: " << type->file()->name(); file 326 third_party/protobuf/src/google/protobuf/message.cc registration_func(type->file()->name()); file 110 third_party/protobuf/src/google/protobuf/message_unittest.cc int file = open(filename.c_str(), O_RDONLY | O_BINARY); file 113 third_party/protobuf/src/google/protobuf/message_unittest.cc EXPECT_TRUE(message.ParseFromFileDescriptor(file)); file 116 third_party/protobuf/src/google/protobuf/message_unittest.cc EXPECT_GE(close(file), 0); file 123 third_party/protobuf/src/google/protobuf/message_unittest.cc int file = open(filename.c_str(), O_RDONLY | O_BINARY); file 126 third_party/protobuf/src/google/protobuf/message_unittest.cc EXPECT_TRUE(message.ParseFromFileDescriptor(file)); file 129 third_party/protobuf/src/google/protobuf/message_unittest.cc EXPECT_GE(close(file), 0); file 342 third_party/protobuf/src/google/protobuf/message_unittest.cc FileDescriptorProto file; file 343 third_party/protobuf/src/google/protobuf/message_unittest.cc file.set_name("foo.proto"); file 344 third_party/protobuf/src/google/protobuf/message_unittest.cc file.add_message_type()->set_name("Foo"); file 345 third_party/protobuf/src/google/protobuf/message_unittest.cc const Descriptor* descriptor = pool.BuildFile(file)->message_type(0); file 174 third_party/protobuf/src/google/protobuf/repeated_field_reflection_unittest.cc desc->file()->FindExtensionByName("repeated_int64_extension"); file 738 third_party/protobuf/src/google/protobuf/stubs/common.h T* CheckNotNull(const char *file, int line, const char *name, T* val) { file 2128 third_party/protobuf/src/google/protobuf/test_util.cc const DescriptorPool* pool = base_descriptor->file()->pool(); file 2191 third_party/protobuf/src/google/protobuf/test_util.cc result = base_descriptor_->file()->FindExtensionByName(name + "_extension"); file 67 third_party/protobuf/src/google/protobuf/testing/file.cc FILE* file = fopen(name.c_str(), "rb"); file 68 third_party/protobuf/src/google/protobuf/testing/file.cc if (file == NULL) return false; file 71 third_party/protobuf/src/google/protobuf/testing/file.cc size_t n = fread(buffer, 1, sizeof(buffer), file); file 76 third_party/protobuf/src/google/protobuf/testing/file.cc int error = ferror(file); file 77 third_party/protobuf/src/google/protobuf/testing/file.cc if (fclose(file) != 0) return false; file 86 third_party/protobuf/src/google/protobuf/testing/file.cc FILE* file = fopen(name.c_str(), "wb"); file 87 third_party/protobuf/src/google/protobuf/testing/file.cc GOOGLE_CHECK(file != NULL) file 89 third_party/protobuf/src/google/protobuf/testing/file.cc GOOGLE_CHECK_EQ(fwrite(contents.data(), 1, contents.size(), file), file 92 third_party/protobuf/src/google/protobuf/testing/file.cc GOOGLE_CHECK(fclose(file) == 0) file 1154 third_party/qcms/src/iccread.c qcms_profile* qcms_profile_from_file(FILE *file) file 1162 third_party/qcms/src/iccread.c if (fread(&length_be, 1, sizeof(length_be), file) != sizeof(length_be)) file 1179 third_party/qcms/src/iccread.c read_length = fread((unsigned char*)data + sizeof(length_be), 1, remaining_length, file); file 1193 third_party/qcms/src/iccread.c FILE *file = fopen(path, "rb"); file 1194 third_party/qcms/src/iccread.c if (file) { file 1195 third_party/qcms/src/iccread.c profile = qcms_profile_from_file(file); file 1196 third_party/qcms/src/iccread.c fclose(file); file 1206 third_party/qcms/src/iccread.c FILE *file = _wfopen(path, L"rb"); file 1207 third_party/qcms/src/iccread.c if (file) { file 1208 third_party/qcms/src/iccread.c profile = qcms_profile_from_file(file); file 1209 third_party/qcms/src/iccread.c fclose(file); file 139 third_party/qcms/src/qcms.h qcms_profile* qcms_profile_from_file(FILE *file); file 56 third_party/re2/util/logging.h LogMessage(const char* file, int line) : flushed_(false) { file 57 third_party/re2/util/logging.h stream() << file << ":" << line << ": "; file 81 third_party/re2/util/logging.h LogMessageFatal(const char* file, int line) file 82 third_party/re2/util/logging.h : LogMessage(file, line) { } file 28608 third_party/sqlite/amalgamation/sqlite3.c void initUnixFile(sqlite3_file* file) { file 28609 third_party/sqlite/amalgamation/sqlite3.c memset(file, 0, sizeof(unixFile)); file 29001 third_party/sqlite/amalgamation/sqlite3.c void chromium_sqlite3_initialize_unix_sqlite3_file(sqlite3_file* file) { file 29002 third_party/sqlite/amalgamation/sqlite3.c memset(file, 0, sizeof(unixFile)); file 29008 third_party/sqlite/amalgamation/sqlite3.c sqlite3_file* file, file 29012 third_party/sqlite/amalgamation/sqlite3.c return fillInUnixFile(vfs, fd, dirfd, file, fileName, noLock, isDelete, 0); file 29023 third_party/sqlite/amalgamation/sqlite3.c int chromium_sqlite3_get_reusable_file_handle(sqlite3_file* file, file 29027 third_party/sqlite/amalgamation/sqlite3.c unixFile* unixSQLite3File = (unixFile*)file; file 29047 third_party/sqlite/amalgamation/sqlite3.c void chromium_sqlite3_update_reusable_file_handle(sqlite3_file* file, file 29050 third_party/sqlite/amalgamation/sqlite3.c unixFile* unixSQLite3File = (unixFile*)file; file 29060 third_party/sqlite/amalgamation/sqlite3.c void chromium_sqlite3_destroy_reusable_file_handle(sqlite3_file* file) { file 29061 third_party/sqlite/amalgamation/sqlite3.c unixFile* unixSQLite3File = (unixFile*)file; file 33906 third_party/sqlite/amalgamation/sqlite3.c void chromium_sqlite3_initialize_win_sqlite3_file(sqlite3_file* file, HANDLE handle) { file 33907 third_party/sqlite/amalgamation/sqlite3.c winFile* winSQLite3File = (winFile*)file; file 33908 third_party/sqlite/amalgamation/sqlite3.c memset(file, 0, sizeof(*file)); file 4467 third_party/sqlite/src/src/os_unix.c void initUnixFile(sqlite3_file* file) { file 4468 third_party/sqlite/src/src/os_unix.c memset(file, 0, sizeof(unixFile)); file 4860 third_party/sqlite/src/src/os_unix.c void chromium_sqlite3_initialize_unix_sqlite3_file(sqlite3_file* file) { file 4861 third_party/sqlite/src/src/os_unix.c memset(file, 0, sizeof(unixFile)); file 4867 third_party/sqlite/src/src/os_unix.c sqlite3_file* file, file 4871 third_party/sqlite/src/src/os_unix.c return fillInUnixFile(vfs, fd, dirfd, file, fileName, noLock, isDelete, 0); file 4882 third_party/sqlite/src/src/os_unix.c int chromium_sqlite3_get_reusable_file_handle(sqlite3_file* file, file 4886 third_party/sqlite/src/src/os_unix.c unixFile* unixSQLite3File = (unixFile*)file; file 4906 third_party/sqlite/src/src/os_unix.c void chromium_sqlite3_update_reusable_file_handle(sqlite3_file* file, file 4909 third_party/sqlite/src/src/os_unix.c unixFile* unixSQLite3File = (unixFile*)file; file 4919 third_party/sqlite/src/src/os_unix.c void chromium_sqlite3_destroy_reusable_file_handle(sqlite3_file* file) { file 4920 third_party/sqlite/src/src/os_unix.c unixFile* unixSQLite3File = (unixFile*)file; file 2787 third_party/sqlite/src/src/os_win.c void chromium_sqlite3_initialize_win_sqlite3_file(sqlite3_file* file, HANDLE handle) { file 2788 third_party/sqlite/src/src/os_win.c winFile* winSQLite3File = (winFile*)file; file 2789 third_party/sqlite/src/src/os_win.c memset(file, 0, sizeof(*file)); file 1979 third_party/talloc/talloc.c void talloc_show_parents(const void *context, FILE *file) file 1984 third_party/talloc/talloc.c fprintf(file, "talloc no parents for NULL\n"); file 1989 third_party/talloc/talloc.c fprintf(file, "talloc parents of '%s'\n", talloc_get_name(context)); file 1991 third_party/talloc/talloc.c fprintf(file, "\t'%s'\n", talloc_get_name(TC_PTR_FROM_CHUNK(tc))); file 1997 third_party/talloc/talloc.c fflush(file); file 183 third_party/talloc/talloc.h void talloc_show_parents(const void *context, FILE *file); file 67 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateRWLockCreate(const char *file, int line, file 69 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateRWLockDestroy(const char *file, int line, file 71 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateRWLockAcquired(const char *file, int line, file 73 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateRWLockReleased(const char *file, int line, file 75 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateBarrierInit(const char *file, int line, file 78 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateBarrierWaitBefore(const char *file, int line, file 80 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateBarrierWaitAfter(const char *file, int line, file 82 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateBarrierDestroy(const char *file, int line, file 85 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateCondVarWait(const char *file, int line, file 88 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateCondVarSignal(const char *file, int line, file 90 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateCondVarSignalAll(const char *file, int line, file 92 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotatePublishMemoryRange(const char *file, int line, file 95 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateUnpublishMemoryRange(const char *file, int line, file 98 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotatePCQCreate(const char *file, int line, file 100 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotatePCQDestroy(const char *file, int line, file 102 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotatePCQPut(const char *file, int line, file 104 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotatePCQGet(const char *file, int line, file 106 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateNewMemory(const char *file, int line, file 109 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateExpectRace(const char *file, int line, file 112 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateBenignRace(const char *file, int line, file 115 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateBenignRaceSized(const char *file, int line, file 119 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateMutexIsUsedAsCondVar(const char *file, int line, file 121 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateTraceMemory(const char *file, int line, file 123 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateThreadName(const char *file, int line, file 125 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateIgnoreReadsBegin(const char *file, int line){} file 126 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateIgnoreReadsEnd(const char *file, int line){} file 127 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateIgnoreWritesBegin(const char *file, int line){} file 128 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateIgnoreWritesEnd(const char *file, int line){} file 129 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateEnableRaceDetection(const char *file, int line, int enable){} file 130 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateNoOp(const char *file, int line, file 132 third_party/tcmalloc/chromium/src/base/dynamic_annotations.c void AnnotateFlushState(const char *file, int line){} file 395 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h #define ANNOTALYSIS_SEMICOLON_OR_EMPTY_BODY { (void)file; (void)line; } file 418 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateRWLockCreate(const char *file, int line, file 420 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateRWLockDestroy(const char *file, int line, file 422 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateRWLockAcquired(const char *file, int line, file 424 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateRWLockReleased(const char *file, int line, file 426 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateBarrierInit(const char *file, int line, file 429 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateBarrierWaitBefore(const char *file, int line, file 431 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateBarrierWaitAfter(const char *file, int line, file 433 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateBarrierDestroy(const char *file, int line, file 435 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateCondVarWait(const char *file, int line, file 438 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateCondVarSignal(const char *file, int line, file 440 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateCondVarSignalAll(const char *file, int line, file 442 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotatePublishMemoryRange(const char *file, int line, file 445 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateUnpublishMemoryRange(const char *file, int line, file 448 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotatePCQCreate(const char *file, int line, file 450 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotatePCQDestroy(const char *file, int line, file 452 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotatePCQPut(const char *file, int line, file 454 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotatePCQGet(const char *file, int line, file 456 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateNewMemory(const char *file, int line, file 459 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateExpectRace(const char *file, int line, file 462 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateBenignRace(const char *file, int line, file 465 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateBenignRaceSized(const char *file, int line, file 469 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateMutexIsUsedAsCondVar(const char *file, int line, file 471 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateTraceMemory(const char *file, int line, file 473 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateThreadName(const char *file, int line, file 476 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateIgnoreReadsBegin(const char *file, int line) file 479 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateIgnoreReadsEnd(const char *file, int line) file 482 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateIgnoreWritesBegin(const char *file, int line) file 485 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateIgnoreWritesEnd(const char *file, int line) file 487 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateEnableRaceDetection(const char *file, int line, int enable); file 488 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateNoOp(const char *file, int line, file 490 third_party/tcmalloc/chromium/src/base/dynamic_annotations.h void AnnotateFlushState(const char *file, int line); file 261 third_party/tcmalloc/chromium/src/base/sysinfo.cc static bool ReadIntFromFile(const char *file, int *value) { file 263 third_party/tcmalloc/chromium/src/base/sysinfo.cc int fd = open(file, O_RDONLY); file 63 third_party/tcmalloc/chromium/src/free_list.h const char* file, file 65 third_party/tcmalloc/chromium/src/free_list.h if (v0 != v1) Log(kCrash, file, line, "Memory corruption detected."); file 67 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateRWLockCreate(const char *file, int line, file 69 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateRWLockDestroy(const char *file, int line, file 71 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateRWLockAcquired(const char *file, int line, file 73 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateRWLockReleased(const char *file, int line, file 75 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateBarrierInit(const char *file, int line, file 78 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateBarrierWaitBefore(const char *file, int line, file 80 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateBarrierWaitAfter(const char *file, int line, file 82 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateBarrierDestroy(const char *file, int line, file 85 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateCondVarWait(const char *file, int line, file 88 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateCondVarSignal(const char *file, int line, file 90 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateCondVarSignalAll(const char *file, int line, file 92 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotatePublishMemoryRange(const char *file, int line, file 95 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateUnpublishMemoryRange(const char *file, int line, file 98 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotatePCQCreate(const char *file, int line, file 100 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotatePCQDestroy(const char *file, int line, file 102 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotatePCQPut(const char *file, int line, file 104 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotatePCQGet(const char *file, int line, file 106 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateNewMemory(const char *file, int line, file 109 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateExpectRace(const char *file, int line, file 112 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateBenignRace(const char *file, int line, file 115 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateBenignRaceSized(const char *file, int line, file 119 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateMutexIsUsedAsCondVar(const char *file, int line, file 121 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateTraceMemory(const char *file, int line, file 123 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateThreadName(const char *file, int line, file 125 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateIgnoreReadsBegin(const char *file, int line){} file 126 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateIgnoreReadsEnd(const char *file, int line){} file 127 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateIgnoreWritesBegin(const char *file, int line){} file 128 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateIgnoreWritesEnd(const char *file, int line){} file 129 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateEnableRaceDetection(const char *file, int line, int enable){} file 130 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateNoOp(const char *file, int line, file 132 third_party/tcmalloc/vendor/src/base/dynamic_annotations.c void AnnotateFlushState(const char *file, int line){} file 395 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h #define ANNOTALYSIS_SEMICOLON_OR_EMPTY_BODY { (void)file; (void)line; } file 418 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateRWLockCreate(const char *file, int line, file 420 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateRWLockDestroy(const char *file, int line, file 422 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateRWLockAcquired(const char *file, int line, file 424 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateRWLockReleased(const char *file, int line, file 426 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateBarrierInit(const char *file, int line, file 429 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateBarrierWaitBefore(const char *file, int line, file 431 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateBarrierWaitAfter(const char *file, int line, file 433 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateBarrierDestroy(const char *file, int line, file 435 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateCondVarWait(const char *file, int line, file 438 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateCondVarSignal(const char *file, int line, file 440 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateCondVarSignalAll(const char *file, int line, file 442 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotatePublishMemoryRange(const char *file, int line, file 445 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateUnpublishMemoryRange(const char *file, int line, file 448 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotatePCQCreate(const char *file, int line, file 450 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotatePCQDestroy(const char *file, int line, file 452 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotatePCQPut(const char *file, int line, file 454 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotatePCQGet(const char *file, int line, file 456 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateNewMemory(const char *file, int line, file 459 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateExpectRace(const char *file, int line, file 462 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateBenignRace(const char *file, int line, file 465 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateBenignRaceSized(const char *file, int line, file 469 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateMutexIsUsedAsCondVar(const char *file, int line, file 471 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateTraceMemory(const char *file, int line, file 473 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateThreadName(const char *file, int line, file 476 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateIgnoreReadsBegin(const char *file, int line) file 479 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateIgnoreReadsEnd(const char *file, int line) file 482 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateIgnoreWritesBegin(const char *file, int line) file 485 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateIgnoreWritesEnd(const char *file, int line) file 487 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateEnableRaceDetection(const char *file, int line, int enable); file 488 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateNoOp(const char *file, int line, file 490 third_party/tcmalloc/vendor/src/base/dynamic_annotations.h void AnnotateFlushState(const char *file, int line); file 246 third_party/tcmalloc/vendor/src/base/sysinfo.cc static bool ReadIntFromFile(const char *file, int *value) { file 248 third_party/tcmalloc/vendor/src/base/sysinfo.cc int fd = open(file, O_RDONLY); file 85 third_party/zlib/contrib/minizip/ioapi.c FILE* file = NULL; file 97 third_party/zlib/contrib/minizip/ioapi.c file = fopen(filename, mode_fopen); file 98 third_party/zlib/contrib/minizip/ioapi.c return file; file 103 third_party/zlib/contrib/minizip/ioapi.c FILE* file = NULL; file 115 third_party/zlib/contrib/minizip/ioapi.c file = fopen64((const char*)filename, mode_fopen); file 116 third_party/zlib/contrib/minizip/ioapi.c return file; file 30 third_party/zlib/contrib/minizip/mztools.c extern int ZEXPORT unzRepair(file, fileOut, fileOutTmp, nRecovered, bytesRecovered) file 31 third_party/zlib/contrib/minizip/mztools.c const char* file; file 38 third_party/zlib/contrib/minizip/mztools.c FILE* fpZip = fopen(file, "rb"); file 25 third_party/zlib/contrib/minizip/mztools.h extern int ZEXPORT unzRepair(const char* file, file 808 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzClose (unzFile file) file 811 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 813 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 816 third_party/zlib/contrib/minizip/unzip.c unzCloseCurrentFile(file); file 828 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGetGlobalInfo64 (unzFile file, unz_global_info64* pglobal_info) file 831 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 833 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 838 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGetGlobalInfo (unzFile file, unz_global_info* pglobal_info32) file 841 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 843 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 868 third_party/zlib/contrib/minizip/unzip.c local int unz64local_GetCurrentFileInfoInternal OF((unzFile file, file 879 third_party/zlib/contrib/minizip/unzip.c local int unz64local_GetCurrentFileInfoInternal (unzFile file, file 898 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 900 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1124 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGetCurrentFileInfo64 (unzFile file, file 1130 third_party/zlib/contrib/minizip/unzip.c return unz64local_GetCurrentFileInfoInternal(file,pfile_info,NULL, file 1136 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGetCurrentFileInfo (unzFile file, file 1144 third_party/zlib/contrib/minizip/unzip.c err = unz64local_GetCurrentFileInfoInternal(file,&file_info64,NULL, file 1178 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGoToFirstFile (unzFile file) file 1182 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 1184 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1187 third_party/zlib/contrib/minizip/unzip.c err=unz64local_GetCurrentFileInfoInternal(file,&s->cur_file_info, file 1199 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGoToNextFile (unzFile file) file 1204 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 1206 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1216 third_party/zlib/contrib/minizip/unzip.c err = unz64local_GetCurrentFileInfoInternal(file,&s->cur_file_info, file 1232 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzLocateFile (unzFile file, const char *szFileName, int iCaseSensitivity) file 1246 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 1252 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1262 third_party/zlib/contrib/minizip/unzip.c err = unzGoToFirstFile(file); file 1267 third_party/zlib/contrib/minizip/unzip.c err = unzGetCurrentFileInfo64(file,NULL, file 1275 third_party/zlib/contrib/minizip/unzip.c err = unzGoToNextFile(file); file 1308 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGetFilePos64(unzFile file, unz64_file_pos* file_pos) file 1312 third_party/zlib/contrib/minizip/unzip.c if (file==NULL || file_pos==NULL) file 1314 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1325 third_party/zlib/contrib/minizip/unzip.c unzFile file, file 1329 third_party/zlib/contrib/minizip/unzip.c int err = unzGetFilePos64(file,&file_pos64); file 1338 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGoToFilePos64(unzFile file, const unz64_file_pos* file_pos) file 1343 third_party/zlib/contrib/minizip/unzip.c if (file==NULL || file_pos==NULL) file 1345 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1352 third_party/zlib/contrib/minizip/unzip.c err = unz64local_GetCurrentFileInfoInternal(file,&s->cur_file_info, file 1361 third_party/zlib/contrib/minizip/unzip.c unzFile file, file 1370 third_party/zlib/contrib/minizip/unzip.c return unzGoToFilePos64(file,&file_pos64); file 1472 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzOpenCurrentFile3 (unzFile file, int* method, file 1488 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 1490 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1495 third_party/zlib/contrib/minizip/unzip.c unzCloseCurrentFile(file); file 1641 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzOpenCurrentFile (unzFile file) file 1643 third_party/zlib/contrib/minizip/unzip.c return unzOpenCurrentFile3(file, NULL, NULL, 0, NULL); file 1646 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzOpenCurrentFilePassword (unzFile file, const char* password) file 1648 third_party/zlib/contrib/minizip/unzip.c return unzOpenCurrentFile3(file, NULL, NULL, 0, password); file 1651 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzOpenCurrentFile2 (unzFile file, int* method, int* level, int raw) file 1653 third_party/zlib/contrib/minizip/unzip.c return unzOpenCurrentFile3(file, method, level, raw, NULL); file 1658 third_party/zlib/contrib/minizip/unzip.c extern ZPOS64_T ZEXPORT unzGetCurrentFileZStreamPos64( unzFile file) file 1662 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1663 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 1684 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzReadCurrentFile (unzFile file, voidp buf, unsigned len) file 1690 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 1692 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1889 third_party/zlib/contrib/minizip/unzip.c extern z_off_t ZEXPORT unztell (unzFile file) file 1893 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 1895 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1904 third_party/zlib/contrib/minizip/unzip.c extern ZPOS64_T ZEXPORT unztell64 (unzFile file) file 1909 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 1911 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1924 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzeof (unzFile file) file 1928 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 1930 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 1956 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGetLocalExtrafield (unzFile file, voidp buf, unsigned len) file 1963 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 1965 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 2004 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzCloseCurrentFile (unzFile file) file 2010 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 2012 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 2051 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGetGlobalComment (unzFile file, char * szComment, uLong uSizeBuf) file 2055 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 2057 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 2079 third_party/zlib/contrib/minizip/unzip.c extern ZPOS64_T ZEXPORT unzGetOffset64(unzFile file) file 2083 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 2085 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 2094 third_party/zlib/contrib/minizip/unzip.c extern uLong ZEXPORT unzGetOffset (unzFile file) file 2098 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 2100 third_party/zlib/contrib/minizip/unzip.c offset64 = unzGetOffset64(file); file 2104 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzSetOffset64(unzFile file, ZPOS64_T pos) file 2109 third_party/zlib/contrib/minizip/unzip.c if (file==NULL) file 2111 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; file 2115 third_party/zlib/contrib/minizip/unzip.c err = unz64local_GetCurrentFileInfoInternal(file,&s->cur_file_info, file 2122 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzSetOffset (unzFile file, uLong pos) file 2124 third_party/zlib/contrib/minizip/unzip.c return unzSetOffset64(file,pos); file 198 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzClose OF((unzFile file)); file 205 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzGetGlobalInfo OF((unzFile file, file 208 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzGetGlobalInfo64 OF((unzFile file, file 216 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzGetGlobalComment OF((unzFile file, file 229 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzGoToFirstFile OF((unzFile file)); file 235 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzGoToNextFile OF((unzFile file)); file 242 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzLocateFile OF((unzFile file, file 265 third_party/zlib/contrib/minizip/unzip.h unzFile file, file 269 third_party/zlib/contrib/minizip/unzip.h unzFile file, file 279 third_party/zlib/contrib/minizip/unzip.h unzFile file, file 283 third_party/zlib/contrib/minizip/unzip.h unzFile file, file 288 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzGetCurrentFileInfo64 OF((unzFile file, file 297 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file, file 321 third_party/zlib/contrib/minizip/unzip.h extern ZPOS64_T ZEXPORT unzGetCurrentFileZStreamPos64 OF((unzFile file)); file 331 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzOpenCurrentFile OF((unzFile file)); file 337 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzOpenCurrentFilePassword OF((unzFile file, file 345 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzOpenCurrentFile2 OF((unzFile file, file 358 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzOpenCurrentFile3 OF((unzFile file, file 373 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzCloseCurrentFile OF((unzFile file)); file 379 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzReadCurrentFile OF((unzFile file, file 393 third_party/zlib/contrib/minizip/unzip.h extern z_off_t ZEXPORT unztell OF((unzFile file)); file 395 third_party/zlib/contrib/minizip/unzip.h extern ZPOS64_T ZEXPORT unztell64 OF((unzFile file)); file 400 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzeof OF((unzFile file)); file 405 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file, file 424 third_party/zlib/contrib/minizip/unzip.h extern ZPOS64_T ZEXPORT unzGetOffset64 (unzFile file); file 425 third_party/zlib/contrib/minizip/unzip.h extern uLong ZEXPORT unzGetOffset (unzFile file); file 428 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzSetOffset64 (unzFile file, ZPOS64_T pos); file 429 third_party/zlib/contrib/minizip/unzip.h extern int ZEXPORT unzSetOffset (unzFile file, uLong pos); file 1055 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipOpenNewFileInZip4_64 (zipFile file, const char* filename, const zip_fileinfo* zipfi, file 1074 third_party/zlib/contrib/minizip/zip.c if (file == NULL) file 1085 third_party/zlib/contrib/minizip/zip.c zi = (zip64_internal*)file; file 1089 third_party/zlib/contrib/minizip/zip.c err = zipCloseFileInZip (file); file 1264 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipOpenNewFileInZip4 (zipFile file, const char* filename, const zip_fileinfo* zipfi, file 1272 third_party/zlib/contrib/minizip/zip.c return zipOpenNewFileInZip4_64 (file, filename, zipfi, file 1280 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipOpenNewFileInZip3 (zipFile file, const char* filename, const zip_fileinfo* zipfi, file 1287 third_party/zlib/contrib/minizip/zip.c return zipOpenNewFileInZip4_64 (file, filename, zipfi, file 1295 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipOpenNewFileInZip3_64(zipFile file, const char* filename, const zip_fileinfo* zipfi, file 1302 third_party/zlib/contrib/minizip/zip.c return zipOpenNewFileInZip4_64 (file, filename, zipfi, file 1310 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipOpenNewFileInZip2(zipFile file, const char* filename, const zip_fileinfo* zipfi, file 1315 third_party/zlib/contrib/minizip/zip.c return zipOpenNewFileInZip4_64 (file, filename, zipfi, file 1323 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipOpenNewFileInZip2_64(zipFile file, const char* filename, const zip_fileinfo* zipfi, file 1328 third_party/zlib/contrib/minizip/zip.c return zipOpenNewFileInZip4_64 (file, filename, zipfi, file 1336 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipOpenNewFileInZip64 (zipFile file, const char* filename, const zip_fileinfo* zipfi, file 1341 third_party/zlib/contrib/minizip/zip.c return zipOpenNewFileInZip4_64 (file, filename, zipfi, file 1349 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipOpenNewFileInZip (zipFile file, const char* filename, const zip_fileinfo* zipfi, file 1354 third_party/zlib/contrib/minizip/zip.c return zipOpenNewFileInZip4_64 (file, filename, zipfi, file 1401 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipWriteInFileInZip (zipFile file,const void* buf,unsigned int len) file 1406 third_party/zlib/contrib/minizip/zip.c if (file == NULL) file 1408 third_party/zlib/contrib/minizip/zip.c zi = (zip64_internal*)file; file 1508 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipCloseFileInZipRaw (zipFile file, uLong uncompressed_size, uLong crc32) file 1510 third_party/zlib/contrib/minizip/zip.c return zipCloseFileInZipRaw64 (file, uncompressed_size, crc32); file 1513 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipCloseFileInZipRaw64 (zipFile file, ZPOS64_T uncompressed_size, uLong crc32) file 1521 third_party/zlib/contrib/minizip/zip.c if (file == NULL) file 1523 third_party/zlib/contrib/minizip/zip.c zi = (zip64_internal*)file; file 1747 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipCloseFileInZip (zipFile file) file 1749 third_party/zlib/contrib/minizip/zip.c return zipCloseFileInZipRaw (file,0,0); file 1879 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipClose (zipFile file, const char* global_comment) file 1887 third_party/zlib/contrib/minizip/zip.c if (file == NULL) file 1890 third_party/zlib/contrib/minizip/zip.c zi = (zip64_internal*)file; file 1894 third_party/zlib/contrib/minizip/zip.c err = zipCloseFileInZip (file); file 147 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipOpenNewFileInZip OF((zipFile file, file 158 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipOpenNewFileInZip64 OF((zipFile file, file 187 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipOpenNewFileInZip2 OF((zipFile file, file 200 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipOpenNewFileInZip2_64 OF((zipFile file, file 216 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipOpenNewFileInZip3 OF((zipFile file, file 233 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipOpenNewFileInZip3_64 OF((zipFile file, file 259 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipOpenNewFileInZip4 OF((zipFile file, file 280 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipOpenNewFileInZip4_64 OF((zipFile file, file 307 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipWriteInFileInZip OF((zipFile file, file 314 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipCloseFileInZip OF((zipFile file)); file 319 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipCloseFileInZipRaw OF((zipFile file, file 323 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipCloseFileInZipRaw64 OF((zipFile file, file 333 third_party/zlib/contrib/minizip/zip.h extern int ZEXPORT zipClose OF((zipFile file, file 62 third_party/zlib/google/zip.cc base::File file(src_dir, base::File::FLAG_OPEN | base::File::FLAG_READ); file 63 third_party/zlib/google/zip.cc if (!file.IsValid()) { file 71 third_party/zlib/google/zip.cc num_bytes = file.ReadAtCurrentPos(buf, zip::internal::kZipBufSize); file 40 third_party/zlib/google/zip_internal.cc HANDLE file = 0; file 59 third_party/zlib/google/zip_internal.cc file = CreateFile(filename16.c_str(), desired_access, share_mode, file 63 third_party/zlib/google/zip_internal.cc if (file == INVALID_HANDLE_VALUE) file 64 third_party/zlib/google/zip_internal.cc file = NULL; file 66 third_party/zlib/google/zip_internal.cc if (file != NULL) { file 68 third_party/zlib/google/zip_internal.cc file_ret.hf = file; file 72 third_party/zlib/google/zip_internal.cc CloseHandle(file); file 83 third_party/zlib/google/zip_internal.cc FILE* file = NULL; file 94 third_party/zlib/google/zip_internal.cc file = fdopen(*static_cast<int*>(opaque), mode_fopen); file 96 third_party/zlib/google/zip_internal.cc return file; file 208 third_party/zlib/google/zip_reader.cc base::File file(output_file_path, file 210 third_party/zlib/google/zip_reader.cc if (!file.IsValid()) file 227 third_party/zlib/google/zip_reader.cc if (num_bytes_read != file.WriteAtCurrentPos(buf, num_bytes_read)) { file 234 third_party/zlib/google/zip_reader.cc file.Close(); file 11 third_party/zlib/gzclose.c int ZEXPORT gzclose(file) file 12 third_party/zlib/gzclose.c gzFile file; file 17 third_party/zlib/gzclose.c if (file == NULL) file 19 third_party/zlib/gzclose.c state = (gz_statep)file; file 21 third_party/zlib/gzclose.c return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); file 23 third_party/zlib/gzclose.c return gzclose_r(file); file 230 third_party/zlib/gzlib.c int ZEXPORT gzbuffer(file, size) file 231 third_party/zlib/gzlib.c gzFile file; file 237 third_party/zlib/gzlib.c if (file == NULL) file 239 third_party/zlib/gzlib.c state = (gz_statep)file; file 255 third_party/zlib/gzlib.c int ZEXPORT gzrewind(file) file 256 third_party/zlib/gzlib.c gzFile file; file 261 third_party/zlib/gzlib.c if (file == NULL) file 263 third_party/zlib/gzlib.c state = (gz_statep)file; file 277 third_party/zlib/gzlib.c z_off64_t ZEXPORT gzseek64(file, offset, whence) file 278 third_party/zlib/gzlib.c gzFile file; file 287 third_party/zlib/gzlib.c if (file == NULL) file 289 third_party/zlib/gzlib.c state = (gz_statep)file; file 330 third_party/zlib/gzlib.c if (gzrewind(file) == -1) /* rewind, then skip to offset */ file 353 third_party/zlib/gzlib.c z_off_t ZEXPORT gzseek(file, offset, whence) file 354 third_party/zlib/gzlib.c gzFile file; file 360 third_party/zlib/gzlib.c ret = gzseek64(file, (z_off64_t)offset, whence); file 365 third_party/zlib/gzlib.c z_off64_t ZEXPORT gztell64(file) file 366 third_party/zlib/gzlib.c gzFile file; file 371 third_party/zlib/gzlib.c if (file == NULL) file 373 third_party/zlib/gzlib.c state = (gz_statep)file; file 382 third_party/zlib/gzlib.c z_off_t ZEXPORT gztell(file) file 383 third_party/zlib/gzlib.c gzFile file; file 387 third_party/zlib/gzlib.c ret = gztell64(file); file 392 third_party/zlib/gzlib.c z_off64_t ZEXPORT gzoffset64(file) file 393 third_party/zlib/gzlib.c gzFile file; file 399 third_party/zlib/gzlib.c if (file == NULL) file 401 third_party/zlib/gzlib.c state = (gz_statep)file; file 415 third_party/zlib/gzlib.c z_off_t ZEXPORT gzoffset(file) file 416 third_party/zlib/gzlib.c gzFile file; file 420 third_party/zlib/gzlib.c ret = gzoffset64(file); file 425 third_party/zlib/gzlib.c int ZEXPORT gzeof(file) file 426 third_party/zlib/gzlib.c gzFile file; file 431 third_party/zlib/gzlib.c if (file == NULL) file 433 third_party/zlib/gzlib.c state = (gz_statep)file; file 443 third_party/zlib/gzlib.c const char * ZEXPORT gzerror(file, errnum) file 444 third_party/zlib/gzlib.c gzFile file; file 450 third_party/zlib/gzlib.c if (file == NULL) file 452 third_party/zlib/gzlib.c state = (gz_statep)file; file 463 third_party/zlib/gzlib.c void ZEXPORT gzclearerr(file) file 464 third_party/zlib/gzlib.c gzFile file; file 469 third_party/zlib/gzlib.c if (file == NULL) file 471 third_party/zlib/gzlib.c state = (gz_statep)file; file 362 third_party/zlib/gzread.c int ZEXPORT gzread(file, buf, len) file 363 third_party/zlib/gzread.c gzFile file; file 372 third_party/zlib/gzread.c if (file == NULL) file 374 third_party/zlib/gzread.c state = (gz_statep)file; file 453 third_party/zlib/gzread.c int ZEXPORT gzgetc(file) file 454 third_party/zlib/gzread.c gzFile file; file 461 third_party/zlib/gzread.c if (file == NULL) file 463 third_party/zlib/gzread.c state = (gz_statep)file; file 477 third_party/zlib/gzread.c ret = gzread(file, buf, 1); file 482 third_party/zlib/gzread.c int ZEXPORT gzungetc(c, file) file 484 third_party/zlib/gzread.c gzFile file; file 489 third_party/zlib/gzread.c if (file == NULL) file 491 third_party/zlib/gzread.c state = (gz_statep)file; file 539 third_party/zlib/gzread.c char * ZEXPORT gzgets(file, buf, len) file 540 third_party/zlib/gzread.c gzFile file; file 550 third_party/zlib/gzread.c if (file == NULL || buf == NULL || len < 1) file 552 third_party/zlib/gzread.c state = (gz_statep)file; file 603 third_party/zlib/gzread.c int ZEXPORT gzdirect(file) file 604 third_party/zlib/gzread.c gzFile file; file 609 third_party/zlib/gzread.c if (file == NULL) file 611 third_party/zlib/gzread.c state = (gz_statep)file; file 627 third_party/zlib/gzread.c int ZEXPORT gzclose_r(file) file 628 third_party/zlib/gzread.c gzFile file; file 634 third_party/zlib/gzread.c if (file == NULL) file 636 third_party/zlib/gzread.c state = (gz_statep)file; file 143 third_party/zlib/gzwrite.c int ZEXPORT gzwrite(file, buf, len) file 144 third_party/zlib/gzwrite.c gzFile file; file 154 third_party/zlib/gzwrite.c if (file == NULL) file 156 third_party/zlib/gzwrite.c state = (gz_statep)file; file 221 third_party/zlib/gzwrite.c int ZEXPORT gzputc(file, c) file 222 third_party/zlib/gzwrite.c gzFile file; file 230 third_party/zlib/gzwrite.c if (file == NULL) file 232 third_party/zlib/gzwrite.c state = (gz_statep)file; file 258 third_party/zlib/gzwrite.c if (gzwrite(file, buf, 1) != 1) file 264 third_party/zlib/gzwrite.c int ZEXPORT gzputs(file, str) file 265 third_party/zlib/gzwrite.c gzFile file; file 273 third_party/zlib/gzwrite.c ret = gzwrite(file, str, len); file 281 third_party/zlib/gzwrite.c int ZEXPORTVA gzprintf (gzFile file, const char *format, ...) file 289 third_party/zlib/gzwrite.c if (file == NULL) file 291 third_party/zlib/gzwrite.c state = (gz_statep)file; file 352 third_party/zlib/gzwrite.c int ZEXPORTVA gzprintf (file, format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, file 354 third_party/zlib/gzwrite.c gzFile file; file 364 third_party/zlib/gzwrite.c if (file == NULL) file 366 third_party/zlib/gzwrite.c state = (gz_statep)file; file 426 third_party/zlib/gzwrite.c int ZEXPORT gzflush(file, flush) file 427 third_party/zlib/gzwrite.c gzFile file; file 433 third_party/zlib/gzwrite.c if (file == NULL) file 435 third_party/zlib/gzwrite.c state = (gz_statep)file; file 458 third_party/zlib/gzwrite.c int ZEXPORT gzsetparams(file, level, strategy) file 459 third_party/zlib/gzwrite.c gzFile file; file 467 third_party/zlib/gzwrite.c if (file == NULL) file 469 third_party/zlib/gzwrite.c state = (gz_statep)file; file 500 third_party/zlib/gzwrite.c int ZEXPORT gzclose_w(file) file 501 third_party/zlib/gzwrite.c gzFile file; file 507 third_party/zlib/gzwrite.c if (file == NULL) file 509 third_party/zlib/gzwrite.c state = (gz_statep)file; file 1214 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzbuffer OF((gzFile file, unsigned size)); file 1231 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzsetparams OF((gzFile file, int level, int strategy)); file 1240 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); file 1256 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzwrite OF((gzFile file, file 1264 third_party/zlib/zlib.h ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...)); file 1279 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzputs OF((gzFile file, const char *s)); file 1287 third_party/zlib/zlib.h ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len)); file 1300 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzputc OF((gzFile file, int c)); file 1306 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzgetc OF((gzFile file)); file 1312 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzungetc OF((int c, gzFile file)); file 1324 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzflush OF((gzFile file, int flush)); file 1359 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzrewind OF((gzFile file)); file 1387 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzeof OF((gzFile file)); file 1402 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzdirect OF((gzFile file)); file 1418 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzclose OF((gzFile file)); file 1430 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzclose_r OF((gzFile file)); file 1431 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzclose_w OF((gzFile file)); file 1442 third_party/zlib/zlib.h ZEXTERN const char * ZEXPORT gzerror OF((gzFile file, int *errnum)); file 1458 third_party/zlib/zlib.h ZEXTERN void ZEXPORT gzclearerr OF((gzFile file)); file 54 tools/android/md5sum/md5sum.cc for (const char** file = files; *file; ++file) { file 55 tools/android/md5sum/md5sum.cc base::FilePath file_path(*file); file 68 tools/android/md5sum/md5sum.cc file_set.insert(*file); file 384 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java for (File file : root.listFiles()) { file 385 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java if (file.isDirectory()) { file 386 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java String name = file.getName(); file 388 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java if (new File(file, "Release").exists() || new File(file, "Debug").exists()) { file 399 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java findInterestingFiles(file, dupes); file 420 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java for (File file : directory.listFiles()) { file 421 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java if (file.isDirectory() && file.canRead()) { file 422 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java if (!file.getName().startsWith(".")) { file 423 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java findInterestingFiles(file, dupes); file 426 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java String name = file.getName(); file 431 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java name, file.getAbsolutePath()); file 123 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java for (File file : directory.listFiles()) { file 124 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java if (file.isDirectory() && file.canRead()) { file 125 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java File result = findFile(file, target); file 128 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java if (target.equals(file.getName())) return file; file 332 tools/cygprofile/cygprofile.cc int file = open(log_filename_.c_str(), O_CREAT | O_WRONLY | O_APPEND, 00600); file 333 tools/cygprofile/cygprofile.cc CHECK(file != -1); file 336 tools/cygprofile/cygprofile.cc WriteLogLine(file, "%s", CygCommon::GetInstance()->header().c_str()); file 340 tools/cygprofile/cygprofile.cc WriteLogLine(file, "%ld %ld\t%d:%ld\t%p\n", file 344 tools/cygprofile/cygprofile.cc close(file); file 42 tools/gn/build_settings.cc base::FilePath BuildSettings::GetFullPath(const SourceFile& file) const { file 43 tools/gn/build_settings.cc return file.Resolve(root_path_).NormalizePathSeparatorsTo('/'); file 51 tools/gn/build_settings.cc const SourceFile& file) const { file 52 tools/gn/build_settings.cc return file.Resolve(secondary_source_path_).NormalizePathSeparatorsTo('/'); file 71 tools/gn/build_settings.h base::FilePath GetFullPath(const SourceFile& file) const; file 77 tools/gn/build_settings.h base::FilePath GetFullPathSecondary(const SourceFile& file) const; file 20 tools/gn/builder_unittest.cc virtual void Load(const SourceFile& file, file 22 tools/gn/builder_unittest.cc files_.push_back(file); file 60 tools/gn/command_args.cc const InputFile* file = location.file(); file 61 tools/gn/command_args.cc if (!file) file 64 tools/gn/command_args.cc *location_str = file->name().value() + ":" + file 67 tools/gn/command_args.cc const std::string& data = file->contents(); file 177 tools/gn/command_desc.cc out << " (Added by " + location.file()->name().value() << ":" file 25 tools/gn/command_refs.cc return record->item()->defined_from()->GetRange().begin().file() file 163 tools/gn/err.cc const InputFile* input_file = location_.file(); file 168 tools/gn/filesystem_utils.cc SourceFileType GetSourceFileType(const SourceFile& file, file 170 tools/gn/filesystem_utils.cc base::StringPiece extension = FindExtension(&file.value()); file 31 tools/gn/filesystem_utils.h SourceFileType GetSourceFileType(const SourceFile& file, file 166 tools/gn/functions.cc if (origin_location.file() != function->function().location().file() || file 87 tools/gn/generate_test_gn_data.cc std::ofstream file; file 88 tools/gn/generate_test_gn_data.cc file.open(FilePathToUTF8(filename).c_str(), file 94 tools/gn/generate_test_gn_data.cc file << "executable(\"" << RepoPathToTargetName(repo_path, i) file 96 tools/gn/generate_test_gn_data.cc file << " sources = [\n"; file 98 tools/gn/generate_test_gn_data.cc file << " \"" << base::IntToString(f) << ".cc\",\n"; file 101 tools/gn/generate_test_gn_data.cc file << " ]\n"; file 102 tools/gn/generate_test_gn_data.cc file << " deps = [\n"; file 107 tools/gn/generate_test_gn_data.cc file << " \"" << RepoPathToFullTargetName(cur, t) << "\",\n"; file 110 tools/gn/generate_test_gn_data.cc file << " ]\n}\n\n"; file 17 tools/gn/import_manager.cc const SourceFile& file, file 21 tools/gn/import_manager.cc node_for_err->GetRange(), settings->build_settings(), file, err); file 29 tools/gn/import_manager.cc scope->set_source_dir(file.GetDir()); file 48 tools/gn/import_manager.cc bool ImportManager::DoImport(const SourceFile& file, file 57 tools/gn/import_manager.cc ImportMap::const_iterator found = imports_.find(file); file 64 tools/gn/import_manager.cc imported_scope = UncachedImport(scope->settings(), file, file 74 tools/gn/import_manager.cc ImportMap::const_iterator found = imports_.find(file); file 79 tools/gn/import_manager.cc imports_[file] = imported_scope; file 26 tools/gn/import_manager.h bool DoImport(const SourceFile& file, file 26 tools/gn/input_file_manager.cc : file(file_name), file 67 tools/gn/input_file_manager.cc &data->file); file 116 tools/gn/input_file_manager.cc if (!LoadFile(origin, build_settings, file_name, &data->file, err)) file 180 tools/gn/input_file_manager.cc if (!i->second->file.physical_name().empty()) file 181 tools/gn/input_file_manager.cc result->push_back(i->second->file.physical_name()); file 188 tools/gn/input_file_manager.cc InputFile* file) { file 190 tools/gn/input_file_manager.cc if (!LoadFile(origin, build_settings, name, file, &err)) file 197 tools/gn/input_file_manager.cc InputFile* file, file 203 tools/gn/input_file_manager.cc if (origin.begin().file()) file 211 tools/gn/input_file_manager.cc if (!file->Load(primary_path)) { file 216 tools/gn/input_file_manager.cc if (!file->Load(secondary_path)) { file 234 tools/gn/input_file_manager.cc std::vector<Token> tokens = Tokenizer::Tokenize(file, err); file 80 tools/gn/input_file_manager.h InputFile file; file 106 tools/gn/input_file_manager.h InputFile* file); file 112 tools/gn/input_file_manager.h InputFile* file, file 41 tools/gn/loader.cc : file(f), file 46 tools/gn/loader.cc if (file.value() == other.file.value()) file 48 tools/gn/loader.cc return file < other.file; file 51 tools/gn/loader.cc SourceFile file; file 112 tools/gn/loader.cc void LoaderImpl::Load(const SourceFile& file, file 116 tools/gn/loader.cc LoadID load_id(file, toolchain_name); file 134 tools/gn/loader.cc record->waiting_on_me.push_back(file); file 158 tools/gn/loader.cc ScheduleLoadFile(&record->settings, file); file 160 tools/gn/loader.cc record->waiting_on_me.push_back(file); file 205 tools/gn/loader.cc const SourceFile& file) { file 208 tools/gn/loader.cc if (!AsyncLoadFile(LocationRange(), settings->build_settings(), file, file 210 tools/gn/loader.cc settings, file), file 360 tools/gn/loader.cc invocations_.insert(LoadID(i->file, label)); file 39 tools/gn/loader.h virtual void Load(const SourceFile& file, file 83 tools/gn/loader.h virtual void Load(const SourceFile& file, file 119 tools/gn/loader.h const SourceFile& file); file 17 tools/gn/location.cc Location::Location(const InputFile* file, int line_number, int char_offset) file 18 tools/gn/location.cc : file_(file), file 65 tools/gn/location.cc DCHECK(begin_.file() == end_.file()); file 69 tools/gn/location.cc DCHECK(begin_.file() == other.begin_.file()); file 16 tools/gn/location.h Location(const InputFile* file, int line_number, int char_offset); file 18 tools/gn/location.h const InputFile* file() const { return file_; } file 103 tools/gn/ninja_build_writer.cc std::ofstream file; file 104 tools/gn/ninja_build_writer.cc file.open(FilePathToUTF8(ninja_file).c_str(), file 106 tools/gn/ninja_build_writer.cc if (file.fail()) file 116 tools/gn/ninja_build_writer.cc default_toolchain_targets, file, depfile); file 59 tools/gn/ninja_target_writer.cc std::stringstream file; file 63 tools/gn/ninja_target_writer.cc NinjaCopyTargetWriter writer(target, toolchain, file); file 67 tools/gn/ninja_target_writer.cc NinjaActionTargetWriter writer(target, toolchain, file); file 70 tools/gn/ninja_target_writer.cc NinjaGroupTargetWriter writer(target, toolchain, file); file 76 tools/gn/ninja_target_writer.cc NinjaBinaryTargetWriter writer(target, toolchain, file); file 82 tools/gn/ninja_target_writer.cc std::string contents = file.str(); file 53 tools/gn/ninja_toolchain_writer.cc std::ofstream file; file 54 tools/gn/ninja_toolchain_writer.cc file.open(FilePathToUTF8(ninja_file).c_str(), file 56 tools/gn/ninja_toolchain_writer.cc if (file.fail()) file 59 tools/gn/ninja_toolchain_writer.cc NinjaToolchainWriter gen(settings, toolchain, targets, file); file 384 tools/gn/parser.cc scoped_ptr<BlockNode> file(new BlockNode(false)); file 391 tools/gn/parser.cc file->append_statement(statement.Pass()); file 397 tools/gn/parser.cc return file.PassAs<ParseNode>(); file 33 tools/gn/path_output.cc void PathOutput::WriteFile(std::ostream& out, const SourceFile& file) const { file 34 tools/gn/path_output.cc WritePathStr(out, file.value()); file 80 tools/gn/path_output.cc void PathOutput::WriteFile(std::ostream& out, const OutputFile& file) const { file 82 tools/gn/path_output.cc EscapeStringToStream(out, file.value(), options_); file 86 tools/gn/path_output.cc const base::FilePath& file) const { file 88 tools/gn/path_output.cc EscapeStringToStream(out, FilePathToUTF8(file), options_); file 60 tools/gn/path_output.h void WriteFile(std::ostream& out, const SourceFile& file) const; file 61 tools/gn/path_output.h void WriteFile(std::ostream& out, const OutputFile& file) const; file 62 tools/gn/path_output.h void WriteFile(std::ostream& out, const base::FilePath& file) const; file 99 tools/gn/scheduler.cc void Scheduler::AddGenDependency(const base::FilePath& file) { file 101 tools/gn/scheduler.cc gen_dependencies_.push_back(file); file 50 tools/gn/scheduler.h void AddGenDependency(const base::FilePath& file); file 22 tools/gn/string_utils.cc Location begin_loc(token.location().file(), file 25 tools/gn/string_utils.cc Location end_loc(token.location().file(), file 63 tools/gn/token.h Location(location_.file(), location_.line_number(), file 133 tools/gn/value_extractors.cc SourceFile* file, file 136 tools/gn/value_extractors.cc return converter(value, file, err); file 71 tools/gn/value_extractors.h SourceFile* file, file 184 tools/win/split_link/split_link.cc HANDLE file = CreateFile( file 186 tools/win/split_link/split_link.cc if (file == INVALID_HANDLE_VALUE) file 189 tools/win/split_link/split_link.cc if (!GetFileSizeEx(file, &file_size)) file 194 tools/win/split_link/split_link.cc if (!ReadFile(file, buffer, *length, &bytes_read, NULL)) file 87 ui/base/resource/data_pack.cc bool DataPack::LoadFromFile(base::File file) { file 89 ui/base/resource/data_pack.cc if (!mmap_->Initialize(file.Pass())) { file 219 ui/base/resource/data_pack.cc FILE* file = base::OpenFile(path, "wb"); file 220 ui/base/resource/data_pack.cc if (!file) file 223 ui/base/resource/data_pack.cc if (fwrite(&kFileFormatVersion, sizeof(kFileFormatVersion), 1, file) != 1) { file 225 ui/base/resource/data_pack.cc base::CloseFile(file); file 232 ui/base/resource/data_pack.cc if (fwrite(&entry_count, sizeof(entry_count), 1, file) != 1) { file 234 ui/base/resource/data_pack.cc base::CloseFile(file); file 242 ui/base/resource/data_pack.cc base::CloseFile(file); file 247 ui/base/resource/data_pack.cc if (fwrite(&write_buffer, sizeof(uint8), 1, file) != 1) { file 249 ui/base/resource/data_pack.cc base::CloseFile(file); file 261 ui/base/resource/data_pack.cc if (fwrite(&resource_id, sizeof(resource_id), 1, file) != 1) { file 263 ui/base/resource/data_pack.cc base::CloseFile(file); file 267 ui/base/resource/data_pack.cc if (fwrite(&data_offset, sizeof(data_offset), 1, file) != 1) { file 269 ui/base/resource/data_pack.cc base::CloseFile(file); file 279 ui/base/resource/data_pack.cc if (fwrite(&resource_id, sizeof(resource_id), 1, file) != 1) { file 281 ui/base/resource/data_pack.cc base::CloseFile(file); file 285 ui/base/resource/data_pack.cc if (fwrite(&data_offset, sizeof(data_offset), 1, file) != 1) { file 287 ui/base/resource/data_pack.cc base::CloseFile(file); file 294 ui/base/resource/data_pack.cc if (fwrite(it->second.data(), it->second.length(), 1, file) != 1) { file 296 ui/base/resource/data_pack.cc base::CloseFile(file); file 301 ui/base/resource/data_pack.cc base::CloseFile(file); file 39 ui/base/resource/data_pack.h bool LoadFromFile(base::File file); file 66 ui/base/resource/data_pack_unittest.cc base::File file(data_path, base::File::FLAG_OPEN | base::File::FLAG_READ); file 67 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(file.IsValid()); file 71 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.LoadFromFile(file.Pass())); file 112 ui/base/resource/data_pack_unittest.cc base::FilePath file = dir.path().Append(FILE_PATH_LITERAL("data.pak")); file 126 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(DataPack::WritePack(file, resources, GetParam())); file 130 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.LoadFromPath(file)); file 225 ui/base/resource/resource_bundle.cc void ResourceBundle::AddDataPackFromFile(base::File file, file 229 ui/base/resource/resource_bundle.cc if (data_pack->LoadFromFile(file.Pass())) { file 137 ui/base/resource/resource_bundle.h static void InitSharedInstanceWithPakFile(base::File file, file 166 ui/base/resource/resource_bundle.h void AddDataPackFromFile(base::File file, ScaleFactor scale_factor); file 40 ui/events/ozone/evdev/device_manager_udev.cc const char* file, file 40 ui/gfx/font_fallback_win_unittest.cc std::string file; file 43 ui/gfx/font_fallback_win_unittest.cc internal::ParseFontLinkEntry("TAHOMA.TTF", &file, &font); file 44 ui/gfx/font_fallback_win_unittest.cc EXPECT_EQ("TAHOMA.TTF", file); file 47 ui/gfx/font_fallback_win_unittest.cc internal::ParseFontLinkEntry("MSGOTHIC.TTC,MS UI Gothic", &file, &font); file 48 ui/gfx/font_fallback_win_unittest.cc EXPECT_EQ("MSGOTHIC.TTC", file); file 51 ui/gfx/font_fallback_win_unittest.cc internal::ParseFontLinkEntry("MALGUN.TTF,128,96", &file, &font); file 52 ui/gfx/font_fallback_win_unittest.cc EXPECT_EQ("MALGUN.TTF", file); file 55 ui/gfx/font_fallback_win_unittest.cc internal::ParseFontLinkEntry("MEIRYO.TTC,Meiryo,128,85", &file, &font); file 56 ui/gfx/font_fallback_win_unittest.cc EXPECT_EQ("MEIRYO.TTC", file); file 48 ui/shell_dialogs/select_file_dialog.cc const ui::SelectedFileInfo& file, file 52 ui/shell_dialogs/select_file_dialog.cc FileSelected(file.local_path, index, params); file 69 ui/shell_dialogs/select_file_dialog.h const SelectedFileInfo& file, file 875 ui/shell_dialogs/select_file_dialog_win.cc for (std::vector<base::FilePath>::iterator file = path + 1; file 876 ui/shell_dialogs/select_file_dialog_win.cc file != files.end(); ++file) { file 877 ui/shell_dialogs/select_file_dialog_win.cc paths->push_back(path->Append(*file)); file 138 webkit/browser/blob/local_file_stream_reader_unittest.cc base::File file(empty_path, base::File::FLAG_CREATE | base::File::FLAG_READ); file 139 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_TRUE(file.IsValid()); file 140 webkit/browser/blob/local_file_stream_reader_unittest.cc file.Close(); file 831 webkit/browser/database/database_tracker.cc base::File file(GetFullDBFilePath(*origin, *database), file 176 webkit/browser/database/database_tracker_unittest.cc base::File file(file_path, file 178 webkit/browser/database/database_tracker_unittest.cc if (!file.IsValid()) file 180 webkit/browser/database/database_tracker_unittest.cc return file.SetLength(length); file 58 webkit/browser/fileapi/async_file_util.h base::PassPlatformFile file, file 138 webkit/browser/fileapi/async_file_util_adapter.cc base::PassPlatformFile file, file 140 webkit/browser/fileapi/async_file_util_adapter.cc callback.Run(result, file, base::Closure()); file 75 webkit/browser/fileapi/file_system_file_util.h base::PlatformFile file) = 0; file 83 webkit/browser/fileapi/file_system_operation.h base::PlatformFile file, file 549 webkit/browser/fileapi/file_system_operation_impl.cc base::PassPlatformFile file, file 551 webkit/browser/fileapi/file_system_operation_impl.cc callback.Run(rv, file.ReleaseValue(), on_close_callback); file 180 webkit/browser/fileapi/file_system_operation_impl.h base::PassPlatformFile file, file 579 webkit/browser/fileapi/file_system_operation_runner.cc base::PlatformFile file, file 585 webkit/browser/fileapi/file_system_operation_runner.cc AsWeakPtr(), handle, callback, rv, file, file 589 webkit/browser/fileapi/file_system_operation_runner.cc callback.Run(rv, file, on_close_callback); file 275 webkit/browser/fileapi/file_system_operation_runner.h base::PlatformFile file, file 256 webkit/browser/fileapi/file_system_usage_cache.cc base::File* file = GetFile(file_path); file 257 webkit/browser/fileapi/file_system_usage_cache.cc if (!file) file 259 webkit/browser/fileapi/file_system_usage_cache.cc return file->Read(0, buffer, buffer_size) == buffer_size; file 266 webkit/browser/fileapi/file_system_usage_cache.cc base::File* file = GetFile(file_path); file 267 webkit/browser/fileapi/file_system_usage_cache.cc if (!file) file 269 webkit/browser/fileapi/file_system_usage_cache.cc return file->Write(0, buffer, buffer_size) == buffer_size; file 275 webkit/browser/fileapi/file_system_usage_cache.cc base::File* file = GetFile(file_path); file 276 webkit/browser/fileapi/file_system_usage_cache.cc if (!file) file 278 webkit/browser/fileapi/file_system_usage_cache.cc return file->Flush(); file 93 webkit/browser/fileapi/local_file_util.cc base::File file = NativeFileUtil::CreateOrOpen(file_path, file_flags); file 94 webkit/browser/fileapi/local_file_util.cc if (!file.IsValid()) file 95 webkit/browser/fileapi/local_file_util.cc return file.error_details(); file 97 webkit/browser/fileapi/local_file_util.cc *created = file.created(); file 98 webkit/browser/fileapi/local_file_util.cc *file_handle = file.TakePlatformFile(); file 103 webkit/browser/fileapi/local_file_util.cc base::PlatformFile file) { file 104 webkit/browser/fileapi/local_file_util.cc base::File auto_closed(file); file 41 webkit/browser/fileapi/local_file_util.h base::PlatformFile file) OVERRIDE; file 147 webkit/browser/fileapi/native_file_util.cc base::File file(path, base::File::FLAG_CREATE | base::File::FLAG_READ); file 149 webkit/browser/fileapi/native_file_util.cc if (file.IsValid()) { file 151 webkit/browser/fileapi/native_file_util.cc *created = file.created(); file 155 webkit/browser/fileapi/native_file_util.cc base::File::Error error_code = file.error_details(); file 225 webkit/browser/fileapi/native_file_util.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_WRITE); file 226 webkit/browser/fileapi/native_file_util.cc if (!file.IsValid()) file 227 webkit/browser/fileapi/native_file_util.cc return file.error_details(); file 229 webkit/browser/fileapi/native_file_util.cc if (!file.SetLength(length)) file 53 webkit/browser/fileapi/native_file_util_unittest.cc base::File file = file 55 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_TRUE(file.IsValid()); file 56 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_TRUE(file.created()); file 61 webkit/browser/fileapi/native_file_util_unittest.cc file.Close(); file 63 webkit/browser/fileapi/native_file_util_unittest.cc file = NativeFileUtil::CreateOrOpen(file_name, base::File::FLAG_OPEN | flags); file 64 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_TRUE(file.IsValid()); file 65 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_FALSE(file.created()); file 66 webkit/browser/fileapi/native_file_util_unittest.cc file.Close(); file 294 webkit/browser/fileapi/obfuscated_file_util.cc base::PlatformFile file) { file 295 webkit/browser/fileapi/obfuscated_file_util.cc base::File auto_closed(file); file 1092 webkit/browser/fileapi/obfuscated_file_util.cc base::File file = file 1094 webkit/browser/fileapi/obfuscated_file_util.cc if (file.IsValid()) { file 1095 webkit/browser/fileapi/obfuscated_file_util.cc created = file.created(); file 1096 webkit/browser/fileapi/obfuscated_file_util.cc *handle = file.TakePlatformFile(); file 1099 webkit/browser/fileapi/obfuscated_file_util.cc error = file.error_details(); file 1406 webkit/browser/fileapi/obfuscated_file_util.cc base::File file = NativeFileUtil::CreateOrOpen(local_path, file_flags); file 1407 webkit/browser/fileapi/obfuscated_file_util.cc if (!file.IsValid()) { file 1408 webkit/browser/fileapi/obfuscated_file_util.cc error = file.error_details(); file 1419 webkit/browser/fileapi/obfuscated_file_util.cc *created = file.created(); file 1420 webkit/browser/fileapi/obfuscated_file_util.cc *file_handle = file.TakePlatformFile(); file 123 webkit/browser/fileapi/obfuscated_file_util.h base::PlatformFile file) OVERRIDE; file 35 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::File file(path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); file 36 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc ASSERT_TRUE(file.IsValid()); file 37 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc ASSERT_TRUE(file.SetLength(size)); file 45 webkit/browser/fileapi/sandbox_database_test_helper.cc base::File file(picked_file_path, file 48 webkit/browser/fileapi/sandbox_database_test_helper.cc ASSERT_TRUE(file.IsValid()); file 49 webkit/browser/fileapi/sandbox_database_test_helper.cc EXPECT_FALSE(file.created()); file 52 webkit/browser/fileapi/sandbox_database_test_helper.cc EXPECT_TRUE(file.GetInfo(&file_info)); file 61 webkit/browser/fileapi/sandbox_database_test_helper.cc int read_size = file.Read(offset, vector_as_array(&buf), buf.size()); file 69 webkit/browser/fileapi/sandbox_database_test_helper.cc int written_size = file.Write(offset, vector_as_array(&buf), buf.size()); file 88 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File file(local_path, file 90 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_TRUE(file.IsValid()); file 91 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_TRUE(file.created()); file 555 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File file(path().Append(FPL("Orphan File")), file 557 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_TRUE(file.IsValid()); file 558 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_TRUE(file.created()); file 559 webkit/browser/fileapi/sandbox_directory_database_unittest.cc file.Close(); file 227 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::File file(kGarbageFile, file 229 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(file.IsValid()); file 230 webkit/browser/fileapi/sandbox_origin_database_unittest.cc file.Close(); file 26 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::File file(path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); file 27 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc if (!file.IsValid()) file 29 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc if (!file.created()) file 30 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc file.SetLength(0); file 33 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc file.Write(0, static_cast<const char*>(pickle.data()), pickle.size()); file 34 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc file.Flush(); file 23 webkit/common/blob/shareable_file_reference_unittest.cc base::FilePath file; file 24 webkit/common/blob/shareable_file_reference_unittest.cc base::CreateTemporaryFileInDir(temp_dir.path(), &file); file 25 webkit/common/blob/shareable_file_reference_unittest.cc EXPECT_TRUE(base::PathExists(file)); file 29 webkit/common/blob/shareable_file_reference_unittest.cc reference1 = ShareableFileReference::Get(file); file 32 webkit/common/blob/shareable_file_reference_unittest.cc file, ShareableFileReference::DELETE_ON_FINAL_RELEASE, loop_proxy.get()); file 34 webkit/common/blob/shareable_file_reference_unittest.cc EXPECT_TRUE(file == reference1->path()); file 38 webkit/common/blob/shareable_file_reference_unittest.cc reference2 = ShareableFileReference::Get(file); file 41 webkit/common/blob/shareable_file_reference_unittest.cc file, ShareableFileReference::DELETE_ON_FINAL_RELEASE, loop_proxy.get()); file 46 webkit/common/blob/shareable_file_reference_unittest.cc EXPECT_TRUE(ShareableFileReference::Get(file).get()); file 48 webkit/common/blob/shareable_file_reference_unittest.cc EXPECT_TRUE(base::PathExists(file)); file 52 webkit/common/blob/shareable_file_reference_unittest.cc EXPECT_FALSE(ShareableFileReference::Get(file).get()); file 54 webkit/common/blob/shareable_file_reference_unittest.cc EXPECT_FALSE(base::PathExists(file)); file 772 win8/metro_driver/chrome_app_view_ash.cc base::FilePath::StringType file = shortcut.value(); file 776 win8/metro_driver/chrome_app_view_ash.cc sei.lpFile = file.c_str(); file 201 win8/metro_driver/file_picker.cc mswr::ComPtr<winstorage::IStorageFile> file; file 202 win8/metro_driver/file_picker.cc HRESULT hr = async->GetResults(file.GetAddressOf()); file 204 win8/metro_driver/file_picker.cc if (file) { file 207 win8/metro_driver/file_picker.cc hr = file.As(&storage_item); file 398 win8/metro_driver/file_picker.cc mswr::ComPtr<winstorage::IStorageFile> file; file 399 win8/metro_driver/file_picker.cc hr = files->GetAt(i, file.GetAddressOf()); file 404 win8/metro_driver/file_picker.cc hr = file.As(&storage_item); file 573 win8/metro_driver/file_picker.cc mswr::ComPtr<winstorage::IStorageFile> file; file 574 win8/metro_driver/file_picker.cc HRESULT hr = async->GetResults(file.GetAddressOf()); file 576 win8/metro_driver/file_picker.cc if (file) { file 579 win8/metro_driver/file_picker.cc hr = file.As(&storage_item); file 131 win8/metro_driver/file_picker_ash.cc mswr::ComPtr<winstorage::IStorageFile> file; file 132 win8/metro_driver/file_picker_ash.cc HRESULT hr = async->GetResults(file.GetAddressOf()); file 134 win8/metro_driver/file_picker_ash.cc if (file) { file 137 win8/metro_driver/file_picker_ash.cc hr = file.As(&storage_item); file 196 win8/metro_driver/file_picker_ash.cc for (std::vector<base::FilePath>::iterator file = path + 1; file 197 win8/metro_driver/file_picker_ash.cc file != files.end(); ++file) { file 198 win8/metro_driver/file_picker_ash.cc filenames_.push_back(path->Append(*file)); file 336 win8/metro_driver/file_picker_ash.cc mswr::ComPtr<winstorage::IStorageFile> file; file 337 win8/metro_driver/file_picker_ash.cc hr = files->GetAt(i, file.GetAddressOf()); file 342 win8/metro_driver/file_picker_ash.cc hr = file.As(&storage_item); file 526 win8/metro_driver/file_picker_ash.cc mswr::ComPtr<winstorage::IStorageFile> file; file 527 win8/metro_driver/file_picker_ash.cc HRESULT hr = async->GetResults(file.GetAddressOf()); file 529 win8/metro_driver/file_picker_ash.cc if (file) { file 532 win8/metro_driver/file_picker_ash.cc hr = file.As(&storage_item);