/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/libcxx/depr/depr.function.objects/ |
H A D | depr.adaptors.cxx1z.pass.cpp | 24 int sum(int a, int b) { return a + b; } function 29 int sum(int a, int b) const { return a + b; } function in struct:Foo 37 assert((std::ptr_fun<int, int, int>(sum)(4, 5) == 9)); 41 assert((std::mem_fn(&Foo::sum)(f, 5, 6) == 11));
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/numerics/numarray/template.valarray/valarray.members/ |
H A D | sum.pass.cpp | 14 // value_type sum() const; 26 assert(v1.sum() == 16.5);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/depr/depr.function.objects/ |
H A D | depr.adaptors.cxx1z.pass.cpp | 24 int sum(int a, int b) { return a + b; } function 29 int sum(int a, int b) const { return a + b; } function in struct:Foo 37 assert((std::ptr_fun<int, int, int>(sum)(4, 5) == 9)); 41 assert((std::mem_fn(&Foo::sum)(f, 5, 6) == 11));
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/numarray/template.valarray/valarray.members/ |
H A D | sum.pass.cpp | 14 // value_type sum() const; 26 assert(v1.sum() == 16.5);
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/language.support/support.coroutines/end.to.end/ |
H A D | generator.pass.cpp | 84 int sum = 0; local 86 sum += v; 87 assert(sum == 190); 91 int sum = 0; local 94 sum += g.current_value(); 96 assert(sum == 10);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/language.support/support.coroutines/end.to.end/ |
H A D | generator.pass.cpp | 84 int sum = 0; local 86 sum += v; 87 assert(sum == 190); 91 int sum = 0; local 94 sum += g.current_value(); 96 assert(sum == 10);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
H A D | Bastion.py | 138 self.sum = 0 142 self.sum = self.sum + n 144 return self.sum 152 print "b.sum =", b.sum,
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
H A D | Bastion.py | 138 self.sum = 0 142 self.sum = self.sum + n 144 return self.sum 152 print "b.sum =", b.sum,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
H A D | Bastion.py | 138 self.sum = 0 142 self.sum = self.sum + n 144 return self.sum 152 print "b.sum =", b.sum,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
H A D | Bastion.py | 138 self.sum = 0 142 self.sum = self.sum + n 144 return self.sum 152 print "b.sum =", b.sum,
|
/prebuilts/jdk/jdk8/darwin-x86/sample/lambda/BulkDataOperations/src/ |
H A D | CSVProcessor.java | 201 //Compute the average value and sum with 243 System.out.println("Compute max/min/average/sum statistics by column " 252 * Statistics are objects gather max,min,sum,average statistics. 268 private double sum; field in class:CSVProcessor.Statistics 291 sum += parseDouble(getCell(line, column)); 303 sum += stat.getSum(); 355 return sum; 359 return sum / lineCount;
|
/prebuilts/jdk/jdk8/linux-x86/sample/lambda/BulkDataOperations/src/ |
H A D | CSVProcessor.java | 201 //Compute the average value and sum with 243 System.out.println("Compute max/min/average/sum statistics by column " 252 * Statistics are objects gather max,min,sum,average statistics. 268 private double sum; field in class:CSVProcessor.Statistics 291 sum += parseDouble(getCell(line, column)); 303 sum += stat.getSum(); 355 return sum; 359 return sum / lineCount;
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
H A D | __init__.py | 212 return sum(1 for _ in self.categories()) 232 return sum(1 for c in self.constraints() if c.ruletype == "constrain") 237 return sum(1 for d in self.defaults()) 282 return sum(1 for _ in self.levels()) 287 return sum(1 for c in self.constraints() if c.ruletype == "mlsconstrain") 292 return sum(1 for v in self.constraints() if v.ruletype == "mlsvalidatetrans") 322 return sum(len(c.perms) for c in chain(self.commons(), self.classes())) 367 return sum(1 for _ in self.typeattributes()) 372 return sum(1 for _ in self.types()) 392 return sum( [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
H A D | test_grammar.py | 925 self.assertEqual(sum(b), sum([x for x in range(10)])) 927 self.assertEqual(sum(x**2 for x in range(10)), sum([x**2 for x in range(10)])) 928 self.assertEqual(sum(x*x for x in range(10) if x%2), sum([x*x for x in range(10) if x%2])) 929 self.assertEqual(sum(x for x in (y for y in range(10))), sum([x for x in range(10)])) 930 self.assertEqual(sum(x for x in (y for y in (z for z in range(10)))), sum([ [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
H A D | test_grammar.py | 925 self.assertEqual(sum(b), sum([x for x in range(10)])) 927 self.assertEqual(sum(x**2 for x in range(10)), sum([x**2 for x in range(10)])) 928 self.assertEqual(sum(x*x for x in range(10) if x%2), sum([x*x for x in range(10) if x%2])) 929 self.assertEqual(sum(x for x in (y for y in range(10))), sum([x for x in range(10)])) 930 self.assertEqual(sum(x for x in (y for y in (z for z in range(10)))), sum([ [all...] |
/prebuilts/ndk/current/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
H A D | Constant.cpp | 166 double sum = 0.0f; local 168 sum += leftUnionArray[i * getMatrixRows() + row].getDConst() * rightUnionArray[column * rightNode->getMatrixRows() + i].getDConst(); 169 newConstArray[column * getMatrixRows() + row].setDConst(sum); 241 double sum = 0.0f; local 243 sum += leftUnionArray[j*getMatrixRows() + i].getDConst() * rightUnionArray[j].getDConst(); 245 newConstArray[i].setDConst(sum); 253 double sum = 0.0f; local 255 sum += leftUnionArray[j].getDConst() * rightUnionArray[i*rightNode->getMatrixRows() + j].getDConst(); 256 newConstArray[i].setDConst(sum); 409 double sum local 864 double sum = 0.0; local [all...] |
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
H A D | Constant.cpp | 166 double sum = 0.0f; local 168 sum += leftUnionArray[i * getMatrixRows() + row].getDConst() * rightUnionArray[column * rightNode->getMatrixRows() + i].getDConst(); 169 newConstArray[column * getMatrixRows() + row].setDConst(sum); 241 double sum = 0.0f; local 243 sum += leftUnionArray[j*getMatrixRows() + i].getDConst() * rightUnionArray[j].getDConst(); 245 newConstArray[i].setDConst(sum); 253 double sum = 0.0f; local 255 sum += leftUnionArray[j].getDConst() * rightUnionArray[i*rightNode->getMatrixRows() + j].getDConst(); 256 newConstArray[i].setDConst(sum); 409 double sum local 864 double sum = 0.0; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
H A D | py2_test_grammar.py | 892 self.assertEqual(sum(b), sum([x for x in range(10)])) 894 self.assertEqual(sum(x**2 for x in range(10)), sum([x**2 for x in range(10)])) 895 self.assertEqual(sum(x*x for x in range(10) if x%2), sum([x*x for x in range(10) if x%2])) 896 self.assertEqual(sum(x for x in (y for y in range(10))), sum([x for x in range(10)])) 897 self.assertEqual(sum(x for x in (y for y in (z for z in range(10)))), sum([ [all...] |
H A D | py3_test_grammar.py | 840 self.assertEqual(sum(b), sum([x for x in range(10)])) 842 self.assertEqual(sum(x**2 for x in range(10)), sum([x**2 for x in range(10)])) 843 self.assertEqual(sum(x*x for x in range(10) if x%2), sum([x*x for x in range(10) if x%2])) 844 self.assertEqual(sum(x for x in (y for y in range(10))), sum([x for x in range(10)])) 845 self.assertEqual(sum(x for x in (y for y in (z for z in range(10)))), sum([ [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
H A D | test_grammar.py | 925 self.assertEqual(sum(b), sum([x for x in range(10)])) 927 self.assertEqual(sum(x**2 for x in range(10)), sum([x**2 for x in range(10)])) 928 self.assertEqual(sum(x*x for x in range(10) if x%2), sum([x*x for x in range(10) if x%2])) 929 self.assertEqual(sum(x for x in (y for y in range(10))), sum([x for x in range(10)])) 930 self.assertEqual(sum(x for x in (y for y in (z for z in range(10)))), sum([ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
H A D | py2_test_grammar.py | 892 self.assertEqual(sum(b), sum([x for x in range(10)])) 894 self.assertEqual(sum(x**2 for x in range(10)), sum([x**2 for x in range(10)])) 895 self.assertEqual(sum(x*x for x in range(10) if x%2), sum([x*x for x in range(10) if x%2])) 896 self.assertEqual(sum(x for x in (y for y in range(10))), sum([x for x in range(10)])) 897 self.assertEqual(sum(x for x in (y for y in (z for z in range(10)))), sum([ [all...] |
H A D | py3_test_grammar.py | 840 self.assertEqual(sum(b), sum([x for x in range(10)])) 842 self.assertEqual(sum(x**2 for x in range(10)), sum([x**2 for x in range(10)])) 843 self.assertEqual(sum(x*x for x in range(10) if x%2), sum([x*x for x in range(10) if x%2])) 844 self.assertEqual(sum(x for x in (y for y in range(10))), sum([x for x in range(10)])) 845 self.assertEqual(sum(x for x in (y for y in (z for z in range(10)))), sum([ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
H A D | test_grammar.py | 925 self.assertEqual(sum(b), sum([x for x in range(10)])) 927 self.assertEqual(sum(x**2 for x in range(10)), sum([x**2 for x in range(10)])) 928 self.assertEqual(sum(x*x for x in range(10) if x%2), sum([x*x for x in range(10) if x%2])) 929 self.assertEqual(sum(x for x in (y for y in range(10))), sum([x for x in range(10)])) 930 self.assertEqual(sum(x for x in (y for y in (z for z in range(10)))), sum([ [all...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/dtrace/hotspot/ |
H A D | object_allocation_stat.d | 109 @allocs_size[self->class_name] = sum(arg3);
|
H A D | gc_time_stat.d | 146 @mem_pool_total_time[self->mgr_name, self->pool_name] = sum(self->time);
|