Lines Matching refs:status

67     int (*func)(Action* a, int status, const char* resp);
91 static int cb_default(Action* a, int status, const char* resp) { in cb_default() argument
92 if (status) { in cb_default()
99 return status; in cb_default()
196 static int cb_check(Action* a, int status, const char* resp, int invert) in cb_check() argument
203 if (status) { in cb_check()
205 return status; in cb_check()
239 static int cb_require(Action*a, int status, const char* resp) { in cb_require() argument
240 return cb_check(a, status, resp, 0); in cb_require()
243 static int cb_reject(Action* a, int status, const char* resp) { in cb_reject() argument
244 return cb_check(a, status, resp, 1); in cb_reject()
260 static int cb_display(Action* a, int status, const char* resp) { in cb_display() argument
261 if (status) { in cb_display()
263 return status; in cb_display()
278 static int cb_save(Action* a, int status, const char* resp) { in cb_save() argument
279 if (status) { in cb_save()
281 return status; in cb_save()
337 int status = 0; in fb_execute_queue() local
341 return status; in fb_execute_queue()
353 status = fb_download_data(transport, a->data, a->size); in fb_execute_queue()
354 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
355 if (status) break; in fb_execute_queue()
357 status = fb_command(transport, a->cmd); in fb_execute_queue()
358 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
359 if (status) break; in fb_execute_queue()
361 status = fb_command_response(transport, a->cmd, resp); in fb_execute_queue()
362 status = a->func(a, status, status ? fb_get_error() : resp); in fb_execute_queue()
363 if (status) break; in fb_execute_queue()
367 status = fb_download_data_sparse(transport, reinterpret_cast<sparse_file*>(a->data)); in fb_execute_queue()
368 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
369 if (status) break; in fb_execute_queue()
378 return status; in fb_execute_queue()