/system/vold/ |
H A D | ScryptParameters.cpp | 35 char *endptr; local 36 params[i] = strtol(token, &endptr, 10); 41 if ((*token == '\0') || (*endptr != '\0') || params[i] < 0 || params[i] > 255) {
|
H A D | CommandListener.cpp | 440 char *endptr; local 441 gid_t gid = (gid_t) strtoul(argv[3], &endptr, 10); 442 if (*endptr != '\0') {
|
/system/core/metricsd/ |
H A D | metrics_client.cc | 55 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 D | packagelistparser.c | 63 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 D | ueventd.cpp | 105 char *endptr; local 147 perm = strtol(args[1], &endptr, 8); 148 if (!endptr || *endptr != '\0') {
|
/system/core/libsysutils/src/ |
H A D | FrameworkListener.cpp | 143 char *endptr; local 144 int cmdNum = (int)strtol(tmp, &endptr, 0); 145 if (endptr == NULL || *endptr != '\0') {
|
/system/core/libcutils/ |
H A D | trace-dev.c | 122 char *endptr; local 127 tags = strtoull(value, &endptr, 0); 128 if (value[0] == '\0' || *endptr != '\0') {
|
/system/extras/simpleperf/ |
H A D | event_type.cpp | 51 char* endptr; local 52 uint64_t id = strtoull(id_content.c_str(), &endptr, 10); 53 if (endptr == id_content.c_str()) {
|
H A D | cmd_record.cpp | 305 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 D | fastboot.cpp | 1119 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 D | ext4_utils.c | 583 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 D | kernel.h | 98 simple_strtoul(const char *nptr, char **endptr, int base) argument 100 return strtoul(nptr, endptr, base);
|
/system/extras/procmem/ |
H A D | procmem.c | 75 char *endptr; local 97 pid = (pid_t)strtol(argv[argc - 1], &endptr, 10); 98 if (*endptr != '\0') {
|
/system/netd/server/ |
H A D | NetdConstants.cpp | 196 char *endptr; local 198 templen = strtoul(prefixlenString, &endptr, 10); 199 if (*endptr || templen > 255) {
|
/system/extras/verity/ |
H A D | build_verity_tree.cpp | 182 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 D | main.cpp | 120 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 D | config.c | 160 char *endptr; local 161 int ret = strtol(entry->value, &endptr, 0); 162 return (*endptr == '\0') ? ret : def_value;
|
/system/core/logcat/tests/ |
H A D | logcat_test.cpp | 624 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 D | btif_dm.c | 2919 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);
|