Home
last modified time | relevance | path

Searched refs:nums (Results 1 – 25 of 32) sorted by relevance

12

/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DBigIntegerMath.java188 static BigInteger listProduct(List<BigInteger> nums) { in listProduct() argument
189 return listProduct(nums, 0, nums.size()); in listProduct()
192 static BigInteger listProduct(List<BigInteger> nums, int start, int end) { in listProduct() argument
197 return nums.get(start); in listProduct()
199 return nums.get(start).multiply(nums.get(start + 1)); in listProduct()
201 return nums.get(start).multiply(nums.get(start + 1)).multiply(nums.get(start + 2)); in listProduct()
205 return listProduct(nums, start, m).multiply(listProduct(nums, m, end)); in listProduct()
/external/chromium-trace/catapult/third_party/coverage/coverage/
Dsummary.py69 nums = analysis.numbers
70 total += nums
74 no_missing_lines = (nums.n_missing == 0)
75 no_missing_branches = (nums.n_partial_branches == 0)
80 args = (fr.relative_filename(), nums.n_statements, nums.n_missing)
82 args += (nums.n_branches, nums.n_partial_branches)
83 args += (nums.pc_covered_str,)
Dresults.py255 nums = Numbers()
256 nums.n_files = self.n_files + other.n_files
257 nums.n_statements = self.n_statements + other.n_statements
258 nums.n_excluded = self.n_excluded + other.n_excluded
259 nums.n_missing = self.n_missing + other.n_missing
260 nums.n_branches = self.n_branches + other.n_branches
261 nums.n_partial_branches = (
264 nums.n_missing_branches = (
267 return nums
Dhtml.py190 nums = analysis.numbers
264 'fr': fr, 'nums': nums, 'lines': lines,
275 'nums': nums,
/external/clang/test/Analysis/inlining/
Dstl.cpp8 void testVector(std::vector<int> &nums) { in testVector() argument
9 if (nums.begin()) return; in testVector()
10 if (nums.end()) return; in testVector()
12 clang_analyzer_eval(nums.size() == 0); in testVector()
/external/guava/guava/src/com/google/common/math/
DBigIntegerMath.java371 static BigInteger listProduct(List<BigInteger> nums) { in listProduct() argument
372 return listProduct(nums, 0, nums.size()); in listProduct()
375 static BigInteger listProduct(List<BigInteger> nums, int start, int end) { in listProduct() argument
380 return nums.get(start); in listProduct()
382 return nums.get(start).multiply(nums.get(start + 1)); in listProduct()
384 return nums.get(start).multiply(nums.get(start + 1)).multiply(nums.get(start + 2)); in listProduct()
388 return listProduct(nums, start, m).multiply(listProduct(nums, m, end)); in listProduct()
/external/llvm/test/DebugInfo/X86/
Ddbg-value-inlined-parameter.ll15 ; CHECK: DW_AT_abstract_origin {{.*}} "nums"
25 ; CHECK: DW_AT_name {{.*}} "nums"
39 ;CHECK: DW_AT_abstract_origin {{.*}} "nums"
46 define i32 @foo(%struct.S1* nocapture %sp, i32 %nums) nounwind optsize ssp !dbg !0 {
49 …tail call void @llvm.dbg.value(metadata i32 %nums, i64 0, metadata !18, metadata !DIExpression()),…
51 store i32 %nums, i32* %tmp2, align 4, !dbg !22
52 %call = tail call float* @bar(i32 %nums) nounwind optsize, !dbg !27
94 !17 = !DIDerivedType(tag: DW_TAG_member, name: "nums", line: 3, size: 32, align: 32, offset: 64, fi…
95 !18 = !DILocalVariable(name: "nums", line: 7, arg: 2, scope: !0, file: !1, type: !5)
/external/clang/test/Analysis/
Dcxx-crashes.cpp63 int nums[n]; in vla() local
64 nums[0] = 1; in vla()
65 clang_analyzer_eval(nums[0] == 1); // expected-warning{{TRUE}} in vla()
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DPredicatesTest.java487 Collection<Integer> nums = Arrays.asList(1, 5); in testIn_apply() local
488 Predicate<Integer> isOneOrFive = Predicates.in(nums); in testIn_apply()
497 Collection<Integer> nums = ImmutableSet.of(1, 5); in testIn_equality() local
503 .addEqualityGroup(Predicates.in(nums), Predicates.in(nums), in testIn_equality()
518 Collection<Integer> nums = new CollectionThatThrowsNPE<Integer>(); in testIn_handlesNullPointerException() local
519 Predicate<Integer> isFalse = Predicates.in(nums); in testIn_handlesNullPointerException()
531 Collection<Integer> nums = new CollectionThatThrowsCCE<Integer>(); in testIn_handlesClassCastException() local
532 nums.add(3); in testIn_handlesClassCastException()
533 Predicate<Integer> isThree = Predicates.in(nums); in testIn_handlesClassCastException()
542 Collection<Number> nums = ImmutableSet.of(); in testIn_compilesWithExplicitSupertype() local
[all …]
/external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/
Dutil_test.py57 nums = [-79, -1, 0, 1, 61, 62, 1012]
58 self.assertEqual('__AB9__', self.simple.Encode(nums))
78 nums = [-79, -1, 0, 1, 61, 4096, 10012]
79 self.assertEqual('____AAABA9____', self.encoder.Encode(nums))
/external/v8/test/webkit/
Ddfg-put-scoped-var-backward-flow.js28 function sum(nums) { argument
30 nums.forEach(function (num) {
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/db/
Dtest_lists.py28 nums = ListProperty(int) variable in SimpleListModel
49 t.nums = [5, 4, 1, 3, 2]
55 assert(t.nums == [5, 4, 1, 3, 2])
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DListViewActivity.java74 ArrayList<Number> nums = new ArrayList<Number>(); in getView() local
76 nums.add(generator.nextFloat()); in getView()
87 … XYSeries series = new SimpleXYSeries(nums, SimpleXYSeries.ArrayFormat.Y_VALS_ONLY, "S" + k); in getView()
/external/fio/lib/
Dlfsr.c234 int lfsr_init(struct fio_lfsr *fl, uint64_t nums, unsigned long seed, in lfsr_init() argument
239 taps = find_lfsr(nums); in lfsr_init()
243 fl->max_val = nums - 1; in lfsr_init()
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java696 Collection<Integer> nums = Arrays.asList(1, 5); in testIn_apply() local
697 Predicate<Integer> isOneOrFive = Predicates.in(nums); in testIn_apply()
706 Collection<Integer> nums = ImmutableSet.of(1, 5); in testIn_equality() local
712 .addEqualityGroup(Predicates.in(nums), Predicates.in(nums), in testIn_equality()
732 Collection<Integer> nums = new CollectionThatThrowsNPE<Integer>(); in testIn_handlesNullPointerException() local
733 Predicate<Integer> isFalse = Predicates.in(nums); in testIn_handlesNullPointerException()
745 Collection<Integer> nums = new CollectionThatThrowsCCE<Integer>(); in testIn_handlesClassCastException() local
746 nums.add(3); in testIn_handlesClassCastException()
747 Predicate<Integer> isThree = Predicates.in(nums); in testIn_handlesClassCastException()
756 Collection<Number> nums = ImmutableSet.of(); in testIn_compilesWithExplicitSupertype() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DBigNumberFormatTest.java295 Number num = null, nums[] = null; in expect() local
303 nums = (Number[]) numo; in expect()
316 if (nums != null) { in expect()
317 n = Math.max(n, nums.length); in expect()
324 nums == null ? num : nums[i], in expect()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DBigNumberFormatTest.java291 Number num = null, nums[] = null; in expect() local
299 nums = (Number[]) numo; in expect()
312 if (nums != null) { in expect()
313 n = Math.max(n, nums.length); in expect()
320 nums == null ? num : nums[i], in expect()
/external/chromium-trace/catapult/dashboard/dashboard/
Dfind_change_points_test.py117 nums = [3.4, 8, 100.2, 78, 3, -4, 12, 3.14, 1024]
118 zeroed_nums = find_change_points._ZeroMedian(nums)
121 math_utils.StandardDeviation(nums),
/external/v8/test/mjsunit/harmony/
Ddo-expressions.js298 let nums = [];
301 nums.push(value === 0 ? 1 : value), nums;
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/
Dtest_db.py52 nums = ListProperty(int) variable in TestList
162 t.nums = [1, 2, 3, 4, 5]
167 for n in tt.nums:
/external/vboot_reference/scripts/
Dgenpadding.sh92 let nums=rsalen-hashlen-3
95 genFFOctets $nums
/external/pdfium/xfa/src/fgas/src/localization/
Dfx_locale.cpp4506 static inline uint8_t fxmath_decimal_helper_div10_any(uint64_t nums[], in fxmath_decimal_helper_div10_any() argument
4510 nums[i - 1] += FXMATH_DECIMAL_LSHIFT32BIT(nums[i] % 0xA); in fxmath_decimal_helper_div10_any()
4511 nums[i] /= 0xA; in fxmath_decimal_helper_div10_any()
4514 retVal = nums[0] % 0xA; in fxmath_decimal_helper_div10_any()
4515 nums[0] /= 0xA; in fxmath_decimal_helper_div10_any()
4528 static inline void fxmath_decimal_helper_mul10_any(uint64_t nums[], in fxmath_decimal_helper_mul10_any() argument
4530 nums[0] *= 0xA; in fxmath_decimal_helper_mul10_any()
4532 nums[i] = nums[i] * 0xA + FXMATH_DECIMAL_RSHIFT32BIT(nums[i - 1]); in fxmath_decimal_helper_mul10_any()
4533 nums[i - 1] = (uint32_t)nums[i - 1]; in fxmath_decimal_helper_mul10_any()
4546 static inline void fxmath_decimal_helper_normalize_any(uint64_t nums[], in fxmath_decimal_helper_normalize_any() argument
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
Dactions.rb221 parser.nums.should == [ 10, 20, 30, 40, 50 ]
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dconstant_expressions.test453 const ivec4 nums = ivec4(0, 1, 2, 3);
463 case nums[_2]:
/external/deqp/data/gles3/shaders/
Dconstant_expressions.test453 const ivec4 nums = ivec4(0, 1, 2, 3);
463 case nums[_2]:

12