Lines Matching refs:next
76 const char *curr = txt, *next = txt;
97 const size_t len_next = strlen(next);
100 next += len_next;
103 next += available_len;
104 curr = next; /* will split at this point */
107 while (*next != '\0' && (size_t)(next - txt) <= available_len) {
108 curr = next;
109 next = strstr(curr, separator);
110 if (next != NULL) {
111 next += strlen(separator);
112 trailing_separator = *next == '\0';
114 next = curr + strlen(curr);
117 if ((size_t)(next - txt) <= available_len)
118 curr = NULL; /* the above loop implies *next == '\0' */
133 tmp = OPENSSL_strndup(txt, next - strlen(separator) - txt);
142 txt = next; /* finished */