Searched defs:res (Results 26 - 41 of 41) sorted by relevance

12

/system/extras/tests/iptables/qtaguid/
H A DsocketTag.cpp61 int res; local
68 res = write(ctrl, buff, strlen(buff));
69 testPrintI("cmd: '%s' res=%d %d/%s", buff, res, errno, strerror(errno));
73 return res;
79 int res; local
88 res = write(param_fd, data, strlen(data));
89 if (res < 0) {
93 return res;
136 int res; local
[all...]
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp566 bool res = false; local
594 res = true;
598 return res;
/system/core/debuggerd/
H A Ddebuggerd.c134 int res = get_event(&e, timeout); local
135 if (res == 0) {
141 } else if (res == 1) {
/system/core/init/
H A Dproperty_service.c414 int res; local
/system/extras/tests/fstest/
H A Dperm_checker.c161 int res; local
165 while ((res = fscanf(fp, "%s %lo %lo %s %s %s %s\n", spec,
169 if (res < 7) {
/system/extras/tests/memtest/
H A Dmemtest.cpp162 struct result_t { int size; float res; }; member in struct:result_t
201 results[nbr].res = throughput;
208 printf("%9d %9ld %9ld\n", results[i].size, (long)results[i].res, (long)results[i+1].res);
288 struct result_t { int size; float res; }; member in struct:result_t
317 results[nbr].res = throughput;
324 printf("%9d %9ld %9ld\n", results[i].size, (long)results[i].res, (long)results[i+1].res);
426 struct result_t { int size; float res; }; member in struct:result_t
462 results[nbr].res
538 struct result_t { int size; float res; }; member in struct:result_t
675 struct timespec res; local
[all...]
/system/core/adb/
H A Dusb_linux.c314 int res; local
329 res = -1;
333 res = ioctl(h->desc, USBDEVFS_SUBMITURB, urb);
334 } while((res < 0) && (errno == EINTR));
336 if(res < 0) {
340 res = -1;
347 res = pthread_cond_timedwait(&h->notify, &h->lock, &ts);
348 if(res < 0 || h->dead) {
353 res = urb->actual_length;
361 return res;
368 int res; local
[all...]
H A Dsysdeps_win32.c1480 int res; local
1489 res = WaitForMultipleObjects(param->handles_count + 1, wait_on, FALSE, INFINITE);
1490 if (res > 0 && res < (param->handles_count + 1)) {
1494 res - 1L + param->first_handle_index, -1L);
/system/core/libusbhost/
H A Dusbhost.c588 int res; local
599 res = ioctl(req->dev->fd, USBDEVFS_SUBMITURB, urb);
600 } while((res < 0) && (errno == EINTR));
602 return res;
609 int res; local
612 int res = ioctl(dev->fd, USBDEVFS_REAPURB, &urb); local
613 D("USBDEVFS_REAPURB returned %d\n", res);
614 if (res < 0) {
/system/core/toolbox/
H A Dgetevent.c47 int res; local
52 res = ioctl(fd, EVIOCGPROP(sizeof(bits)), bits);
53 if(res < 0) {
58 for(i = 0; i < res; i++) {
81 int res, res2; local
89 res = ioctl(fd, EVIOCGBIT(i, bits_size), bits);
90 if(res < bits_size)
92 bits_size = res + 16;
102 res2 = ioctl(fd, EVIOCGKEY(res), bits + bits_size);
119 res2 = ioctl(fd, EVIOCGLED(res), bit
409 int res; local
494 int res; local
[all...]
H A Dtop.c327 int res, idx; local
H A Dnewfs_msdos.c114 u_int8_t res[2]; /* reserved sectors */ member in struct:bsbpb
158 u_int res; /* reserved sectors */ member in struct:bpb
475 bpb.res = opt_r;
515 if (bpb.bsec < (bpb.res ? bpb.res : bss) +
525 (bpb.res ? bpb.res : bss) +
552 if (!bpb.res)
553 bpb.res = fat == 32 ? MAX(x, MAX(16384 / bpb.bps, 4)) : x;
554 else if (bpb.res <
[all...]
/system/media/camera/src/
H A Dcamera_metadata.c286 int res; local
292 res = append_camera_metadata(clone, src);
293 if (res != OK) {
/system/netd/
H A DCommandListener.cpp1365 int res = sFirewallCtrl->enableFirewall(); local
1366 return sendGenericOkFail(cli, res);
1369 int res = sFirewallCtrl->disableFirewall(); local
1370 return sendGenericOkFail(cli, res);
1373 int res = sFirewallCtrl->isFirewallEnabled(); local
1374 return sendGenericOkFail(cli, res);
1387 int res = sFirewallCtrl->setInterfaceRule(iface, rule); local
1388 return sendGenericOkFail(cli, res);
1402 int res = sFirewallCtrl->setEgressSourceRule(addr, rule); local
1403 return sendGenericOkFail(cli, res);
1418 int res = 0; local
1435 int res = sFirewallCtrl->setUidRule(uid, rule); local
[all...]
H A DBandwidthController.cpp152 int res = 0; local
155 res |= runIptablesCmd(cmd, rejectHandling, IptIpV4, failureHandling);
156 res |= runIptablesCmd(cmd, rejectHandling, IptIpV6, failureHandling);
157 return res;
174 int res; local
194 res = system_nosh(fullCmd.c_str());
211 res = logwrap(argc, argv);
213 if (res && failureHandling == IptFailShow) {
214 ALOGE("runIptablesCmd(): failed %s res=%d", fullCmd.c_str(), res);
235 int res; local
270 int res = 0; local
285 std::string res; local
385 std::string res; local
414 int res = 0, res1, res2; local
468 int res = 0; local
504 int res = 0; local
571 int res = 0; local
609 int res = 0; local
694 int res = 0; local
741 int res = 0; local
773 int res = 0; local
801 int res = 0; local
822 int res = 0; local
844 int res = 0; local
859 int res = 0; local
937 int res = 0; local
963 int res = 0; local
993 int res; local
1037 int res; local
[all...]
/system/core/sdcard/
H A Dsdcard.c450 int res; local
461 res = writev(fuse->fd, vec, 2);
462 if (res < 0) {
741 int res; local
753 res = -ENOENT;
759 res = -ENOENT;
773 res = -ENOENT;
778 res = rename(old_child_path, new_child_path);
779 if (res < 0) {
780 res
842 int res; local
867 int res; local
886 int res; local
927 int res; local
1186 int res = handle_fuse_request(fuse, handler, hdr, data, data_len); local
1225 int res = pthread_create(&thread, NULL, start_handler, &handlers[i]); local
1252 int res; local
1301 int res; local
[all...]

Completed in 95 milliseconds

12