Home
last modified time | relevance | path

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

/system/core/toolbox/
Dgetevent.c101 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/
Dbta_hf_client_at.cc1305 int res2 = sscanf(buffer, ",\"%32[^\"]\",%hu%n", numstr, &type, &offset); in bta_hf_client_parse_clcc() local
1306 if (res2 < 0) return NULL; in bta_hf_client_parse_clcc()
1308 if (res2 == 0) { in bta_hf_client_parse_clcc()
1309 res2 = sscanf(buffer, ",\"\",%hu%n", &type, &offset); in bta_hf_client_parse_clcc()
1310 if (res2 < 0) return NULL; in bta_hf_client_parse_clcc()
1313 res2++; in bta_hf_client_parse_clcc()
1317 if (res2 >= 2) { in bta_hf_client_parse_clcc()
1318 res += res2; in bta_hf_client_parse_clcc()
/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp718 auto [res2, ranges2] = getFilledRanges(fd.get(), std::move(buf)); in TEST_F()
719 ASSERT_EQ(-ERANGE, res2); in TEST_F()