/external/guava/guava-tests/test/com/google/common/primitives/ |
IntsTest.java | 35 * Unit test for {@link Ints}. 55 assertEquals(((Integer) value).hashCode(), Ints.hashCode(value)); 61 assertEquals(value, Ints.checkedCast((long) value)); 71 assertEquals(value, Ints.saturatedCast((long) value)); 73 assertEquals(GREATEST, Ints.saturatedCast(GREATEST + 1L)); 74 assertEquals(LEAST, Ints.saturatedCast(LEAST - 1L)); 75 assertEquals(GREATEST, Ints.saturatedCast(Long.MAX_VALUE)); 76 assertEquals(LEAST, Ints.saturatedCast(Long.MIN_VALUE)); 81 Ints.checkedCast(value); 95 Ints.compare(x, y)) [all...] |
IntArrayAsListTest.java | 37 * Test suite covering {@link Ints#asList(int[])}. 50 return Ints.asList(temp); 57 .named("Ints.asList"), 60 .named("Ints.asList, head subList"), 63 .named("Ints.asList, tail subList"), 66 .named("Ints.asList, middle subList")
|
UnsignedBytesTest.java | 93 Math.signum(Ints.compare(i, j)));
|
/external/llvm/utils/TableGen/ |
IntrinsicEmitter.cpp | 39 void EmitEnumInfo(const std::vector<CodeGenIntrinsic> &Ints, 42 void EmitFnNameRecognizer(const std::vector<CodeGenIntrinsic> &Ints, 44 void EmitIntrinsicToNameTable(const std::vector<CodeGenIntrinsic> &Ints, 46 void EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints, 48 void EmitVerifier(const std::vector<CodeGenIntrinsic> &Ints, 50 void EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints, 52 void EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, 54 void EmitModRefBehavior(const std::vector<CodeGenIntrinsic> &Ints, 56 void EmitIntrinsicToGCCBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints, 69 std::vector<CodeGenIntrinsic> Ints = LoadIntrinsics(Records, TargetOnly) [all...] |
/external/clang/lib/AST/ |
MicrosoftCXXABI.cpp | 129 unsigned Ints = 0; 132 // variable number of ints depending on the inheritance model used. The 134 // slot thunk if it is virtual. The ints select the object base passed for 138 case MSIM_Unspecified: ++Ints; // VBTableOffset 139 case MSIM_Virtual: ++Ints; // VirtualBaseAdjustmentOffset 141 case MSIM_Multiple: ++Ints; // NonVirtualBaseAdjustment 146 // Data pointers are an aggregate of ints. The first int is an offset 150 case MSIM_Unspecified: ++Ints; // VBTableOffset 151 case MSIM_Virtual: ++Ints; // VirtualBaseAdjustmentOffset 155 case MSIM_Single: ++Ints; // Field offse [all...] |
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/ |
p2.cpp | 3 namespace Ints { 4 int zero = 0; // expected-note {{candidate found by name lookup is 'Ints::zero'}} 16 using namespace Ints; 21 int i = Ints::zero; 22 Ints::f(i); 58 int i = Ints::zero;
|
/external/guava/guava-tests/test/com/google/common/hash/ |
BloomFilterTest.java | 5 import com.google.common.primitives.Ints; 73 bf.put(Ints.toByteArray(i)); 78 assertTrue(bf.mightContain(Ints.toByteArray(i)));
|
HashTestUtils.java | 5 import com.google.common.primitives.Ints; 64 int verification = Integer.reverseBytes(Ints.fromByteArray(result));
|
/external/guava/guava/src/com/google/common/hash/ |
HashFunction.java | 18 import com.google.common.primitives.Ints; 109 * and {@link Ints#toByteArray} will help.
|
HashCode.java | 19 import com.google.common.primitives.Ints; 66 maxLength = Ints.min(maxLength, hash.length);
|
MessageDigestHashFunction.java | 21 import com.google.common.primitives.Ints; 102 digest.update(scratch.array(), 0, Ints.BYTES);
|
/external/guava/guava/src/com/google/common/io/ |
LittleEndianDataInputStream.java | 21 import com.google.common.primitives.Ints; 103 return Ints.fromBytes((byte) 0, (byte) 0, b2, b1); 121 return Ints.fromBytes( b4, b3, b2, b1);
|
/external/clang/test/Sema/ |
switch.c | 310 } Ints; 312 void rdar110822110(Ints i) 317 case 2: // expected-warning {{case value not in enumerated type 'Ints'}}
|
/external/guava/guava/src/com/google/common/primitives/ |
Ints.java | 47 public final class Ints { 48 private Ints() {} 317 * bytes, in big-endian order; equivalent to {@code Ints.fromByteArray(new 409 int result = Ints.compare(left[i], right[i]); 501 && Ints.indexOf(array, (Integer) target, start, end) != -1; 507 int i = Ints.indexOf(array, (Integer) target, start, end); 518 int i = Ints.lastIndexOf(array, (Integer) target, start, end); 565 result = 31 * result + Ints.hashCode(array[i]);
|
UnsignedInts.java | 29 * {@code 2^32 + x}). The methods for which signedness is not an issue are in {@link Ints}, as well 64 return Ints.compare(flip(a), flip(b));
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
Ints.java | 42 public final class Ints { 43 private Ints() {} 353 int result = Ints.compare(left[i], right[i]); 445 && Ints.indexOf(array, (Integer) target, start, end) != -1; 451 int i = Ints.indexOf(array, (Integer) target, start, end); 462 int i = Ints.lastIndexOf(array, (Integer) target, start, end); 509 result = 31 * result + Ints.hashCode(array[i]);
|
/external/guava/guava/src/com/google/common/collect/ |
ComparisonChain.java | 21 import com.google.common.primitives.Ints; 75 return classify(Ints.compare(left, right)); 151 * Compares two {@code int} values as specified by {@link Ints#compare},
|
Collections2.java | 27 import com.google.common.primitives.Ints; 334 return new StringBuilder((int) Math.min(size * 8L, Ints.MAX_POWER_OF_TWO));
|
RegularImmutableSortedMultiset.java | 23 import com.google.common.primitives.Ints; 123 return Ints.saturatedCast(
|
TreeMultiset.java | 37 import com.google.common.primitives.Ints; 168 return Ints.checkedCast(BstRangeOps.totalInRange(distinctAggregate(), range, root)); 174 return Ints.saturatedCast(BstRangeOps.totalInRange(sizeAggregate(), range, root)); 385 return Ints.checkedCast(result);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetBasherTest.java | 20 import com.google.common.primitives.Ints; 91 assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts);
|
/packages/services/Telephony/common/src/com/android/services/telephony/common/ |
Call.java | 27 import com.google.common.primitives.Ints; 344 dest.writeIntArray(Ints.toArray(mChildCallIds)); 359 mChildCallIds.addAll(Ints.asList(in.createIntArray()));
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
TreeMultiset.java | 33 import com.google.common.primitives.Ints; 164 return Ints.checkedCast(BstRangeOps.totalInRange(distinctAggregate(), range, root)); 170 return Ints.saturatedCast(BstRangeOps.totalInRange(sizeAggregate(), range, root)); 381 return Ints.checkedCast(result);
|
LinkedHashMultimap.java | 22 import com.google.common.primitives.Ints; 127 (int) Math.min(Ints.MAX_POWER_OF_TWO,
|
/external/guava/guava/src/com/google/common/net/ |
InetAddresses.java | 23 import com.google.common.primitives.Ints; 400 hextets[i] = Ints.fromBytes( [all...] |