/dalvik/dexgen/src/com/android/dexgen/util/ |
ListIntSet.java | 27 final IntList ints; field in class:ListIntSet 33 ints = new IntList(); 34 ints.sort(); 39 int index = ints.binarysearch(value); 42 ints.insert(-(index + 1), value); 48 int index = ints.indexOf(value); 51 ints.removeIndex(index); 57 return ints.indexOf(value) >= 0; 64 int szThis = ints.size(); 65 int szOther = o.ints.size() [all...] |
BitIntSet.java | 32 * @param max the maximum value of ints in this set. 78 int sz = o.ints.size(); 81 ensureCapacity(o.ints.get(sz - 1)); 83 for (int i = 0; i < o.ints.size(); i++) { 84 Bits.set(bits, o.ints.get(i), true);
|
/dalvik/dx/src/com/android/dx/util/ |
ListIntSet.java | 27 final IntList ints; field in class:ListIntSet 33 ints = new IntList(); 34 ints.sort(); 39 int index = ints.binarysearch(value); 42 ints.insert(-(index + 1), value); 48 int index = ints.indexOf(value); 51 ints.removeIndex(index); 57 return ints.indexOf(value) >= 0; 64 int szThis = ints.size(); 65 int szOther = o.ints.size() [all...] |
BitIntSet.java | 32 * @param max the maximum value of ints in this set. 78 int sz = o.ints.size(); 81 ensureCapacity(o.ints.get(sz - 1)); 83 for (int i = 0; i < o.ints.size(); i++) { 84 Bits.set(bits, o.ints.get(i), true);
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
ListIntSet.java | 27 final IntList ints; field in class:ListIntSet 33 ints = new IntList(); 34 ints.sort(); 39 int index = ints.binarysearch(value); 42 ints.insert(-(index + 1), value); 48 int index = ints.indexOf(value); 51 ints.removeIndex(index); 57 return ints.indexOf(value) >= 0; 64 int szThis = ints.size(); 65 int szOther = o.ints.size() [all...] |
BitIntSet.java | 32 * @param max the maximum value of ints in this set. 78 int sz = o.ints.size(); 81 ensureCapacity(o.ints.get(sz - 1)); 83 for (int i = 0; i < o.ints.size(); i++) { 84 Bits.set(bits, o.ints.get(i), true);
|
/external/stlport/test/unit/ |
istmit_test.cpp | 100 vector<int> ints; local 103 copy_n(istream_int_ite(istr), 2, back_inserter(ints)); 104 CPPUNIT_ASSERT( ints.size() == 2 ); 105 CPPUNIT_ASSERT( ints[0] == 11 ); 106 CPPUNIT_ASSERT( ints[1] == 22 ); 107 ints.clear(); 122 * as in this current test when you extract int and string (when you extract ints 125 copy_n(istream_int_ite(istr), 2, back_inserter(ints)); 126 CPPUNIT_ASSERT( ints.size() == 2 ); 127 CPPUNIT_ASSERT( ints[0] == 33 ) 139 vector<int> ints; local [all...] |
alg_test.cpp | 123 int ints[] = {0, 1, 2, 3, 3, 4, 4, 4, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5}; local 129 slist<int> slint(ints, ints + ARRAY_SIZE(ints)); 139 list<int> lint(ints, ints + ARRAY_SIZE(ints)); 149 deque<int> dint(ints, ints + ARRAY_SIZE(ints)); [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
istmit_test.cpp | 100 vector<int> ints; local 103 copy_n(istream_int_ite(istr), 2, back_inserter(ints)); 104 CPPUNIT_ASSERT( ints.size() == 2 ); 105 CPPUNIT_ASSERT( ints[0] == 11 ); 106 CPPUNIT_ASSERT( ints[1] == 22 ); 107 ints.clear(); 122 * as in this current test when you extract int and string (when you extract ints 125 copy_n(istream_int_ite(istr), 2, back_inserter(ints)); 126 CPPUNIT_ASSERT( ints.size() == 2 ); 127 CPPUNIT_ASSERT( ints[0] == 33 ) 139 vector<int> ints; local [all...] |
alg_test.cpp | 123 int ints[] = {0, 1, 2, 3, 3, 4, 4, 4, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5}; local 129 slist<int> slint(ints, ints + ARRAY_SIZE(ints)); 139 list<int> lint(ints, ints + ARRAY_SIZE(ints)); 149 deque<int> dint(ints, ints + ARRAY_SIZE(ints)); [all...] |
/ndk/tests/device/test-stlport/unit/ |
istmit_test.cpp | 100 vector<int> ints; local 103 copy_n(istream_int_ite(istr), 2, back_inserter(ints)); 104 CPPUNIT_ASSERT( ints.size() == 2 ); 105 CPPUNIT_ASSERT( ints[0] == 11 ); 106 CPPUNIT_ASSERT( ints[1] == 22 ); 107 ints.clear(); 122 * as in this current test when you extract int and string (when you extract ints 125 copy_n(istream_int_ite(istr), 2, back_inserter(ints)); 126 CPPUNIT_ASSERT( ints.size() == 2 ); 127 CPPUNIT_ASSERT( ints[0] == 33 ) 139 vector<int> ints; local [all...] |
alg_test.cpp | 123 int ints[] = {0, 1, 2, 3, 3, 4, 4, 4, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5}; local 129 slist<int> slint(ints, ints + ARRAY_SIZE(ints)); 139 list<int> lint(ints, ints + ARRAY_SIZE(ints)); 149 deque<int> dint(ints, ints + ARRAY_SIZE(ints)); [all...] |
/dalvik/tests/003-omnibus-opcodes/src/ |
Array.java | 33 static void checkInts(int[] ints) { 34 assert(ints[0] == 70000); 35 assert(ints[1] == 70001); 36 assert(ints[2] == 70002); 37 assert(ints[3] == 70003); 38 assert(ints[4] == 70004); 72 static void checkRange32(int[] ints, int[] empty, int negVal1, int negVal2){ 76 assert(ints.length == 5); 79 i = ints[5]; // exact bound 85 ints[5] = i; // exact boun 177 int[] ints; local [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
Utils.java | 35 static Integer[] ints = new Integer[INTEGER_POOL_MAX_VALUE+1]; field in class:Utils 46 if ( ints[x]==null ) { 47 ints[x] = new Integer(x); 49 return ints[x];
|
/external/junit/src/org/junit/experimental/theories/suppliers/ |
TestedOnSupplier.java | 17 int[] ints = testedOn.ints(); local 18 for (final int i : ints) { 19 list.add(PotentialAssignment.forValue(Arrays.asList(ints).toString(), i));
|
TestedOn.java | 12 int[] ints(); method in interface:TestedOn
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ArrayTest.java | 28 private static int[] ints; field in class:ArrayTest 39 ints = new int[] { 0xffffffff }; 50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {} 62 try { Array.getByte(ints, 0); fail(); } catch (IllegalArgumentException expected) {} 74 try { Array.getChar(ints, 0); fail(); } catch (IllegalArgumentException expected) {} 86 assertEquals((double) ints[0], Array.getDouble(ints, 0)); 98 assertEquals((float) ints[0], Array.getFloat(ints, 0)); 110 assertEquals(ints[0], Array.getInt(ints, 0)) [all...] |
/art/test/003-omnibus-opcodes/src/ |
Array.java | 46 static void checkInts(int[] ints) { 47 Main.assertTrue(ints[0] == 70000); 48 Main.assertTrue(ints[1] == 70001); 49 Main.assertTrue(ints[2] == 70002); 50 Main.assertTrue(ints[3] == 70003); 51 Main.assertTrue(ints[4] == 70004); 85 static void checkRange32(int[] ints, int[] empty, int negVal1, int negVal2) { 89 Main.assertTrue(ints.length == 5); 92 i = ints[5]; // exact bound 98 ints[5] = i; // exact boun 190 int[] ints; local [all...] |
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/ |
p5.cpp | 59 int ints[] = {1, 2, 3}; variable 60 template <const auto (*a)[3] = &ints> class D { }; // expected-error{{'auto' not allowed in template parameter}}
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ExtensionDescriptor.java | 47 int[] ints = new int[0xFE - 0x6A];
local 52 ints[pos] = i;
54 return ints;
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_vertex_frame.cpp | 36 jintArray ints) { 39 if (frame && ints) { 40 jint* int_ptr = env->GetIntArrayElements(ints, NULL); 41 const int length = env->GetArrayLength(ints); 45 env->ReleaseIntArrayElements(ints, int_ptr, JNI_ABORT);
|
/external/marisa-trie/lib/marisa/ |
intvector.cc | 8 void IntVector::build(const Vector<UInt32> &ints) { 10 for (UInt32 i = 0; i < ints.size(); ++i) { 11 if (ints[i] > max_int) { 12 max_int = ints[i]; 15 build(max_int, ints.size()); 16 for (UInt32 i = 0; i < ints.size(); ++i) { 17 set(i, ints[i]);
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
intvector.cc | 8 void IntVector::build(const Vector<UInt32> &ints) { 10 for (UInt32 i = 0; i < ints.size(); ++i) { 11 if (ints[i] > max_int) { 12 max_int = ints[i]; 15 build(max_int, ints.size()); 16 for (UInt32 i = 0; i < ints.size(); ++i) { 17 set(i, ints[i]);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
VertexFrame.java | 62 public void setInts(int[] ints) { 64 if (!setNativeInts(ints)) { 138 private native boolean setNativeInts(int[] ints);
|
/external/chromium_org/base/android/ |
jni_array_unittest.cc | 34 const ScopedJavaLocalRef<jintArray>& ints) { 35 ASSERT_TRUE(ints.obj()); 37 jsize java_array_len = env->GetArrayLength(ints.obj()); 42 env->GetIntArrayRegion(ints.obj(), i, 1, &value); 100 std::vector<int> ints; local 101 JavaIntArrayToIntVector(env, jints.obj(), &ints); 103 ASSERT_EQ(static_cast<jsize>(ints.size()), env->GetArrayLength(jints.obj())); 108 ASSERT_EQ(ints[i], value);
|