/external/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 146 SmallVector<const SCEV *, 16> Sum; in TEST_F() local 147 Sum.push_back(SE.getMulExpr(A[0], B[0])); in TEST_F() 148 EXPECT_EQ(Product->getOperand(0), SE.getAddExpr(Sum)); in TEST_F() 149 Sum.clear(); in TEST_F() 154 Sum.push_back(SE.getMulExpr(A[1], B[0])); in TEST_F() 155 Sum.push_back(SE.getMulExpr(A[0], B[1])); in TEST_F() 156 Sum.push_back(SE.getMulExpr(A[1], B[1])); in TEST_F() 157 EXPECT_EQ(Product->getOperand(1), SE.getAddExpr(Sum)); in TEST_F() 158 Sum.clear(); in TEST_F() 160 Sum.push_back(SE.getMulExpr(A[2], B[0])); in TEST_F() [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineBranchProbabilityInfo.cpp | 37 uint64_t Sum = 0; in getSumForBlock() local 42 Sum += Weight; in getSumForBlock() 46 if (Sum <= UINT32_MAX) in getSumForBlock() 47 return Sum; in getSumForBlock() 51 assert((Sum / UINT32_MAX) < UINT32_MAX); in getSumForBlock() 52 Scale = (Sum / UINT32_MAX) + 1; in getSumForBlock() 53 Sum = 0; in getSumForBlock() 57 Sum += Weight / Scale; in getSumForBlock() 59 assert(Sum <= UINT32_MAX); in getSumForBlock() 60 return Sum; in getSumForBlock()
|
/external/chromium_org/third_party/boringssl/src/ssl/test/runner/ |
D | prf.go | 29 a := h.Sum(nil) 36 b := h.Sum(nil) 46 a = h.Sum(nil) 102 digest := hashSHA1.Sum(nil) 108 done += copy(result[done:], hashMD5.Sum(nil)) 231 md5Digest := md5.Sum(nil) 237 md5Digest = md5.Sum(nil) 242 sha1Digest := sha1.Sum(nil) 248 sha1Digest = sha1.Sum(nil) 268 seed := h.client.Sum(nil) [all …]
|
/external/llvm/lib/Support/ |
D | IntervalMap.cpp | 132 unsigned Sum = 0; in distribute() local 134 Sum += NewSize[n] = PerNode + (n < Extra); in distribute() 135 if (PosPair.first == Nodes && Sum > Position) in distribute() 136 PosPair = IdxPair(n, Position - (Sum - NewSize[n])); in distribute() 138 assert(Sum == Elements + Grow && "Bad distribution sum"); in distribute() 148 Sum = 0; in distribute() 151 Sum += NewSize[n]; in distribute() 153 assert(Sum == Elements && "Bad distribution sum"); in distribute()
|
/external/opencv/cxcore/src/ |
D | cxsumpixels.cpp | 367 ICV_DEF_SUM_ALL( Sum, 8u, CV_NOP, uchar, double, int64, unsigned, 369 ICV_DEF_SUM_ALL( Sum, 16u, CV_NOP, ushort, double, int64, unsigned, 371 ICV_DEF_SUM_ALL( Sum, 16s, CV_NOP, short, double, int64, int, 373 ICV_DEF_SUM_ALL( Sum, 32s, CV_NOP, int, double, double, double, NOHINT, NOHINT, 0 ) 374 ICV_DEF_SUM_ALL( Sum, 32f, CV_NOP, float, double, double, double, HINT, NOHINT, 0 ) 375 ICV_DEF_SUM_ALL( Sum, 64f, CV_NOP, double, double, double, double, NOHINT, NOHINT, 0 ) 383 CV_DEF_INIT_BIG_FUNC_TAB_2D( Sum, R ) in CV_DEF_INIT_BIG_FUNC_TAB_2D() argument 384 CV_DEF_INIT_FUNC_TAB_2D( Sum, CnCR ) in CV_DEF_INIT_BIG_FUNC_TAB_2D() 825 ICV_ACC_ROWS_FUNC( Sum, 8u32s, uchar, int, CV_ADD, CV_NOP ) 826 ICV_ACC_ROWS_FUNC( Sum, 8u32f, uchar, float, CV_ADD, CV_8TO32F ) [all …]
|
/external/llvm/unittests/ADT/ |
D | VariadicFunctionTest.cpp | 48 const VariadicFunction<long, int, SumImpl> Sum = {}; variable 51 EXPECT_EQ(0, Sum()); in TEST() 52 EXPECT_EQ(1, Sum(1)); in TEST() 53 EXPECT_EQ(12, Sum(10, 2)); in TEST() 54 EXPECT_EQ(1234567, Sum(1000000, 200000, 30000, 4000, 500, 60, 7)); in TEST()
|
/external/opencv/cv/src/ |
D | cvcondens.cpp | 162 float Sum = 0; in cvConDensUpdateByTime() local 179 Sum += ConDens->flConfidence[i]; in cvConDensUpdateByTime() 180 ConDens->flCumulative[i] = Sum; in cvConDensUpdateByTime() 185 icvScaleVector_32f( ConDens->Temp, ConDens->Temp, ConDens->DP, 1.f / Sum ); in cvConDensUpdateByTime() 188 Sum = Sum / ConDens->SamplesNum; in cvConDensUpdateByTime() 194 while( (ConDens->flCumulative[j] <= (float) i * Sum)&&(j<ConDens->SamplesNum-1)) in cvConDensUpdateByTime()
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 541 uint32_t Sum = 0; in getSumForBlock() local 545 uint32_t PrevSum = Sum; in getSumForBlock() 547 Sum += Weight; in getSumForBlock() 548 assert(Sum > PrevSum); (void) PrevSum; in getSumForBlock() 551 return Sum; in getSumForBlock() 562 uint32_t Sum = 0; in getHotSucc() local 569 uint32_t PrevSum = Sum; in getHotSucc() 571 Sum += Weight; in getHotSucc() 572 assert(Sum > PrevSum); (void) PrevSum; in getHotSucc() 581 if (BranchProbability(MaxWeight, Sum) > BranchProbability(4, 5)) in getHotSucc()
|
D | ScalarEvolutionExpander.cpp | 315 const SCEV *Sum = NoAddRecs.empty() ? in SimplifyAddOperands() local 321 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum)) in SimplifyAddOperands() 323 else if (!Sum->isZero()) in SimplifyAddOperands() 324 Ops.push_back(Sum); in SimplifyAddOperands() 720 Value *Sum = nullptr; in visitAddExpr() local 725 if (!Sum) { in visitAddExpr() 727 Sum = expand(Op); in visitAddExpr() 729 } else if (PointerType *PTy = dyn_cast<PointerType>(Sum->getType())) { in visitAddExpr() 742 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum); in visitAddExpr() 748 NewOps.push_back(isa<Instruction>(Sum) ? SE.getUnknown(Sum) : in visitAddExpr() [all …]
|
D | AliasAnalysisCounter.cpp | 42 void printLine(const char *Desc, unsigned Val, unsigned Sum) { in printLine() argument 44 << Val*100/Sum << "%)\n"; in printLine()
|
/external/openfst/src/include/fst/ |
D | accumulator.h | 56 Weight Sum(Weight w, Weight v) { in Sum() function 61 Weight Sum(Weight w, ArcIterator *aiter, ssize_t begin, in Sum() function 95 Weight Sum(Weight w, Weight v) { in Sum() function 100 Weight Sum(Weight w, ArcIterator *aiter, ssize_t begin, in Sum() function 204 Weight Sum(Weight w, Weight v) { in Sum() function 209 Weight Sum(Weight w, ArcIterator *aiter, ssize_t begin, in Sum() function 493 Weight Sum(Weight w, Weight v) { in Sum() function 498 Weight Sum(Weight w, Iterator *aiter, ssize_t begin, in Sum() function 713 Weight Sum(Weight w, Weight v) { in Sum() function 715 return data_->GetAccumulator(fst_id_)->Sum(w, v); in Sum() [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/x86/ |
D | vp9_variance_impl_intrin_avx2.c | 18 int *Sum) { in vp9_get16x16var_avx2() argument 120 *((int*)Sum)= _mm_cvtsi128_si32(sum_res); in vp9_get16x16var_avx2() 129 int *Sum) { in vp9_get32x32var_avx2() argument 210 *((int*)Sum)= _mm_cvtsi128_si32(_mm256_castsi256_si128(sum_ref_src)) + in vp9_get32x32var_avx2()
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_variance_impl_intrin_avx2.c | 18 int *Sum) { in vp9_get16x16var_avx2() argument 120 *((int*)Sum)= _mm_cvtsi128_si32(sum_res); in vp9_get16x16var_avx2() 129 int *Sum) { in vp9_get32x32var_avx2() argument 210 *((int*)Sum)= _mm_cvtsi128_si32(_mm256_castsi256_si128(sum_ref_src)) + in vp9_get32x32var_avx2()
|
D | vp9_variance_avx2.c | 22 int *Sum 32 int *Sum 42 int *Sum
|
D | vp9_variance_mmx.c | 23 int *Sum 32 int *Sum
|
D | vp9_variance_sse2.c | 24 int *Sum 34 int *Sum 43 int *Sum 112 int *Sum
|
/external/chromium_org/base/ |
D | bind_unittest.cc | 174 int Sum(int a, int b, int c, int d, int e, int f) { in Sum() function 253 Callback<int(void)> c0 = Bind(&Sum, 32, 16, 8, 4, 2, 1); in TEST_F() 256 Callback<int(int)> c1 = Bind(&Sum, 32, 16, 8, 4, 2); in TEST_F() 259 Callback<int(int,int)> c2 = Bind(&Sum, 32, 16, 8, 4); in TEST_F() 262 Callback<int(int,int,int)> c3 = Bind(&Sum, 32, 16, 8); in TEST_F() 265 Callback<int(int,int,int,int)> c4 = Bind(&Sum, 32, 16); in TEST_F() 268 Callback<int(int,int,int,int,int)> c5 = Bind(&Sum, 32); in TEST_F() 271 Callback<int(int,int,int,int,int,int)> c6 = Bind(&Sum); in TEST_F() 277 Callback<int(int,int,int,int,int,int)> c6 = Bind(&Sum); in TEST_F()
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ppc/ |
D | csystemdependent.c | 58 …c_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum); 118 …c_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum); 119 …c_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum);
|
/external/libvpx/libvpx/vp8/encoder/ppc/ |
D | csystemdependent.c | 58 …c_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum); 118 …c_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum); 119 …c_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | EnumerableExtensions.cs | 227 #region Sum 229 public static int Sum(IEnumerable<int> source) { in Sum() method in Antlr.Runtime.JavaExtensions.EnumerableExtensions 232 return Sum<int, int>(source, delegate(int a, int b) { return checked(a + b); }); in Sum() 235 static TR Sum<TA, TR>(IEnumerable<TA> source, Func<TR, TA, TR> selector) { in Sum() method in Antlr.Runtime.JavaExtensions.EnumerableExtensions
|
/external/llvm/test/Transforms/LoopStrengthReduce/ |
D | share_code_in_preheader.ll | 11 %Sum.0.0 = phi i8 [ 0, %entry ], [ %tmp.21, %no_exit ] ; <i8> [#uses=1] 20 %tmp.21 = add i8 %tmp.19, %Sum.0.0 ; <i8> [#uses=2]
|
/external/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 82 Value *Sum = BinaryOperator::CreateAdd(CallFibX1, CallFibX2, in CreateFibFunction() local 86 ReturnInst::Create(Context, Sum, RecurseBB); in CreateFibFunction()
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
D | cmsgmt.c | 432 cmsFloat32Number Sum; in EstimateTAC() local 439 for (Sum=0, i=0; i < bp ->nOutputChans; i++) in EstimateTAC() 440 Sum += RoundTrip[i]; in EstimateTAC() 443 if (Sum > bp ->MaxTAC) { in EstimateTAC() 445 bp ->MaxTAC = Sum; in EstimateTAC()
|
/external/llvm/lib/Target/R600/ |
D | SIInsertWaits.cpp | 208 unsigned Sum = 0; in pushInstruction() local 212 Sum += Increment.Array[i]; in pushInstruction() 216 if (Sum == 0) in pushInstruction()
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/x86/ |
D | variance_sse2.c | 40 int *Sum 54 int *Sum 63 int *Sum
|