Searched defs:rv (Results 1 - 10 of 10) sorted by path

/system/core/libdiskconfig/
H A Ddiskconfig.c242 int rv; local
251 if (S_ISBLK(stat.st_mode) && ((rv = ioctl(fd, BLKRRPART, NULL)) < 0)) {
438 int rv; local
445 if ((rv = wlist_commit(fd, wr_lst, test)) >= 0)
446 rv = test ? 0 : sync_ptable(fd);
450 return rv;
/system/core/toolbox/
H A Dcmp.c16 int rv = 0; local
67 return rv;
77 rv = 1;
82 return rv;
H A Ddd.c569 ssize_t rv; local
573 rv = write(fd, buf, len);
577 return (rv);
H A Dhd.c17 int rv = 0; local
/system/core/toolbox/cp/
H A Dcp.c320 int rv; local
322 rv = dnestack[--dnesp];
324 return rv;
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp100 int rv; local
106 if ((rv = sched_getaffinity(0, sizeof(availCPUs), &availCPUs)) != 0) {
107 cerr << "sched_getaffinity failure, rv: " << rv
204 rv = wait(&stat);
205 if ((rv == -1) && (errno == ECHILD)) { break; }
206 if (rv == -1) {
207 cerr << "wait failed, rv: " << rv << " errno: "
224 int rv; local
241 int rv; local
347 int rv; local
[all...]
/system/extras/tests/bionic/libc/other/
H A Dtest_system.c9 int rv; local
14 rv = system(argv[1]);
15 if (rv < 0) {
22 if (WEXITSTATUS(rv) != 0) {
24 WEXITSTATUS(rv));
/system/extras/tests/lib/testUtil/
H A DtestUtil.c48 double rv; local
50 rv = val->tv_sec;
51 rv += (double) val->tv_nsec / nSecsPerSec;
53 return rv;
59 double rv; local
61 rv = val->tv_sec;
62 rv += (double) val->tv_usec / uSecsPerSec;
64 return rv;
70 struct timespec rv; local
72 rv
86 struct timeval rv; local
105 struct timespec rv; local
128 struct timeval rv; local
322 int rv; local
396 int rv; local
[all...]
/system/extras/tests/wifi/stress/
H A DwifiLoadScanAssoc.c128 int rv, opt; local
279 if ((rv = wifi_load_driver()) != 0) {
280 testPrintE("CPU: %i wifi_load_driver() failed, rv: %i\n",
281 cpu, rv);
288 if ((rv = wifi_start_supplicant(false)) != 0) {
289 testPrintE("CPU: %i wifi_start_supplicant() failed, rv: %i\n",
290 cpu, rv);
304 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STATUS);
305 if (rv >= (signed) sizeof(cmd) - 1) {
314 if ((rv
388 int rv; local
478 int rv; local
[all...]
/system/netd/
H A DDnsProxyListener.cpp78 uint32_t rv = getaddrinfo(mHost, mService, mHints, &result); local
79 if (rv) {
81 mClient->sendBinaryMsg(ResponseCode::DnsProxyOperationFailed, &rv, sizeof(rv));

Completed in 172 milliseconds