Home
last modified time | relevance | path

Searched refs:res1 (Results 1 – 2 of 2) sorted by relevance

/system/core/toolbox/
Dcmp.c15 int res, res1, res2; in cmp_main() local
63 res1 = read(fd1, &buf1, sizeof(buf1)); 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()
/system/netd/
DBandwidthController.cpp414 int res = 0, res1, res2; in prepCostlyIface() local
431 res1 = runIpxtablesCmd(cmd, IptRejectNoAdd, IptFailHide); in prepCostlyIface()
434 res = (res1 && res2) || (!res1 && !res2); in prepCostlyIface()