Searched refs:strToInt (Results 1 - 3 of 3) sorted by relevance
/foundation/ability/idl_tool/test/unittest/lexer_test/ |
H A D | lexer_test.cpp | 254 bool result = imageLexer.strToInt(str, 3, number); in HWTEST_F() 261 bool result = imageLexer.strToInt(str, 7, number); in HWTEST_F() 268 bool result = imageLexer.strToInt(str, 1, number); in HWTEST_F() 275 bool result = imageLexer.strToInt(str, 2, number); in HWTEST_F() 282 bool result = imageLexer.strToInt(str, 10, number); in HWTEST_F() 290 bool result = imageLexer.strToInt(str, 10, number); in HWTEST_F() 296 bool result = imageLexer.strToInt(str, 4, number); in HWTEST_F() 302 bool result = imageLexer.strToInt(str, 4, number); in HWTEST_F()
|
/foundation/ability/idl_tool/parser/ |
H A D | lexer.h | 105 static bool strToInt(const char *str, int strLen, int& number);
|
H A D | lexer.cpp | 343 bool Lexer::strToInt(const char *str, int strLen, int& number) in strToInt() function in OHOS::Idl::Lexer 393 ret = strToInt(numberStr.string(), numberStr.GetLength(), cacheTime); in ParseCacheable()
|
Completed in 2 milliseconds