Lines Matching refs:rv
100 int rv; in main() local
106 if ((rv = sched_getaffinity(0, sizeof(availCPUs), &availCPUs)) != 0) { in main()
107 cerr << "sched_getaffinity failure, rv: " << rv in main()
204 rv = wait(&stat); in main()
205 if ((rv == -1) && (errno == ECHILD)) { break; } in main()
206 if (rv == -1) { in main()
207 cerr << "wait failed, rv: " << rv << " errno: " in main()
224 int rv; in server() local
229 if ((rv = sm->addService(serviceName, in server()
231 cerr << "addService " << serviceName << " failed, rv: " << rv in server()
241 int rv; in client() local
275 if ((rv = binder->transact(AddIntsService::ADD_INTS, in client()
277 cerr << "binder->transact failed, rv: " << rv in client()
315 status_t rv(0); in onTransact() local
342 return rv; in onTransact()
347 int rv; in bindCPU() local
352 rv = sched_setaffinity(0, sizeof(cpuset), &cpuset); in bindCPU()
354 if (rv != 0) { in bindCPU()
355 cerr << "bindCPU failed, rv: " << rv << " errno: " << errno << endl; in bindCPU()