Searched refs:res2 (Results 1 - 2 of 2) sorted by relevance
/system/core/toolbox/ |
H A D | cmp.c | 14 int res, res1, res2; local 63 res2 = read(fd2, &buf2, sizeof(buf2)); 64 res = res1 < res2 ? res1 : res2; 65 if(res1 == 0 && res2 == 0) { 84 if(res1 != res2 || res < 0) { 85 printf("%s on %s\n", res < 0 ? "Read error" : "EOF", res1 < res2 ? argv[optind] : argv[optind+1]);
|
H A D | getevent.c | 33 int res, res2; local 49 res2 = 0; 55 res2 = ioctl(fd, EVIOCGKEY(res), bits + bits_size); 68 res2 = ioctl(fd, EVIOCGLED(res), bits + bits_size); 72 res2 = ioctl(fd, EVIOCGSND(res), bits + bits_size); 76 res2 = ioctl(fd, EVIOCGSW(bits_size), bits + bits_size); 89 res2 = 0; 96 if(j < res2 && (bits[j + bits_size] & 1 << k))
|
Completed in 711 milliseconds