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