Searched refs:res2 (Results 1 – 3 of 3) sorted by relevance
/system/core/toolbox/ |
D | getevent.c | 100 int res, res2; in print_possible_events() local 118 res2 = 0; in print_possible_events() 121 res2 = ioctl(fd, EVIOCGKEY(res), bits + bits_size); in print_possible_events() 138 res2 = ioctl(fd, EVIOCGLED(res), bits + bits_size); in print_possible_events() 143 res2 = ioctl(fd, EVIOCGSND(res), bits + bits_size); in print_possible_events() 148 res2 = ioctl(fd, EVIOCGSW(bits_size), bits + bits_size); in print_possible_events() 169 res2 = 0; in print_possible_events() 177 if(j < res2 && (bits[j + bits_size] & 1 << k)) in print_possible_events()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.c | 1074 int res2 = sscanf(buffer, ",\"%32[^\"]\",%hu%n", numstr, &type, &offset); in bta_hf_client_parse_clcc() local 1075 if (res2 < 0) in bta_hf_client_parse_clcc() 1078 if (res2 == 0) in bta_hf_client_parse_clcc() 1080 res2 = sscanf(buffer, ",\"\",%hu%n", &type, &offset); in bta_hf_client_parse_clcc() 1085 res2++; in bta_hf_client_parse_clcc() 1089 if (res2 >= 2) in bta_hf_client_parse_clcc() 1091 res += res2; in bta_hf_client_parse_clcc()
|
/system/netd/server/ |
D | BandwidthController.cpp | 468 int res = 0, res1, res2; in prepCostlyIface() local 487 res2 = runIpxtablesCmd(cmd, IptJumpNoAdd, IptFailHide); in prepCostlyIface() 488 res = (res1 && res2) || (!res1 && !res2); in prepCostlyIface()
|