Home
last modified time | relevance | path

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

/external/angle/src/common/
Dstring_utils_unittest.cpp163 ASSERT_FALSE(HexStringToUInt(emptyString, &uintValue)); in TEST()
166 ASSERT_TRUE(HexStringToUInt(testStringA, &uintValue)); in TEST()
170 EXPECT_FALSE(HexStringToUInt(testStringB, &uintValue)); in TEST()
173 EXPECT_TRUE(HexStringToUInt(testStringC, &uintValue)); in TEST()
177 EXPECT_FALSE(HexStringToUInt(testStringD, &uintValue)); in TEST()
Dstring_utils.h48 bool HexStringToUInt(const std::string &input, unsigned int *uintOut);
Dstring_utils.cpp138 bool HexStringToUInt(const std::string &input, unsigned int *uintOut) in HexStringToUInt() function
/external/angle/src/gpu_info_util/
DSystemInfo.cpp256 bool success = id.length() >= 21 && HexStringToUInt(id.substr(8, 4), &vendor) && in CMDeviceIDToDeviceAndVendorID()
257 HexStringToUInt(id.substr(17, 4), &device); in CMDeviceIDToDeviceAndVendorID()
/external/libchrome/base/strings/
Dstring_number_conversions_fuzzer.cc46 base::HexStringToUInt(string_piece_input, &out_uint); in LLVMFuzzerTestOneInput()
Dstring_number_conversions_unittest.cc491 TEST(StringNumberConversionsTest, HexStringToUInt) { in TEST() argument
543 EXPECT_EQ(cases[i].success, HexStringToUInt(cases[i].input, &output)); in TEST()
552 EXPECT_FALSE(HexStringToUInt(input_string, &output)); in TEST()
Dstring_number_conversions.h144 BASE_EXPORT bool HexStringToUInt(StringPiece input, uint32_t* output);
Dstring_number_conversions.cc480 bool HexStringToUInt(StringPiece input, uint32_t* output) { in HexStringToUInt() function
/external/angle/src/tests/test_expectations/
DGPUTestConfig.cpp488 if (!HexStringToUInt(gpuDeviceId, &deviceId) || deviceId == 0) in IsDeviceIdGPU()