Home
last modified time | relevance | path

Searched refs:Long (Results 1 – 25 of 781) sorted by relevance

12345678910>>...32

/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DLongArrayAsListTest.java37 private static List<Long> asList(Long[] values) { in asList()
49 @Override protected List<Long> create(Long[] elements) { in create()
55 @Override protected List<Long> create(Long[] elements) { in create()
56 Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}; in create()
57 Long[] all = concat(elements, suffix); in create()
63 @Override protected List<Long> create(Long[] elements) { in create()
64 Long[] prefix = {(long) 86, (long) 99}; in create()
65 Long[] all = concat(prefix, elements); in create()
71 @Override protected List<Long> create(Long[] elements) { in create()
72 Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE}; in create()
[all …]
DLongsTest.java19 import static java.lang.Long.MAX_VALUE;
20 import static java.lang.Long.MIN_VALUE;
56 Long.valueOf(x).compareTo(y), in testCompare()
286 List<Long> none = Arrays.<Long>asList(); in testToArray()
289 List<Long> one = Arrays.asList((long) 1); in testToArray()
294 List<Long> three = Arrays.asList((long) 0, (long) 1, 0x0FF1C1AL); in testToArray()
303 List<Long> list = Longs.asList(VALUES).subList(0, i); in testToArray_threadSafe()
304 Collection<Long> misleadingSize = in testToArray_threadSafe()
317 List<Long> list = Arrays.asList((long) 0, (long) 1, null); in testToArray_withNull()
332 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); in testToArray_withConversion()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DLongArrayAsListTest.java45 private static List<Long> asList(Long[] values) { in asList()
55 List<ListTestSuiteBuilder<Long>> builders = in suite()
71 for (ListTestSuiteBuilder<Long> builder : builders) { in suite()
87 @Override protected List<Long> create(Long[] elements) { in create()
93 @Override protected List<Long> create(Long[] elements) { in create()
94 Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}; in create()
95 Long[] all = concat(elements, suffix); in create()
101 @Override protected List<Long> create(Long[] elements) { in create()
102 Long[] prefix = {(long) 86, (long) 99}; in create()
103 Long[] all = concat(prefix, elements); in create()
[all …]
DLongsTest.java19 import static java.lang.Long.MAX_VALUE;
20 import static java.lang.Long.MIN_VALUE;
59 ((Long) value).hashCode(), Longs.hashCode(value)); in testHashCode()
68 Long.valueOf(x).compareTo(y), in testCompare()
309 List<Long> none = Arrays.<Long>asList(); in testToArray()
312 List<Long> one = Arrays.asList((long) 1); in testToArray()
317 List<Long> three = Arrays.asList((long) 0, (long) 1, 0x0FF1C1AL); in testToArray()
326 List<Long> list = Longs.asList(VALUES).subList(0, i); in testToArray_threadSafe()
327 Collection<Long> misleadingSize = in testToArray_threadSafe()
340 List<Long> list = Arrays.asList((long) 0, (long) 1, null); in testToArray_withNull()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/xslt/
DEnvironmentCheck.java745 String foundSize = (String) jarVersions.get(new Long(jarSize)); in getApparentVersion()
1195 jarVersions.put(new Long(857192), "xalan.jar from xalan-j_1_1"); in jarVersions.put()
1196 jarVersions.put(new Long(440237), "xalan.jar from xalan-j_1_2"); in jarVersions.put()
1197 jarVersions.put(new Long(436094), "xalan.jar from xalan-j_1_2_1"); in jarVersions.put()
1198 jarVersions.put(new Long(426249), "xalan.jar from xalan-j_1_2_2"); in jarVersions.put()
1199 jarVersions.put(new Long(702536), "xalan.jar from xalan-j_2_0_0"); in jarVersions.put()
1200 jarVersions.put(new Long(720930), "xalan.jar from xalan-j_2_0_1"); in jarVersions.put()
1201 jarVersions.put(new Long(732330), "xalan.jar from xalan-j_2_1_0"); in jarVersions.put()
1202 jarVersions.put(new Long(872241), "xalan.jar from xalan-j_2_2_D10"); in jarVersions.put()
1203 jarVersions.put(new Long(882739), "xalan.jar from xalan-j_2_2_D11"); in jarVersions.put()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
DBlenderContext.java85 private Map<Long, FileBlockHeader> fileBlockHeadersByOma = new HashMap<Long, FileBlockHeader>();
93 private Map<Long, Object[]> loadedFeatures = new HashMap<Long, Object[]>();
107 private Map<Long, Ipo> loadedIpos = new HashMap<Long, Ipo>();
109 protected Map<Long, List<Modifier>> modifiers = new HashMap<Long, List<Modifier>>();
111 protected Map<Long, List<Constraint>> constraints = new HashMap<Long, List<Constraint>>();
113 private Map<Long, AnimData> animData = new HashMap<Long, AnimData>();
115 private Map<Long, Skeleton> skeletons = new HashMap<Long, Skeleton>();
117 protected Map<Long, MeshContext> meshContexts = new HashMap<Long, MeshContext>();
119 protected Map<Long, BoneContext> boneContexts = new HashMap<Long, BoneContext>();
227 public void addFileBlockHeader(Long oldMemoryAddress, FileBlockHeader fileBlockHeader) { in addFileBlockHeader()
[all …]
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java100 public static DiscreteDomain<Long> longs() { in longs()
104 private static final class LongDomain extends DiscreteDomain<Long>
108 @Override public Long next(Long value) { in next()
110 return (l == Long.MAX_VALUE) ? null : l + 1; in next()
113 @Override public Long previous(Long value) { in previous()
115 return (l == Long.MIN_VALUE) ? null : l - 1; in previous()
118 @Override public long distance(Long start, Long end) { in distance()
121 return Long.MAX_VALUE; in distance()
124 return Long.MIN_VALUE; in distance()
129 @Override public Long minValue() { in minValue()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DMathTesting.java59 private static final Function<Integer, Long> TO_LONG = new Function<Integer, Long>() {
61 public Long apply(Integer n) {
62 return Long.valueOf(n);
67 private static final Function<Long, BigInteger> TO_BIGINTEGER =
68 new Function<Long, BigInteger>() {
70 public BigInteger apply(Long n) {
82 private static final Function<Long, Long> NEGATE_LONG = new Function<Long, Long>() {
84 public Long apply(Long x) {
138 static final ImmutableSet<Long> POSITIVE_LONG_CANDIDATES;
140 static final Iterable<Long> NEGATIVE_LONG_CANDIDATES;
[all …]
DLongMathTest.java52 assertEquals(BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Long.SIZE - 1), FLOOR).longValue(), in testConstantMaxPowerOfSqrt2Unsigned()
58 for (int i = 0; i < Long.SIZE; i++) { in testMaxLog10ForLeadingZeros()
60 BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Long.SIZE - i), FLOOR), in testMaxLog10ForLeadingZeros()
84 assertTrue(nextBigger.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0); in testConstantsHalfPowersOf10()
89 assertEquals(LongMath.sqrt(Long.MAX_VALUE, FLOOR), LongMath.FLOOR_SQRT_MAX_LONG); in testConstantsSqrtMaxLong()
544 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE; in testFactorial()
564 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE; in testBinomial()
613 long sqrtMaxLong = (long) Math.sqrt(Long.MAX_VALUE); in testSqrtOfLongIsAtMostFloorSqrtMaxLong()
625 assertMean((1L << 62) - 1, -1, Long.MAX_VALUE); in testMean()
631 assertMean(0, Long.MIN_VALUE + 2, Long.MAX_VALUE); in testMean()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DSampleList.java22 HashMap<MediaDataBox, Long> mdatStartCache = new HashMap<MediaDataBox, Long>();
23 HashMap<MediaDataBox, Long> mdatEndCache = new HashMap<MediaDataBox, Long>();
80 Map<Long, Long> offsets2Sizes = new HashMap<Long, Long>(); in SampleList()
101 private void splitToArrays(Map<Long, Long> offsets2Sizes) { in splitToArrays() argument
102 List<Long> keys = new ArrayList<Long>(offsets2Sizes.keySet()); in splitToArrays()
120 Map<Long, Long> offsets2Sizes = new HashMap<Long, Long>(); in SampleList()
183 Map<Long, Long> getOffsets(MovieFragmentBox moof, long trackId, TrackExtendsBox trex) { in getOffsets()
184 Map<Long, Long> offsets2Sizes = new HashMap<Long, Long>(); in getOffsets()
/external/guava/guava/src/com/google/common/math/
DLongMath.java73 return (int) (~~(x - y) >>> (Long.SIZE - 1)); in lessThanBranchFree()
93 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2()
97 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2()
103 int leadingZeros = Long.numberOfLeadingZeros(x); in log2()
106 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
160 int y = maxLog10ForLeadingZeros[Long.numberOfLeadingZeros(x)]; in log10Floor()
242 return (k < Long.SIZE) ? 1L << k : 0; in pow()
244 if (k < Long.SIZE) { in pow()
363 int signum = 1 | (int) ((p ^ q) >> (Long.SIZE - 1)); in divide()
476 int aTwos = Long.numberOfTrailingZeros(a); in gcd()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
DFrequency.java55 private final TreeMap<Comparable<?>, Long> freqTable;
61 freqTable = new TreeMap<Comparable<?>, Long>(); in Frequency()
71 … freqTable = new TreeMap<Comparable<?>, Long>((Comparator<? super Comparable<?>>) comparator); in Frequency()
136 obj = Long.valueOf(((Integer) v).longValue()); in addValue()
139 Long count = freqTable.get(obj); in addValue()
141 freqTable.put(obj, Long.valueOf(1)); in addValue()
143 freqTable.put(obj, Long.valueOf(count.longValue() + 1)); in addValue()
159 addValue(Long.valueOf(v)); in addValue()
170 addValue(Long.valueOf(v.longValue())); in addValue()
179 addValue(Long.valueOf(v)); in addValue()
[all …]
/external/zlib/src/old/
Dvisual-basic.txt34 As Long) As Integer
37 lcompr As Long) As Integer
39 String, ByVal mode As String) As Long
41 Long, ByVal uncompr As String, ByVal uncomprLen As Integer)
44 Long, ByVal uncompr As String, ByVal uncomprLen As Integer)
47 Long) As Integer
51 String, ByVal buflen As Long) As Integer
54 String, ByVal lcompr As Long) As Long
56 (ByVal file As String, ByVal mode As String) As Long
58 (ByVal file As Long, ByVal uncompr As String, ByVal
[all …]
/external/clang/test/Sema/
Dcast.c21 typedef long Long; typedef
34 (void) (Long) v; in testBool()
48 (void) (Long) v; in testInt()
67 void testLong(Long v) { in testLong()
70 (void) (Long) v; in testLong()
84 (void) (Long) v; in testFloat()
96 (void) (Long) v; in testDouble()
108 (void) (Long) v; in testCI()
120 (void) (Long) v; in testCLong()
132 (void) (Long) v; in testCFloat()
[all …]
/external/valgrind/none/tests/arm64/
Dcvtf_imm.c5 typedef signed long long int Long; typedef
15 __attribute__((noinline)) double do_scvtf_d_x_imm1 ( Long x ) in do_scvtf_d_x_imm1()
23 __attribute__((noinline)) double do_scvtf_d_x_imm32 ( Long x ) in do_scvtf_d_x_imm32()
31 __attribute__((noinline)) double do_scvtf_d_x_imm64 ( Long x ) in do_scvtf_d_x_imm64()
40 __attribute__((noinline)) double do_ucvtf_d_x_imm1 ( Long x ) in do_ucvtf_d_x_imm1()
48 __attribute__((noinline)) double do_ucvtf_d_x_imm32 ( Long x ) in do_ucvtf_d_x_imm32()
56 __attribute__((noinline)) double do_ucvtf_d_x_imm64 ( Long x ) in do_ucvtf_d_x_imm64()
70 U block[2]; block[0].i64 = (Long)x; block[1].i64 = 0; in do_scvtf_d_w_imm1()
78 U block[2]; block[0].i64 = (Long)x; block[1].i64 = 0; in do_scvtf_d_w_imm16()
86 U block[2]; block[0].i64 = (Long)x; block[1].i64 = 0; in do_scvtf_d_w_imm32()
[all …]
/external/guava/guava/src/com/google/common/primitives/
DLongs.java56 public static final int BYTES = Long.SIZE / Byte.SIZE;
63 public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2);
336 public static Long tryParse(String string) { in tryParse()
352 if (digit < 0 || digit > 9 || accum < Long.MIN_VALUE / 10) { in tryParse()
356 if (accum < Long.MIN_VALUE + digit) { in tryParse()
364 } else if (accum == Long.MIN_VALUE) { in tryParse()
371 private static final class LongConverter extends Converter<String, Long> implements Serializable {
375 protected Long doForward(String value) { in doForward()
376 return Long.decode(value); in doForward()
380 protected String doBackward(Long value) { in doBackward()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DLongMath.java68 return (int) (~~(x - y) >>> (Long.SIZE - 1)); in lessThanBranchFree()
88 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2()
92 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2()
98 int leadingZeros = Long.numberOfLeadingZeros(x); in log2()
101 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
145 int aTwos = Long.numberOfTrailingZeros(a); in gcd()
147 int bTwos = Long.numberOfTrailingZeros(b); in gcd()
159 long minDeltaOrZero = delta & (delta >> (Long.SIZE - 1)); in gcd()
166 a >>= Long.numberOfTrailingZeros(a); // divide out all 2s, since 2 doesn't divide b in gcd()
219 return Long.MAX_VALUE; in binomial()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DConverterTest.java39 private static final Converter<String, Long> STR_TO_LONG =
40 new Converter<String, Long>() {
41 @Override public Long doForward(String object) {
42 return Long.valueOf(object);
45 @Override public String doBackward(Long object) {
54 private static final Long LONG_VAL = 12345L;
58 private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L);
64 Iterable<Long> convertedValues = STR_TO_LONG.convertAll(STRINGS); in testConverter()
70 Iterable<Long> convertedValues = STR_TO_LONG.convertAll(mutableList); in testConvertAllIsView()
73 Iterator<Long> iterator = convertedValues.iterator(); in testConvertAllIsView()
[all …]
/external/junit/src/org/junit/experimental/max/
DMaxHistory.java63 private final Map<String, Long> fDurations= new HashMap<String, Long>();
65 private final Map<String, Long> fFailureTimestamps= new HashMap<String, Long>();
80 Long getFailureTimestamp(Description key) { in getFailureTimestamp()
92 Long getTestDuration(Description key) { in getTestDuration()
103 private Map<Description, Long> starts= new HashMap<Description, Long>();
143 private Long getFailure(Description key) { in getFailure()
144 Long result= getFailureTimestamp(key); in getFailure()
/external/freetype/src/raster/
Dftraster.c311 typedef long Long, *PLong; typedef
320 Long l;
329 Long x;
330 Long y;
364 Long height; /* profile's height in scanlines */
365 Long start; /* profile's starting scanline */
389 ( ( sizeof ( TProfile ) + sizeof ( Alignment ) - 1 ) / sizeof ( Long ) )
451 #define TRUNC( x ) ( (Long)(x) >> ras.precision_bits )
493 Long lastX, lastY;
494 Long minY, maxY;
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DLongHashtable.java24 table.remove(new Long(key)); in put()
26 table.put(new Long(key), new Integer(value)); in put()
31 Integer value = table.get(new Long(key)); in get()
37 private Map<Long, Integer> table = new HashMap<Long, Integer>();
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DAmf0Track.java34 SortedMap<Long, byte[]> rawSamples = new TreeMap<Long, byte[]>() {
44 public Amf0Track(Map<Long, byte[]> rawSamples) { in Amf0Track() argument
45 this.rawSamples = new TreeMap<Long, byte[]>(rawSamples); in Amf0Track()
70 LinkedList<Long> keys = new LinkedList<Long>(rawSamples.keySet()); in getDecodingTimeEntries()
73 for (Long key : keys) { in getDecodingTimeEntries()
/external/vogar/src/vogar/
DCommandBugDatabase.java20 @Override public Set<Long> bugsToOpenBugs(Set<Long> bugs) { in bugsToOpenBugs()
26 Set<Long> openBugsSet = new LinkedHashSet<Long>(); in bugsToOpenBugs()
28 openBugsSet.add(Long.parseLong(bug)); in bugsToOpenBugs()
/external/smali/smali/src/test/java/
DLongLiteralTest.java42 Assert.assertTrue(LiteralTools.parseLong("0x8000000000000000L") == Long.MIN_VALUE); in SuccessHexTests()
48 Assert.assertTrue(LiteralTools.parseLong("-0x8000000000000000L") == Long.MIN_VALUE); in SuccessHexTests()
73 Assert.assertTrue(LiteralTools.parseLong("9223372036854775808") == Long.MIN_VALUE); in SuccessDecTests()
80 Assert.assertTrue(LiteralTools.parseLong("-9223372036854775808") == Long.MIN_VALUE); in SuccessDecTests()
108 Assert.assertTrue(LiteralTools.parseLong("0777777777777777777777") == Long.MAX_VALUE); in SuccessOctTests()
109 Assert.assertTrue(LiteralTools.parseLong("01000000000000000000000") == Long.MIN_VALUE); in SuccessOctTests()
116 Assert.assertTrue(LiteralTools.parseLong("-01000000000000000000000") == Long.MIN_VALUE); in SuccessOctTests()
/external/pdfium/third_party/freetype/src/raster/
Dftraster.c312 typedef long Long, *PLong; typedef
330 Long x;
331 Long y;
452 #define TRUNC( x ) ( (Long)(x) >> ras.precision_bits )
492 Long lastX, lastY;
493 Long minY, maxY;
512 Long traceOfs; /* current offset in target bitmap */
513 Long traceG; /* current offset in target pixmap */
811 Long h; in End_Profile()
814 h = (Long)( ras.top - ras.cProfile->offset ); in End_Profile()
[all …]

12345678910>>...32