Lines Matching refs:scnt
37 unsigned int scnt; in debugifc_count_whitespace() local
40 for (scnt = 0; scnt < count; scnt++) { in debugifc_count_whitespace()
41 ch = buf[scnt]; in debugifc_count_whitespace()
47 return scnt; in debugifc_count_whitespace()
54 unsigned int scnt; in debugifc_count_nonwhitespace() local
57 for (scnt = 0; scnt < count; scnt++) { in debugifc_count_nonwhitespace()
58 ch = buf[scnt]; in debugifc_count_nonwhitespace()
63 return scnt; in debugifc_count_nonwhitespace()
74 unsigned int scnt; in debugifc_isolate_word() local
78 scnt = debugifc_count_whitespace(buf,count); in debugifc_isolate_word()
79 consume_cnt += scnt; count -= scnt; buf += scnt; in debugifc_isolate_word()
82 scnt = debugifc_count_nonwhitespace(buf,count); in debugifc_isolate_word()
83 if (!scnt) goto done; in debugifc_isolate_word()
85 wlen = scnt; in debugifc_isolate_word()
86 consume_cnt += scnt; count -= scnt; buf += scnt; in debugifc_isolate_word()
213 unsigned int scnt; in pvr2_debugifc_do1cmd() local
215 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
216 if (!scnt) return 0; in pvr2_debugifc_do1cmd()
217 count -= scnt; buf += scnt; in pvr2_debugifc_do1cmd()
222 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
223 if (!scnt) return -EINVAL; in pvr2_debugifc_do1cmd()
224 count -= scnt; buf += scnt; in pvr2_debugifc_do1cmd()
249 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
250 if (!scnt) return -EINVAL; in pvr2_debugifc_do1cmd()
251 count -= scnt; buf += scnt; in pvr2_debugifc_do1cmd()
254 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
255 if (scnt && wptr) { in pvr2_debugifc_do1cmd()
256 count -= scnt; buf += scnt; in pvr2_debugifc_do1cmd()
278 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
279 if (!scnt) return -EINVAL; in pvr2_debugifc_do1cmd()
280 count -= scnt; buf += scnt; in pvr2_debugifc_do1cmd()
287 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
288 if (!scnt) return -EINVAL; in pvr2_debugifc_do1cmd()
289 count -= scnt; buf += scnt; in pvr2_debugifc_do1cmd()
293 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()