/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
IntsTest.java | 32 * Unit test for {@link Ints}. 52 assertEquals(((Integer) value).hashCode(), Ints.hashCode(value)); 58 assertEquals(value, Ints.checkedCast((long) value)); 68 assertEquals(value, Ints.saturatedCast((long) value)); 70 assertEquals(GREATEST, Ints.saturatedCast(GREATEST + 1L)); 71 assertEquals(LEAST, Ints.saturatedCast(LEAST - 1L)); 72 assertEquals(GREATEST, Ints.saturatedCast(Long.MAX_VALUE)); 73 assertEquals(LEAST, Ints.saturatedCast(Long.MIN_VALUE)); 78 Ints.checkedCast(value); 92 Ints.compare(x, y)) 309 List<Integer> ints = Arrays.asList(0, 1, 2); local [all...] |
/external/guava/guava-tests/test/com/google/common/primitives/ |
IntsTest.java | 36 * Unit test for {@link Ints}. 56 assertEquals(((Integer) value).hashCode(), Ints.hashCode(value)); 62 assertEquals(value, Ints.checkedCast((long) value)); 72 assertEquals(value, Ints.saturatedCast((long) value)); 74 assertEquals(GREATEST, Ints.saturatedCast(GREATEST + 1L)); 75 assertEquals(LEAST, Ints.saturatedCast(LEAST - 1L)); 76 assertEquals(GREATEST, Ints.saturatedCast(Long.MAX_VALUE)); 77 assertEquals(LEAST, Ints.saturatedCast(Long.MIN_VALUE)); 82 Ints.checkedCast(value); 96 Ints.compare(x, y)) 370 List<Integer> ints = Arrays.asList(0, 1, 2); local [all...] |
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/ |
p2.cpp | 5 namespace Ints { 6 int zero = 0; // expected-note {{candidate found by name lookup is 'Ints::zero'}} 18 using namespace Ints; 23 int i = Ints::zero; 24 Ints::f(i); 64 int i = Ints::zero;
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/ |
BaseByteEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); 60 return Ints.compare(getValue(), ((ByteEncodedValue)o).getValue());
|
BaseIntEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType()); 60 return Ints.compare(getValue(), ((IntEncodedValue)o).getValue());
|
BaseNullEncodedValue.java | 34 import com.google.common.primitives.Ints; 55 return Ints.compare(getValueType(), o.getValueType());
|
BaseArrayEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseBooleanEncodedValue.java | 35 import com.google.common.primitives.Ints; 59 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseCharEncodedValue.java | 35 import com.google.common.primitives.Ints; 59 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseDoubleEncodedValue.java | 34 import com.google.common.primitives.Ints; 60 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseEnumEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseFieldEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseFloatEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseLongEncodedValue.java | 34 import com.google.common.primitives.Ints; 61 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseMethodEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseShortEncodedValue.java | 34 import com.google.common.primitives.Ints; 59 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseStringEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseTypeEncodedValue.java | 34 import com.google.common.primitives.Ints; 58 int res = Ints.compare(getValueType(), o.getValueType());
|
BaseAnnotationEncodedValue.java | 34 import com.google.common.primitives.Ints; 62 int res = Ints.compare(getValueType(), o.getValueType());
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/util/ |
Ints.java | 7 * Static utility methods pertaining to int primitives. (Referred Guava's Ints class) 9 public class Ints { 10 private Ints() {}
|
/external/llvm/utils/TableGen/ |
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 EmitIntrinsicToGCCBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints, 55 void EmitIntrinsicToMSBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints, 68 std::vector<CodeGenIntrinsic> Ints = LoadIntrinsics(Records, TargetOnly); 70 if (TargetOnly && !Ints.empty() [all...] |
/external/guava/guava/src/com/google/common/collect/ |
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/ |
TestIntegerSetGenerator.java | 20 import com.google.common.collect.testing.SampleElements.Ints; 33 return new Ints();
|
/external/clang/lib/AST/ |
MicrosoftCXXABI.cpp | 226 unsigned Ints = 0; 230 Ints = 1; 233 Ints++; 235 Ints++; 237 Ints++; 238 return std::make_pair(Ptrs, Ints); 243 // The nominal struct is laid out with pointers followed by ints and aligned 249 unsigned Ptrs, Ints; 250 std::tie(Ptrs, Ints) = getMSMemberPointerSlots(MPT); 251 uint64_t Width = Ptrs * PtrSize + Ints * IntSize [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/ |
BaseAnnotation.java | 34 import com.google.common.primitives.Ints; 61 int res = Ints.compare(getVisibility(), o.getVisibility());
|