Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 975) sorted by relevance

12345678910>>...39

/aosp12/frameworks/av/media/codecs/amrwb/dec/src/
H A Ddec_acelp_4p_in_64.cpp170 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64()
179 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64()
187 for (k = 0; k < NB_TRACK - 2; k++) in dec_acelp_4p_in_64()
193 for (k = 2; k < NB_TRACK; k++) in dec_acelp_4p_in_64()
201 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64()
209 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64()
217 for (k = 0; k < NB_TRACK - 2; k++) in dec_acelp_4p_in_64()
223 for (k = 2; k < NB_TRACK; k++) in dec_acelp_4p_in_64()
231 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64()
249 int16 i, k; in add_pulses() local
[all …]
H A Dwb_syn_filt.cpp239 int16 i, k, a0; in Syn_filt_32() local
258 for (k = 2; k < m; k += 2) in Syn_filt_32()
261 L_tmp1 = fxp_mac_16by16(sig_lo[(i<<1)-1 - k], a[k+1], L_tmp1); in Syn_filt_32()
262 L_tmp2 = fxp_mac_16by16(sig_hi[(i<<1)-1 - k], a[k+1], L_tmp2); in Syn_filt_32()
263 L_tmp1 = fxp_mac_16by16(sig_lo[(i<<1) - k], a[k ], L_tmp1); in Syn_filt_32()
264 L_tmp2 = fxp_mac_16by16(sig_hi[(i<<1) - k], a[k ], L_tmp2); in Syn_filt_32()
265 L_tmp3 = fxp_mac_16by16(sig_lo[(i<<1) - k], a[k+1], L_tmp3); in Syn_filt_32()
271 L_tmp1 = -fxp_mac_16by16(sig_lo[(i<<1) - k], a[k], L_tmp1); in Syn_filt_32()
272 L_tmp3 = fxp_mac_16by16(sig_lo[(i<<1)+1 - k], a[k], L_tmp3); in Syn_filt_32()
273 L_tmp2 = fxp_mac_16by16(sig_hi[(i<<1) - k], a[k], L_tmp2); in Syn_filt_32()
[all …]
/aosp12/frameworks/base/libs/hwui/utils/
H A DVectorDrawableUtils.cpp149 for (unsigned int k = start; k < end; k += incr) { in addCommand() local
206 outPath->rCubicTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
207 points->at(k + 3), points->at(k + 4), points->at(k + 5)); in addCommand()
216 outPath->cubicTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
217 points->at(k + 3), points->at(k + 4), points->at(k + 5)); in addCommand()
232 points->at(k + 1), points->at(k + 2), points->at(k + 3)); in addCommand()
247 points->at(k + 1), points->at(k + 2), points->at(k + 3)); in addCommand()
254 outPath->rQuadTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
262 outPath->quadTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
301 outPath->arcTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
[all …]
/aosp12/frameworks/av/media/codecs/m4v_h263/dec/src/
H A Dvlc_dequant.cpp205 for (k = 1; k < 8; k++) in VlcDequantMpegIntraBlock()
235 for (j = 0, k = 1; k < 8; k++, j++) in VlcDequantMpegIntraBlock()
255 for (k = 8; k < 64; k += 8) in VlcDequantMpegIntraBlock()
294 for (k = 1; k < 8; k++) in VlcDequantMpegIntraBlock()
310 for (k = 8; k < 64; k += 8) in VlcDequantMpegIntraBlock()
356 for (k = 1; k < 4; k++) in VlcDequantMpegIntraBlock()
656 for (k = 1; k < 8; k++) in VlcDequantH263IntraBlock()
710 for (k = 8; k < 64; k += 8) in VlcDequantH263IntraBlock()
745 for (k = 1; k < 8; k++) in VlcDequantH263IntraBlock()
759 for (k = 8; k < 64; k += 8) in VlcDequantH263IntraBlock()
[all …]
/aosp12/bionic/libc/upstream-openbsd/lib/libc/string/
H A Dmemmem.c33 for (h+=2, k-=2; k; k--, hw = hw<<8 | *h++) in twobyte_memmem()
43 for (h+=3, k-=3; k; k--, hw = (hw|*h++)<<8) in threebyte_memmem()
53 for (h+=4, k-=4; k; k--, hw = hw<<8 | *h++) in fourbyte_memmem()
83 if (n[ip+k] == n[jp+k]) { in twoway_memmem()
88 } else if (n[ip+k] > n[jp+k]) { in twoway_memmem()
90 k = 1; in twoway_memmem()
103 if (n[ip+k] == n[jp+k]) { in twoway_memmem()
108 } else if (n[ip+k] < n[jp+k]) { in twoway_memmem()
136 if (k < mem) k = mem; in twoway_memmem()
148 for (k=MAX(ms+1,mem); k<l && n[k] == h[k]; k++); in twoway_memmem()
[all …]
H A Dstrstr.c81 if (n[ip+k] == n[jp+k]) { in twoway_strstr()
84 k = 1; in twoway_strstr()
86 } else if (n[ip+k] > n[jp+k]) { in twoway_strstr()
88 k = 1; in twoway_strstr()
101 if (n[ip+k] == n[jp+k]) { in twoway_strstr()
104 k = 1; in twoway_strstr()
106 } else if (n[ip+k] < n[jp+k]) { in twoway_strstr()
108 k = 1; in twoway_strstr()
145 if (k < mem) k = mem; in twoway_strstr()
157 for (k=MAX(ms+1,mem); n[k] && n[k] == h[k]; k++); in twoway_strstr()
[all …]
/aosp12/art/test/2019-constantcalculationsinking/src/
H A DMain.java50 for (int k = 0; k < iterations; k++) { in testLoopAddInt()
67 for (int k = 0; k < iterations; k++) { in testLoopSubInt()
84 for (long k = 0; k < iterations; k++) { in testLoopSubLong()
101 for (int k = 0; k < 5; k++) { in testLoopMulInt()
103 + (k + 2) / 7 - (i - 5) / 3 + k * 3 - k / 2; in testLoopMulInt()
119 for (long k = 0; k < 5; k++) { in testLoopMulLong()
137 for (int k = 0; k < iterations; k++) { in testLoopDivInt()
154 for (long k = 0; k < iterations; k++) { in testLoopDivLong()
171 for (int k = 0; k < iterations; k++) { in testLoopRemInt()
188 for (long k = 0; k < iterations; k++) { in testLoopRemLong()
[all …]
/aosp12/build/soong/ui/status/
H A Dkati.go49 if k.hasError {
59 k.buf.Reset()
71 k.flushAction()
72 k.count += 1
78 if err == nil && idx+k.extra != k.count {
79 k.extra = k.count - idx
80 k.st.SetTotalActions(k.total + k.extra)
83 k.extra += 1
84 k.st.SetTotalActions(k.total + k.extra)
92 k.st.SetTotalActions(k.total + k.extra)
[all …]
/aosp12/hardware/google/gchips/videoapi/
H A DVendorVideoAPI.cpp138 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
161 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
184 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
207 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
230 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
253 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
276 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
299 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
322 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
345 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
[all …]
/aosp12/frameworks/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java502 for (int k = 0; k < val.length; k += incr) { in addCommand()
561 path.rCubicTo(val[k + 0], val[k + 1], val[k + 2], val[k + 3], in addCommand()
562 val[k + 4], val[k + 5]); in addCommand()
571 path.cubicTo(val[k + 0], val[k + 1], val[k + 2], val[k + 3], in addCommand()
572 val[k + 4], val[k + 5]); in addCommand()
587 val[k + 0], val[k + 1], in addCommand()
588 val[k + 2], val[k + 3]); in addCommand()
604 val[k + 0], val[k + 1], val[k + 2], val[k + 3]); in addCommand()
611 path.rQuadTo(val[k + 0], val[k + 1], val[k + 2], val[k + 3]); in addCommand()
618 path.quadTo(val[k + 0], val[k + 1], val[k + 2], val[k + 3]); in addCommand()
[all …]
/aosp12/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
H A Dmisc.c50 (k) int k; in Balloc() argument
64 if (k <= Kmax && (rv = freelist[k]) !=0) {
86 rv->k = k;
303 k = a->k;
394 (b, k) Bigint *b; int k; in pow5mult() argument
464 (b, k) Bigint *b; int k; in lshift() argument
684 d0 = Exp_1 | y << k | z >> (32 - k);
686 d1 = z << k | y >> (32 - k);
698 d1 = z << k + 16 - Ebits | w << k - Ebits | y >> 16 + Ebits - k;
704 d0 = Exp_1 | y << k + 16 | z << k | w >> 16 - k;
[all …]
H A Dsmisc.c43 int i, k; local
47 for(k = 0, y = 1; x > y; y <<= 1, k++) ;
97 if (k > 0) {
99 if (k &= 3)
103 k = -k;
105 if (k &= 3)
109 if (k > 0)
112 k = -k;
175 any_on(b, k) Bigint *b; int k; in any_on() argument
190 x1 >>= k;
[all …]
/aosp12/art/libartbase/base/
H A Dsafe_map.h73 template<typename Kv> size_type erase(const Kv& k) { return map_.erase(k); } in erase() argument
75 template<typename Kv> iterator find(const Kv& k) { return map_.find(k); } in find() argument
76 template<typename Kv> const_iterator find(const Kv& k) const { return map_.find(k); } in find() argument
78 template<typename Kv> iterator lower_bound(const Kv& k) { return map_.lower_bound(k); } in lower_bound() argument
80 return map_.lower_bound(k); in lower_bound()
83 template<typename Kv> iterator upper_bound(const Kv& k) { return map_.upper_bound(k); } in upper_bound() argument
88 template<typename Kv> size_type count(const Kv& k) const { return map_.count(k); } in count() argument
91 V Get(const K& k) const { in Get() argument
139 auto lb = lower_bound(k); in GetOrCreate()
148 iterator it = find(k); in FindOrAdd()
[all …]
/aosp12/hardware/st/secure_element2/secure_element/1.0/esehal/src/
H A Dlog.c42 static int k = 0; in vsay() local
58 if (k == 0) in vsay()
60 k += strlen(ctx->log_buf + k); in vsay()
61 k += vsnprintf(ctx->log_buf + k, BUFSIZE - k, fmt + 2, args); in vsay()
64 k += vsnprintf(ctx->log_buf + k, 1024 - k, fmt, args); in vsay()
66 if (k >= BUFSIZE) in vsay()
67 k = BUFSIZE - 1; in vsay()
69 if (k >= 0) { in vsay()
70 buf[k] = '\000'; in vsay()
71 if ((k > 0 && (buf[k - 1] == '\n')) || (k == (BUFSIZE - 1))) { in vsay()
[all …]
/aosp12/frameworks/av/media/libeffects/dynamicsproc/dsp/
H A DDPFrequency.cpp242 for (size_t k = 0; k < mHalfFFTSize; k++) { in updateParameters() local
389 for (size_t k = 0; k < samples; k += channelCount) { in processSamples() local
411 for (size_t k = 0; k < fill; k++) { in processSamples() local
416 for (size_t k = 0; k < available; k++) { in processSamples() local
445 for (unsigned int k = 0; k < processFrames; k++) { in processChannelBuffers() local
463 for (unsigned int k = 0; k < mOverlapSize; k++) { in processChannelBuffers() local
469 for (unsigned int k = 0; k < processFrames; k++) { in processChannelBuffers() local
495 for (size_t k = 0; k < maxBin; k++) { in processFirstStages() local
580 for (size_t k = 0; k < maxBin; k++) { in processFirstStages() local
588 for (size_t k = 0; k < maxBin; k++) { in processFirstStages() local
[all …]
/aosp12/system/bt/gd/crypto_toolbox/
H A Daes.cc643 k[1] ^= s_box(k[14]);
644 k[2] ^= s_box(k[15]);
645 k[3] ^= s_box(k[12]);
706 k[1] ^= s_box(k[14]);
707 k[2] ^= s_box(k[15]);
708 k[3] ^= s_box(k[12]);
753 k[1] ^= s_box(k[30]);
754 k[2] ^= s_box(k[31]);
755 k[3] ^= s_box(k[28]);
851 k[1] ^= s_box(k[30]);
[all …]
/aosp12/system/bt/stack/crypto_toolbox/
H A Daes.cc699 k[1] ^= s_box(k[14]);
700 k[2] ^= s_box(k[15]);
701 k[3] ^= s_box(k[12]);
761 k[1] ^= s_box(k[14]);
762 k[2] ^= s_box(k[15]);
763 k[3] ^= s_box(k[12]);
807 k[1] ^= s_box(k[30]);
808 k[2] ^= s_box(k[31]);
809 k[3] ^= s_box(k[28]);
904 k[1] ^= s_box(k[30]);
[all …]
/aosp12/art/test/618-checker-induction/src/
H A DMain.java83 for (int k = 0; k < 4; k++) { in deadNestedAndFollowingLoops()
85 for (int k = 0; k < 4; k++) { in deadNestedAndFollowingLoops()
89 for (int k = 0; k < 4; k++) { in deadNestedAndFollowingLoops()
103 int k = 0; in deadConditional() local
107 k = i; in deadConditional()
127 k--; in deadConditionalCycle()
425 k = 1 - k; in periodicReturned9()
444 k = 1 - k; in periodicReturned10()
465 k++; in getSum21()
515 k = 1 - k; in periodicReturnedN()
[all …]
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_log1pf.c43 int32_t k,hx,hu,ax; in log1pf() local
48 k = 1; in log1pf()
65 if(k!=0) { in log1pf()
69 k = (hu>>23)-127; in log1pf()
76 k = (hu>>23)-127; in log1pf()
90 k += 1; in log1pf()
99 if(k==0) { in log1pf()
102 c += k*ln2_lo; in log1pf()
103 return k*ln2_hi+c; in log1pf()
108 return k*ln2_hi-((R-(k*ln2_lo+c))-f); in log1pf()
[all …]
H A Ds_scalbnf.c31 int32_t k,ix; in scalbnf() local
33 k = (ix&0x7f800000)>>23; /* extract exponent */ in scalbnf()
34 if (k==0) { /* 0 or subnormal x */ in scalbnf()
38 k = ((ix&0x7f800000)>>23) - 25; in scalbnf()
41 if (k==0xff) return x+x; /* NaN or Inf */ in scalbnf()
42 k = k+n; in scalbnf()
44 if (k > 0) /* normal result */ in scalbnf()
45 {SET_FLOAT_WORD(x,(ix&0x807fffff)|(k<<23)); return x;} in scalbnf()
46 if (k <= -25) { in scalbnf()
52 k += 25; /* subnormal result */ in scalbnf()
[all …]
H A Ds_log1p.c105 int32_t k,hx,hu,ax; in log1p() local
110 k = 1; in log1p()
127 if(k!=0) { in log1p()
131 k = (hu>>20)-1023; in log1p()
137 k = (hu>>20)-1023; in log1p()
151 k += 1; in log1p()
160 if(k==0) { in log1p()
163 c += k*ln2_lo; in log1p()
164 return k*ln2_hi+c; in log1p()
169 return k*ln2_hi-((R-(k*ln2_lo+c))-f); in log1p()
[all …]
H A Ds_scalbn.c37 int32_t k,hx,lx; in scalbn() local
39 k = (hx&0x7ff00000)>>20; /* extract exponent */ in scalbn()
40 if (k==0) { /* 0 or subnormal x */ in scalbn()
44 k = ((hx&0x7ff00000)>>20) - 54; in scalbn()
47 if (k==0x7ff) return x+x; /* NaN or Inf */ in scalbn()
48 k = k+n; in scalbn()
50 if (k > 0) /* normal result */ in scalbn()
51 {SET_HIGH_WORD(x,(hx&0x800fffff)|(k<<20)); return x;} in scalbn()
52 if (k <= -54) { in scalbn()
58 k += 54; /* subnormal result */ in scalbn()
[all …]
H A Ds_scalbnl.c46 int k; in scalbnl() local
48 k = u.bits.exp; /* extract exponent */ in scalbnl()
49 if (k==0) { /* 0 or subnormal x */ in scalbnl()
52 k = u.bits.exp - 128; in scalbnl()
55 if (k==0x7fff) return x+x; /* NaN or Inf */ in scalbnl()
56 k = k+n; in scalbnl()
58 if (k > 0) /* normal result */ in scalbnl()
59 {u.bits.exp = k; return u.e;} in scalbnl()
60 if (k <= -128) { in scalbnl()
66 k += 128; /* subnormal result */ in scalbnl()
[all …]
/aosp12/system/chre/external/kiss_fft/
H A Dkiss_fftr.c80 int k,ncfft; in kiss_fftr() local
119 for ( k=1;k <= ncfft/2 ; ++k ) { in kiss_fftr()
120 fpk = st->tmpbuf[k]; in kiss_fftr()
121 fpnk.r = st->tmpbuf[ncfft-k].r; in kiss_fftr()
122 fpnk.i = - st->tmpbuf[ncfft-k].i; in kiss_fftr()
140 int k, ncfft; in kiss_fftri() local
157 for (k = 1; k <= ncfft / 2; ++k) { in kiss_fftri()
159 fk = freqdata[k]; in kiss_fftri()
160 fnkc.r = freqdata[ncfft - k].r; in kiss_fftri()
161 fnkc.i = -freqdata[ncfft - k].i; in kiss_fftri()
[all …]
/aosp12/art/test/552-checker-x86-avx2-bit-manipulation/src/
H A DMain.java51 long k = 2; in and_not_64() local
82 int k = 2; in and_not_32() local
127 int k = 10; in reset_lowest_set_bit_32() local
133 k +=j; in reset_lowest_set_bit_32()
134 k = k & k-1; in reset_lowest_set_bit_32()
135 l +=k; in reset_lowest_set_bit_32()
138 return y + j + k + l; in reset_lowest_set_bit_32()
166 long k = 10; in reset_lowest_set_bit_64() local
172 k +=j; in reset_lowest_set_bit_64()
173 k = k & k-1; in reset_lowest_set_bit_64()
[all …]

12345678910>>...39