Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 8 of 8) sorted by relevance

/openssh-portable/
H A Datomicio.c56 size_t pos = 0; in atomicio6() local
67 res = (f) (fd, s + pos, n - pos); in atomicio6()
74 return pos; in atomicio6()
84 return pos; in atomicio6()
89 return pos; in atomicio6()
93 return pos; in atomicio6()
136 return pos; in atomiciov6()
146 return pos; in atomiciov6()
149 pos += rem; in atomiciov6()
169 return pos; in atomiciov6()
[all …]
H A Dsmult_curve25519_ref.c143 int pos; in mainloop() local
152 for (pos = 254;pos >= 0;--pos) { in mainloop()
153 b = e[pos / 8] >> (pos & 7); in mainloop()
H A Dge25519.c170 static void choose_t(ge25519_aff *t, unsigned long long pos, signed char b) in choose_t() argument
174 *t = ge25519_base_multiples_affine[5*pos+0]; in choose_t()
175 cmov_aff(t, &ge25519_base_multiples_affine[5*pos+1],equal(b,1) | equal(b,-1)); in choose_t()
176 cmov_aff(t, &ge25519_base_multiples_affine[5*pos+2],equal(b,2) | equal(b,-2)); in choose_t()
177 cmov_aff(t, &ge25519_base_multiples_affine[5*pos+3],equal(b,3) | equal(b,-3)); in choose_t()
178 cmov_aff(t, &ge25519_base_multiples_affine[5*pos+4],equal(b,-4)); in choose_t()
H A Dloginrec.c873 off_t pos, ret; in utmp_write_direct() local
875 pos = (off_t)tty * sizeof(struct utmp); in utmp_write_direct()
876 if ((ret = lseek(fd, pos, SEEK_SET)) == -1) { in utmp_write_direct()
881 if (ret != pos) { in utmp_write_direct()
898 if ((ret = lseek(fd, pos, SEEK_SET)) == -1) { in utmp_write_direct()
903 if (ret != pos) { in utmp_write_direct()
H A Dssh-keygen.c609 size_t pos = 0; in get_line() local
613 if (pos >= len - 1) in get_line()
620 return pos; in get_line()
622 return pos; in get_line()
624 line[pos++] = c; in get_line()
625 line[pos] = '\0'; in get_line()
/openssh-portable/openbsd-compat/
H A Dbase64.c201 char *pos; in b64_pton() local
213 pos = strchr(Base64, ch); in b64_pton()
214 if (pos == 0) /* A non-base64 character. */ in b64_pton()
222 target[tarindex] = (pos - Base64) << 2; in b64_pton()
230 target[tarindex] |= (pos - Base64) >> 4; in b64_pton()
231 target[tarindex+1] = ((pos - Base64) & 0x0f) in b64_pton()
241 target[tarindex] |= (pos - Base64) >> 2; in b64_pton()
242 target[tarindex+1] = ((pos - Base64) & 0x03) in b64_pton()
252 target[tarindex] |= (pos - Base64); in b64_pton()
H A Dgetopt_long.c142 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; in permute_args() local
155 pos = cstart; in permute_args()
157 if (pos >= panonopt_end) in permute_args()
158 pos -= nnonopts; in permute_args()
160 pos += nopts; in permute_args()
161 swap = nargv[pos]; in permute_args()
163 ((char **) nargv)[pos] = nargv[cstart]; in permute_args()
H A Dbsd-snprintf.c159 #define DOPR_OUTCH(buf, pos, buflen, thechar) \ argument
161 if (pos + 1 >= INT_MAX) { \
165 if (pos < buflen) \
166 buf[pos] = thechar; \
167 (pos)++; \