Home
last modified time | relevance | path

Searched refs:poly (Results 26 - 50 of 181) sorted by relevance

12345678

/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dpow.c21 #define A __pow_log_data.poly
111 #define C2 __exp_data.poly[5 - EXP_POLY_ORDER]
112 #define C3 __exp_data.poly[6 - EXP_POLY_ORDER]
113 #define C4 __exp_data.poly[7 - EXP_POLY_ORDER]
114 #define C5 __exp_data.poly[8 - EXP_POLY_ORDER]
115 #define C6 __exp_data.poly[9 - EXP_POLY_ORDER]
223 /* Worst case error is less than 0.5+1.11/N+(abs poly error * 2^53) ulp. */ in exp_inline()
H A Dlog2f_data.h16 double poly[LOG2F_POLY_ORDER]; member
H A Dlogf_data.h17 double poly[LOGF_POLY_ORDER - 1]; /* First order coefficient is 1. */ member
/third_party/musl/porting/liteos_m/kernel/src/math/
H A Dpow.c21 #define A __pow_log_data1.poly
111 #define C2 __exp_data1.poly[5 - EXP_POLY_ORDER]
112 #define C3 __exp_data1.poly[6 - EXP_POLY_ORDER]
113 #define C4 __exp_data1.poly[7 - EXP_POLY_ORDER]
114 #define C5 __exp_data1.poly[8 - EXP_POLY_ORDER]
115 #define C6 __exp_data1.poly[9 - EXP_POLY_ORDER]
223 /* Worst case error is less than 0.5+1.11/N+(abs poly error * 2^53) ulp. */ in exp_inline()
/third_party/musl/src/math/
H A Dpow.c21 #define A __pow_log_data.poly
111 #define C2 __exp_data.poly[5 - EXP_POLY_ORDER]
112 #define C3 __exp_data.poly[6 - EXP_POLY_ORDER]
113 #define C4 __exp_data.poly[7 - EXP_POLY_ORDER]
114 #define C5 __exp_data.poly[8 - EXP_POLY_ORDER]
115 #define C6 __exp_data.poly[9 - EXP_POLY_ORDER]
223 /* Worst case error is less than 0.5+1.11/N+(abs poly error * 2^53) ulp. */ in exp_inline()
H A Dlogf_data.h17 double poly[LOGF_POLY_ORDER - 1]; /* First order coefficient is 1. */ member
H A Dlog2f_data.h16 double poly[LOG2F_POLY_ORDER]; member
/kernel/linux/linux-5.10/lib/xz/
H A Dxz_crc32.c32 const uint32_t poly = CRC32_POLY_LE; in xz_crc32_init() local
41 r = (r >> 1) ^ (poly & ~((r & 1) - 1)); in xz_crc32_init()
/kernel/linux/linux-6.6/lib/xz/
H A Dxz_crc32.c32 const uint32_t poly = CRC32_POLY_LE; in xz_crc32_init() local
41 r = (r >> 1) ^ (poly & ~((r & 1) - 1)); in xz_crc32_init()
/third_party/backends/backend/
H A Dsm3840_lib.c832 calculate_lut8 (double *poly, int skip, unsigned char *dest) in calculate_lut8() argument
836 if (!poly || !dest) in calculate_lut8()
840 sum = poly[0]; in calculate_lut8()
842 sum += poly[1] * x; in calculate_lut8()
844 sum += poly[2] * x; in calculate_lut8()
846 sum += poly[3] * x; in calculate_lut8()
848 sum += poly[4] * x; in calculate_lut8()
850 sum += poly[5] * x; in calculate_lut8()
852 sum += poly[6] * x; in calculate_lut8()
854 sum += poly[ in calculate_lut8()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dchi_square.cc35 inline T EvaluatePolynomial(T x, const T (&poly)[N]) { in EvaluatePolynomial() argument
39 T p = poly[N - 1]; in EvaluatePolynomial()
41 p = fma(p, x, poly[N - i]); in EvaluatePolynomial()
/third_party/skia/src/gpu/geometry/
H A DGrTriangulator.cpp393 TESS_LOG("addEdge (%g -> %g) to poly %d, %s side\n", in addEdge()
396 Poly* poly = this; in addEdge() local
413 return poly; in addEdge()
423 poly = partner; in addEdge()
431 return poly; in addEdge()
433 void* GrTriangulator::emitPoly(const Poly* poly, void *data) const { in emitPoly() argument
434 if (poly->fCount < 3) { in emitPoly()
437 TESS_LOG("emit() %d, size %d\n", poly->fID, poly->fCount); in emitPoly()
438 for (MonotonePoly* m = poly in emitPoly()
449 Poly* poly = fAlloc->make<Poly>(v, winding); makePoly() local
615 apply_fill_type(SkPathFillType fillType, Poly* poly) apply_fill_type() argument
1447 Poly* poly = this->makePoly(&polys, v, winding); tessellate() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/stm32/
H A Dstm32-crc32.c65 u32 poly; member
77 mctx->poly = CRC32_POLY_LE; in stm32_crc32_cra_init()
86 mctx->poly = CRC32C_POLY_LE; in stm32_crc32c_cra_init()
130 /* Reset, set key, poly and configure in bit reverse mode */ in stm32_crc_init()
132 writel_relaxed(bitrev32(mctx->poly), crc->regs + CRC_POL); in stm32_crc_init()
162 if (mctx->poly == CRC32_POLY_LE) in burst_update()
177 writel_relaxed(bitrev32(mctx->poly), crc->regs + CRC_POL); in burst_update()
248 put_unaligned_le32(mctx->poly == CRC32C_POLY_LE ? in stm32_crc_final()
/kernel/linux/linux-6.6/drivers/crypto/stm32/
H A Dstm32-crc32.c65 u32 poly; member
77 mctx->poly = CRC32_POLY_LE; in stm32_crc32_cra_init()
86 mctx->poly = CRC32C_POLY_LE; in stm32_crc32c_cra_init()
130 /* Reset, set key, poly and configure in bit reverse mode */ in stm32_crc_init()
132 writel_relaxed(bitrev32(mctx->poly), crc->regs + CRC_POL); in stm32_crc_init()
162 if (mctx->poly == CRC32_POLY_LE) in burst_update()
177 writel_relaxed(bitrev32(mctx->poly), crc->regs + CRC_POL); in burst_update()
248 put_unaligned_le32(mctx->poly == CRC32C_POLY_LE ? in stm32_crc_final()
/third_party/optimized-routines/math/
H A Dpow.c20 #define A __pow_log_data.poly
114 #define C2 __exp_data.poly[5 - EXP_POLY_ORDER]
115 #define C3 __exp_data.poly[6 - EXP_POLY_ORDER]
116 #define C4 __exp_data.poly[7 - EXP_POLY_ORDER]
117 #define C5 __exp_data.poly[8 - EXP_POLY_ORDER]
118 #define C6 __exp_data.poly[9 - EXP_POLY_ORDER]
232 /* Worst case error is less than 0.5+1.11/N+(abs poly error * 2^53) ulp. */ in exp_inline()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c186 static inline int deg(unsigned int poly) in deg() argument
189 return fls(poly) - 1; in deg()
192 static int atmel_pmecc_build_gf_tables(int mm, unsigned int poly, in atmel_pmecc_build_gf_tables() argument
196 const unsigned int k = BIT(deg(poly)); in atmel_pmecc_build_gf_tables()
211 x ^= poly; in atmel_pmecc_build_gf_tables()
223 unsigned int poly, degree, table_size; in atmel_pmecc_create_gf_tables() local
228 poly = PMECC_GF_13_PRIMITIVE_POLY; in atmel_pmecc_create_gf_tables()
232 poly = PMECC_GF_14_PRIMITIVE_POLY; in atmel_pmecc_create_gf_tables()
245 ret = atmel_pmecc_build_gf_tables(degree, poly, gf_tables); in atmel_pmecc_create_gf_tables()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c186 static inline int deg(unsigned int poly) in deg() argument
189 return fls(poly) - 1; in deg()
192 static int atmel_pmecc_build_gf_tables(int mm, unsigned int poly, in atmel_pmecc_build_gf_tables() argument
196 const unsigned int k = BIT(deg(poly)); in atmel_pmecc_build_gf_tables()
211 x ^= poly; in atmel_pmecc_build_gf_tables()
223 unsigned int poly, degree, table_size; in atmel_pmecc_create_gf_tables() local
228 poly = PMECC_GF_13_PRIMITIVE_POLY; in atmel_pmecc_create_gf_tables()
232 poly = PMECC_GF_14_PRIMITIVE_POLY; in atmel_pmecc_create_gf_tables()
245 ret = atmel_pmecc_build_gf_tables(degree, poly, gf_tables); in atmel_pmecc_create_gf_tables()
/kernel/linux/linux-5.10/arch/x86/crypto/
H A Daesni-intel_avx-x86_64.S117 ## poly = x^128 + x^127 + x^126 + x^121 + 1
192 HashKey = 16*6 # store HashKey <<1 mod poly here
193 HashKey_2 = 16*7 # store HashKey^2 <<1 mod poly here
194 HashKey_3 = 16*8 # store HashKey^3 <<1 mod poly here
195 HashKey_4 = 16*9 # store HashKey^4 <<1 mod poly here
196 HashKey_5 = 16*10 # store HashKey^5 <<1 mod poly here
197 HashKey_6 = 16*11 # store HashKey^6 <<1 mod poly here
198 HashKey_7 = 16*12 # store HashKey^7 <<1 mod poly here
199 HashKey_8 = 16*13 # store HashKey^8 <<1 mod poly here
200 HashKey_k = 16*14 # store XOR of HashKey <<1 mod poly her
[all...]
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Daesni-intel_avx-x86_64.S117 ## poly = x^128 + x^127 + x^126 + x^121 + 1
168 HashKey = 16*6 # store HashKey <<1 mod poly here
169 HashKey_2 = 16*7 # store HashKey^2 <<1 mod poly here
170 HashKey_3 = 16*8 # store HashKey^3 <<1 mod poly here
171 HashKey_4 = 16*9 # store HashKey^4 <<1 mod poly here
172 HashKey_5 = 16*10 # store HashKey^5 <<1 mod poly here
173 HashKey_6 = 16*11 # store HashKey^6 <<1 mod poly here
174 HashKey_7 = 16*12 # store HashKey^7 <<1 mod poly here
175 HashKey_8 = 16*13 # store HashKey^8 <<1 mod poly here
176 HashKey_k = 16*14 # store XOR of HashKey <<1 mod poly her
[all...]
/third_party/libwebsockets/win32port/zlib/
H A Dcrc32.c112 unsigned long poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
124 poly = 0UL; in make_crc_table()
126 poly |= 1UL << (31 - p[n]); in make_crc_table()
132 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table()
/third_party/node/deps/v8/third_party/zlib/
H A Dcrc32.c98 z_crc_t poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
110 poly = 0; in make_crc_table()
112 poly |= (z_crc_t)1 << (31 - p[n]); in make_crc_table()
118 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table()
/third_party/skia/third_party/externals/zlib/
H A Dcrc32.c98 z_crc_t poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
110 poly = 0; in make_crc_table()
112 poly |= (z_crc_t)1 << (31 - p[n]); in make_crc_table()
118 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table()
/third_party/node/deps/zlib/
H A Dcrc32_simd.c50 static const uint64_t zalign(16) poly[] = { 0x01db710641, 0x01f7011641 }; in crc32_avx512_simd_()
189 a0 = _mm_load_si128((__m128i*)poly); in crc32_avx512_simd_()
226 static const uint64_t zalign(16) poly[] = { 0x01db710641, 0x01f7011641 }; in crc32_sse42_simd_()
333 x0 = _mm_load_si128((__m128i*)poly); in crc32_sse42_simd_()
496 static const uint64_t zalign(16) poly[] = { 0x01db710641, 0x01f7011641 }; in armv8_crc32_pmull_little()
606 x0 = vld1q_u64(poly); in armv8_crc32_pmull_little()
/kernel/linux/linux-6.6/include/linux/
H A Dpolynomial.h33 long polynomial_calc(const struct polynomial *poly, long data);
/third_party/musl/porting/uniproton/kernel/src/math/
H A Dpow_data.h15 double poly[POW_LOG_POLY_ORDER - 1]; /* First coefficient is 1. */ member

Completed in 16 milliseconds

12345678