Home
last modified time | relevance | path

Searched refs:FILE_OK (Results 1 – 12 of 12) sorted by relevance

/external/libchrome/base/files/
Dfile_locking_unittest.cc96 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 …]
Dfile_proxy_unittest.cc31 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 …]
Dfile_proxy.cc64 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()
Dfile.cc34 : error_details_(FILE_OK), created_(false), async_(false) { in File()
43 error_details_(FILE_OK), in File()
101 case FILE_OK: in ErrorToString()
Dfile_unittest.cc50 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()
Dscoped_temp_dir_unittest.cc105 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST()
Dfile.h89 FILE_OK = 0, enumerator
Dfile_posix.cc83 return File::FILE_OK; in CallFcntlFlock()
525 error_details_ = FILE_OK; in DoInitialize()
Dimportant_file_writer.cc201 base::File::Error replace_file_error = base::File::FILE_OK; in WriteFileAtomically()
/external/libchrome/mojo/public/cpp/system/
Dfile_data_pipe_producer.cc34 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/
Dfile_error_mojom_traits.h17 case base::File::FILE_OK:
62 *out = base::File::FILE_OK;
/external/libchrome/mojo/public/cpp/system/tests/
Dfile_data_pipe_producer_unittest.cc158 if (read_result == base::File::FILE_OK) in OnBytesRead()