/external/guava/guava-tests/test/com/google/common/primitives/ |
D | IntsTest.java | 56 assertEquals(((Integer) value).hashCode(), Ints.hashCode(value)); in testHashCode() 62 assertEquals(value, Ints.checkedCast((long) value)); in testCheckedCast() 72 assertEquals(value, Ints.saturatedCast((long) value)); in testSaturatedCast() 74 assertEquals(GREATEST, Ints.saturatedCast(GREATEST + 1L)); in testSaturatedCast() 75 assertEquals(LEAST, Ints.saturatedCast(LEAST - 1L)); in testSaturatedCast() 76 assertEquals(GREATEST, Ints.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast() 77 assertEquals(LEAST, Ints.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast() 82 Ints.checkedCast(value); in assertCastFails() 96 Ints.compare(x, y)); in testCompare() 102 assertFalse(Ints.contains(EMPTY, (int) 1)); in testContains() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/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() 92 Ints.compare(x, y)); in testCompare() 98 assertFalse(Ints.contains(EMPTY, (int) 1)); in testContains() [all …]
|
/external/llvm/utils/TableGen/ |
D | IntrinsicEmitter.cpp | 40 void EmitEnumInfo(const std::vector<CodeGenIntrinsic> &Ints, 43 void EmitFnNameRecognizer(const std::vector<CodeGenIntrinsic> &Ints, 45 void EmitIntrinsicToNameTable(const std::vector<CodeGenIntrinsic> &Ints, 47 void EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints, 49 void EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints, 51 void EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, 53 void EmitModRefBehavior(const std::vector<CodeGenIntrinsic> &Ints, 55 void EmitIntrinsicToGCCBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints, 57 void EmitIntrinsicToMSBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints, 70 std::vector<CodeGenIntrinsic> Ints = LoadIntrinsics(Records, TargetOnly); in run() local [all …]
|
/external/clang/lib/AST/ |
D | MicrosoftCXXABI.cpp | 199 unsigned Ints = 0; in getMSMemberPointerSlots() local 203 Ints = 1; in getMSMemberPointerSlots() 206 Ints++; in getMSMemberPointerSlots() 208 Ints++; in getMSMemberPointerSlots() 210 Ints++; in getMSMemberPointerSlots() 211 return std::make_pair(Ptrs, Ints); in getMSMemberPointerSlots() 219 unsigned Ptrs, Ints; in getMemberPointerWidthAndAlign() local 220 std::tie(Ptrs, Ints) = getMSMemberPointerSlots(MPT); in getMemberPointerWidthAndAlign() 225 uint64_t Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerWidthAndAlign() 231 if (Ptrs + Ints > 1 && Target.getTriple().getArch() == llvm::Triple::x86) in getMemberPointerWidthAndAlign()
|
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/ |
D | p2.cpp | 3 namespace Ints { namespace 16 using namespace Ints; 21 int i = Ints::zero; in test() 22 Ints::f(i); in test() 58 int i = Ints::zero; in test3()
|
/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()
|
D | BaseNullEncodedValue.java | 34 import com.google.common.primitives.Ints; 55 return Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseEnumEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseTypeEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseStringEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseMethodEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseFieldEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseShortEncodedValue.java | 34 import com.google.common.primitives.Ints; 59 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseBooleanEncodedValue.java | 35 import com.google.common.primitives.Ints; 59 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseCharEncodedValue.java | 35 import com.google.common.primitives.Ints; 59 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseFloatEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseDoubleEncodedValue.java | 34 import com.google.common.primitives.Ints; 60 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
D | BaseArrayEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo()
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | Ints.java | 49 public final class Ints { class 50 private Ints() {} in Ints() method in Ints 402 int result = Ints.compare(left[i], right[i]); in compare() 495 && Ints.indexOf(array, (Integer) target, start, end) != -1; in contains() 501 int i = Ints.indexOf(array, (Integer) target, start, end); in indexOf() 512 int i = Ints.lastIndexOf(array, (Integer) target, start, end); in lastIndexOf() 560 result = 31 * result + Ints.hashCode(array[i]); in hashCode()
|
/external/smali/util/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/guava/src/com/google/common/primitives/ |
D | Ints.java | 52 public final class Ints { class 53 private Ints() {} in Ints() method in Ints 456 int result = Ints.compare(left[i], right[i]); in compare() 549 && Ints.indexOf(array, (Integer) target, start, end) != -1; in contains() 555 int i = Ints.indexOf(array, (Integer) target, start, end); in indexOf() 566 int i = Ints.lastIndexOf(array, (Integer) target, start, end); in lastIndexOf() 614 result = 31 * result + Ints.hashCode(array[i]); in hashCode()
|
/external/guava/guava/src/com/google/common/io/ |
D | LittleEndianDataInputStream.java | 21 import com.google.common.primitives.Ints; 103 return Ints.fromBytes((byte) 0, (byte) 0, b2, b1); in readUnsignedShort() 121 return Ints.fromBytes( b4, b3, b2, b1); in readInt()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Hashing.java | 20 import com.google.common.primitives.Ints; 54 private static int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | TestIntegerSetGenerator.java | 20 import com.google.common.collect.testing.SampleElements.Ints; 33 return new Ints(); in samples()
|