Home
last modified time | relevance | path

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

/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp656 const DWORD g_expected_errors[] = { variable
668 const DWORD* end = g_expected_errors + ARRAYSIZE(g_expected_errors); in get_error_description()
669 const DWORD* found = std::find(g_expected_errors, end, err); in get_error_description()
671 return g_expected_error_strings[found - g_expected_errors]; in get_error_description()
680 const DWORD* end = g_expected_errors + ARRAYSIZE(g_expected_errors); in is_expected_error()
681 return std::find(g_expected_errors, end, err) != end; in is_expected_error()
785 for (size_t i = 0; i < ARRAYSIZE(g_expected_errors); ++i) { in TestCloseRaceCondition()
787 if (read_errors.count(g_expected_errors[i]) == 0) { in TestCloseRaceCondition()
809 for (size_t i = 0; i < ARRAYSIZE(g_expected_errors); ++i) { in TestCloseRaceCondition()
810 if (read_errors.count(g_expected_errors[i]) == 0) { in TestCloseRaceCondition()
[all …]