/external/clang/test/Analysis/inlining/ |
stl.cpp | 8 void testVector(std::vector<int> &nums) { 9 if (nums.begin()) return; 10 if (nums.end()) return; 12 clang_analyzer_eval(nums.size() == 0);
|
/external/clang/test/Analysis/ |
cxx-crashes.cpp | 63 int nums[n]; local 64 nums[0] = 1; 65 clang_analyzer_eval(nums[0] == 1); // expected-warning{{TRUE}}
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
summary.py | 57 nums = analysis.numbers 58 args = (cu.name, nums.n_statements, nums.n_missing) 60 args += (nums.n_branches, nums.n_missing_branches) 61 args += (nums.pc_covered_str,) 65 total += nums
|
results.py | 233 nums = Numbers() 234 nums.n_files = self.n_files + other.n_files 235 nums.n_statements = self.n_statements + other.n_statements 236 nums.n_excluded = self.n_excluded + other.n_excluded 237 nums.n_missing = self.n_missing + other.n_missing 238 nums.n_branches = self.n_branches + other.n_branches 239 nums.n_missing_branches = (self.n_missing_branches + 241 return nums
|
html.py | 131 nums = analysis.numbers 202 'nums': nums, 219 totals = sum([f['nums'] for f in files])
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
ObserverNodeTest.java | 52 int[] nums = new int[] {4, 7, 1, 4, 2, 2, 3, 3}; local 64 for (int i = nums.length - 1; i >=0; --i) { 66 assertEquals(nums[i], calls.size()); 85 int[] nums = new int[] {7, 1, 3, 3, 1, 1, 1, 1}; local 96 assertEquals(nums[i], calls.size());
|
/external/guava/guava/src/com/google/common/math/ |
BigIntegerMath.java | 339 static BigInteger listProduct(List<BigInteger> nums) { 340 return listProduct(nums, 0, nums.size()); 343 static BigInteger listProduct(List<BigInteger> nums, int start, int end) { 348 return nums.get(start); 350 return nums.get(start).multiply(nums.get(start + 1)); 352 return nums.get(start).multiply(nums.get(start + 1)).multiply(nums.get(start + 2)) [all...] |
/external/chromium_org/tools/auto_bisect/ |
ttest.py | 198 def GreatestSmaller(nums, target): 200 lesser_equal = [n for n in nums if n <= target]
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
QuarticRoot.cpp | 145 int nums[3]; 168 nums[index] = quadraticRootsReal(1, q < 0 ? -v : v, z - u, tries[index]); 169 nums[index] += quadraticRootsReal(1, q < 0 ? v : -v, z + u, tries[index] + nums[index]); 172 for (int i = 0; i < nums[index]; ++i) { 178 for (int idx2 = 0; idx2 < nums[index]; ++idx2) {
|
/external/skia/experimental/Intersection/ |
QuarticRoot.cpp | 145 int nums[3]; 168 nums[index] = quadraticRootsReal(1, q < 0 ? -v : v, z - u, tries[index]); 169 nums[index] += quadraticRootsReal(1, q < 0 ? v : -v, z + u, tries[index] + nums[index]); 172 for (int i = 0; i < nums[index]; ++i) { 178 for (int idx2 = 0; idx2 < nums[index]; ++idx2) {
|
/external/chromium_org/third_party/skia/third_party/lua/src/ |
ltable.c | 196 static int computesizes (int nums[], int *narray) { 203 if (nums[i] > 0) { 204 a += nums[i]; 218 static int countint (const TValue *key, int *nums) { 221 nums[luaO_ceillog2(k)]++; /* count as such */ 229 static int numusearray (const Table *t, int *nums) { 232 int ause = 0; /* summation of `nums' */ 247 nums[lg] += lc; 254 static int numusehash (const Table *t, int *nums, int *pnasize) { 256 int ause = 0; /* summation of `nums' */ 345 int nums[MAXBITS+1]; \/* nums[i] = number of keys with 2^(i-1) < k <= 2^i *\/ local [all...] |
/external/fio/lib/ |
lfsr.c | 234 int lfsr_init(struct fio_lfsr *fl, uint64_t nums, unsigned long seed, 239 lfsr_taps = find_lfsr(nums); 243 fl->max_val = nums - 1;
|
/external/chromium_org/v8/test/webkit/ |
dfg-put-scoped-var-backward-flow.js | 28 function sum(nums) { 30 nums.forEach(function (num) {
|
/external/guava/guava-tests/test/com/google/common/base/ |
PredicatesTest.java | 697 Collection<Integer> nums = Arrays.asList(1, 5); local 698 Predicate<Integer> isOneOrFive = Predicates.in(nums); 707 Collection<Integer> nums = ImmutableSet.of(1, 5); local 713 .addEqualityGroup(Predicates.in(nums), Predicates.in(nums), 733 Collection<Integer> nums = new CollectionThatThrowsNPE<Integer>(); local 734 Predicate<Integer> isFalse = Predicates.in(nums); 746 Collection<Integer> nums = new CollectionThatThrowsCCE<Integer>(); local 747 nums.add(3); 748 Predicate<Integer> isThree = Predicates.in(nums); 757 Collection<Number> nums = ImmutableSet.of(); local [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
actions.rb | 211 nums returns [ds]: digs+=DIGIT+ 221 parser.nums.should == [ 10, 20, 30, 40, 50 ]
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
util.py | 175 nums = [] 178 nums.insert(0, int(parts.pop())) 181 return nums or [ sys.maxint ]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
util.py | 175 nums = [] 178 nums.insert(0, int(parts.pop())) 181 return nums or [ sys.maxint ]
|
/external/chromium_org/tools/json_schema_compiler/test/ |
arrays_unittest.cc | 233 ASSERT_EQ(3u, params->nums.size()); 234 EXPECT_EQ(2, params->nums[0]); 235 EXPECT_EQ(4, params->nums[1]); 236 EXPECT_EQ(8, params->nums[2]);
|
choices_unittest.cc | 29 EXPECT_FALSE(params->nums.as_integers); 30 EXPECT_EQ(6, *params->nums.as_integer); 38 ASSERT_TRUE(params->nums.as_integers); 39 EXPECT_EQ(Vector(2, 6, 8), *params->nums.as_integers);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
py3_test_grammar.py | 751 nums = [1, 2, 3] 752 self.assertEqual({i:i+1 for i in nums}, {1: 2, 2: 3, 3: 4}) 756 nums = [1, 2, 3, 4, 5] 761 self.assertEqual([3 * x for x in nums], [3, 6, 9, 12, 15]) 762 self.assertEqual([x for x in nums if x > 2], [3, 4, 5]) 763 self.assertEqual([(i, s) for i in nums for s in strs], 769 self.assertEqual([(i, s) for i in nums for s in [f for f in strs if "n" in f]], 779 self.assertEqual(test_in_func(nums), [False, False, False]) 787 check_syntax_error(self, "[i, s for i in nums for s in strs]")
|
py2_test_grammar.py | 808 nums = [1, 2, 3, 4, 5] 813 self.assertEqual([3 * x for x in nums], [3, 6, 9, 12, 15]) 814 self.assertEqual([x for x in nums if x > 2], [3, 4, 5]) 815 self.assertEqual([(i, s) for i in nums for s in strs], 821 self.assertEqual([(i, s) for i in nums for s in [f for f in strs if "n" in f]], 831 self.assertEqual(test_in_func(nums), [False, False, False]) 839 check_syntax_error(self, "[i, s for i in nums for s in strs]")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_grammar.py | 836 nums = [1, 2, 3] 837 self.assertEqual({i:i+1 for i in nums}, {1: 2, 2: 3, 3: 4}) 841 nums = [1, 2, 3, 4, 5] 846 self.assertEqual([3 * x for x in nums], [3, 6, 9, 12, 15]) 847 self.assertEqual([x for x in nums if x > 2], [3, 4, 5]) 848 self.assertEqual([(i, s) for i in nums for s in strs], 854 self.assertEqual([(i, s) for i in nums for s in [f for f in strs if "n" in f]], 864 self.assertEqual(test_in_func(nums), [False, False, False]) 872 check_syntax_error(self, "[i, s for i in nums for s in strs]")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
py3_test_grammar.py | 751 nums = [1, 2, 3] 752 self.assertEqual({i:i+1 for i in nums}, {1: 2, 2: 3, 3: 4}) 756 nums = [1, 2, 3, 4, 5] 761 self.assertEqual([3 * x for x in nums], [3, 6, 9, 12, 15]) 762 self.assertEqual([x for x in nums if x > 2], [3, 4, 5]) 763 self.assertEqual([(i, s) for i in nums for s in strs], 769 self.assertEqual([(i, s) for i in nums for s in [f for f in strs if "n" in f]], 779 self.assertEqual(test_in_func(nums), [False, False, False]) 787 check_syntax_error(self, "[i, s for i in nums for s in strs]")
|
py2_test_grammar.py | 808 nums = [1, 2, 3, 4, 5] 813 self.assertEqual([3 * x for x in nums], [3, 6, 9, 12, 15]) 814 self.assertEqual([x for x in nums if x > 2], [3, 4, 5]) 815 self.assertEqual([(i, s) for i in nums for s in strs], 821 self.assertEqual([(i, s) for i in nums for s in [f for f in strs if "n" in f]], 831 self.assertEqual(test_in_func(nums), [False, False, False]) 839 check_syntax_error(self, "[i, s for i in nums for s in strs]")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_grammar.py | 836 nums = [1, 2, 3] 837 self.assertEqual({i:i+1 for i in nums}, {1: 2, 2: 3, 3: 4}) 841 nums = [1, 2, 3, 4, 5] 846 self.assertEqual([3 * x for x in nums], [3, 6, 9, 12, 15]) 847 self.assertEqual([x for x in nums if x > 2], [3, 4, 5]) 848 self.assertEqual([(i, s) for i in nums for s in strs], 854 self.assertEqual([(i, s) for i in nums for s in [f for f in strs if "n" in f]], 864 self.assertEqual(test_in_func(nums), [False, False, False]) 872 check_syntax_error(self, "[i, s for i in nums for s in strs]")
|