Lines Matching refs:m_opaque_ap
21 m_opaque_ap (new StreamString()), in SBStream()
33 return (m_opaque_ap.get() != NULL); in IsValid()
41 if (m_is_file || m_opaque_ap.get() == NULL) in GetData()
44 return static_cast<StreamString *>(m_opaque_ap.get())->GetData(); in GetData()
53 if (m_is_file || m_opaque_ap.get() == NULL) in GetSize()
56 return static_cast<StreamString *>(m_opaque_ap.get())->GetSize(); in GetSize()
74 if (m_opaque_ap.get()) in RedirectToFile()
79 local_data.swap(static_cast<StreamString *>(m_opaque_ap.get())->GetString()); in RedirectToFile()
87 m_opaque_ap.reset (stream_file); in RedirectToFile()
89 if (m_opaque_ap.get()) in RedirectToFile()
96 m_opaque_ap->Write (&local_data[0], local_data.size()); in RedirectToFile()
106 if (m_opaque_ap.get()) in RedirectToFileHandle()
111 local_data.swap(static_cast<StreamString *>(m_opaque_ap.get())->GetString()); in RedirectToFileHandle()
113 m_opaque_ap.reset (new StreamFile (fh, transfer_fh_ownership)); in RedirectToFileHandle()
115 if (m_opaque_ap.get()) in RedirectToFileHandle()
122 m_opaque_ap->Write (&local_data[0], local_data.size()); in RedirectToFileHandle()
132 if (m_opaque_ap.get()) in RedirectToFileDescriptor()
137 local_data.swap(static_cast<StreamString *>(m_opaque_ap.get())->GetString()); in RedirectToFileDescriptor()
140 m_opaque_ap.reset (new StreamFile (::fdopen (fd, "w"), transfer_fh_ownership)); in RedirectToFileDescriptor()
141 if (m_opaque_ap.get()) in RedirectToFileDescriptor()
148 m_opaque_ap->Write (&local_data[0], local_data.size()); in RedirectToFileDescriptor()
158 return m_opaque_ap.get(); in operator ->()
164 return m_opaque_ap.get(); in get()
170 if (m_opaque_ap.get() == NULL) in ref()
171 m_opaque_ap.reset (new StreamString()); in ref()
172 return *m_opaque_ap.get(); in ref()
178 if (m_opaque_ap.get()) in Clear()
183 m_opaque_ap.reset(); in Clear()
185 static_cast<StreamString *>(m_opaque_ap.get())->GetString().clear(); in Clear()