Lines Matching refs:base
5 #include "base/file_util.h"
33 #include "base/basictypes.h"
34 #include "base/eintr_wrapper.h"
35 #include "base/file_path.h"
36 #include "base/logging.h"
37 #include "base/memory/scoped_ptr.h"
38 #include "base/memory/singleton.h"
39 #include "base/string_util.h"
40 #include "base/sys_string_conversions.h"
41 #include "base/threading/thread_restrictions.h"
42 #include "base/time.h"
43 #include "base/utf_string_conversions.h"
51 base::ThreadRestrictions::AssertIOAllowed(); // For realpath().
67 base::ThreadRestrictions::AssertIOAllowed();
73 base::ThreadRestrictions::AssertIOAllowed();
86 base::ThreadRestrictions::AssertIOAllowed(); // For realpath().
95 const base::Time& comparison_time) {
96 base::ThreadRestrictions::AssertIOAllowed();
147 base::ThreadRestrictions::AssertIOAllowed();
187 base::ThreadRestrictions::AssertIOAllowed();
212 base::ThreadRestrictions::AssertIOAllowed();
219 base::ThreadRestrictions::AssertIOAllowed();
228 if (base::strlcpy(top_dir, from_path.value().c_str(),
319 base::ThreadRestrictions::AssertIOAllowed();
324 base::ThreadRestrictions::AssertIOAllowed();
329 base::ThreadRestrictions::AssertIOAllowed();
404 base::ThreadRestrictions::AssertIOAllowed(); // For call to mkstemp().
414 base::ThreadRestrictions::AssertIOAllowed(); // For call to close().
445 base::ThreadRestrictions::AssertIOAllowed(); // For call to close().
453 base::ThreadRestrictions::AssertIOAllowed(); // For call to mkdtemp().
489 base::ThreadRestrictions::AssertIOAllowed(); // For call to mkdir().
518 bool GetFileInfo(const FilePath& file_path, base::PlatformFileInfo* results) {
524 results->last_modified = base::Time::FromTimeT(file_info.st_mtime);
525 results->last_accessed = base::Time::FromTimeT(file_info.st_atime);
526 results->creation_time = base::Time::FromTimeT(file_info.st_ctime);
531 base::ThreadRestrictions::AssertIOAllowed(); // For call to stat().
546 base::ThreadRestrictions::AssertIOAllowed();
555 base::ThreadRestrictions::AssertIOAllowed();
567 base::ThreadRestrictions::AssertIOAllowed();
596 base::ThreadRestrictions::AssertIOAllowed();
609 base::ThreadRestrictions::AssertIOAllowed();
714 base::ThreadRestrictions::AssertIOAllowed();
757 : file_(base::kInvalidPlatformFileValue),
763 base::ThreadRestrictions::AssertIOAllowed();
766 if (fstat(file_, &file_stat) == base::kInvalidPlatformFileValue) {
781 base::ThreadRestrictions::AssertIOAllowed();
785 if (file_ != base::kInvalidPlatformFileValue)
790 file_ = base::kInvalidPlatformFileValue;
794 const base::Time& cutoff_time) {
836 base::ThreadRestrictions::AssertIOAllowed();
851 base::ThreadRestrictions::AssertIOAllowed();