Searched refs:endp (Results 1 – 6 of 6) sorted by relevance
56 static uid_t sniffUid(const char* comment, const char* endp) { in sniffUid() argument60 while ((comment < endp) && (*comment != '\n') && isspace(*comment)) in sniffUid()63 if (((comment + strlen(uid_str)) >= endp) || in sniffUid()69 if ((cp > endp) || (Uid >= INT_MAX)) return AID_ROOT; in sniffUid()201 char* endp = cp + content.length(); in ReadFileEventLogTags() local210 while (cp < endp) { in ReadFileEventLogTags()222 while ((cp < endp) && (*cp != '\n') && isspace(*cp)) ++cp; in ReadFileEventLogTags()223 if (cp >= endp) break; in ReadFileEventLogTags()228 while ((cp < endp) && (isalnum(*cp) || (*cp == '_'))) { in ReadFileEventLogTags()240 ((cp >= endp) || (*cp == '#') || isspace(*cp))) { in ReadFileEventLogTags()[all …]
333 char* endp; in sniffTime() local334 real.tv_sec = strtol(b, &endp, 10); in sniffTime()335 if ((*endp == '.') && ((endp - b) < len)) { in sniffTime()338 len -= endp - b; in sniffTime()339 while (--len && isdigit(*++endp) && (multiplier /= 10)) { in sniffTime()340 real.tv_nsec += (*endp - '0') * multiplier; in sniffTime()
418 char* endp; in GetCpusFromString() local422 while ((cpu = static_cast<int>(strtol(p, &endp, 10))) != 0 || endp != p) { in GetCpusFromString()431 p = endp; in GetCpusFromString()
301 char* endp = nullptr; in CheckP2PFile() local302 long long int val = strtoll(ea_value, &endp, 0); // NOLINT(runtime/int) in CheckP2PFile()303 if (endp == nullptr || *endp != '\0') { in CheckP2PFile()
656 char* endp = nullptr; in FileGetExpectedSize() local657 long long int val = strtoll(ea_value, &endp, 0); // NOLINT(runtime/int) in FileGetExpectedSize()658 if (*endp != '\0') { in FileGetExpectedSize()
352 const char* endp = cp + len; in parseMapLines() local355 if (!len || (*(endp - 1) != '\n')) { in parseMapLines()369 while (cp < endp) { in parseMapLines()