Searched refs:BITSIZE (Results 1 – 25 of 29) sorted by relevance
12
/external/clang/test/Sema/ |
D | constant-builtins-2.c | 114 #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/ |
D | pcpaesmxtsstuff.h | 72 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()
|
D | pcpgfp_sqrt.c | 65 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()
|
D | pcpngmontexpstuff_avx512.h | 58 #define NORM_DIGSIZE_AVX512 (BITSIZE(Ipp64u)) 73 …cpSize ammBitSize = 2 + cpDigitNum_avx512(modulusBits, BITSIZE(BNU_CHUNK_T)) * BITSIZE(BNU_CHUNK_T… in numofVariable_avx512()
|
D | pcpngmontexpstuff_sse2.h | 58 #define NORM_DIGSIZE_SSE2 (BITSIZE(Ipp32u)) 74 … cpSize ammBitSize = 2 + cpDigitNum_sse2(modulusBits, BITSIZE(BNU_CHUNK_T)) * BITSIZE(BNU_CHUNK_T); in numofVariable_sse2()
|
D | pcpgfp_rand.c | 60 int nsR = (reqBitSize +BITSIZE(BNU_CHUNK_T)-1)/BITSIZE(BNU_CHUNK_T); in cpGFpRand()
|
D | pcpngmontexpstuff_avx2.h | 58 #define NORM_DIGSIZE_AVX2 (BITSIZE(Ipp32u)) 74 … cpSize ammBitSize = 2 + cpDigitNum_avx2(modulusBits, BITSIZE(BNU_CHUNK_T)) * BITSIZE(BNU_CHUNK_T); in numofVariable_avx2()
|
D | pcpgfpx_exp.c | 170 Ipp32u eChunk = *((Ipp32u*)((Ipp16u*)pExpandedE+ wPosition/BITSIZE(Ipp16u))); in cpGFpxExp() 195 eChunk = *((Ipp32u*)((Ipp16u*)pExpandedE+ wPosition/BITSIZE(Ipp16u))); in cpGFpxExp()
|
D | pcpeccpsignnrca.c | 131 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);
|
D | pcpeccpsigndsaca.c | 131 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);
|
D | pcpgfpecsignnr.c | 135 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);
|
D | pcpgfpecsigndsa.c | 136 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);
|
D | pcpgfpgetsize.c | 79 *pSize = cpGFpGetSize(feBitSize, feBitSize+BITSIZE(BNU_CHUNK_T), GFP_POOL_SIZE)
|
D | pcpbnu32_nlz.c | 71 cpSize nlz = BITSIZE(Ipp32u); in cpNLZ_BNU32()
|
D | pcpeccpgetsize.c | 84 int gfCtxSize = cpGFpGetSize(feBitSize, feBitSize+BITSIZE(BNU_CHUNK_T), GFP_POOL_SIZE);
|
D | pcpeccpinit.c | 86 int gfCtxSize = cpGFpGetSize(feBitSize, feBitSize+BITSIZE(BNU_CHUNK_T), GFP_POOL_SIZE);
|
D | pcpaesmxts.h | 62 #define AES_BLK_SIZE (IPP_AES_BLOCK_BITSIZE/BITSIZE(Ipp8u))
|
D | pcpbnu32misc.h | 64 return nsA*BITSIZE(Ipp32u) - cpNLZ_BNU32(pA[nsA-1]) -1; in cpMSBit_BNU32()
|
D | pcpgfpsetelemhashrmf.c | 109 …BNU_CHUNK_T hashVal[(MAX_HASH_SIZE*8)/BITSIZE(BNU_CHUNK_T)+1]; /* +1 to meet cpMod_BNU() implement…
|
D | pcpgfpecprivatekey.c | 91 IPP_BADARG_RET((BN_ROOM(pPrivate)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsSizeErr);
|
D | pcpgfpsetelemhash.c | 109 …BNU_CHUNK_T hashVal[(MAX_HASH_SIZE*8)/BITSIZE(BNU_CHUNK_T)+1]; /* +1 to meet cpMod_BNU() implement…
|
D | pcpeccpgenkeyca.c | 96 IPP_BADARG_RET((BN_ROOM(pPrivate)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsSizeErr);
|
D | pcpgfpecsetsubgroup.c | 139 IPP_BADARG_RET(cofactorBitSize>elemLen*BITSIZE(BNU_CHUNK_T), ippStsRangeErr)
|
D | pcpgfp.c | 129 cpGFEInit(GFP_PMA(pGF), primeBitSize, primeBitSize+BITSIZE(BNU_CHUNK_T), GFP_POOL_SIZE); in cpGFpInitGFp()
|
D | pcpeccpget.c | 140 IPP_BADARG_RET((BN_ROOM(pOrder)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
|
12