Home
last modified time | relevance | path

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

12

/external/syslinux/com32/libutil/
Dquicksort.c36 static void quick_sort_range(int *nums, int l, int u) in quick_sort_range() argument
42 swap(&nums[l], &nums[randint(l, u)]); in quick_sort_range()
46 if (nums[i] < nums[l]) in quick_sort_range()
47 swap(&nums[++m], &nums[i]); in quick_sort_range()
50 swap(&nums[l], &nums[m]); in quick_sort_range()
52 quick_sort_range(nums, l, m - 1); in quick_sort_range()
53 quick_sort_range(nums, m + 1, u); in quick_sort_range()
56 void quick_sort(int *nums, int count) in quick_sort() argument
58 quick_sort_range(nums, 0, count - 1); in quick_sort()
/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/syslinux/com32/samples/
Dhello.c18 int *nums = NULL; in main() local
20 nums = malloc(NUM_COUNT * sizeof(int)); in main()
21 printf("Hello, world, from 0x%08X! malloc return %p\n", (unsigned int)&main, nums); in main()
23 free(nums); in main()
/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/skia/third_party/lua/src/
Dltable.c196 static int computesizes (int nums[], int *narray) { in computesizes() argument
203 if (nums[i] > 0) { in computesizes()
204 a += nums[i]; in computesizes()
218 static int countint (const TValue *key, int *nums) { in countint() argument
221 nums[luaO_ceillog2(k)]++; /* count as such */ in countint()
229 static int numusearray (const Table *t, int *nums) { in numusearray() argument
247 nums[lg] += lc; in numusearray()
254 static int numusehash (const Table *t, int *nums, int *pnasize) { in numusehash() argument
261 ause += countint(gkey(n), nums); in numusehash()
345 int nums[MAXBITS+1]; /* nums[i] = number of keys with 2^(i-1) < k <= 2^i */ in rehash() local
[all …]
/external/syslinux/com32/lua/src/
Dltable.c197 static int computesizes (int nums[], int *narray) { in computesizes() argument
204 if (nums[i] > 0) { in computesizes()
205 a += nums[i]; in computesizes()
219 static int countint (const TValue *key, int *nums) { in countint() argument
222 nums[luaO_ceillog2(k)]++; /* count as such */ in countint()
230 static int numusearray (const Table *t, int *nums) { in numusearray() argument
248 nums[lg] += lc; in numusearray()
255 static int numusehash (const Table *t, int *nums, int *pnasize) { in numusehash() argument
262 ause += countint(gkey(n), nums); in numusehash()
346 int nums[MAXBITS+1]; /* nums[i] = number of keys with 2^(i-1) < k <= 2^i */ in rehash() local
[all …]
/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/swiftshader/third_party/LLVM/test/CodeGen/X86/
Ddbg-value-inlined-parameter.ll17 define i32 @foo(%struct.S1* nocapture %sp, i32 %nums) nounwind optsize ssp {
20 tail call void @llvm.dbg.value(metadata !{i32 %nums}, i64 0, metadata !18), !dbg !21
22 store i32 %nums, i32* %tmp2, align 4, !dbg !22, !tbaa !24
23 %call = tail call float* @bar(i32 %nums) nounwind optsize, !dbg !27
66 !17 = metadata !{i32 589837, metadata !1, metadata !"nums", metadata !1, i32 3, i64 32, i64 32, i64…
67 !18 = metadata !{i32 590081, metadata !0, metadata !"nums", metadata !1, i32 7, metadata !5, i32 0}…
/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/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/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DBigNumberFormatTest.java297 Number num = null, nums[] = null; in expect() local
305 nums = (Number[]) numo; in expect()
318 if (nums != null) { in expect()
319 n = Math.max(n, nums.length); in expect()
326 nums == null ? num : nums[i], in expect()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DBigNumberFormatTest.java298 Number num = null, nums[] = null; in expect() local
306 nums = (Number[]) numo; in expect()
319 if (nums != null) { in expect()
320 n = Math.max(n, nums.length); in expect()
327 nums == null ? num : nums[i], in expect()
/external/vboot_reference/scripts/
Dgenpadding.sh92 let nums=rsalen-hashlen-3
95 genFFOctets $nums
/external/v8/tools/turbolizer/
Ddisassembly-view.js213 let nums = p2.split(":");
214 let li = Number(nums[0]);
215 let pos = Number(nums[1]);
/external/syslinux/com32/include/
Dsort.h16 extern void quick_sort(int *nums, int count);
/external/pdfium/xfa/fgas/localization/
Dfgas_locale.cpp4146 static inline uint8_t fxmath_decimal_helper_div10_any(uint64_t nums[], in fxmath_decimal_helper_div10_any() argument
4150 nums[i - 1] += FXMATH_DECIMAL_LSHIFT32BIT(nums[i] % 0xA); in fxmath_decimal_helper_div10_any()
4151 nums[i] /= 0xA; in fxmath_decimal_helper_div10_any()
4154 retVal = nums[0] % 0xA; in fxmath_decimal_helper_div10_any()
4155 nums[0] /= 0xA; in fxmath_decimal_helper_div10_any()
4168 static inline void fxmath_decimal_helper_mul10_any(uint64_t nums[], in fxmath_decimal_helper_mul10_any() argument
4170 nums[0] *= 0xA; in fxmath_decimal_helper_mul10_any()
4172 nums[i] = nums[i] * 0xA + FXMATH_DECIMAL_RSHIFT32BIT(nums[i - 1]); in fxmath_decimal_helper_mul10_any()
4173 nums[i - 1] = (uint32_t)nums[i - 1]; in fxmath_decimal_helper_mul10_any()
4186 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/javassist/src/test/test/javassist/convert/
DArrayAccessReplaceTest.java391 private Integer[] nums; field in ArrayAccessReplaceTest.Complex
416 ns = nums; in complexRead()
/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]:
/external/pdfium/fpdfsdk/javascript/
DPublicMethods.cpp1776 CJS_Array nums; in AFExtractNums() local
1784 nums.SetElement(pRuntime, nIndex, CJS_Value(pRuntime, sPart.c_str())); in AFExtractNums()
1792 nums.SetElement(pRuntime, nIndex, CJS_Value(pRuntime, sPart.c_str())); in AFExtractNums()
1795 if (nums.GetLength(pRuntime) > 0) in AFExtractNums()
1796 vRet = CJS_Value(pRuntime, nums); in AFExtractNums()

12