Searched refs:endp (Results 1 – 4 of 4) sorted by relevance
549 const char* endp = nullptr; in _basename_r() local561 endp = path + path_size - 1; in _basename_r()562 while (endp > path && *endp == '/') { in _basename_r()563 endp--; in _basename_r()567 if (endp == path && *endp == '/') { in _basename_r()574 startp = endp; in _basename_r()579 len = endp - startp +1; in _basename_r()633 const char* endp = nullptr; in _dirname_r() local645 endp = path + path_size - 1; in _dirname_r()646 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 …]
318 char* endp; in sniffTime() local319 real.tv_sec = strtol(b, &endp, 10); in sniffTime()320 if ((*endp == '.') && ((endp - b) < len)) { in sniffTime()323 len -= endp - b; in sniffTime()324 while (--len && isdigit(*++endp) && (multiplier /= 10)) { in sniffTime()325 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()