Home
last modified time | relevance | path

Searched refs:GetPlatformFile (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/files/
Dmemory_mapped_file_posix.cc40 DPLOG(ERROR) << "fstat " << file_.GetPlatformFile(); in MapFileRegionToMemory()
93 DPLOG(ERROR) << "fstat " << file_.GetPlatformFile(); in MapFileRegionToMemory()
100 DPLOG(ERROR) << "ftruncate " << file_.GetPlatformFile(); in MapFileRegionToMemory()
120 if (fcntl(file_.GetPlatformFile(), F_PREALLOCATE, &params) != 0) { in MapFileRegionToMemory()
127 if (posix_fallocate(file_.GetPlatformFile(), region.offset, in MapFileRegionToMemory()
140 if (fstat(file_.GetPlatformFile(), &statbuf) == 0 && in MapFileRegionToMemory()
150 if (pread(file_.GetPlatformFile(), &existing_byte, 1, i) != 1) in MapFileRegionToMemory()
154 if (pwrite(file_.GetPlatformFile(), &existing_byte, 1, i) != 1) in MapFileRegionToMemory()
163 file_.GetPlatformFile(), map_start)); in MapFileRegionToMemory()
165 DPLOG(ERROR) << "mmap " << file_.GetPlatformFile(); in MapFileRegionToMemory()
Dfile.h193 PlatformFile GetPlatformFile() const;
Dfile_posix.cc169 PlatformFile File::GetPlatformFile() const { in GetPlatformFile() function in base::File
396 PlatformFile other_fd = HANDLE_EINTR(dup(GetPlatformFile())); in Duplicate()
Dfile_util_posix.cc271 if (fstat(infile.GetPlatformFile(), &stat_at_use) < 0) { in DoCopyDirectory()
812 FILE* stream = fdopen(file.GetPlatformFile(), mode); in FileToFILE()
/external/libchrome/ipc/
Dipc_platform_file_attachment_posix.h39 base::PlatformFile GetPlatformFile(scoped_refptr<MessageAttachment> attachment);
Dipc_platform_file_attachment_posix.cc30 base::PlatformFile GetPlatformFile( in GetPlatformFile() function