Lines Matching refs:ret
39 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t)));
41 ret->semaphore = semaphore_new(0);
42 if (!ret->semaphore) {
48 ret->ready_can_be_called = true;
49 return ret;
51 future_free(ret);
56 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t)));
58 ret->result = value;
59 ret->ready_can_be_called = false;
60 return ret;