Home
last modified time | relevance | path

Searched refs:file_descriptor_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/chromeos/memory/
Dlow_memory_listener.cc48 LowMemoryListenerImpl() : watcher_delegate_(this), file_descriptor_(-1) {} in LowMemoryListenerImpl()
99 int file_descriptor_; member in chromeos::LowMemoryListenerImpl
109 DCHECK_LE(file_descriptor_, 0) in StartObservingOnFileThread()
115 file_descriptor_ = ::open(kLowMemFile, O_RDONLY); in StartObservingOnFileThread()
118 if (file_descriptor_ < 0 && base::SysInfo::IsRunningOnChromeOS()) { in StartObservingOnFileThread()
129 if (file_descriptor_ >= 0) { in StopObservingOnFileThread()
132 ::close(file_descriptor_); in StopObservingOnFileThread()
133 file_descriptor_ = -1; in StopObservingOnFileThread()
148 if (file_descriptor_ < 0) in StartWatchingDescriptor()
151 file_descriptor_, in StartWatchingDescriptor()
/external/chromium_org/chrome/browser/printing/
Dprint_view_manager_basic.cc26 PrintingContextAndroid::PdfWritingDone(file_descriptor_.fd, false); in RenderProcessGone()
27 file_descriptor_ = base::FileDescriptor(-1, false); in RenderProcessGone()
32 PrintingContextAndroid::PdfWritingDone(file_descriptor_.fd, false); in OnPrintingFailed()
33 file_descriptor_ = base::FileDescriptor(-1, false); in OnPrintingFailed()
Dprint_view_manager_basic.h27 file_descriptor_ = file_descriptor; in set_file_descriptor()
31 base::FileDescriptor file_descriptor() const { return file_descriptor_; } in file_descriptor()
49 base::FileDescriptor file_descriptor_; variable
/external/ceres-solver/examples/
Dlibmv_bundle_adjuster.cc263 EndianAwareFileReader(void) : file_descriptor_(-1) { in EndianAwareFileReader()
274 if (file_descriptor_ > 0) { in ~EndianAwareFileReader()
275 close(file_descriptor_); in ~EndianAwareFileReader()
280 file_descriptor_ = open(file_name.c_str(), O_RDONLY | O_BINARY); in OpenFile()
281 if (file_descriptor_ < 0) { in OpenFile()
300 CHECK_GT(read(file_descriptor_, &value, sizeof(value)), 0); in Read()
330 int file_descriptor_; member in __anon18ffaa5a0111::EndianAwareFileReader