Searched refs:endp (Results 1 – 7 of 7) sorted by relevance
/system/core/liblog/ |
D | event_tag_map.c | 230 const char* endp; in countMapLines() local 233 endp = cp + map->mapLen; in countMapLines() 237 while (cp < endp) { in countMapLines() 267 char* endp; in parseMapLines() local 270 endp = cp + map->mapLen; in parseMapLines() 273 if (*(endp-1) != '\n') { in parseMapLines() 281 while (cp < endp) { in parseMapLines() 338 char* endp; in scanTagLine() local 346 val = strtoul(startp, &endp, 10); in scanTagLine() 347 assert(endp == cp); in scanTagLine() [all …]
|
/system/core/toolbox/ |
D | ioctl.c | 54 char* endp; in xstrtoi() local 56 long result = strtol(s, &endp, 0); in xstrtoi() 57 if (errno != 0 || *endp != '\0') { in xstrtoi() 120 char* endp; in ioctl_main() local 121 int ioctl_nr = UINT_MAX & strtoll(argv[optind], &endp, 0); in ioctl_main() 122 if (errno != 0 || *endp != '\0') { in ioctl_main()
|
/system/core/logd/ |
D | LogKlog.cpp | 373 char *endp; in sniffTime() local 374 real.tv_sec = strtol(b, &endp, 10); in sniffTime() 375 if ((*endp == '.') && ((size_t)(endp - b) < len)) { in sniffTime() 378 len -= endp - b; in sniffTime() 379 while (--len && isdigit(*++endp) && (multiplier /= 10)) { in sniffTime() 380 real.tv_nsec += (*endp - '0') * multiplier; in sniffTime()
|
/system/update_engine/ |
D | p2p_manager_unittest.cc | 295 char* endp = nullptr; in CheckP2PFile() local 296 long long int val = strtoll(ea_value, &endp, 0); // NOLINT(runtime/int) in CheckP2PFile() 297 if (endp == nullptr || *endp != '\0') { in CheckP2PFile()
|
D | p2p_manager.cc | 658 char* endp = nullptr; in FileGetExpectedSize() local 659 long long int val = strtoll(ea_value, &endp, 0); // NOLINT(runtime/int) in FileGetExpectedSize() 660 if (*endp != '\0') { in FileGetExpectedSize()
|
/system/extras/simpleperf/ |
D | environment.cpp | 89 char* endp; in GetCpusFromString() local 93 while ((cpu = strtol(p, &endp, 10)) != 0 || endp != p) { in GetCpusFromString() 102 p = endp; in GetCpusFromString()
|
/system/core/logcat/ |
D | logcat.cpp | 404 char *endp; in getSizeTArg() local 406 size_t ret = (size_t)strtoll(ptr, &endp, 0); in getSizeTArg() 408 if (endp[0] || errno) { in getSizeTArg()
|