Searched refs:res2 (Results 1 – 3 of 3) sorted by relevance
/system/core/toolbox/ |
D | getevent.c | 101 int res, res2; in print_possible_events() local 117 res2 = 0; in print_possible_events() 120 res2 = ioctl(fd, EVIOCGKEY(res), bits + bits_size); in print_possible_events() 137 res2 = ioctl(fd, EVIOCGLED(res), bits + bits_size); in print_possible_events() 142 res2 = ioctl(fd, EVIOCGSND(res), bits + bits_size); in print_possible_events() 147 res2 = ioctl(fd, EVIOCGSW(bits_size), bits + bits_size); in print_possible_events() 168 res2 = 0; in print_possible_events() 176 if(j < res2 && (bits[j + bits_size] & 1 << k)) in print_possible_events()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.cc | 1245 int res2 = sscanf(buffer, ",\"%32[^\"]\",%hu%n", numstr, &type, &offset); in bta_hf_client_parse_clcc() local 1246 if (res2 < 0) return NULL; in bta_hf_client_parse_clcc() 1248 if (res2 == 0) { in bta_hf_client_parse_clcc() 1249 res2 = sscanf(buffer, ",\"\",%hu%n", &type, &offset); in bta_hf_client_parse_clcc() 1250 if (res2 < 0) return NULL; in bta_hf_client_parse_clcc() 1253 res2++; in bta_hf_client_parse_clcc() 1257 if (res2 >= 2) { in bta_hf_client_parse_clcc() 1258 res += res2; in bta_hf_client_parse_clcc()
|
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 747 auto [res2, ranges2] = getFilledRanges(fd.get(), std::move(buf)); in TEST_F() 748 ASSERT_EQ(-ERANGE, res2); in TEST_F()
|