/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
ets_to_if2.cpp | 149 UWord8 accum; local 208 accum = (UWord8) * (ptr_temp++); 209 accum |= (UWord8) * (ptr_temp++) << 1; 210 accum |= (UWord8) * (ptr_temp++) << 2; 211 accum |= (UWord8) * (ptr_temp++) << 3; 212 accum |= (UWord8) * (ptr_temp++) << 4; 213 accum |= (UWord8) * (ptr_temp++) << 5; 214 accum |= (UWord8) * (ptr_temp++) << 6; 215 accum |= (UWord8) * (ptr_temp++) << 7; 217 if2_output_ptr[j++] = accum; [all...] |
ets_to_wmf.cpp | 174 UWord8 accum; local 220 accum = (UWord8) * (ptr_temp++) << 7; 221 accum |= (UWord8) * (ptr_temp++) << 6; 222 accum |= (UWord8) * (ptr_temp++) << 5; 223 accum |= (UWord8) * (ptr_temp++) << 4; 224 accum |= (UWord8) * (ptr_temp++) << 3; 225 accum |= (UWord8) * (ptr_temp++) << 2; 226 accum |= (UWord8) * (ptr_temp++) << 1; 227 accum |= (UWord8) * (ptr_temp++); 229 wmf_output_ptr[j++] = accum; [all...] |
/system/media/audio_utils/ |
conversion.cpp | 35 int accum = 0; local 37 accum += *in++; 39 accum /= channelCount; // round to 0 41 *out++ = accum; 50 float accum = 0; local 52 accum += *in++; 55 accum = limiter(accum * M_SQRT1_2); 57 accum *= recipdiv; 60 *out++ = accum; [all...] |
/prebuilts/go/darwin-x86/test/bench/shootout/ |
pidigits.c | 41 static mpz_t numer, accum, denom, tmp1, tmp2; variable 45 if (mpz_cmp(numer, accum) > 0) 48 /* Compute (numer * 3 + accum) / denom */ 51 mpz_add(tmp1, tmp1, accum); 54 /* Now, if (numer * 4 + accum) % denom... */ 69 mpz_add(accum, accum, tmp1); 70 mpz_mul_ui(accum, accum, y2); 77 mpz_submul_ui(accum, denom, d) [all...] |
/prebuilts/go/linux-x86/test/bench/shootout/ |
pidigits.c | 41 static mpz_t numer, accum, denom, tmp1, tmp2; variable 45 if (mpz_cmp(numer, accum) > 0) 48 /* Compute (numer * 3 + accum) / denom */ 51 mpz_add(tmp1, tmp1, accum); 54 /* Now, if (numer * 4 + accum) % denom... */ 69 mpz_add(accum, accum, tmp1); 70 mpz_mul_ui(accum, accum, y2); 77 mpz_submul_ui(accum, denom, d) [all...] |
/external/clang/test/CodeGen/ |
mandel.c | 30 volatile double __complex__ accum; variable
|
vector.c | 32 __m64 accum = _mm_setzero_si64(); local 35 accum = _mm_add_pi32(p[i], accum); 37 __m64 accum2 = _mm_unpackhi_pi32(accum, accum); 38 accum = _mm_add_pi32(accum, accum2); 40 int result = _mm_cvtsi64_si32(accum);
|
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/ |
DoubleMath.java | 86 double accum = 1.0; local 88 accum *= i; 90 return accum * everySixteenthFactorial[n >> 4];
|
BigIntegerMath.java | 228 BigInteger accum = BigInteger.ONE; local 245 // Multiply numeratorAccum / denominatorAccum into accum. 246 accum = accum 259 return accum
|
/external/tcpdump/ |
checksum.c | 41 accum = i << 2 43 accum <<= 1 44 if accum & 0x400: 45 accum ^= 0x633 46 crc_table.append(accum) 95 register uint16_t accum; local 100 accum = ((unsigned short) i << 2); 103 if ((accum <<= 1) & 0x400) accum ^= CRC10_POLYNOMIAL; 105 verify_crc10_table[i] = accum; [all...] |
/external/vboot_reference/futility/ |
cmd_pcr.c | 102 uint8_t accum[SHA256_DIGEST_SIZE * 2]; local 161 memcpy(accum, pcr, sizeof(pcr)); 162 parse_digest_or_die(accum + digest_size, digest_size, argv[i]); 165 print_digest(accum + digest_size, digest_size); 168 digest = DigestBuf(accum, digest_size * 2, digest_alg);
|
/frameworks/av/media/libstagefright/foundation/ |
base64.cpp | 54 uint32_t accum = 0; local 78 accum = (accum << 6) | value; 81 out[j++] = (accum >> 16); 83 if (j < outLen) { out[j++] = (accum >> 8) & 0xff; } 84 if (j < outLen) { out[j++] = accum & 0xff; } 86 accum = 0;
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
AsciiHprofWriter.java | 73 out.printf("rank self accum count trace method\n"); 75 double accum = 0; local 81 accum += self; 85 rank, self*100, accum*100, count, stackTrace.stackTraceId,
|
/external/opencv3/3rdparty/libwebp/utils/ |
rescaler.c | 60 int accum = 0; local 64 accum += wrk->x_add; 65 for (; accum > 0; accum -= wrk->x_sub) { 71 const int32_t frac = base * (-accum); 81 if (accum < 0) { 85 accum += wrk->x_add; 87 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; 88 accum -= wrk->x_sub;
|
/external/skia/src/core/ |
SkRect.cpp | 63 Sk4s min, max, accum; local 74 accum = max = min; 75 accum = accum * Sk4s(0); 80 accum = accum * xy; 88 * in which case we could eliminate accum entirely, and just check min and max for 91 if (is_finite(accum)) {
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
Base64InputStream.java | 105 int accum = 0; local 106 accum |= inputBuffer[0] << 18; 107 accum |= inputBuffer[1] << 12; 108 accum |= inputBuffer[2] << 6; 109 accum |= inputBuffer[3]; 114 outputBuffer[0] = (accum >> 16) & 0xFF; 115 outputBuffer[1] = (accum >> 8) & 0xFF; 116 outputBuffer[2] = (accum) & 0xFF; 120 outputBuffer[0] = (accum >> 16) & 0xFF; 121 outputBuffer[1] = (accum >> 8) & 0xFF [all...] |
/packages/services/Telephony/src/org/apache/james/mime4j/decoder/ |
Base64InputStream.java | 105 int accum = 0; local 106 accum |= inputBuffer[0] << 18; 107 accum |= inputBuffer[1] << 12; 108 accum |= inputBuffer[2] << 6; 109 accum |= inputBuffer[3]; 114 outputBuffer[0] = (accum >> 16) & 0xFF; 115 outputBuffer[1] = (accum >> 8) & 0xFF; 116 outputBuffer[2] = (accum) & 0xFF; 120 outputBuffer[0] = (accum >> 16) & 0xFF; 121 outputBuffer[1] = (accum >> 8) & 0xFF [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
Skewness.java | 165 double accum = 0.0; local 169 accum += d * d; 172 final double variance = (accum - (accum2 * accum2 / length)) / (length - 1);
|
Variance.java | 397 double accum = 0.0; local 402 accum += dev * dev; 407 var = (accum - (accum2 * accum2 / len)) / (len - 1.0); 409 var = (accum - (accum2 * accum2 / len)) / len; 499 double accum = 0.0; local 504 accum += weights[i] * (dev * dev); 514 var = (accum - (accum2 * accum2 / sumWts)) / (sumWts - 1.0); 516 var = (accum - (accum2 * accum2 / sumWts)) / sumWts;
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
vktComputeBasicComputeShaderTests.cpp | 59 T accum = 1; local 61 accum *= v[i]; 62 return accum; [all...] |
/external/guava/guava/src/com/google/common/math/ |
DoubleMath.java | 301 double accum = 1.0; local 303 accum *= i; 305 return accum * everySixteenthFactorial[n >> 4];
|
/external/skia/src/opts/ |
SkBitmapFilter_opts_SSE2.cpp | 66 __m128i accum = _mm_setzero_si128(); local 95 accum = _mm_add_epi32(accum, t); 98 accum = _mm_add_epi32(accum, t); 113 accum = _mm_add_epi32(accum, t); 116 accum = _mm_add_epi32(accum, t); 144 accum = _mm_add_epi32(accum, t) [all...] |
/external/webp/src/dsp/ |
rescaler.c | 38 int accum = wrk->x_add; local 43 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; 46 accum -= wrk->x_sub; 47 if (accum < 0) { 52 accum += wrk->x_add; 55 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); 69 int accum = 0; local 72 accum += wrk->x_add; 73 while (accum > 0) { 74 accum -= wrk->x_sub [all...] |
rescaler_mips32.c | 40 int accum, accum1; local 47 "li %[accum], 0 \n\t" 49 "addu %[accum], %[accum], %[x_add] \n\t" 51 "blez %[accum], 3f \n\t" 54 "subu %[accum], %[accum], %[x_sub] \n\t" 57 "bgtz %[accum], 2b \n\t" 59 "negu %[accum1], %[accum] \n\t" 70 : [accum]"=&r"(accum), [src1]"+r"(src1), [temp3]"=&r"(temp3) 99 int accum; local [all...] |
/frameworks/av/services/audioflinger/ |
AudioResamplerFirProcess.h | 192 // TO accum[CHANNELS]; 193 Accumulator<CHANNELS, TO> accum; local 195 // for (int j = 0; j < CHANNELS; ++j) accum[j] = 0; 196 accum.clear(); 200 // for (int j = 0; j < CHANNELS; ++j) mac(accum[j], c, sP + j); 202 accum.acc(c, tmp_data); 208 // for (int j = 0; j < CHANNELS; ++j) mac(accum[j], c, sN + j); 210 accum.acc(c, tmp_data); 215 // for (int j = 0; j < CHANNELS; ++j) out[j] += volumeAdjust(accum[j], volumeLR[0]); 217 accum.volume(tmp_out, volumeLR[0]) [all...] |