Home
last modified time | relevance | path

Searched refs:k2 (Results 1 – 25 of 156) sorted by relevance

1234567

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dfft.c276 int j, jc, jf, jj, k, k1, k2, k3, k4, kk, kt, nn, ns, nt; in FFTRADIX() local
444 k2 = kk + kspan; in FFTRADIX()
445 ak = Re [k2]; in FFTRADIX()
446 bk = Im [k2]; in FFTRADIX()
447 Re [k2] = Re [kk] - ak; in FFTRADIX()
448 Im [k2] = Im [kk] - bk; in FFTRADIX()
451 kk = k2 + kspan; in FFTRADIX()
463 k2 = kk + kspan; in FFTRADIX()
464 ak = Re [kk] - Re [k2]; in FFTRADIX()
465 bk = Im [kk] - Im [k2]; in FFTRADIX()
[all …]
/external/guava/guava/src/com/google/common/hash/
DMurmur3_128HashFunction.java61 long k2 = bb.getLong(); in process() local
63 bmix64(k1, k2); in process()
66 private void bmix64(long k1, long k2) { in bmix64() argument
76 k2 *= c2; in bmix64()
77 k2 = Long.rotateLeft(k2, 33); in bmix64()
78 k2 *= c1; in bmix64()
79 h2 ^= k2; in bmix64()
88 long k2 = 0; in processRemaining() local
92 k2 ^= (long) toInt(bb.get(14)) << 48; // fall through in processRemaining()
94 k2 ^= (long) toInt(bb.get(13)) << 40; // fall through in processRemaining()
[all …]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dfft.c74 WebRtc_Word16 k0, k1, k2, k3, k4, kk; in WebRtcIsacfix_FftRadix16Fastest() local
100 k2 = k1 + 60; in WebRtcIsacfix_FftRadix16Fastest()
101 k3 = k2 + 60; in WebRtcIsacfix_FftRadix16Fastest()
103 akpQx = RexQx[k0] + RexQx[k2]; in WebRtcIsacfix_FftRadix16Fastest()
104 akmQx = RexQx[k0] - RexQx[k2]; in WebRtcIsacfix_FftRadix16Fastest()
107 bkpQx = ImxQx[k0] + ImxQx[k2]; in WebRtcIsacfix_FftRadix16Fastest()
108 bkmQx = ImxQx[k0] - ImxQx[k2]; in WebRtcIsacfix_FftRadix16Fastest()
150 RexQx[k2] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(ccc2Q14, ajpQx, 14) - in WebRtcIsacfix_FftRadix16Fastest()
156 ImxQx[k2] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(sss2Q14, ajpQx, 14) + in WebRtcIsacfix_FftRadix16Fastest()
169 k2=40; in WebRtcIsacfix_FftRadix16Fastest()
[all …]
/external/webrtc/src/modules/audio_processing/aec/
Daec_rdft.c151 const int k2 = 2 * k1; in makewt_32() local
156 wk1r = rdft_w[k2 + 0]; in makewt_32()
157 wk1i = rdft_w[k2 + 1]; in makewt_32()
160 wk1r = rdft_w[k2 + 2]; in makewt_32()
161 wk1i = rdft_w[k2 + 3]; in makewt_32()
165 rdft_wk1r[k2 + 0] = rdft_w[k2 + 0]; in makewt_32()
166 rdft_wk1r[k2 + 1] = rdft_w[k2 + 0]; in makewt_32()
167 rdft_wk1r[k2 + 2] = rdft_w[k2 + 2]; in makewt_32()
168 rdft_wk1r[k2 + 3] = rdft_w[k2 + 2]; in makewt_32()
169 rdft_wk2r[k2 + 0] = rdft_w[k1 + 0]; in makewt_32()
[all …]
Daec_rdft_sse2.c23 int j, k2; in cft1st_128_SSE2() local
25 for (k2 = 0, j = 0; j < 128; j += 16, k2 += 4) { in cft1st_128_SSE2()
35 const __m128 wk1rv = _mm_load_ps(&rdft_wk1r[k2]); in cft1st_128_SSE2()
36 const __m128 wk1iv = _mm_load_ps(&rdft_wk1i[k2]); in cft1st_128_SSE2()
37 const __m128 wk2rv = _mm_load_ps(&rdft_wk2r[k2]); in cft1st_128_SSE2()
38 const __m128 wk2iv = _mm_load_ps(&rdft_wk2i[k2]); in cft1st_128_SSE2()
39 const __m128 wk3rv = _mm_load_ps(&rdft_wk3r[k2]); in cft1st_128_SSE2()
40 const __m128 wk3iv = _mm_load_ps(&rdft_wk3i[k2]); in cft1st_128_SSE2()
158 int k2 = 2 * k1; in cftmdl_128_SSE2() local
159 const __m128 wk2rv = _mm_load_ps(&rdft_wk2r[k2+0]); in cftmdl_128_SSE2()
[all …]
/external/openssl/include/openssl/
Ddes_old.h138 #define des_ecb3_encrypt(i,o,k1,k2,k3,e)\ argument
139 DES_ecb3_encrypt((i),(o),&(k1),&(k2),&(k3),(e))
140 #define des_ede3_cbc_encrypt(i,o,l,k1,k2,k3,iv,e)\ argument
141 DES_ede3_cbc_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(e))
142 #define des_ede3_cbcm_encrypt(i,o,l,k1,k2,k3,iv1,iv2,e)\ argument
143 DES_ede3_cbcm_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv1),(iv2),(e))
144 #define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\ argument
145 DES_ede3_cfb64_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(n),(e))
146 #define des_ede3_ofb64_encrypt(i,o,l,k1,k2,k3,iv,n)\ argument
147 DES_ede3_ofb64_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(n))
[all …]
/external/openssl/crypto/des/
Ddes_old.h138 #define des_ecb3_encrypt(i,o,k1,k2,k3,e)\ argument
139 DES_ecb3_encrypt((i),(o),&(k1),&(k2),&(k3),(e))
140 #define des_ede3_cbc_encrypt(i,o,l,k1,k2,k3,iv,e)\ argument
141 DES_ede3_cbc_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(e))
142 #define des_ede3_cbcm_encrypt(i,o,l,k1,k2,k3,iv1,iv2,e)\ argument
143 DES_ede3_cbcm_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv1),(iv2),(e))
144 #define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\ argument
145 DES_ede3_cfb64_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(n),(e))
146 #define des_ede3_ofb64_encrypt(i,o,l,k1,k2,k3,iv,n)\ argument
147 DES_ede3_ofb64_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(n))
[all …]
/external/skia/src/effects/
DSkArithmeticMode.cpp15 SkArithmeticMode_scalar(SkScalar k1, SkScalar k2, SkScalar k3, SkScalar k4) { in SkArithmeticMode_scalar() argument
17 fK[1] = k2; in SkArithmeticMode_scalar()
43 static int arith(SkScalar k1, SkScalar k2, SkScalar k3, SkScalar k4, in arith() argument
46 SkScalarMul(k2, src) + in arith()
64 SkScalar k2 = fK[1]; in xfer32() local
81 a = arith(k1, k2, k3, k4, sa, sa); in xfer32()
82 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc)); in xfer32()
83 g = arith(k1, k2, k3, k4, SkGetPackedG32(sc), SkGetPackedG32(dc)); in xfer32()
84 b = arith(k1, k2, k3, k4, SkGetPackedB32(sc), SkGetPackedB32(dc)); in xfer32()
106 a = arith(k1, k2, k3, k4, sa, sa); in xfer32()
[all …]
/external/skia/legacy/src/effects/
DSkArithmeticMode.cpp7 SkArithmeticMode_scalar(SkScalar k1, SkScalar k2, SkScalar k3, SkScalar k4) { in SkArithmeticMode_scalar() argument
9 fK[1] = k2; in SkArithmeticMode_scalar()
39 static int arith(SkScalar k1, SkScalar k2, SkScalar k3, SkScalar k4, in arith() argument
42 SkScalarMul(k2, src) + in arith()
60 SkScalar k2 = fK[1]; in xfer32() local
77 a = arith(k1, k2, k3, k4, sa, sa); in xfer32()
78 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc)); in xfer32()
79 g = arith(k1, k2, k3, k4, SkGetPackedG32(sc), SkGetPackedG32(dc)); in xfer32()
80 b = arith(k1, k2, k3, k4, SkGetPackedB32(sc), SkGetPackedB32(dc)); in xfer32()
102 a = arith(k1, k2, k3, k4, sa, sa); in xfer32()
[all …]
/external/openssh/
Dcipher-3des1.c56 EVP_CIPHER_CTX k1, k2, k3; member
67 u_char *k1, *k2, *k3; in ssh1_3des_init() local
77 k1 = k2 = k3 = (u_char *) key; in ssh1_3des_init()
78 k2 += 8; in ssh1_3des_init()
86 EVP_CIPHER_CTX_init(&c->k2); in ssh1_3des_init()
90 EVP_CipherInit(&c->k2, EVP_des_cbc(), k2, NULL, !enc); in ssh1_3des_init()
94 EVP_CipherInit(&c->k2, EVP_des_cbc(), k2, NULL, !enc) == 0 || in ssh1_3des_init()
117 EVP_Cipher(&c->k2, dest, dest, len); in ssh1_3des_cbc()
121 EVP_Cipher(&c->k2, dest, dest, len) == 0 || in ssh1_3des_cbc()
135 EVP_CIPHER_CTX_cleanup(&c->k2); in ssh1_3des_cleanup()
[all …]
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp167 UCHAR k2; in getStopBand() local
195 k2 = diff1[stopFreq]; in getStopBand()
198 k2 = 2*k0; in getStopBand()
200 k2 = 3*k0; in getStopBand()
203 if (k2 > (64)) in getStopBand()
204 k2 = (64); in getStopBand()
209 if ( ((k2 - k0) > MAX_FREQ_COEFFS) || (k2 <= k0) ) { in getStopBand()
215 if ( (fs >= 42000) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS44100 ) ) { in getStopBand()
219 if ( (fs >= 46009) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS48000 ) ) { in getStopBand()
225 if ( (fs == 44100) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS44100 ) ) { in getStopBand()
[all …]
/external/eigen/Eigen/src/Core/products/
DSelfadjointMatrixMatrix.h80 …d operator()(Scalar* blockB, const Scalar* _rhs, Index rhsStride, Index rows, Index cols, Index k2) in operator()
82 Index end_k = k2 + rows; in operator()
88 for(Index j2=0; j2<k2; j2+=nr) in operator()
90 for(Index k=k2; k<end_k; k++) in operator()
104 for(Index j2=k2; j2<(std::min)(k2+rows,packet_cols); j2+=nr) in operator()
108 for(Index k=k2; k<j2; k++) in operator()
150 for(Index j2=k2+rows; j2<packet_cols; j2+=nr) in operator()
152 for(Index k=k2; k<end_k; k++) in operator()
170 for(Index k=k2; k<half; k++) in operator()
176 if(half==j2 && half<k2+rows) in operator()
[all …]
DTriangularSolverMatrix.h80 for(Index k2=IsLower ? 0 : size;
81 IsLower ? k2<size : k2>0;
82 IsLower ? k2+=kc : k2-=kc)
84 const Index actual_kc = (std::min)(IsLower ? size-k2 : k2, kc);
110 Index i = IsLower ? k2+k1+k : k2-k1-k-1;
111 Index s = IsLower ? k2+k1 : i+1;
140 Index startBlock = IsLower ? k2+k1 : k2-k1-actualPanelWidth;
149 Index startTarget = IsLower ? k2+k1+actualPanelWidth : k2-actual_kc;
161 Index start = IsLower ? k2+kc : 0;
162 Index end = IsLower ? size : k2-kc;
[all …]
DTriangularMatrixMatrix.h132 for(Index k2=IsLower ? depth : 0;
133 IsLower ? k2>0 : k2<depth;
134 IsLower ? k2-=kc : k2+=kc)
136 Index actual_kc = (std::min)(IsLower ? k2 : depth-k2, kc);
137 Index actual_k2 = IsLower ? k2-actual_kc : k2;
140 if((!IsLower)&&(k2<rows)&&(k2+actual_kc>rows))
142 actual_kc = rows-k2;
143 k2 = k2+actual_kc-kc;
193 Index start = IsLower ? k2 : 0;
262 for(Index k2=IsLower ? 0 : depth;
[all …]
/external/webkit/Source/WebCore/platform/graphics/filters/
DFEComposite.cpp38 FEComposite::FEComposite(Filter* filter, const CompositeOperationType& type, float k1, float k2, fl… in FEComposite() argument
42 , m_k2(k2) in FEComposite()
48 …:create(Filter* filter, const CompositeOperationType& type, float k1, float k2, float k3, float k4) in create() argument
50 return adoptRef(new FEComposite(filter, type, k1, k2, k3, k4)); in create()
79 float FEComposite::k2() const in k2() function in WebCore::FEComposite
84 bool FEComposite::setK2(float k2) in setK2() argument
86 if (m_k2 == k2) in setK2()
88 m_k2 = k2; in setK2()
120 float k1, float k2, float k3, float k4) in computeArithmeticPixels() argument
136 result += k2 * i1; in computeArithmeticPixels()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECCurve.java201 private int k2; // can't be final - JDK 1.1 field in ECCurve.F2m
313 int k2, in F2m() argument
318 this(m, k1, k2, k3, a, b, null, null); in F2m()
347 int k2, in F2m() argument
356 this.k2 = k2; in F2m()
366 if (k2 == 0) in F2m()
375 if (k2 <= k1) in F2m()
380 if (k3 <= k2) in F2m()
398 return new ECFieldElement.F2m(this.m, this.k1, this.k2, this.k3, x); in fromBigInteger()
449 new ECFieldElement.F2m(this.m, this.k1, this.k2, this.k3, in decodePoint()
[all …]
DECFieldElement.java820 private int k2; field in ECFieldElement.F2m
858 int k2, in F2m() argument
866 if ((k2 == 0) && (k3 == 0)) in F2m()
872 if (k2 >= k3) in F2m()
877 if (k2 <= 0) in F2m()
892 this.k2 = k2; in F2m()
911 private F2m(int m, int k1, int k2, int k3, IntArray x) in F2m() argument
917 this.k2 = k2; in F2m()
920 if ((k2 == 0) && (k3 == 0)) in F2m()
971 || (aF2m.k2 != bF2m.k2) || (aF2m.k3 != bF2m.k3)) in checkFieldElements()
[all …]
/external/clang/test/CXX/class/class.union/
Dp2-0x.cpp7 static const int k2 = k1; member
8 …static int k3 = k2; // expected-error {{non-const static data member must be initialized out of li…
9 static constexpr double k4 = k2;
15 constexpr int U1::k2; member in U1
24 static double k2; member
28 template<typename T> double U2<T>::k2 = 5.3; member in U2<T>
/external/aac/libSBRenc/src/
Dsbrenc_freq_sca.cpp336 INT *k2) in FDKsbrEnc_FindStartAndStopBand() argument
352 *k2 = getStopFreq(samplingFreq, stopFreq, noChannels); in FDKsbrEnc_FindStartAndStopBand()
354 *k2 = 2 * *k0; in FDKsbrEnc_FindStartAndStopBand()
356 *k2 = 3 * *k0; in FDKsbrEnc_FindStartAndStopBand()
360 if (*k2 > noChannels) { in FDKsbrEnc_FindStartAndStopBand()
361 *k2 = noChannels; in FDKsbrEnc_FindStartAndStopBand()
367 if ( (samplingFreq == 44100) && ( (*k2 - *k0) > MAX_FREQ_COEFFS_FS44100 ) ) in FDKsbrEnc_FindStartAndStopBand()
370 if ( (samplingFreq >= 48000) && ( (*k2 - *k0) > MAX_FREQ_COEFFS_FS48000 ) ) in FDKsbrEnc_FindStartAndStopBand()
373 if ((*k2 - *k0) > MAX_FREQ_COEFFS) in FDKsbrEnc_FindStartAndStopBand()
376 if ((*k2 - *k0) < 0) in FDKsbrEnc_FindStartAndStopBand()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/
DDoubleKeyMap`3.cs9 public virtual TValue Put(TKey1 k1, TKey2 k2, TValue v) in Put() argument
21 data2.TryGetValue(k2, out prev); in Put()
23 data2[k2]= v; in Put()
27 public virtual TValue Get(TKey1 k1, TKey2 k2) in Get() argument
35 data2.TryGetValue(k2, out value); in Get()
77 foreach (IDictionary<TKey2, TValue> k2 in data.Values) in Values()
79 foreach (TValue v in k2.Values) in Values()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DDoubleKeyMap.java12 public Value put(Key1 k1, Key2 k2, Value v) { in put() argument
20 prev = data2.get(k2); in put()
22 data2.put(k2, v); in put()
26 public Value get(Key1 k1, Key2 k2) { in get() argument
29 return data2.get(k2); in get()
55 for (Map<Key2, Value> k2 : data.values()) { in values()
56 for (Value v : k2.values()) { in values()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DDoubleKeyMap.cs9 public virtual TValue Put(TKey1 k1, TKey2 k2, TValue v) { in Put() argument
17 data2.TryGetValue(k2, out prev); in Put()
19 data2[k2] = v; in Put()
23 public virtual TValue Get(TKey1 k1, TKey2 k2) { in Get() argument
30 data2.TryGetValue(k2, out value); in Get()
67 foreach (IDictionary<TKey2, TValue> k2 in data.Values) { in Values()
68 foreach (TValue v in k2.Values) { in Values()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDoubleKeyMap.m14 - (id) setObject:(id)v forKey1:(id)k1 forKey2:(id)k2
23 prev = [data2 objectForKey:k2];
25 [data2 setObject:v forKey:k2];
29 - (id) objectForKey1:(id)k1 forKey2:(id)k2
34 return [data2 objectForKey:k2];
80 for (AMutableDictionary *k2 in [data allValues]) {
82 for ( NSString *v in [k2 allValues]) {
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableBiMap.java43 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) { in of() argument
44 return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2)); in of()
48 K k1, V v1, K k2, V v2, K k3, V v3) { in of() argument
50 k1, v1, k2, v2, k3, v3)); in of()
54 K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) { in of() argument
56 k1, v1, k2, v2, k3, v3, k4, v4)); in of()
60 K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) { in of() argument
62 k1, v1, k2, v2, k3, v3, k4, v4, k5, v5)); in of()
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Dmath-partial-sums.js9 var k2 = k3 = sk = ck = 0.0;
12 k2 = k*k;
13 k3 = k2*k;
24 a7 += 1.0/k2;

1234567