/external/guava/android/guava-tests/test/com/google/common/primitives/ |
D | IntsTest.java | 52 assertEquals(((Integer) value).hashCode(), Ints.hashCode(value)); in testHashCode() 58 assertEquals(value, Ints.checkedCast((long) value)); in testCheckedCast() 68 assertEquals(value, Ints.saturatedCast((long) value)); in testSaturatedCast() 70 assertEquals(GREATEST, Ints.saturatedCast(GREATEST + 1L)); in testSaturatedCast() 71 assertEquals(LEAST, Ints.saturatedCast(LEAST - 1L)); in testSaturatedCast() 72 assertEquals(GREATEST, Ints.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast() 73 assertEquals(LEAST, Ints.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast() 78 Ints.checkedCast(value); in assertCastFails() 91 assertEquals(x + ", " + y, Integer.valueOf(x).compareTo(y), Ints.compare(x, y)); in testCompare() 97 assertFalse(Ints.contains(EMPTY, (int) 1)); in testContains() [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | IntsTest.java | 52 assertEquals(((Integer) value).hashCode(), Ints.hashCode(value)); in testHashCode() 58 assertEquals(value, Ints.checkedCast((long) value)); in testCheckedCast() 68 assertEquals(value, Ints.saturatedCast((long) value)); in testSaturatedCast() 70 assertEquals(GREATEST, Ints.saturatedCast(GREATEST + 1L)); in testSaturatedCast() 71 assertEquals(LEAST, Ints.saturatedCast(LEAST - 1L)); in testSaturatedCast() 72 assertEquals(GREATEST, Ints.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast() 73 assertEquals(LEAST, Ints.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast() 78 Ints.checkedCast(value); in assertCastFails() 91 assertEquals(x + ", " + y, Integer.valueOf(x).compareTo(y), Ints.compare(x, y)); in testCompare() 97 assertFalse(Ints.contains(EMPTY, (int) 1)); in testContains() [all …]
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | modernize-loop-convert-const.cpp | 38 int Ints[N], OtherInt; variable 151 copyArg(Ints[I]); in primitiveTypes() 157 constRefArg(Ints[I]); in primitiveTypes() 163 nonConstRefArg(Ints[I]); in primitiveTypes() 172 if (Ints[I] < N) in primitiveTypes() 180 if (N == Ints[I]) in primitiveTypes() 189 Ints[I] = OtherInt; in primitiveTypes() 196 OtherInt = Ints[I]; in primitiveTypes() 203 OtherInt = Ints[I] = OtherInt; in primitiveTypes() 211 OtherInt += Ints[I]; in primitiveTypes() [all …]
|
/external/llvm/utils/TableGen/ |
D | IntrinsicEmitter.cpp | 41 void EmitEnumInfo(const std::vector<CodeGenIntrinsic> &Ints, 44 void EmitIntrinsicToNameTable(const std::vector<CodeGenIntrinsic> &Ints, 46 void EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints, 48 void EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints, 50 void EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, 52 void EmitIntrinsicToBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints, 65 std::vector<CodeGenIntrinsic> Ints = LoadIntrinsics(Records, TargetOnly); in run() local 67 if (TargetOnly && !Ints.empty()) in run() 68 TargetPrefix = Ints[0].TargetPrefix; in run() 73 EmitEnumInfo(Ints, OS); in run() [all …]
|
/external/llvm-project/llvm/utils/TableGen/ |
D | IntrinsicEmitter.cpp | 42 void EmitEnumInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 43 void EmitTargetInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 44 void EmitIntrinsicToNameTable(const CodeGenIntrinsicTable &Ints, 46 void EmitIntrinsicToOverloadTable(const CodeGenIntrinsicTable &Ints, 48 void EmitGenerator(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 49 void EmitAttributes(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 50 void EmitIntrinsicToBuiltinMap(const CodeGenIntrinsicTable &Ints, bool IsGCC, 62 CodeGenIntrinsicTable Ints(Records); in run() local 66 EmitEnumInfo(Ints, OS); in run() 69 EmitTargetInfo(Ints, OS); in run() [all …]
|
/external/google-fruit/include/fruit/impl/meta/ |
D | numeric_operations.h | 27 template <typename... Ints> 37 template <typename... Ints> 42 template <typename N1, typename... Ints> 43 struct apply<N1, Ints...> { 44 using type = Int<N1::value + apply<Ints...>::type::value>; 48 template <typename N0, typename N1, typename N2, typename N3, typename N4, typename... Ints> 49 struct apply<N0, N1, N2, N3, N4, Ints...> { 50 …using type = Int<N0::value + N1::value + N2::value + N3::value + N4::value + apply<Ints...>::type:…
|
/external/llvm-project/clang/lib/AST/ |
D | MicrosoftCXXABI.cpp | 220 unsigned Ints = 0; in getMSMemberPointerSlots() local 224 Ints = 1; in getMSMemberPointerSlots() 227 Ints++; in getMSMemberPointerSlots() 229 Ints++; in getMSMemberPointerSlots() 231 Ints++; in getMSMemberPointerSlots() 232 return std::make_pair(Ptrs, Ints); in getMSMemberPointerSlots() 243 unsigned Ptrs, Ints; in getMemberPointerInfo() local 244 std::tie(Ptrs, Ints) = getMSMemberPointerSlots(MPT); in getMemberPointerInfo() 247 MPI.Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerInfo() 252 if (Ptrs + Ints > 1 && Target.getTriple().isArch32Bit()) in getMemberPointerInfo() [all …]
|
/external/angle/third_party/abseil-cpp/absl/utility/ |
D | utility.h | 75 template <typename T, T... Ints> 78 static constexpr size_t size() noexcept { return sizeof...(Ints); } in size() 86 template <size_t... Ints> 87 using index_sequence = integer_sequence<size_t, Ints...>; 95 template <typename T, T... Ints, size_t SeqSize> 96 struct Extend<integer_sequence<T, Ints...>, SeqSize, 0> { 97 using type = integer_sequence<T, Ints..., (Ints + SeqSize)...>; 100 template <typename T, T... Ints, size_t SeqSize> 101 struct Extend<integer_sequence<T, Ints...>, SeqSize, 1> { 102 using type = integer_sequence<T, Ints..., (Ints + SeqSize)..., 2 * SeqSize>;
|
/external/openscreen/third_party/abseil/src/absl/utility/ |
D | utility.h | 75 template <typename T, T... Ints> 78 static constexpr size_t size() noexcept { return sizeof...(Ints); } in size() 86 template <size_t... Ints> 87 using index_sequence = integer_sequence<size_t, Ints...>; 95 template <typename T, T... Ints, size_t SeqSize> 96 struct Extend<integer_sequence<T, Ints...>, SeqSize, 0> { 97 using type = integer_sequence<T, Ints..., (Ints + SeqSize)...>; 100 template <typename T, T... Ints, size_t SeqSize> 101 struct Extend<integer_sequence<T, Ints...>, SeqSize, 1> { 102 using type = integer_sequence<T, Ints..., (Ints + SeqSize)..., 2 * SeqSize>;
|
/external/abseil-cpp/absl/utility/ |
D | utility.h | 75 template <typename T, T... Ints> 78 static constexpr size_t size() noexcept { return sizeof...(Ints); } in size() 86 template <size_t... Ints> 87 using index_sequence = integer_sequence<size_t, Ints...>; 95 template <typename T, T... Ints, size_t SeqSize> 96 struct Extend<integer_sequence<T, Ints...>, SeqSize, 0> { 97 using type = integer_sequence<T, Ints..., (Ints + SeqSize)...>; 100 template <typename T, T... Ints, size_t SeqSize> 101 struct Extend<integer_sequence<T, Ints...>, SeqSize, 1> { 102 using type = integer_sequence<T, Ints..., (Ints + SeqSize)..., 2 * SeqSize>;
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/utility/ |
D | utility.h | 75 template <typename T, T... Ints> 78 static constexpr size_t size() noexcept { return sizeof...(Ints); } in size() 86 template <size_t... Ints> 87 using index_sequence = integer_sequence<size_t, Ints...>; 95 template <typename T, T... Ints, size_t SeqSize> 96 struct Extend<integer_sequence<T, Ints...>, SeqSize, 0> { 97 using type = integer_sequence<T, Ints..., (Ints + SeqSize)...>; 100 template <typename T, T... Ints, size_t SeqSize> 101 struct Extend<integer_sequence<T, Ints...>, SeqSize, 1> { 102 using type = integer_sequence<T, Ints..., (Ints + SeqSize)..., 2 * SeqSize>;
|
/external/webrtc/third_party/abseil-cpp/absl/utility/ |
D | utility.h | 75 template <typename T, T... Ints> 78 static constexpr size_t size() noexcept { return sizeof...(Ints); } in size() 86 template <size_t... Ints> 87 using index_sequence = integer_sequence<size_t, Ints...>; 95 template <typename T, T... Ints, size_t SeqSize> 96 struct Extend<integer_sequence<T, Ints...>, SeqSize, 0> { 97 using type = integer_sequence<T, Ints..., (Ints + SeqSize)...>; 100 template <typename T, T... Ints, size_t SeqSize> 101 struct Extend<integer_sequence<T, Ints...>, SeqSize, 1> { 102 using type = integer_sequence<T, Ints..., (Ints + SeqSize)..., 2 * SeqSize>;
|
/external/libtextclassifier/abseil-cpp/absl/utility/ |
D | utility.h | 75 template <typename T, T... Ints> 78 static constexpr size_t size() noexcept { return sizeof...(Ints); } in size() 86 template <size_t... Ints> 87 using index_sequence = integer_sequence<size_t, Ints...>; 95 template <typename T, T... Ints, size_t SeqSize> 96 struct Extend<integer_sequence<T, Ints...>, SeqSize, 0> { 97 using type = integer_sequence<T, Ints..., (Ints + SeqSize)...>; 100 template <typename T, T... Ints, size_t SeqSize> 101 struct Extend<integer_sequence<T, Ints...>, SeqSize, 1> { 102 using type = integer_sequence<T, Ints..., (Ints + SeqSize)..., 2 * SeqSize>;
|
/external/llvm-project/clang/test/SemaTemplate/ |
D | temp-param-subst-linear.cpp | 41 using Ints = Rep<TypeList<int>, 14>::type; typedef 46 using Left = SplitAtIndex<Ints, Size<Ints> / 2>::Left; 47 using Right = SplitAtIndex<Ints, Size<Ints> / 2>::Right; 56 using Ints = Concat<Left, Right>::type; typedef
|
/external/clang/lib/AST/ |
D | MicrosoftCXXABI.cpp | 226 unsigned Ints = 0; in getMSMemberPointerSlots() local 230 Ints = 1; in getMSMemberPointerSlots() 233 Ints++; in getMSMemberPointerSlots() 235 Ints++; in getMSMemberPointerSlots() 237 Ints++; in getMSMemberPointerSlots() 238 return std::make_pair(Ptrs, Ints); in getMSMemberPointerSlots() 249 unsigned Ptrs, Ints; in getMemberPointerWidthAndAlign() local 250 std::tie(Ptrs, Ints) = getMSMemberPointerSlots(MPT); in getMemberPointerWidthAndAlign() 251 uint64_t Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerWidthAndAlign() 257 if (Ptrs + Ints > 1 && Target.getTriple().isArch32Bit()) in getMemberPointerWidthAndAlign()
|
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/ |
D | p2.cpp | 5 namespace Ints { namespace 18 using namespace Ints; 23 int i = Ints::zero; in test() 24 Ints::f(i); in test() 64 int i = Ints::zero; in test3()
|
/external/llvm-project/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/ |
D | p2.cpp | 5 namespace Ints { namespace 18 using namespace Ints; 23 int i = Ints::zero; in test() 24 Ints::f(i); in test() 64 int i = Ints::zero; in test3()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | TestStringConversions.java | 42 List<Integer> Ints = new ArrayList<Integer>(); in testSimple() local 43 Ints.add(1); in testSimple() 44 Ints.add(2); in testSimple() 45 Ints.add(3); in testSimple() 47 assertArrayEquals(ints, MAPPER.convertValue(Ints, int[].class)); in testSimple()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/ |
D | BaseByteEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 60 return Ints.compare(getValue(), ((ByteEncodedValue)o).getValue()); in compareTo()
|
D | BaseIntEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 60 return Ints.compare(getValue(), ((IntEncodedValue)o).getValue()); in compareTo()
|
/external/google-fruit/include/fruit/impl/util/ |
D | call_with_tuple.h | 28 template <typename... Ints, typename Result, typename... Args> 29 struct CallWithTupleHelper<fruit::impl::meta::Vector<Ints...>, Result, std::tuple<Args...>> { 33 return fun(std::get<fruit::impl::meta::getIntValue<Ints>()>(args)...);
|
/external/llvm-project/llvm/unittests/Support/ |
D | BinaryStreamTest.cpp | 417 std::vector<uint32_t> Ints = {90823, 12908, 109823, 209823}; in TEST_F() local 418 ArrayRef<uint8_t> IntBytes(reinterpret_cast<uint8_t *>(Ints.data()), in TEST_F() 419 Ints.size() * sizeof(uint32_t)); in TEST_F() 428 ASSERT_EQ(Ints[0], *Iter++); in TEST_F() 429 ASSERT_EQ(Ints[1], *Iter++); in TEST_F() 430 ASSERT_EQ(Ints[2], *Iter++); in TEST_F() 431 ASSERT_EQ(Ints[3], *Iter++); in TEST_F() 569 std::vector<int> Ints = {1, 2, 3, 4, 5}; in TEST_F() local 570 ArrayRef<uint8_t> IntBytes(reinterpret_cast<uint8_t *>(&Ints[0]), in TEST_F() 571 Ints.size() * sizeof(int)); in TEST_F() [all …]
|
/external/llvm-project/llvm/test/TableGen/ |
D | empty.td | 42 class L<list<int> Ints> { 43 bit Empty = !empty(Ints); 44 bit NotEmpty = !not(!empty(Ints));
|
/external/smali/dexlib2/src/main/java/org/jf/util/ |
D | CollectionUtils.java | 37 import com.google.common.primitives.Ints; 65 int res = Ints.compare(list1.size(), list2.size()); in compareAsList() 117 int res = Ints.compare(list1.size(), list2.size()); in compareAsList() 194 int res = Ints.compare(set1.size(), set2.size()); 211 int res = Ints.compare(list1.size(), list2.size());
|
/external/guava/android/guava/src/com/google/common/primitives/ |
D | Ints.java | 47 public final class Ints extends IntsMethodsForWeb { class 48 private Ints() {} in Ints() method in Ints 444 int result = Ints.compare(left[i], right[i]); in compare() 598 return (target instanceof Integer) && Ints.indexOf(array, (Integer) target, start, end) != -1; in contains() 605 int i = Ints.indexOf(array, (Integer) target, start, end); in indexOf() 617 int i = Ints.lastIndexOf(array, (Integer) target, start, end); in lastIndexOf() 669 result = 31 * result + Ints.hashCode(array[i]); in hashCode()
|