Searched refs:endp (Results 1 – 4 of 4) sorted by relevance
529 const char* endp = nullptr; in _basename_r() local541 endp = path + path_size - 1; in _basename_r()542 while (endp > path && *endp == '/') { in _basename_r()543 endp--; in _basename_r()547 if (endp == path && *endp == '/') { in _basename_r()554 startp = endp; in _basename_r()559 len = endp - startp +1; in _basename_r()613 const char* endp = nullptr; in _dirname_r() local625 endp = path + path_size - 1; in _dirname_r()626 while (endp > path && *endp == '/') { in _dirname_r()[all …]
57 static uid_t sniffUid(const char* comment, const char* endp) { in sniffUid() argument61 while ((comment < endp) && (*comment != '\n') && isspace(*comment)) in sniffUid()64 if (((comment + strlen(uid_str)) >= endp) || in sniffUid()70 if ((cp > endp) || (Uid >= INT_MAX)) return AID_ROOT; in sniffUid()202 char* endp = cp + content.length(); in ReadFileEventLogTags() local211 while (cp < endp) { in ReadFileEventLogTags()223 while ((cp < endp) && (*cp != '\n') && isspace(*cp)) ++cp; in ReadFileEventLogTags()224 if (cp >= endp) break; in ReadFileEventLogTags()229 while ((cp < endp) && (isalnum(*cp) || (*cp == '_'))) { in ReadFileEventLogTags()241 ((cp >= endp) || (*cp == '#') || isspace(*cp))) { in ReadFileEventLogTags()[all …]
331 char* endp; in sniffTime() local332 real.tv_sec = strtol(b, &endp, 10); in sniffTime()333 if ((*endp == '.') && ((endp - b) < len)) { in sniffTime()336 len -= endp - b; in sniffTime()337 while (--len && isdigit(*++endp) && (multiplier /= 10)) { in sniffTime()338 real.tv_nsec += (*endp - '0') * multiplier; in sniffTime()
225 const char* endp = cp + len; in parseMapLines() local228 if (!len || (*(endp - 1) != '\n')) { in parseMapLines()242 while (cp < endp) { in parseMapLines()