Lines Matching refs:cnt
160 size_t size, cnt = 0;
179 buf[cnt++] = ' ';
180 cnt += strlcpy(&buf[cnt], host, size - cnt);
181 assert(cnt < size);
182 buf[cnt++] = '@';
183 cnt += strlcpy(&buf[cnt], serv, size - cnt);
184 assert(cnt < size);
536 ssize_t cnt = 0;
544 cnt = 0;
548 cnt = snprintf(buf, bufsz, "-");
553 cnt = snprintf(buf+off, bufsz-off,
556 cnt = snprintf(buf+off, bufsz-off,
559 cnt = snprintf(buf+off, bufsz-off,
563 cnt = snprintf(buf+off, bufsz-off,
568 if (cnt > 0) {
569 tot += (size_t)cnt;
572 } else if (cnt < 0) {