Searched refs:wnum (Results 1 - 8 of 8) sorted by relevance

/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dstrptime.c187 * Set `timeptr' given `wnum' (week number [0, 53])
191 set_week_number_sun (struct tm *timeptr, int wnum) argument
195 timeptr->tm_yday = wnum * 7 + timeptr->tm_wday - fday;
203 * Set `timeptr' given `wnum' (week number [0, 53])
207 set_week_number_mon (struct tm *timeptr, int wnum) argument
211 timeptr->tm_yday = wnum * 7 + (timeptr->tm_wday + 6) % 7 - fday;
219 * Set `timeptr' given `wnum' (week number [0, 53])
223 set_week_number_mon4 (struct tm *timeptr, int wnum) argument
231 timeptr->tm_yday = offset + (wnum - 1) * 7 + timeptr->tm_wday - fday;
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_div.c269 BN_ULONG *resp, *wnum, *wnumtop; local
319 wnum = &(snum->d[loop]);
343 * to calculate a BN_ULONG q such that | wnum - sdiv * q | < sdiv
355 BN_ULONG n2 = (wnumtop == wnum) ? 0 : wnumtop[-2];
424 wnum--;
429 l0 = bn_sub_words(wnum, wnum, tmp->d, div_n + 1);
433 * the calculation of q, sdiv * q might be greater than wnum (but
434 * then (q-1) * sdiv is less or equal than wnum)
438 l0 = bn_add_words(wnum, wnu
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/bn/
H A Dbn_div.c269 BN_ULONG *resp, *wnum, *wnumtop; local
319 wnum = &(snum->d[loop]);
343 * to calculate a BN_ULONG q such that | wnum - sdiv * q | < sdiv
355 BN_ULONG n2 = (wnumtop == wnum) ? 0 : wnumtop[-2];
424 wnum--;
429 l0 = bn_sub_words(wnum, wnum, tmp->d, div_n + 1);
433 * the calculation of q, sdiv * q might be greater than wnum (but
434 * then (q-1) * sdiv is less or equal than wnum)
438 l0 = bn_add_words(wnum, wnu
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/ssl/record/
H A Drec_layer_s3.c49 rl->wnum = 0;
364 tot = s->rlayer.wnum;
374 if ((len < s->rlayer.wnum)
375 || ((wb->left != 0) && (len < (s->rlayer.wnum + s->rlayer.wpend_tot)))) {
387 s->rlayer.wnum = 0;
422 s->rlayer.wnum = tot;
484 s->rlayer.wnum = tot;
544 s->rlayer.wnum = tot;
638 s->rlayer.wnum = tot;
H A Drecord.h151 size_t wnum; member in struct:record_layer_st
/netbsd-current/crypto/external/bsd/openssl/dist/ssl/record/
H A Drec_layer_s3.c49 rl->wnum = 0;
377 tot = s->rlayer.wnum;
387 if ((len < s->rlayer.wnum)
388 || ((wb->left != 0) && (len < (s->rlayer.wnum + s->rlayer.wpend_tot)))) {
399 s->rlayer.wnum = 0;
436 s->rlayer.wnum = tot;
501 s->rlayer.wnum = tot;
561 s->rlayer.wnum = tot;
653 s->rlayer.wnum = tot;
H A Drecord.h153 size_t wnum; member in struct:record_layer_st
/netbsd-current/external/bsd/openldap/dist/libraries/liblunicode/ucdata/
H A Ducgendat.c832 short wnum, neg, number[2], compat; local
1071 for (e = s, neg = wnum = 0; *e && *e != ';'; e++) {
1082 number[wnum] *= -1;
1085 wnum++;
1087 number[wnum] = (number[wnum] * 10) + (*e - '0');
1094 if (wnum == 0)

Completed in 221 milliseconds