Searched refs:endptr (Results 1 - 19 of 19) sorted by relevance

/system/vold/
H A DScryptParameters.cpp35 char *endptr; local
36 params[i] = strtol(token, &endptr, 10);
41 if ((*token == '\0') || (*endptr != '\0') || params[i] < 0 || params[i] > 255) {
H A DCommandListener.cpp440 char *endptr; local
441 gid_t gid = (gid_t) strtoul(argv[3], &endptr, 10);
442 if (*endptr != '\0') {
/system/core/metricsd/
H A Dmetrics_client.cc55 char *endptr; local
56 int value = strtol(arg, &endptr, 0);
57 if (*endptr != '\0') {
65 char *endptr; local
66 double value = strtod(arg, &endptr);
67 if (*endptr != '\0') {
/system/core/libpackagelistparser/
H A Dpackagelistparser.c63 char *endptr; local
72 gid = strtoul(token, &endptr, 10);
73 if (*endptr != '\0') {
97 char *endptr; local
141 tmp = strtoul(cur, &endptr, 10);
142 if (*endptr != '\0') {
164 tmp = strtoul(cur, &endptr, 10);
165 if (*endptr != '\0') {
/system/core/init/
H A Dueventd.cpp105 char *endptr; local
147 perm = strtol(args[1], &endptr, 8);
148 if (!endptr || *endptr != '\0') {
/system/core/libsysutils/src/
H A DFrameworkListener.cpp143 char *endptr; local
144 int cmdNum = (int)strtol(tmp, &endptr, 0);
145 if (endptr == NULL || *endptr != '\0') {
/system/core/libcutils/
H A Dtrace-dev.c122 char *endptr; local
127 tags = strtoull(value, &endptr, 0);
128 if (value[0] == '\0' || *endptr != '\0') {
/system/extras/simpleperf/
H A Devent_type.cpp51 char* endptr; local
52 uint64_t id = strtoull(id_content.c_str(), &endptr, 10);
53 if (endptr == id_content.c_str()) {
H A Dcmd_record.cpp305 char* endptr; local
306 sample_period_ = strtoull(args[i].c_str(), &endptr, 0);
307 if (*endptr != '\0' || sample_period_ == 0) {
324 char* endptr; local
325 uint64_t size = strtoull(strs[1].c_str(), &endptr, 0);
326 if (*endptr != '\0' || size > UINT_MAX) {
359 char* endptr; local
360 sample_freq_ = strtoull(args[i].c_str(), &endptr, 0);
361 if (*endptr != '\0' || sample_freq_ == 0) {
386 char* endptr; local
[all...]
/system/core/fastboot/
H A Dfastboot.cpp1119 char *endptr; local
1122 num = strtoull(arg, &endptr, 0);
1123 if (endptr == arg) {
1127 if (*endptr == 'k' || *endptr == 'K') {
1132 endptr++;
1133 } else if (*endptr == 'm' || *endptr == 'M') {
1138 endptr++;
1139 } else if (*endptr
1307 char *endptr = nullptr; local
[all...]
/system/extras/ext4_utils/
H A Dext4_utils.c583 char *endptr; local
584 u64 num = strtoull(arg, &endptr, 10);
585 if (*endptr == 'k' || *endptr == 'K')
587 else if (*endptr == 'm' || *endptr == 'M')
589 else if (*endptr == 'g' || *endptr == 'G')
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/
H A Dkernel.h98 simple_strtoul(const char *nptr, char **endptr, int base) argument
100 return strtoul(nptr, endptr, base);
/system/extras/procmem/
H A Dprocmem.c75 char *endptr; local
97 pid = (pid_t)strtol(argv[argc - 1], &endptr, 10);
98 if (*endptr != '\0') {
/system/netd/server/
H A DNetdConstants.cpp196 char *endptr; local
198 templen = strtoul(prefixlenString, &endptr, 10);
199 if (*endptr || templen > 255) {
/system/extras/verity/
H A Dbuild_verity_tree.cpp182 char* endptr; local
184 unsigned long long int inSize = strtoull(optarg, &endptr, 0);
185 if (optarg[0] == '\0' || *endptr != '\0' ||
/system/extras/verity/fec/
H A Dmain.cpp120 char* endptr; local
123 unsigned long long int value = strtoull(arg, &endptr, 0);
125 if (arg[0] == '\0' || *endptr != '\0' ||
/system/bt/osi/src/
H A Dconfig.c160 char *endptr; local
161 int ret = strtol(entry->value, &endptr, 0);
162 return (*endptr == '\0') ? ret : def_value;
/system/core/logcat/tests/
H A Dlogcat_test.cpp624 char* endptr; local
625 const long int suffix_value = strtol(rotated_log_filename_suffix, &endptr, 10);
626 EXPECT_EQ(rotated_log_filename_suffix + 2, endptr);
/system/bt/btif/src/
H A Dbtif_dm.c2919 char* endptr; local
2925 p_cfg->ble_auth_req = (UINT8) strtoul(pch, &endptr, 16);
2930 p_cfg->ble_io_cap = (UINT8) strtoul(pch, &endptr, 16);
2935 p_cfg->ble_init_key = (UINT8) strtoul(pch, &endptr, 16);
2940 p_cfg->ble_resp_key = (UINT8) strtoul(pch, &endptr, 16);
2945 p_cfg->ble_max_key_size = (UINT8) strtoul(pch, &endptr, 16);

Completed in 454 milliseconds