/system/core/libpackagelistparser/ |
D | packagelistparser.c | 63 char *endptr; in parse_gids() local 72 gid = strtoul(token, &endptr, 10); in parse_gids() 73 if (*endptr != '\0') { in parse_gids() 97 char *endptr; in packagelist_parse() local 141 tmp = strtoul(cur, &endptr, 10); in packagelist_parse() 142 if (*endptr != '\0') { in packagelist_parse() 164 tmp = strtoul(cur, &endptr, 10); in packagelist_parse() 165 if (*endptr != '\0') { in packagelist_parse()
|
/system/core/metricsd/ |
D | metrics_client.cc | 55 char *endptr; in ParseInt() local 56 int value = strtol(arg, &endptr, 0); in ParseInt() 57 if (*endptr != '\0') { in ParseInt() 65 char *endptr; in ParseDouble() local 66 double value = strtod(arg, &endptr); in ParseDouble() 67 if (*endptr != '\0') { in ParseDouble()
|
/system/vold/ |
D | ScryptParameters.cpp | 35 char *endptr; in parse_scrypt_parameters() local 36 params[i] = strtol(token, &endptr, 10); in parse_scrypt_parameters() 41 if ((*token == '\0') || (*endptr != '\0') || params[i] < 0 || params[i] > 255) { in parse_scrypt_parameters()
|
D | CommandListener.cpp | 440 char *endptr; in runCommand() local 441 gid_t gid = (gid_t) strtoul(argv[3], &endptr, 10); in runCommand() 442 if (*endptr != '\0') { in runCommand()
|
/system/core/init/ |
D | ueventd.cpp | 105 char *endptr; in set_device_permission() local 147 perm = strtol(args[1], &endptr, 8); in set_device_permission() 148 if (!endptr || *endptr != '\0') { in set_device_permission()
|
/system/core/libsysutils/src/ |
D | FrameworkListener.cpp | 154 char *endptr; in dispatchCommand() local 155 int cmdNum = (int)strtol(tmp, &endptr, 0); in dispatchCommand() 156 if (endptr == NULL || *endptr != '\0') { in dispatchCommand()
|
/system/extras/simpleperf/ |
D | cmd_record.cpp | 305 char* endptr; in ParseOptions() local 306 sample_period_ = strtoull(args[i].c_str(), &endptr, 0); in ParseOptions() 307 if (*endptr != '\0' || sample_period_ == 0) { in ParseOptions() 324 char* endptr; in ParseOptions() local 325 uint64_t size = strtoull(strs[1].c_str(), &endptr, 0); in ParseOptions() 326 if (*endptr != '\0' || size > UINT_MAX) { in ParseOptions() 359 char* endptr; in ParseOptions() local 360 sample_freq_ = strtoull(args[i].c_str(), &endptr, 0); in ParseOptions() 361 if (*endptr != '\0' || sample_freq_ == 0) { in ParseOptions() 386 char* endptr; in ParseOptions() local [all …]
|
D | event_type.cpp | 51 char* endptr; in GetTracepointEventTypes() local 52 uint64_t id = strtoull(id_content.c_str(), &endptr, 10); in GetTracepointEventTypes() 53 if (endptr == id_content.c_str()) { in GetTracepointEventTypes()
|
/system/core/libcutils/ |
D | trace-dev.c | 122 char *endptr; in atrace_get_property() local 127 tags = strtoull(value, &endptr, 0); in atrace_get_property() 128 if (value[0] == '\0' || *endptr != '\0') { in atrace_get_property()
|
/system/core/fastboot/ |
D | fastboot.cpp | 1263 char *endptr; in parse_num() local 1266 num = strtoull(arg, &endptr, 0); in parse_num() 1267 if (endptr == arg) { in parse_num() 1271 if (*endptr == 'k' || *endptr == 'K') { in parse_num() 1276 endptr++; in parse_num() 1277 } else if (*endptr == 'm' || *endptr == 'M') { in parse_num() 1282 endptr++; in parse_num() 1283 } else if (*endptr == 'g' || *endptr == 'G') { in parse_num() 1288 endptr++; in parse_num() 1291 if (*endptr != '\0') { in parse_num() [all …]
|
/system/extras/ext4_utils/ |
D | ext4_utils.c | 583 char *endptr; in parse_num() local 584 u64 num = strtoull(arg, &endptr, 10); in parse_num() 585 if (*endptr == 'k' || *endptr == 'K') in parse_num() 587 else if (*endptr == 'm' || *endptr == 'M') in parse_num() 589 else if (*endptr == 'g' || *endptr == 'G') in parse_num()
|
/system/netd/server/ |
D | NetdConstants.cpp | 196 char *endptr; in parsePrefix() local 198 templen = strtoul(prefixlenString, &endptr, 10); in parsePrefix() 199 if (*endptr || templen > 255) { in parsePrefix()
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 98 simple_strtoul(const char *nptr, char **endptr, int base) in simple_strtoul() argument 100 return strtoul(nptr, endptr, base); in simple_strtoul()
|
/system/extras/procmem/ |
D | procmem.c | 75 char *endptr; in main() local 97 pid = (pid_t)strtol(argv[argc - 1], &endptr, 10); in main() 98 if (*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/extras/verity/ |
D | build_verity_tree.cpp | 182 char* endptr; in main() local 184 unsigned long long int inSize = strtoull(optarg, &endptr, 0); in main() 185 if (optarg[0] == '\0' || *endptr != '\0' || in main()
|
/system/bt/osi/src/ |
D | config.c | 160 char *endptr; in config_get_int() local 161 int ret = strtol(entry->value, &endptr, 0); in config_get_int() 162 return (*endptr == '\0') ? ret : def_value; in config_get_int()
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 644 char* endptr; in TEST() local 645 const long int suffix_value = strtol(rotated_log_filename_suffix, &endptr, 10); in TEST() 646 EXPECT_EQ(rotated_log_filename_suffix + 2, endptr); in TEST()
|
/system/bt/btif/src/ |
D | btif_dm.c | 2918 char* endptr; in btif_dm_get_smp_config() local 2924 p_cfg->ble_auth_req = (UINT8) strtoul(pch, &endptr, 16); in btif_dm_get_smp_config() 2929 p_cfg->ble_io_cap = (UINT8) strtoul(pch, &endptr, 16); in btif_dm_get_smp_config() 2934 p_cfg->ble_init_key = (UINT8) strtoul(pch, &endptr, 16); in btif_dm_get_smp_config() 2939 p_cfg->ble_resp_key = (UINT8) strtoul(pch, &endptr, 16); in btif_dm_get_smp_config() 2944 p_cfg->ble_max_key_size = (UINT8) strtoul(pch, &endptr, 16); in btif_dm_get_smp_config()
|