Searched refs:FILE_OK (Results 1 – 12 of 12) sorted by relevance
/external/libchrome/base/files/ |
D | file_locking_unittest.cc | 96 CHECK_EQ(File::FILE_OK, file.Lock()); in MULTIPROCESS_TEST_MAIN() 102 CHECK_EQ(File::FILE_OK, file.Unlock()); in MULTIPROCESS_TEST_MAIN() 185 ASSERT_NE(File::FILE_OK, lock_file_.Lock()); in TEST_F() 188 ASSERT_EQ(File::FILE_OK, lock_file_.Lock()); in TEST_F() 189 ASSERT_EQ(File::FILE_OK, lock_file_.Unlock()); in TEST_F() 198 ASSERT_NE(File::FILE_OK, lock_file_.Lock()); in TEST_F() 201 ASSERT_EQ(File::FILE_OK, lock_file_.Lock()); in TEST_F() 202 ASSERT_EQ(File::FILE_OK, lock_file_.Unlock()); in TEST_F() 211 ASSERT_NE(File::FILE_OK, lock_file_.Lock()); in TEST_F() 213 ASSERT_EQ(File::FILE_OK, lock_file_.Lock()); in TEST_F() [all …]
|
D | file_proxy_unittest.cc | 31 error_(File::FILE_OK), in FileProxyTest() 114 EXPECT_EQ(File::FILE_OK, error_); in TEST_F() 132 EXPECT_EQ(File::FILE_OK, error_); in TEST_F() 175 EXPECT_EQ(File::FILE_OK, error_); in TEST_F() 191 EXPECT_EQ(File::FILE_OK, error_); in TEST_F() 198 EXPECT_EQ(File::FILE_OK, error_); in TEST_F() 256 EXPECT_EQ(File::FILE_OK, error_); in TEST_F() 280 EXPECT_EQ(File::FILE_OK, error_); in TEST_F() 296 EXPECT_EQ(File::FILE_OK, error_); in TEST_F() 303 EXPECT_EQ(File::FILE_OK, error_); in TEST_F() [all …]
|
D | file_proxy.cc | 64 error_ = File::FILE_OK; in Close() 69 error_ = rv ? File::FILE_OK : File::FILE_ERROR_FAILED; in SetTimes() 74 error_ = File::FILE_OK; in SetLength() 79 error_ = File::FILE_OK; in Flush() 100 error_ = file_.IsValid() ? File::FILE_OK : file_.error_details(); in RunWork() 134 error_ = File::FILE_OK; in RunWork() 161 error_ = File::FILE_OK; in RunWork() 186 error_ = (bytes_read_ < 0) ? File::FILE_ERROR_FAILED : File::FILE_OK; in RunWork() 216 error_ = (bytes_written_ < 0) ? File::FILE_ERROR_FAILED : File::FILE_OK; in RunWork()
|
D | file.cc | 34 : error_details_(FILE_OK), created_(false), async_(false) { in File() 43 error_details_(FILE_OK), in File() 101 case FILE_OK: in ErrorToString()
|
D | file_unittest.cc | 50 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST() 58 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST() 71 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST() 93 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST() 104 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST() 149 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST() 157 EXPECT_EQ(base::File::FILE_OK, same_file.error_details()); in TEST()
|
D | scoped_temp_dir_unittest.cc | 105 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST()
|
D | file.h | 89 FILE_OK = 0, enumerator
|
D | file_posix.cc | 83 return File::FILE_OK; in CallFcntlFlock() 525 error_details_ = FILE_OK; in DoInitialize()
|
D | important_file_writer.cc | 201 base::File::Error replace_file_error = base::File::FILE_OK; in WriteFileAtomically()
|
/external/libchrome/mojo/public/cpp/system/ |
D | file_data_pipe_producer.cc | 34 case base::File::FILE_OK: in FileErrorToMojoResult() 99 if (file.error_details() != base::File::FILE_OK) { in StartFromFileOnFileSequence() 171 DCHECK_NE(base::File::FILE_OK, read_error); in TransferSomeBytes() 175 read_error = base::File::FILE_OK; in TransferSomeBytes() 178 base::File::FILE_OK); in TransferSomeBytes()
|
/external/libchrome/mojo/public/cpp/base/ |
D | file_error_mojom_traits.h | 17 case base::File::FILE_OK: 62 *out = base::File::FILE_OK;
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | file_data_pipe_producer_unittest.cc | 158 if (read_result == base::File::FILE_OK) in OnBytesRead()
|