/system/vold/ |
D | ScryptParameters.cpp | 34 char* endptr; in parse_scrypt_parameters() local 35 params[i] = strtol(token, &endptr, 10); in parse_scrypt_parameters() 40 if ((*token == '\0') || (*endptr != '\0') || params[i] < 0 || params[i] > 255) { in parse_scrypt_parameters()
|
/system/core/libsysutils/src/ |
D | FrameworkListener.cpp | 151 char *endptr; in dispatchCommand() local 152 int cmdNum = (int)strtol(tmp, &endptr, 0); in dispatchCommand() 153 if (endptr == nullptr || *endptr != '\0') { in dispatchCommand()
|
/system/netd/server/ |
D | NetdConstants.cpp | 89 char *endptr; in parsePrefix() local 91 templen = strtoul(prefixlenString, &endptr, 10); in parsePrefix() 92 if (*endptr || templen > 255) { in parsePrefix()
|
/system/bt/btif/src/ |
D | btif_config_cache.cc | 250 char* endptr; in GetInt() local 251 long ret_long = strtol(value->c_str(), &endptr, 0); in GetInt() 252 if (*endptr != '\0') { in GetInt() 276 char* endptr; in GetUint64() local 277 uint64_t ret = strtoull(value->c_str(), &endptr, 0); in GetUint64() 278 if (*endptr != '\0') { in GetUint64()
|
D | btif_dm.cc | 2833 char* endptr; in btif_dm_get_smp_config() local 2840 p_cfg->ble_auth_req = (uint8_t)strtoul(pch, &endptr, 16); in btif_dm_get_smp_config() 2846 p_cfg->ble_io_cap = (uint8_t)strtoul(pch, &endptr, 16); in btif_dm_get_smp_config() 2852 p_cfg->ble_init_key = (uint8_t)strtoul(pch, &endptr, 16); in btif_dm_get_smp_config() 2858 p_cfg->ble_resp_key = (uint8_t)strtoul(pch, &endptr, 16); in btif_dm_get_smp_config() 2864 p_cfg->ble_max_key_size = (uint8_t)strtoul(pch, &endptr, 16); in btif_dm_get_smp_config()
|
/system/libufdt/sysdeps/ |
D | libufdt_sysdeps_posix.c | 46 unsigned long int dto_strtoul(const char *nptr, char **endptr, int base) { in dto_strtoul() argument 47 return strtoul(nptr, endptr, base); in dto_strtoul()
|
D | libufdt_sysdeps_vendor.c | 189 unsigned long int dto_strtoul(const char *nptr, char **endptr, int base) { in dto_strtoul() argument 190 return strtoul(nptr, endptr, base); in dto_strtoul()
|
/system/netd/libnetdutils/ |
D | InternetAddresses.cpp | 139 char* endptr; in forString() local 140 unsigned long prefixlen = strtoul(prefixString, &endptr, 10); in forString() 141 if (*endptr != '\0') return false; in forString()
|
/system/memory/libmeminfo/ |
D | sysmeminfo.cpp | 156 char* endptr = nullptr; in ReadMemInfo() local 157 uint64_t val = strtoull(p, &endptr, 10); in ReadMemInfo() 158 if (p == endptr) { in ReadMemInfo() 163 p = endptr; in ReadMemInfo()
|
/system/bt/osi/src/ |
D | config.cc | 156 char* endptr; in config_get_int() local 157 int ret = strtol(entry->value.c_str(), &endptr, 0); in config_get_int() 158 return (*endptr == '\0') ? ret : def_value; in config_get_int() 166 char* endptr; in config_get_uint64() local 167 uint64_t ret = strtoull(entry->value.c_str(), &endptr, 0); in config_get_uint64() 168 return (*endptr == '\0') ? ret : def_value; in config_get_uint64()
|
/system/libufdt/sysdeps/include/ |
D | libufdt_sysdeps.h | 61 unsigned long int dto_strtoul(const char *nptr, char **endptr, int base);
|
/system/extras/memory_replay/ |
D | TraceBenchmark.cpp | 419 char* endptr; in main() local 420 int cpu = strtol(&argv[i][6], &endptr, 10); in main() 421 if (argv[i][0] == '\0' || endptr == nullptr || *endptr != '\0') { in main()
|
/system/extras/verity/fec/ |
D | main.cpp | 120 char* endptr; in parse_arg() local 123 unsigned long long int value = strtoull(arg, &endptr, 0); in parse_arg() 125 if (arg[0] == '\0' || *endptr != '\0' || in parse_arg()
|
/system/libbase/include/android-base/ |
D | parsedouble.h | 31 template <typename T, T (*strtox)(const char* str, char** endptr)>
|
/system/extras/simpleperf/ |
D | event_type.cpp | 109 char* endptr; in GetTracepointEventTypesFromTraceFs() local 110 uint64_t id = strtoull(id_content.c_str(), &endptr, 10); in GetTracepointEventTypesFromTraceFs() 111 if (endptr == id_content.c_str()) { in GetTracepointEventTypesFromTraceFs()
|
/system/core/libcutils/ |
D | trace-dev.inc | 157 char *endptr; 162 tags = strtoull(value, &endptr, 0); 163 if (value[0] == '\0' || *endptr != '\0') {
|
/system/sepolicy/tools/ |
D | check_seapp.c | 425 char *endptr; in validate_uint() local 427 longvalue = strtol(value, &endptr, 10); in validate_uint() 428 if (('\0' != *endptr) || (longvalue < 0) || (longvalue > INT32_MAX)) { in validate_uint()
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 858 char* endptr; in TEST() local 860 strtol(rotated_log_filename_suffix, &endptr, 10); in TEST() 861 EXPECT_EQ(rotated_log_filename_suffix + 2, endptr); in TEST()
|
/system/memory/lmkd/ |
D | lmkd.cpp | 540 char* endptr; in parse_int64() local 541 long long val = strtoll(str, &endptr, 10); in parse_int64() 542 if (str == endptr || val > INT64_MAX) { in parse_int64()
|