Lines Matching defs:status
7 #include <pdx/status.h>
27 auto status = InvokeRemoteMethod<DisplayProtocol::GetSurfaceInfo>();
28 if (!status) {
30 status.GetErrorMessage().c_str());
31 Close(status.error());
33 *error = status.error();
36 surface_id_ = status.get().surface_id;
37 z_order_ = status.get().z_order;
38 visible_ = status.get().visible;
45 auto status = InvokeRemoteMethod<DisplayProtocol::CreateSurface>(attributes);
46 if (!status) {
48 status.GetErrorMessage().c_str());
49 Close(status.error());
51 *error = status.error();
54 surface_id_ = status.get().surface_id;
55 z_order_ = status.get().z_order;
56 visible_ = status.get().visible;
70 auto status = InvokeRemoteMethod<DisplayProtocol::SetAttributes>(attributes);
71 if (!status) {
75 status.GetErrorMessage().c_str());
76 return status.error_status();
109 auto status = InvokeRemoteMethod<DisplayProtocol::CreateQueue>(
116 if (!status) {
118 status.GetErrorMessage().c_str());
119 return status.error_status();
122 auto producer_queue = ProducerQueue::Import(status.take());
138 auto status = CreateQueue(width, height, format, metadata_size);
139 if (!status)
140 return status.error_status();
142 auto producer_queue = status.take();
170 auto status =
172 if (!status && status.error() != ENOENT) {
176 status.GetErrorMessage().c_str());
178 return status;
192 auto status =
194 if (!status) {
198 status.GetErrorMessage().c_str());
199 return status.error_status();
203 auto native_buffer_handle = status.take();
217 auto status = InvokeRemoteMethod<DisplayProtocol::DeleteGlobalBuffer>(key);
218 if (!status) {
220 status.GetErrorMessage().c_str());
223 return status;
228 auto status = InvokeRemoteMethod<DisplayProtocol::GetGlobalBuffer>(key);
229 if (!status) {
233 key, status.GetErrorMessage().c_str());
234 return status.error_status();
238 auto native_buffer_handle = status.take();