Searched refs:bitcount (Results 1 - 18 of 18) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/racoon/missing/crypto/sha2/
H A Dsha2.h82 u_int64_t bitcount; member in struct:_SHA256_CTX
87 u_int64_t bitcount[2]; member in struct:_SHA512_CTX
H A Dsha2.c321 context->bitcount = 0;
510 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
518 context->bitcount += freespace << 3;
525 context->bitcount += len << 3;
534 context->bitcount += SHA256_BLOCK_LENGTH << 3;
541 context->bitcount += len << 3;
556 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
559 REVERSE64(context->bitcount,context->bitcount);
586 *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dutils-test.c89 unsigned int bitcount = 500; local
92 tr_bitfieldConstruct( &field, bitcount );
95 for( i = 0; i < bitcount; ++i )
98 for( i = 0; i < bitcount; ++i )
102 tr_bitfieldAddRange( &field, 0, bitcount );
103 for( i = 0; i < bitcount; ++i )
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/x11/
H A Dglcanvas.cpp54 static int bitcount( unsigned long n ) function
341 a_list[n++] = bitcount(vi->red_mask);
343 a_list[n++] = bitcount(vi->green_mask);
345 a_list[n++] = bitcount(vi->blue_mask);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Dtimer.c1525 unsigned int mem_unit, bitcount; local
1553 bitcount = 0;
1556 bitcount++;
1572 info->totalram <<= bitcount;
1573 info->freeram <<= bitcount;
1574 info->sharedram <<= bitcount;
1575 info->bufferram <<= bitcount;
1576 info->totalswap <<= bitcount;
1577 info->freeswap <<= bitcount;
1578 info->totalhigh <<= bitcount;
[all...]
H A Dcompat.c1092 int bitcount = 0; local
1096 bitcount++;
1099 s.totalram >>= bitcount;
1100 s.freeram >>= bitcount;
1101 s.sharedram >>= bitcount;
1102 s.bufferram >>= bitcount;
1103 s.totalswap >>= bitcount;
1104 s.freeswap >>= bitcount;
1105 s.totalhigh >>= bitcount;
1106 s.freehigh >>= bitcount;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dgf2n.h54 //! create a random polynomial uniformly distributed over all polynomials with degree less than bitcount
55 PolynomialMod2(RandomNumberGenerator &rng, size_t bitcount) argument
56 {Randomize(rng, bitcount);}
153 void Randomize(RandomNumberGenerator &rng, size_t bitcount);
H A Dinteger.h97 /*! The random integer created is uniformly distributed over [0, 2**bitcount). */
98 Integer(RandomNumberGenerator &rng, size_t bitcount);
240 void Randomize(RandomNumberGenerator &rng, size_t bitcount);
H A Dinteger.cpp2845 Integer::Integer(RandomNumberGenerator &rng, size_t bitcount)
2847 Randomize(rng, bitcount);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/avahi-0.6.25/avahi-core/
H A Diface-pfroute.c51 static int bitcount (unsigned int n) function
172 prefixlen = bitcount((unsigned int)((struct sockaddr_in *)sa)->sin_addr.s_addr);
184 prefixlen = bitcount((unsigned int)((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr);
413 prefixlen = bitcount((unsigned int) mask.sin_addr.s_addr);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/avahi-0.6.25/avahi-core/
H A Diface-pfroute.c51 static int bitcount (unsigned int n) function
172 prefixlen = bitcount((unsigned int)((struct sockaddr_in *)sa)->sin_addr.s_addr);
184 prefixlen = bitcount((unsigned int)((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr);
413 prefixlen = bitcount((unsigned int) mask.sin_addr.s_addr);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/
H A Darcfb.c449 unsigned int fbmemlength,x,y,w,h, bitppos, startpos, endpos, bitcount; local
480 bitcount = endpos - startpos;
485 h = bitcount / xres;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/
H A Dinftlcore.c462 static int nrbits(unsigned int val, int bitcount) argument
466 for (i = 0; (i < bitcount); i++)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/
H A Dsuballoc.c1627 unsigned int bitcount = le32_to_cpu(rec->e_leaf_clusters) * bpc; local
1631 if (res->sr_bit_offset >= (bitoff + bitcount))
1635 if ((res->sr_bit_offset + res->sr_bits) > (bitoff + bitcount))
1636 res->sr_bits = (bitoff + bitcount) - res->sr_bit_offset;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A D3c59x.c496 #define BFEXT(value, offset, bitcount) \
497 ((((unsigned long)(value)) >> (offset)) & ((1 << (bitcount)) - 1))
499 #define BFINS(lhs, rhs, offset, bitcount) \
500 (((lhs) & ~((((1 << (bitcount)) - 1)) << (offset))) | \
501 (((rhs) & ((1 << (bitcount)) - 1)) << (offset)))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/icn/
H A Dicn.c76 * bitcount = Number of bits to output
82 int bitcount)
88 for (s = firstbit, c = bitcount; c > 0; s--, c--)
79 icn_shiftout(unsigned short port, unsigned long val, int firstbit, int bitcount) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dwavpackenc.c2122 int bitcount = count_bits(maxcode); local
2123 uint32_t extras = (1 << bitcount) - maxcode - 1;
2127 w->pend_count += bitcount - 1;
2130 w->pend_count += bitcount - 1;
/netgear-R7000-V1.0.7.12_1.2.5/src/shared/
H A Dbcmutils.c3959 uint bitcount = 0, i; local
3964 bitcount++;
3968 return bitcount;

Completed in 290 milliseconds