Searched refs:sum (Results 151 - 175 of 393) sorted by relevance

1234567891011>>

/external/e2fsprogs/resize/
H A Dmain.c103 unsigned long long sum; local
109 num = 0; sum = 0;
125 sum += b_stride;
133 sum = 0;
136 fs->stride = sum / num;
/external/speex/libspeex/
H A Dresample.c257 /*sum = frac*accum[1] + (1-frac)*accum[2];*/
343 spx_word32_t sum; local
360 sum = accum[0] + accum[1] + accum[2] + accum[3];
361 sum = SATURATE32PSHR(sum, 15, 32767);
363 sum = inner_product_single(sinc, iptr, N);
366 out[out_stride * out_sample++] = sum;
395 double sum; local
412 sum = accum[0] + accum[1] + accum[2] + accum[3];
414 sum
444 spx_word32_t sum; local
507 spx_word32_t sum; local
[all...]
/external/qemu/block/
H A Draw-posix.c318 int size, ret, shift, sum; local
320 sum = 0;
343 sum += size;
346 return sum;
375 sum += size;
378 return sum;
382 return raw_pread_aligned(bs, offset, buf, count) + sum;
406 int size, ret, shift, sum; local
408 sum = 0;
431 sum
[all...]
/external/v8/src/
H A Dbignum.cc196 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry; local
197 bigits_[bigit_pos] = sum & kBigitMask;
198 carry = sum >> kBigitSize;
203 Chunk sum = bigits_[bigit_pos] + carry; local
204 bigits_[bigit_pos] = sum & kBigitMask;
205 carry = sum >> kBigitSize;
358 // sum up used_digits of Bigit*Bigit.
371 // The sum of the two indices must be equal to i.
388 // Invariant: sum of both indices is again equal to i.
658 Chunk sum
[all...]
/external/opencv/cv/src/
H A Dcvhaar.cpp107 CvMat sum, sqsum, tilted; member in struct:CvHidHaarClassifierCascade
417 #define sum_elem_ptr(sum,row,col) \
418 ((sumtype*)CV_MAT_ELEM_PTR_FAST((sum),(row),(col),sizeof(sumtype)))
438 CvMat sum_stub, *sum = (CvMat*)_sum; local
453 CV_CALL( sum = cvGetMat( sum, &sum_stub, &coi0 ));
459 if( !CV_ARE_SIZES_EQ( sum, sqsum ))
463 CV_MAT_TYPE(sum->type) != CV_32SC1 )
465 "Only (32s, 64f, 32s) combination of (sum,sqsum,tilted_sum) formats is allowed" );
478 "Only (32s, 64f, 32s) combination of (sum,sqsu
675 double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; local
772 double sum, t = node->threshold*variance_norm_factor, a, b; local
788 double sum, t = node->threshold*variance_norm_factor, a, b; local
864 CvMat *temp = 0, *sum = 0, *tilted = 0, *sqsum = 0, *norm_img = 0, *sumcanny = 0, *img_small = 0; local
[all...]
/external/elfutils/lib/
H A Dmd5.c132 size_t sum; local
144 sum = 0;
149 n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream);
151 sum += n;
153 while (sum < BLOCKSIZE && n != 0);
168 if (sum > 0)
169 md5_process_bytes (buffer, sum, &ctx);
/external/linux-tools-perf/util/
H A Dannotate.c70 h->sum++;
145 if (src_line == NULL && h->sum)
146 percent = 100.0 * hits / h->sum;
413 if (!h->sum)
435 src_line[i].percent = 100.0 * h->addr[i] / h->sum;
502 printf("%*s: %" PRIu64 "\n", BITS_PER_LONG / 2, "h->sum", h->sum);
584 h->sum = 0;
589 h->sum += h->addr[pos->offset];
/external/srec/srec/cfront/
H A Dspec_anl.c275 bigdata t, sum, mom, nxt; local
292 sum = mom = 0;
299 ASSERT((float) sum + (float)density[j] < LONG_MAX);
300 ASSERT((float) sum + (float)density[j] > LONG_MIN);
301 sum += (bigdata) density[j];
308 ASSERT(((float)nxt + (float)sum - (float)mom) < LONG_MAX);
309 ASSERT(((float)nxt + (float)sum - (float)mom) > LONG_MIN);
312 t = (bigdata)((SHIFT_UP(nxt + sum - mom, HALF_RAMP_SHIFT)
/external/v8/test/mjsunit/harmony/
H A Dproxies-function.js338 this.sum = x + y;
344 this.sum = x + y;
351 return {sum: x + y};
358 result.sum = x + y;
371 assertEquals(42, o.sum)
377 assertEquals(43, o.sum)
405 assertEquals(42, o.sum)
412 assertEquals(43, o.sum)
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
H A DStats.cs109 public static int sum(int[] X) { method in class:Antlr.Runtime.Misc.Stats
/external/chromium/chrome/browser/autofill/
H A Dcredit_card.cc408 int sum = 0; local
418 sum += digit / 10 + digit % 10;
420 sum += digit;
425 return (sum % 10) == 0;
/external/e2fsprogs/lib/ext2fs/
H A Ddirhash.c35 __u32 sum = 0; local
41 sum += DELTA;
42 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b);
43 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d);
/external/grub/netboot/
H A Dpci.c348 unsigned char sum; local
365 sum = 0;
367 sum += check->chars[i];
368 if (sum != 0)
/external/openfst/src/include/fst/
H A Dshortest-distance.h318 // Return the sum of the weight of all successful paths in an FST, i.e.,
330 Weight sum = Weight::Zero();
332 sum = Plus(sum, Times(distance[s], fst.Final(s)));
333 return sum;
/external/zlib/src/
H A Dcrc32.c331 unsigned long sum; local
333 sum = 0;
336 sum ^= *mat;
340 return sum;
/external/chromium/chrome/browser/sync/sessions/
H A Dstatus_controller.cc193 int sum = 0; local
195 sum += it->second->conflict_progress.ConflictingItemsSize();
197 return sum;
/external/chromium/chrome/browser/ui/gtk/infobars/
H A Dinfobar_container_gtk.cc113 int sum = 0; local
114 gtk_container_foreach(GTK_CONTAINER(widget()), SumAnimatingBarHeight, &sum);
115 return sum;
/external/clang/test/Sema/
H A Duninit-variables.c490 int sum; // expected-note {{initialize}} local
492 sum += arr[i]; // expected-warning {{variable 'sum' is uninitialized}}
493 return sum / n;
/external/iproute2/netem/
H A Dmaketable.c54 double sumsquare=0.0, sum=0.0, top=0.0; local
59 sum += x[i];
62 *mu = sum/(double)n;
/external/libvpx/vp8/common/
H A Dpostproc.c232 int sum = 0; local
237 sum += s[i];
246 sum += x;
251 if (sumsq * 15 - sum * sum < flimit)
253 d[c&15] = (8 + sum + s[c]) >> 4;
276 int sum = 0; local
283 sum += s[i*pitch];
289 sum += s[7*pitch] - s[-8*pitch];
292 if (sumsq * 15 - sum * su
[all...]
/external/llvm/include/llvm/Support/
H A DTimeValue.h178 /// @returns The sum of the two operands as a new TimeValue
365 TimeValue sum (tv1.seconds_ + tv2.seconds_, tv1.nanos_ + tv2.nanos_);
366 sum.normalize ();
367 return sum;
/external/skia/src/core/
H A DSk64.cpp142 uint32_t sum = lo + (1 << 15); local
143 hi += (sum < lo);
144 return (hi << 16) | (sum >> 16);
/external/webkit/Tools/DumpRenderTree/cg/
H A DImageDiffCG.cpp111 float sum = 0.0f; local
128 sum += distance;
140 difference = 100.0f * sum / (height * width);
/external/webkit/Tools/DumpRenderTree/gtk/
H A DImageDiff.cpp104 float sum = 0; local
126 sum += distance;
137 difference = 100.0f * sum / (height * width);
/external/webkit/Tools/DumpRenderTree/win/
H A DImageDiffCairo.cpp120 float sum = 0; local
135 sum += distance;
147 difference = 100.0f * sum / (height * width);

Completed in 593 milliseconds

1234567891011>>