/freebsd-current/contrib/bearssl/src/int/ |
H A D | i15_decmod.c | 55 size_t mlen, tlen; local 60 mlen = (m[0] + 15) >> 4; 61 tlen = (mlen << 1); 91 if (v <= mlen) {
|
H A D | i15_modpow.c | 33 size_t mlen; local 36 mlen = ((m[0] + 31) >> 4) * sizeof m[0]; 37 memcpy(t1, x, mlen); 46 CCOPY(ctl, x, t2, mlen); 48 memcpy(t1, t2, mlen);
|
H A D | i15_modpow2.c | 33 size_t mlen, mwlen; local 43 mlen = mwlen * sizeof m[0]; 74 memcpy(t2, x, mlen); 76 memcpy(t2 + mwlen, x, mlen); 124 memcpy(x, t1, mlen); 152 CCOPY(NEQ(bits, 0), x, t1, mlen);
|
H A D | i15_muladd.c | 62 size_t u, mlen; local 80 mlen = (m_bitlen + 15) >> 4; 109 hi = x[mlen]; 111 a0 = x[mlen]; 112 memmove(x + 2, x + 1, (mlen - 1) * sizeof *x); 114 a = (a0 << 15) + x[mlen]; 115 b = m[mlen]; 117 a0 = (x[mlen] << (15 - mblr)) | (x[mlen - 1] >> mblr); 118 memmove(x + 2, x + 1, (mlen [all...] |
H A D | i15_reduce.c | 32 size_t mlen, alen, u; local 35 mlen = (m_bitlen + 15) >> 4; 50 for (u = alen; u < mlen; u ++) { 61 memcpy(x + 1, a + 2 + (alen - mlen), (mlen - 1) * sizeof *a); 62 x[mlen] = 0; 63 for (u = 1 + alen - mlen; u > 0; u --) {
|
H A D | i31_decmod.c | 55 size_t mlen, tlen; local 60 mlen = (m[0] + 31) >> 5; 61 tlen = (mlen << 2); 91 if (v <= mlen) {
|
H A D | i31_modpow.c | 33 size_t mlen; local 37 * 'mlen' is the length of m[] expressed in bytes (including 40 mlen = ((m[0] + 63) >> 5) * sizeof m[0]; 52 memcpy(t1, x, mlen); 61 CCOPY(ctl, x, t2, mlen); 63 memcpy(t1, t2, mlen);
|
H A D | i31_modpow2.c | 33 size_t mlen, mwlen; local 43 mlen = mwlen * sizeof m[0]; 74 memcpy(t2, x, mlen); 76 memcpy(t2 + mwlen, x, mlen); 124 memcpy(x, t1, mlen); 152 CCOPY(NEQ(bits, 0), x, t1, mlen);
|
H A D | i31_muladd.c | 33 size_t u, mlen; local 54 mlen = (m_bitlen + 31) >> 5; 83 hi = x[mlen]; 85 a0 = x[mlen]; 86 memmove(x + 2, x + 1, (mlen - 1) * sizeof *x); 88 a1 = x[mlen]; 89 b0 = m[mlen]; 91 a0 = ((x[mlen] << (31 - mblr)) | (x[mlen - 1] >> mblr)) 93 memmove(x + 2, x + 1, (mlen [all...] |
H A D | i31_reduce.c | 32 size_t mlen, alen, u; local 35 mlen = (m_bitlen + 31) >> 5; 50 for (u = alen; u < mlen; u ++) { 61 memcpy(x + 1, a + 2 + (alen - mlen), (mlen - 1) * sizeof *a); 62 x[mlen] = 0; 63 for (u = 1 + alen - mlen; u > 0; u --) {
|
H A D | i32_decmod.c | 33 size_t u, v, mlen; local 43 mlen = (m[0] + 7) >> 3; 45 for (u = (mlen > len) ? mlen : len; u > 0; u --) { 49 if (v >= mlen) { 68 u = (mlen > len) ? len : mlen;
|
H A D | i32_modpow.c | 33 size_t mlen; local 37 * 'mlen' is the length of m[] expressed in bytes (including 40 mlen = ((m[0] + 63) >> 5) * sizeof m[0]; 52 memcpy(t1, x, mlen); 61 CCOPY(ctl, x, t2, mlen); 63 memcpy(t1, t2, mlen);
|
H A D | i32_muladd.c | 32 size_t u, mlen; local 49 mlen = (m_bitlen + 31) >> 5; 78 hi = x[mlen]; 79 memmove(x + 2, x + 1, (mlen - 1) * sizeof *x); 108 for (u = 1; u <= mlen; u ++) {
|
H A D | i32_reduce.c | 32 size_t mlen, alen, u; local 35 mlen = (m_bitlen + 31) >> 5; 50 for (u = alen; u < mlen; u ++) { 61 memcpy(x + 1, a + 2 + (alen - mlen), (mlen - 1) * sizeof *a); 62 x[mlen] = 0; 63 for (u = 1 + alen - mlen; u > 0; u --) {
|
/freebsd-current/contrib/file/src/ |
H A D | apprentice.c | 1553 size_t mlen; local 1556 mlen = maxfiles * sizeof(*filearr); 1558 realloc(filearr, mlen))) == NULL) { 1559 file_oomem(ms, mlen);
|
H A D | ascmagic.c | 113 size_t mlen, i, len; local 145 mlen = ulen * 6; 146 if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) { 147 file_oomem(ms, mlen); 150 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen))
|
H A D | encoding.c | 81 size_t mlen; local 99 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); 100 *ubuf = CAST(file_unichar_t *, calloc(CAST(size_t, 1), mlen)); 102 file_oomem(ms, mlen); 152 mlen = (nbytes + 1) * sizeof(nbuf[0]); 153 if ((nbuf = CAST(unsigned char *, malloc(mlen))) == NULL) { 154 file_oomem(ms, mlen);
|
H A D | funcs.c | 75 file_checkfield(char *msg, size_t mlen, const char *what, const char **pp) argument 88 snprintf(msg, mlen, "field %s too large: %d", what, fw); 94 file_checkfmt(char *msg, size_t mlen, const char *fmt) argument 107 snprintf(msg, mlen, "* not allowed in format"); 111 if (!file_checkfield(msg, mlen, "width", &p)) 116 if (!file_checkfield(msg, mlen, "precision", &p)) 122 snprintf(msg, mlen, "bad format char: %c", *p);
|
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_blake2s_ref.c | 336 size_t mlen = i; local 343 while (mlen >= step) { 347 mlen -= step; 350 if ( (err = blake2s_update(&S, p, mlen)) < 0) {
|
H A D | archive_blake2sp_ref.c | 328 size_t mlen = i; local 335 while (mlen >= step) { 339 mlen -= step; 342 if ( (err = blake2sp_update(&S, p, mlen)) < 0) {
|
/freebsd-current/contrib/libpcap/ |
H A D | gencode.c | 6977 register int nlen, mlen; local 6994 mlen = __pcap_atoin(s2, &m); 6995 if (mlen < 0) 6998 m <<= 32 - mlen;
|
/freebsd-current/contrib/libucl/src/ |
H A D | ucl_util.c | 2174 int mlen; local 2177 mlen = strlen (find); 2183 } while (strncmp (s, find, mlen) != 0); 2196 int mlen; local 2200 mlen = strlen (find); 2206 } while (strncasecmp (s, find, mlen) != 0);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | regcomp.c | 349 g->mlen = 0; 1586 - findmust - fill in must and mlen with longest mandatory literal string 1592 * Note that must and mlen got initialized during setup. 1639 if (newlen > g->mlen) { /* ends one */ 1641 g->mlen = newlen; 1648 if (g->mlen == 0) /* there isn't one */ 1652 g->must = malloc((size_t)g->mlen + 1); 1654 g->mlen = 0; 1659 for (i = g->mlen; i > 0; i--) { 1662 assert(cp < g->must + g->mlen); [all...] |
H A D | regex2.h | 153 int mlen; /* length of must */ member in struct:re_guts
|
/freebsd-current/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_settings.cpp | 5156 size_t len = 0, mlen = MAX_STR_LEN; local 5161 while (*pos && mlen) { 5174 mlen--; 5177 if (len == 0 || mlen == 0) {
|