Lines Matching defs:res
154 void complete(jint res, bufferedStream* st);
188 char* res = _pos;
194 return res;
289 jint res = 0;
293 res = (jint)SolarisAttachListener::ATTACH_ERROR_INTERNAL;
297 if (res == 0) {
299 res = (jint)SolarisAttachListener::ATTACH_ERROR_DENIED;
305 if (res == 0 && is_error_reported()) {
311 res = (jint)SolarisAttachListener::ATTACH_ERROR_RESOURCE;
315 if (res == 0) {
318 res = (op == NULL) ? (jint)err : 0;
324 if (res == 0) {
328 res = (jint)SolarisAttachListener::ATTACH_ERROR_RESOURCE;
337 if (res == 0) {
343 door_return((char*)&res, sizeof(res), &desc, 1);
345 door_return((char*)&res, sizeof(res), NULL, 0);
373 int fd, res;
395 RESTARTABLE(::close(fd), res);
398 if ((res = ::fattach(dd, initial_path)) == -1) {
402 res = ::fattach(dd, initial_path);
404 if (res == -1) {
413 RESTARTABLE(::close(dd), res);
451 int res;
454 while ((res = ::sema_wait(wakeup())) == EINTR)
456 if (res) {
457 warning("sema_wait failed: %s", strerror(res));
462 res = os::Solaris::mutex_lock(mutex());
463 assert(res == 0, "mutex_lock failed");
487 int res = os::Solaris::mutex_lock(mutex());
488 assert(res == 0, "mutex_lock failed");
500 RESTARTABLE(::sema_post(wakeup()), res);
501 assert(res == 0, "sema_post failed");
531 void SolarisAttachOperation::complete(jint res, bufferedStream* st) {
542 sprintf(msg, "%d\n", res);