Lines Matching full:left
90 size_t left, len; in proc_dodebug() local
97 left = *lenp; in proc_dodebug()
101 while (left && isspace(*p)) { in proc_dodebug()
102 left--; in proc_dodebug()
105 if (!left) in proc_dodebug()
108 if (left > sizeof(tmpbuf) - 1) in proc_dodebug()
110 memcpy(tmpbuf, p, left); in proc_dodebug()
111 tmpbuf[left] = '\0'; in proc_dodebug()
115 left -= (s - tmpbuf); in proc_dodebug()
116 if (left && !isspace(*s)) in proc_dodebug()
118 while (left && isspace(*s)) { in proc_dodebug()
119 left--; in proc_dodebug()
123 left = 0; in proc_dodebug()
130 if (len > left) in proc_dodebug()
131 len = left; in proc_dodebug()
133 if ((left -= len) > 0) { in proc_dodebug()
135 left--; in proc_dodebug()
140 *lenp -= left; in proc_dodebug()