Changeset View
Changeset View
Standalone View
Standalone View
arcanist/linter/LocaleDependenceLinter.php
Show All 31 Lines | "src/test/getarg_tests.cpp" => [ | ||||
"split", | "split", | ||||
"is_space", | "is_space", | ||||
], | ], | ||||
"src/torcontrol.cpp" => [ | "src/torcontrol.cpp" => [ | ||||
"atoi", | "atoi", | ||||
"strtol", | "strtol", | ||||
], | ], | ||||
"src/uint256.cpp" => ["tolower"], | "src/uint256.cpp" => ["tolower"], | ||||
"src/util.cpp" => ["atoi", "tolower"], | "src/util/system.cpp" => ["atoi", "tolower"], | ||||
"src/utilmoneystr.cpp" => ["isdigit"], | "src/util/moneystr.cpp" => ["isdigit"], | ||||
"src/utilstrencodings.cpp" => [ | "src/util/strencodings.cpp" => [ | ||||
"atoi", | "atoi", | ||||
"strtol", | "strtol", | ||||
"strtoll", | "strtoll", | ||||
"strtoul", | "strtoul", | ||||
"strtoull", | "strtoull", | ||||
], | ], | ||||
"src/utilstrencodings.h" => ["atoi"], | "src/util/strencodings.h" => ["atoi"], | ||||
); | ); | ||||
const LOCALE_DEPENDENT_FUNCTIONS = array( | const LOCALE_DEPENDENT_FUNCTIONS = array( | ||||
"alphasort", // LC_COLLATE (via strcoll) | "alphasort", // LC_COLLATE (via strcoll) | ||||
"asctime", // LC_TIME (directly) | "asctime", // LC_TIME (directly) | ||||
"asprintf", // (via vasprintf) | "asprintf", // (via vasprintf) | ||||
"atof", // LC_NUMERIC (via strtod) | "atof", // LC_NUMERIC (via strtod) | ||||
"atoi", // LC_NUMERIC (via strtol) | "atoi", // LC_NUMERIC (via strtol) | ||||
▲ Show 20 Lines • Show All 232 Lines • Show Last 20 Lines |