Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 4 of 4) sorted by relevance

/openssh-portable/openbsd-compat/
H A Dsetenv.c87 size_t cnt;
111 cnt = P - environ;
112 P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2));
116 memcpy(P, environ, cnt * sizeof(char *));
118 environ[cnt] = str;
119 environ[cnt + 1] = NULL;
166 size_t cnt; in setenv() local
170 cnt = P - environ; in setenv()
175 memcpy(P, environ, cnt * sizeof(char *)); in setenv()
177 offset = cnt; in setenv()
[all …]
H A Dbsd-snprintf.c506 int cnt = 0; in fmtstr() local
522 while ((padlen > 0) && (cnt < max)) { in fmtstr()
525 ++cnt; in fmtstr()
527 while (*value && (cnt < max)) { in fmtstr()
530 ++cnt; in fmtstr()
532 while ((padlen < 0) && (cnt < max)) { in fmtstr()
535 ++cnt; in fmtstr()
/openssh-portable/regress/
H A Dnetcat.c1479 size_t cnt; in socks_connect() local
1514 if (cnt != 3) in socks_connect()
1518 if (cnt != 2) in socks_connect()
1519 err(1, "read failed (%zu/3)", cnt); in socks_connect()
1567 if (cnt != wlen) in socks_connect()
1571 if (cnt != 4) in socks_connect()
1578 if (cnt != 6) in socks_connect()
1583 if (cnt != 18) in socks_connect()
1603 if (cnt != wlen) in socks_connect()
1607 if (cnt != 8) in socks_connect()
[all …]
/openssh-portable/
H A Dscp.c369 size_t cnt; member
604 off_t *cnt = (off_t *)_cnt; in scpio() local
606 *cnt += s; in scpio()
1144 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) { in source()
1145 amt = bp->cnt; in source()
1465 for (count = i = 0; i < size; i += bp->cnt) {
1466 amt = bp->cnt;
1483 if (count == bp->cnt) {
1722 if (bp->cnt >= size)
1724 bp->buf = xrecallocarray(bp->buf, bp->cnt, size, 1);
[all …]