Lines Matching full:left
71 size_t left, len; in proc_dodebug() local
78 left = *lenp; in proc_dodebug()
82 while (left && isspace(*p)) { in proc_dodebug()
83 left--; in proc_dodebug()
86 if (!left) in proc_dodebug()
89 if (left > sizeof(tmpbuf) - 1) in proc_dodebug()
91 memcpy(tmpbuf, p, left); in proc_dodebug()
92 tmpbuf[left] = '\0'; in proc_dodebug()
96 left -= (s - tmpbuf); in proc_dodebug()
97 if (left && !isspace(*s)) in proc_dodebug()
99 while (left && isspace(*s)) { in proc_dodebug()
100 left--; in proc_dodebug()
104 left = 0; in proc_dodebug()
111 if (len > left) in proc_dodebug()
112 len = left; in proc_dodebug()
114 if ((left -= len) > 0) { in proc_dodebug()
116 left--; in proc_dodebug()
121 *lenp -= left; in proc_dodebug()