Lines Matching refs:rv
88 int rv; in server() local
93 if ((rv = sm->addService(serviceName, in server()
95 cerr << "addService " << serviceName << " failed, rv: " << rv in server()
107 int rv; in BM_addInts() local
144 if ((rv = binder->transact(AddIntsService::ADD_INTS, in BM_addInts()
146 cerr << "binder->transact failed, rv: " << rv in BM_addInts()
174 status_t rv(0); in onTransact() local
201 return rv; in onTransact()
206 int rv; in bindCPU() local
211 rv = sched_setaffinity(0, sizeof(cpuset), &cpuset); in bindCPU()
213 if (rv != 0) { in bindCPU()
214 cerr << "bindCPU failed, rv: " << rv << " errno: " << errno << endl; in bindCPU()
234 int rv; in main() local
240 if ((rv = sched_getaffinity(0, sizeof(availCPUs), &availCPUs)) != 0) { in main()
241 cerr << "sched_getaffinity failure, rv: " << rv in main()
305 rv = wait(&stat); in main()
306 if ((rv == -1) && (errno == ECHILD)) { break; } in main()
307 if (rv == -1) { in main()
308 cerr << "wait failed, rv: " << rv << " errno: " in main()