Lines Matching refs:result

51 BMessenger::BMessenger(const char* signature, team_id team, status_t* result)
57 _InitData(signature, team, result);
139 status_t result = looper->LockWithTimeout(timeout);
141 if (result == B_OK && looper->fMsgPort != fPort) {
146 return result;
167 status_t result = message != NULL ? B_OK : B_BAD_VALUE;
168 if (result == B_OK) {
170 result = SendMessage(message, replyMessenger, timeout);
173 DBG(OUT("BMessenger::SendMessage2() done: %lx\n", result));
175 return result;
207 status_t result = BMessage::Private(message).SendMessage(fPort, fTeam,
210 // map this result for now
211 if (result == B_BAD_TEAM_ID)
212 result = B_BAD_PORT_ID;
214 return result;
224 status_t result = B_OK;
225 _InitData(signature, team, &result);
227 return result;
234 status_t result = B_OK;
235 _InitData(handler, looper, &result);
237 return result;
315 \param result An optional pointer to a pre-allocated status_t into which
316 the result of the initialization is written.
321 status_t result = B_OK;
335 result = be_roster->GetAppInfo(signature, &info);
339 if (result == B_ERROR)
340 result = B_BAD_VALUE;
344 result = B_BAD_TYPE;
347 result = be_roster->GetRunningAppInfo(team, &info);
349 if (result == B_OK && signature != NULL
351 result = B_MISMATCHED_VALUES;
355 if (result == B_OK && (info.flags & B_ARGV_ONLY) != 0) {
356 result = B_BAD_TYPE;
362 if (result == B_OK) {
368 // return the result
370 *_result = result;
384 \param result An optional pointer to a pre-allocated status_t into which
385 the result of the initialization is written.
391 status_t result = (handler != NULL || looper != NULL) ? B_OK : B_BAD_VALUE;
392 if (result == B_OK) {
397 result = B_MISMATCHED_VALUES;
401 result = B_MISMATCHED_VALUES;
406 if (result == B_OK) {
415 result = B_BAD_VALUE;
420 *_result = result;