MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / atoi

Function atoi

strings/str2int.c:187–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185#ifdef WANT_OUR_ATOI
186
187int atoi(const char *src)
188{
189 long val;
190 str2int(src, 10, (long) INT_MIN, (long) INT_MAX, &val);
191 return (int) val;
192}
193
194
195long atol(const char *src)

Callers 15

get_int_optionFunction · 0.85
load_unidataFunction · 0.85
get_int_optionFunction · 0.85
initMethod · 0.85
add_field_to_listFunction · 0.85
find_typeFunction · 0.85
do_testFunction · 0.85
get_optionsFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
DbugParseFunction · 0.85

Calls 1

str2intFunction · 0.85

Tested by 2

do_testFunction · 0.68
get_optionsFunction · 0.68