/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | ListIntSet.java | 27 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 …]
|
D | BitIntSet.java | 78 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/ |
D | istmit_test.cpp | 100 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 …]
|
D | 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}; 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/ |
D | TestedOnSupplier.java | 17 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()
|
/external/marisa-trie/lib/marisa/ |
D | intvector.cc | 8 void IntVector::build(const Vector<UInt32> &ints) { in build() argument 10 for (UInt32 i = 0; i < ints.size(); ++i) { in build() 11 if (ints[i] > max_int) { in build() 12 max_int = ints[i]; in build() 15 build(max_int, ints.size()); in build() 16 for (UInt32 i = 0; i < ints.size(); ++i) { in build() 17 set(i, ints[i]); in build()
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | intvector.cc | 8 void IntVector::build(const Vector<UInt32> &ints) { in build() argument 10 for (UInt32 i = 0; i < ints.size(); ++i) { in build() 11 if (ints[i] > max_int) { in build() 12 max_int = ints[i]; in build() 15 build(max_int, ints.size()); in build() 16 for (UInt32 i = 0; i < ints.size(); ++i) { in build() 17 set(i, ints[i]); in build()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
D | Utils.java | 35 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/chromium_org/base/json/ |
D | json_value_converter_unittest.cc | 30 ScopedVector<int> ints; member 68 converter->RegisterRepeatedInt("ints", &SimpleMessage::ints); in RegisterJSONConverter() 118 EXPECT_EQ(2, static_cast<int>(message.ints.size())); in TEST() 122 EXPECT_EQ(1, *(message.ints[0])); in TEST() 123 EXPECT_EQ(2, *(message.ints[1])); in TEST() 217 EXPECT_EQ(2, static_cast<int>(message.ints.size())); in TEST() 218 EXPECT_EQ(1, *(message.ints[0])); in TEST() 219 EXPECT_EQ(2, *(message.ints[1])); in TEST()
|
/external/chromium_org/base/android/ |
D | jni_array_unittest.cc | 34 const ScopedJavaLocalRef<jintArray>& ints) { in CheckIntConversion() argument 35 ASSERT_TRUE(ints.obj()); in CheckIntConversion() 37 jsize java_array_len = env->GetArrayLength(ints.obj()); in CheckIntConversion() 42 env->GetIntArrayRegion(ints.obj(), i, 1, &value); in CheckIntConversion() 100 std::vector<int> ints; in TEST() local 101 JavaIntArrayToIntVector(env, jints.obj(), &ints); in TEST() 103 ASSERT_EQ(static_cast<jsize>(ints.size()), env->GetArrayLength(jints.obj())); in TEST() 108 ASSERT_EQ(ints[i], value); in TEST()
|
D | jni_array.cc | 29 JNIEnv* env, const int* ints, size_t len) { in ToJavaIntArray() argument 35 memcpy(elements, ints, len * sizeof(*ints)); in ToJavaIntArray() 43 JNIEnv* env, const std::vector<int>& ints) { in ToJavaIntArray() argument 44 return ToJavaIntArray(env, ints.begin(), ints.size()); in ToJavaIntArray() 166 jint* ints = env->GetIntArrayElements(int_array, NULL); in JavaIntArrayToIntVector() local 168 out->push_back(static_cast<int>(ints[i])); in JavaIntArrayToIntVector() 170 env->ReleaseIntArrayElements(int_array, ints, JNI_ABORT); in JavaIntArrayToIntVector()
|
D | jni_array.h | 25 JNIEnv* env, const int* ints, size_t len); 28 JNIEnv* env, const std::vector<int>& ints);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
D | ExtensionDescriptor.java | 47 int[] ints = new int[0xFE - 0x6A]; in allTags() local 52 ints[pos] = i; in allTags() 54 return ints; in allTags()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | AMDGPUInstrInfo.td | 40 // out = max(a, b) a and b are signed ints 45 // out = max(a, b) a and b are unsigned ints 55 // out = min(a, b) a snd b are signed ints 60 // out = min(a, b) a and b are unsigned ints
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDGPUInstrInfo.td | 40 // out = max(a, b) a and b are signed ints 45 // out = max(a, b) a and b are unsigned ints 55 // out = min(a, b) a snd b are signed ints 60 // out = min(a, b) a and b are unsigned ints
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUInstrInfo.td | 37 // out = max(a, b) a and b are signed ints 42 // out = max(a, b) a and b are unsigned ints 52 // out = min(a, b) a snd b are signed ints 57 // out = min(a, b) a and b are unsigned ints
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | OrderingTest.java | 386 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/chromium_org/base/metrics/ |
D | bucket_ranges.cc | 87 uint16 ints[sizeof(HistogramBase::Sample) / 2]; in Crc32() member 91 sum += converter.ints[0]; in Crc32() 92 sum = (sum << 16) ^ sum ^ (static_cast<uint32>(converter.ints[1]) << 11); in Crc32()
|
/external/valgrind/main/mpi/ |
D | libmpiwrap.c | 670 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/ |
D | p5.cpp | 59 int ints[] = {1, 2, 3}; variable 60 template <const auto (*a)[3] = &ints> class D { }; // expected-error{{'auto' not allowed in templat…
|
/external/skia/bench/ |
D | MemoryBench.cpp | 65 int* ints = (int*)sk_malloc_throw(bytes); in malloc_bzero() local 66 sk_bzero(ints, bytes); in malloc_bzero() 67 return ints; in malloc_bzero()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | wal_common.tcl | 80 binary scan $blob I6 ints 81 set ints
|
/external/clang/test/SemaCXX/ |
D | constant-expression-cxx1y.cpp | 509 template<int...N> struct ints {}; struct 511 template<int...As, int...Bs> struct join_ints<ints<As...>, ints<Bs...>> { 512 using type = ints<As..., sizeof...(As) + Bs...>; 517 template<> struct make_ints<0> { using type = ints<>; }; 518 template<> struct make_ints<1> { using type = ints<0>; }; 528 template<int ...I, typename ...X> constexpr void init(ints<I...>, X ...x) { in init() 761 constexpr int sum(std::initializer_list<int> ints) { in sum() argument 763 for (int n : ints) total += n; in sum()
|
D | decl-microsoft-call-conv.cpp | 109 void use_tmpl(const char *str, const int *ints) { in use_tmpl() argument 111 mystrlen(ints); in use_tmpl()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ParcelTest.java | 101 final int[] ints = {1, 2}; in testReadWriteIntArray() local 102 parcel.writeIntArray(ints); in testReadWriteIntArray() 104 final int[] ints2 = new int[ints.length]; in testReadWriteIntArray() 106 assertTrue(Arrays.equals(ints, ints2)); in testReadWriteIntArray() 426 final int[] ints = {1, 2}; in testWriteCreateIntArray() local 427 parcel.writeIntArray(ints); in testWriteCreateIntArray() 430 assertTrue(Arrays.equals(ints, ints2)); in testWriteCreateIntArray()
|