Lines Matching refs:ret
13 int ret = -1;
22 ret = getrlimit64(RLIMIT_NOFILE, &rlim);
23 LOG_ALWAYS_FATAL_IF(ret != 0, "Failed to get nofile limit.");
27 ret = setrlimit64(RLIMIT_NOFILE, &rlim);
28 ALOGE_IF(ret < 0, "Failed to set nofile limit, error=%s", strerror(errno));
44 ret = dvrSetSchedulerClass(0, "graphics");
45 CHECK_ERROR(ret < 0, error, "Failed to set thread priority");
49 ret = dispatcher->EnterDispatchLoop();
50 CHECK_ERROR(ret < 0, error, "Dispatch loop exited because: %s\n",
51 strerror(-ret));
54 return -ret;