Home
last modified time | relevance | path

Searched refs:ints (Results 1 – 25 of 73) sorted by relevance

123

/external/dexmaker/src/dx/java/com/android/dx/util/
DListIntSet.java27 final IntList ints; field in ListIntSet
33 ints = new IntList(); in ListIntSet()
34 ints.sort(); in ListIntSet()
39 int index = ints.binarysearch(value); in add()
42 ints.insert(-(index + 1), value); in add()
48 int index = ints.indexOf(value); in remove()
51 ints.removeIndex(index); in remove()
57 return ints.indexOf(value) >= 0; in has()
64 int szThis = ints.size(); in merge()
65 int szOther = o.ints.size(); in merge()
[all …]
DBitIntSet.java78 int sz = o.ints.size(); in merge()
81 ensureCapacity(o.ints.get(sz - 1)); in merge()
83 for (int i = 0; i < o.ints.size(); i++) { in merge()
84 Bits.set(bits, o.ints.get(i), true); in merge()
/external/stlport/test/unit/
Distmit_test.cpp100 vector<int> ints; in copy_n_test() local
103 copy_n(istream_int_ite(istr), 2, back_inserter(ints)); in copy_n_test()
104 CPPUNIT_ASSERT( ints.size() == 2 ); in copy_n_test()
105 CPPUNIT_ASSERT( ints[0] == 11 ); in copy_n_test()
106 CPPUNIT_ASSERT( ints[1] == 22 ); in copy_n_test()
107 ints.clear(); in copy_n_test()
139 vector<int> ints; in copy_n_test() local
141 itr = copy_n(itr, 0, back_inserter(ints)).first; in copy_n_test()
142 CPPUNIT_ASSERT( ints.empty() ); in copy_n_test()
143 itr = copy_n(itr, -1, back_inserter(ints)).first; in copy_n_test()
[all …]
Dalg_test.cpp123 int ints[] = {0, 1, 2, 3, 3, 4, 4, 4, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5}; in search_n_test() local
129 slist<int> slint(ints, ints + ARRAY_SIZE(ints)); in search_n_test()
139 list<int> lint(ints, ints + ARRAY_SIZE(ints)); in search_n_test()
149 deque<int> dint(ints, ints + ARRAY_SIZE(ints)); in search_n_test()
162 slist<int> slint(ints, ints + ARRAY_SIZE(ints)); in search_n_test()
172 list<int> lint(ints, ints + ARRAY_SIZE(ints)); in search_n_test()
182 deque<int> dint(ints, ints + ARRAY_SIZE(ints)); in search_n_test()
/external/junit/src/org/junit/experimental/theories/suppliers/
DTestedOnSupplier.java17 int[] ints = testedOn.ints(); in getValueSources() local
18 for (final int i : ints) { in getValueSources()
19 list.add(PotentialAssignment.forValue(Arrays.asList(ints).toString(), i)); in getValueSources()
DTestedOn.java12 int[] ints(); in ints() method
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
DUtils.java35 static Integer[] ints = new Integer[INTEGER_POOL_MAX_VALUE+1]; field in Utils
46 if ( ints[x]==null ) { in integer()
47 ints[x] = new Integer(x); in integer()
49 return ints[x]; in integer()
/external/guava/guava-tests/test/com/google/common/collect/
DOrderingTest.java386 List<Integer> ints = Lists.newArrayList(0, 2, 3, 5, 7, 9);
387 assertEquals(4, numberOrdering.binarySearch(ints, 7));
566 List<Integer> ints = Lists.newArrayList(5, 3, 0, 9);
567 assertEquals(9, (int) numberOrdering.max(ints.iterator()));
568 assertEquals(0, (int) numberOrdering.min(ints.iterator()));
573 ints = Lists.newArrayList(a, b, b);
574 assertSame(a, numberOrdering.max(ints.iterator()));
575 assertSame(a, numberOrdering.min(ints.iterator()));
579 List<Integer> ints = Lists.newArrayList(9, 0, 3, 5);
580 Iterator<Integer> iterator = ints.iterator();
[all …]
/external/valgrind/main/mpi/
Dlibmpiwrap.c670 int* ints = NULL; in walk_type() local
752 ints = malloc(n_ints * sizeof(int)); in walk_type()
753 assert(ints); in walk_type()
765 ints, addrs, dtys ); in walk_type()
772 walk_type_array( f, base, dtys[0], ints[0] ); in walk_type()
781 (int)ints[0], (int)ints[1], (int)ints[2]); in walk_type()
782 for (i = 0; i < ints[0]; i++) { in walk_type()
783 walk_type_array( f, base + i * ints[2]/*stride*/ * ex, in walk_type()
784 dtys[0], ints[1]/*blocklength*/ ); in walk_type()
794 (int)ints[0], (int)ints[1], (int)addrs[0]); in walk_type()
[all …]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
Dp5.cpp59 int ints[] = {1, 2, 3}; variable
60 template <const auto (*a)[3] = &ints> class D { }; // expected-error{{'auto' not allowed in templat…
/external/skia/src/core/
DSkMemory_stdlib.cpp88 size_t ints = size > 4 ? 4 : size; in Dump() local
90 for (index = 0; index < ints; index++) in Dump()
93 for (index = 0; index < ints; index++) in Dump()
95 if (ints > 0) in Dump()
/external/clang/utils/ABITest/
DABITestGen.py488 ints = []
489 if opts.useChar: ints.append(('char',1))
490 if opts.useShort: ints.append(('short',2))
491 if opts.useInt: ints.append(('int',4))
493 if opts.useLong: ints.append(('long',4))
494 if opts.useLongLong: ints.append(('long long',8))
496 ints = ([('unsigned %s'%i,s) for i,s in ints] +
497 [('signed %s'%i,s) for i,s in ints])
498 builtins.extend(ints)
/external/llvm/test/CodeGen/X86/
Dvec_insert-7.ll3 ; (Without SSE they are split to two ints, and the code is much better.)
/external/javassist/src/test/test/javassist/convert/
DArrayAccessReplaceTest.java284 private int[] ints; field in ArrayAccessReplaceTest.Simple
322 return ints[pos]; in getInt()
366 ints[pos] = value; in setInt()
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
DIntArray.java18 public IntArray(int[] ints) in IntArray() argument
20 m_ints = ints; in IntArray()
/external/skia/include/utils/
DSkJSON.h252 int32_t* ints() const { in ints() function
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DInet6AddressTest.java853 String intArrayToHexString(int ints[], boolean leadingZeros) { in intArrayToHexString() argument
857 int intsLength = ints.length; in intArrayToHexString()
859 tempString = Integer.toHexString(ints[i]); in intArrayToHexString()
/external/clang/test/CodeGenObjC/
Darc-block-ivar-layout.m31 // some reason) followed by three words (2 ints, a function pointer,
Dblock-var-layout.m41 // some reason) followed by three words (2 ints, a function pointer,
/external/webkit/Tools/android/flex-2.5.4a/MISC/Macintosh/
DTHINK_C_notes11 ints must be used by any project which uses Flex output.
16 both the ANSI and unix libraries to use 4 byte ints, and if you want the
/external/clang/test/Sema/
Dcompare.c10 int ints(long a, unsigned long b) { in ints() function
/external/kernel-headers/original/linux/
Dkernel.h131 extern char *get_options(const char *str, int nints, int *ints);
/external/chromium/base/metrics/
Dhistogram.cc587 uint16 ints[sizeof(Histogram::Sample) / 2]; in Crc32() member
591 sum += converter.ints[0]; in Crc32()
592 sum = (sum << 16) ^ sum ^ (static_cast<uint32>(converter.ints[1]) << 11); in Crc32()
/external/bzip2/
DCHANGES125 which supports 64-bit ints, so, except for the C library
215 on selected platforms which support 64-bit ints. At the moment
/external/dropbear/libtommath/
Dtommath.out34 \BOOKMARK [2][-]{subsection.2.6.2}{Initializing Variable Precision mp\137ints}{section.2.6}

123