Home
last modified time | relevance | path

Searched refs:res2 (Results 1 – 3 of 3) sorted by relevance

/system/core/toolbox/
Dcmp.c15 int res, res1, res2; in cmp_main() local
64 res2 = read(fd2, &buf2, sizeof(buf2)); in cmp_main()
65 res = res1 < res2 ? res1 : res2; in cmp_main()
66 if(res1 == 0 && res2 == 0) { in cmp_main()
85 if(res1 != res2 || res < 0) { in cmp_main()
86 … printf("%s on %s\n", res < 0 ? "Read error" : "EOF", res1 < res2 ? argv[optind] : argv[optind+1]); in cmp_main()
Dgetevent.c81 int res, res2; in print_possible_events() local
99 res2 = 0; in print_possible_events()
102 res2 = ioctl(fd, EVIOCGKEY(res), bits + bits_size); in print_possible_events()
119 res2 = ioctl(fd, EVIOCGLED(res), bits + bits_size); in print_possible_events()
124 res2 = ioctl(fd, EVIOCGSND(res), bits + bits_size); in print_possible_events()
129 res2 = ioctl(fd, EVIOCGSW(bits_size), bits + bits_size); in print_possible_events()
150 res2 = 0; in print_possible_events()
158 if(j < res2 && (bits[j + bits_size] & 1 << k)) in print_possible_events()
/system/netd/
DBandwidthController.cpp414 int res = 0, res1, res2; in prepCostlyIface() local
433 res2 = runIpxtablesCmd(cmd, IptRejectNoAdd, IptFailHide); in prepCostlyIface()
434 res = (res1 && res2) || (!res1 && !res2); in prepCostlyIface()