Home
last modified time | relevance | path

Searched refs:BITSIZE (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/test/Sema/
Dconstant-builtins-2.c114 #define BITSIZE(x) (sizeof(x) * 8) macro
115 char clz1[__builtin_clz(1) == BITSIZE(int) - 1 ? 1 : -1];
116 char clz2[__builtin_clz(7) == BITSIZE(int) - 3 ? 1 : -1];
117 char clz3[__builtin_clz(1 << (BITSIZE(int) - 1)) == 0 ? 1 : -1];
119 char clz5[__builtin_clzl(0xFL) == BITSIZE(long) - 4 ? 1 : -1];
120 char clz6[__builtin_clzll(0xFFLL) == BITSIZE(long long) - 8 ? 1 : -1];
121 char clz7[__builtin_clzs(0x1) == BITSIZE(short) - 1 ? 1 : -1];
122 char clz8[__builtin_clzs(0xf) == BITSIZE(short) - 4 ? 1 : -1];
123 char clz9[__builtin_clzs(0xfff) == BITSIZE(short) - 12 ? 1 : -1];
127 char ctz3[__builtin_ctz(1 << (BITSIZE(int) - 1)) == BITSIZE(int) - 1 ? 1 : -1];
[all …]
/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpaesmxtsstuff.h72 Ipp64u xorL = ((Ipp64s)x64[1] >> (BITSIZE(Ipp64u)-1)) & GF_POLY; in gf_mul_by_primitive()
73 x64[1] = (x64[1]+x64[1]) | (x64[0] >>(BITSIZE(Ipp64u)-1)); in gf_mul_by_primitive()
92 Ipp32u xorL = ((Ipp32s)(x32[3]&GF_MASK) >> (BITSIZE(Ipp32u)-1)) & GF_POLY; in gf_mul_by_primitive()
93 x32[3] = (x32[3]<<1) | (x32[2] >>(BITSIZE(Ipp32u)-1)); in gf_mul_by_primitive()
94 x32[2] = (x32[2]<<1) | (x32[1] >>(BITSIZE(Ipp32u)-1)); in gf_mul_by_primitive()
95 x32[1] = (x32[1]<<1) | (x32[0] >>(BITSIZE(Ipp32u)-1)); in gf_mul_by_primitive()
Dpcpgfp_sqrt.c65 if(ntz<BITSIZE(BNU_CHUNK_T)) in factor2()
70 if(bits >= BITSIZE(BNU_CHUNK_T)) { in factor2()
71 int nchunk = bits/BITSIZE(BNU_CHUNK_T); in factor2()
73 bits %= BITSIZE(BNU_CHUNK_T); in factor2()
Dpcpngmontexpstuff_avx512.h58 #define NORM_DIGSIZE_AVX512 (BITSIZE(Ipp64u))
73 …cpSize ammBitSize = 2 + cpDigitNum_avx512(modulusBits, BITSIZE(BNU_CHUNK_T)) * BITSIZE(BNU_CHUNK_T… in numofVariable_avx512()
Dpcpngmontexpstuff_sse2.h58 #define NORM_DIGSIZE_SSE2 (BITSIZE(Ipp32u))
74 … cpSize ammBitSize = 2 + cpDigitNum_sse2(modulusBits, BITSIZE(BNU_CHUNK_T)) * BITSIZE(BNU_CHUNK_T); in numofVariable_sse2()
Dpcpgfp_rand.c60 int nsR = (reqBitSize +BITSIZE(BNU_CHUNK_T)-1)/BITSIZE(BNU_CHUNK_T); in cpGFpRand()
Dpcpngmontexpstuff_avx2.h58 #define NORM_DIGSIZE_AVX2 (BITSIZE(Ipp32u))
74 … cpSize ammBitSize = 2 + cpDigitNum_avx2(modulusBits, BITSIZE(BNU_CHUNK_T)) * BITSIZE(BNU_CHUNK_T); in numofVariable_avx2()
Dpcpgfpx_exp.c170 Ipp32u eChunk = *((Ipp32u*)((Ipp16u*)pExpandedE+ wPosition/BITSIZE(Ipp16u))); in cpGFpxExp()
195 eChunk = *((Ipp32u*)((Ipp16u*)pExpandedE+ wPosition/BITSIZE(Ipp16u))); in cpGFpxExp()
Dpcpeccpsignnrca.c131 IPP_BADARG_RET((BN_ROOM(pSignX)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
132 IPP_BADARG_RET((BN_ROOM(pSignY)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
Dpcpeccpsigndsaca.c131 IPP_BADARG_RET((BN_ROOM(pSignX)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
132 IPP_BADARG_RET((BN_ROOM(pSignY)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
Dpcpgfpecsignnr.c135 IPP_BADARG_RET((BN_ROOM(pSignR)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
136 IPP_BADARG_RET((BN_ROOM(pSignS)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
Dpcpgfpecsigndsa.c136 IPP_BADARG_RET((BN_ROOM(pSignR)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
137 IPP_BADARG_RET((BN_ROOM(pSignS)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
Dpcpgfpgetsize.c79 *pSize = cpGFpGetSize(feBitSize, feBitSize+BITSIZE(BNU_CHUNK_T), GFP_POOL_SIZE)
Dpcpbnu32_nlz.c71 cpSize nlz = BITSIZE(Ipp32u); in cpNLZ_BNU32()
Dpcpeccpgetsize.c84 int gfCtxSize = cpGFpGetSize(feBitSize, feBitSize+BITSIZE(BNU_CHUNK_T), GFP_POOL_SIZE);
Dpcpeccpinit.c86 int gfCtxSize = cpGFpGetSize(feBitSize, feBitSize+BITSIZE(BNU_CHUNK_T), GFP_POOL_SIZE);
Dpcpaesmxts.h62 #define AES_BLK_SIZE (IPP_AES_BLOCK_BITSIZE/BITSIZE(Ipp8u))
Dpcpbnu32misc.h64 return nsA*BITSIZE(Ipp32u) - cpNLZ_BNU32(pA[nsA-1]) -1; in cpMSBit_BNU32()
Dpcpgfpsetelemhashrmf.c109 …BNU_CHUNK_T hashVal[(MAX_HASH_SIZE*8)/BITSIZE(BNU_CHUNK_T)+1]; /* +1 to meet cpMod_BNU() implement…
Dpcpgfpecprivatekey.c91 IPP_BADARG_RET((BN_ROOM(pPrivate)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsSizeErr);
Dpcpgfpsetelemhash.c109 …BNU_CHUNK_T hashVal[(MAX_HASH_SIZE*8)/BITSIZE(BNU_CHUNK_T)+1]; /* +1 to meet cpMod_BNU() implement…
Dpcpeccpgenkeyca.c96 IPP_BADARG_RET((BN_ROOM(pPrivate)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsSizeErr);
Dpcpgfpecsetsubgroup.c139 IPP_BADARG_RET(cofactorBitSize>elemLen*BITSIZE(BNU_CHUNK_T), ippStsRangeErr)
Dpcpgfp.c129 cpGFEInit(GFP_PMA(pGF), primeBitSize, primeBitSize+BITSIZE(BNU_CHUNK_T), GFP_POOL_SIZE); in cpGFpInitGFp()
Dpcpeccpget.c140 IPP_BADARG_RET((BN_ROOM(pOrder)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);

12