Home
last modified time | relevance | path

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

12345678910>>...24

/external/guava/guava-tests/test/com/google/common/primitives/
DLongArrayAsListTest.java44 private static List<Long> asList(Long[] values) { in asList()
53 List<ListTestSuiteBuilder<Long>> builders = in suite()
69 for (ListTestSuiteBuilder<Long> builder : builders) { in suite()
85 @Override protected List<Long> create(Long[] elements) { in create()
91 @Override protected List<Long> create(Long[] elements) { in create()
92 Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}; in create()
93 Long[] all = concat(elements, suffix); in create()
99 @Override protected List<Long> create(Long[] elements) { in create()
100 Long[] prefix = {(long) 86, (long) 99}; in create()
101 Long[] all = concat(prefix, elements); in create()
[all …]
DLongsTest.java47 private static final long LEAST = Long.MIN_VALUE;
48 private static final long GREATEST = Long.MAX_VALUE;
57 ((Long) value).hashCode(), Longs.hashCode(value)); in testHashCode()
66 Long.valueOf(x).compareTo(y), in testCompare()
300 List<Long> none = Arrays.<Long>asList(); in testToArray()
303 List<Long> one = Arrays.asList((long) 1); in testToArray()
308 List<Long> three = Arrays.asList((long) 0, (long) 1, 0x0FF1C1AL); in testToArray()
317 List<Long> list = Longs.asList(VALUES).subList(0, i); in testToArray_threadSafe()
318 Collection<Long> misleadingSize = in testToArray_threadSafe()
331 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/guava/guava/src/com/google/common/collect/
DDiscreteDomains.java79 public static DiscreteDomain<Long> longs() { in longs()
83 private static final class LongDomain extends DiscreteDomain<Long>
87 @Override public Long next(Long value) { in next()
89 return (l == Long.MAX_VALUE) ? null : l + 1; in next()
92 @Override public Long previous(Long value) { in previous()
94 return (l == Long.MIN_VALUE) ? null : l - 1; in previous()
97 @Override public long distance(Long start, Long end) { in distance()
100 return Long.MAX_VALUE; in distance()
103 return Long.MIN_VALUE; in distance()
108 @Override public Long minValue() { in minValue()
[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-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 …]
/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/guava/guava/src/com/google/common/math/
DLongMath.java80 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2()
84 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2()
90 int leadingZeros = Long.numberOfLeadingZeros(x); in log2()
93 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
213 return (k < Long.SIZE) ? 1L << k : 0; in pow()
215 if (k < Long.SIZE) { in pow()
312 int signum = 1 | (int) ((p ^ q) >> (Long.SIZE - 1)); in divide()
415 int aTwos = Long.numberOfTrailingZeros(a); in gcd()
417 int bTwos = Long.numberOfTrailingZeros(b); in gcd()
426 a >>= Long.numberOfTrailingZeros(a); // divide out all 2s, since 2 doesn't divide b in gcd()
[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/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DLongs.java49 public static final int BYTES = Long.SIZE / Byte.SIZE;
56 public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2);
350 public static long[] toArray(Collection<Long> collection) { in toArray()
360 array[i] = (Long) checkNotNull(boxedArray[i]); in toArray()
379 public static List<Long> asList(long... backingArray) { in asList()
387 private static class LongArrayAsList extends AbstractList<Long>
411 @Override public Long get(int index) { in get()
418 return (target instanceof Long) in contains()
419 && Longs.indexOf(array, (Long) target, start, end) != -1; in contains()
424 if (target instanceof Long) { in indexOf()
[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/guava/guava/src/com/google/common/primitives/
DLongs.java51 public static final int BYTES = Long.SIZE / Byte.SIZE;
58 public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2);
417 public static long[] toArray(Collection<Long> collection) { in toArray()
427 array[i] = (Long) checkNotNull(boxedArray[i]); in toArray()
446 public static List<Long> asList(long... backingArray) { in asList()
454 private static class LongArrayAsList extends AbstractList<Long>
478 @Override public Long get(int index) { in get()
485 return (target instanceof Long) in contains()
486 && Longs.indexOf(array, (Long) target, start, end) != -1; in contains()
491 if (target instanceof Long) { in indexOf()
[all …]
/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/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/core/src/fxge/fx_freetype/fxft2.5.01/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 …]
/external/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 …]
/external/chromium_org/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 )
490 Long lastX, lastY;
491 Long minY, maxY;
510 Long traceOfs; /* current offset in target bitmap */
511 Long traceG; /* current offset in target pixmap */
809 Long h; in End_Profile()
812 h = (Long)( ras.top - ras.cProfile->offset ); in End_Profile()
[all …]
/external/smack/src/com/kenai/jbosh/
DBOSHClient.java284 private SortedSet<Long> pendingResponseAcks = new TreeSet<Long>();
290 private Long responseAck = Long.valueOf(-1L);
848 builder.setAttribute(Attributes.RID, Long.toString(rid)); in applySessionCreationRequest()
906 builder.setAttribute(Attributes.RID, Long.toString(rid)); in applySessionData()
927 if (responseAck.equals(Long.valueOf(-1L))) { in applyResponseAcknowledgement()
932 Long prevRID = Long.valueOf(rid - 1L); in applyResponseAcknowledgement()
1312 Long ackUpTo; in processRequestAcknowledgements()
1315 ackUpTo = Long.parseLong(req.getAttribute(Attributes.RID)); in processRequestAcknowledgements()
1317 ackUpTo = Long.parseLong(acked); in processRequestAcknowledgements()
1327 Long pendingRID = Long.parseLong( in processRequestAcknowledgements()
[all …]
/external/chromium_org/base/third_party/dmg_fp/
Dgcc_64_bit.patch7 #ifndef Long
9 +#define Long int
11 #define Long long
15 typedef unsigned Long ULong;
/external/guava/guava/src/com/google/common/util/concurrent/
DAtomicLongMap.java57 public static <K> AtomicLongMap<K> create(Map<? extends K, ? extends Long> m) { in create()
210 public void putAll(Map<? extends K, ? extends Long> m) { in putAll()
211 for (Map.Entry<? extends K, ? extends Long> entry : m.entrySet()) { in putAll()
265 private transient Map<K, Long> asMap;
270 public Map<K, Long> asMap() { in asMap()
271 Map<K, Long> result = asMap; in asMap()
275 private Map<K, Long> createAsMap() { in createAsMap()
277 Maps.transformValues(map, new Function<AtomicLong, Long>() { in createAsMap()
279 public Long apply(AtomicLong atomic) { in createAsMap()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DSampleAuxiliaryInformationOffsetsBox.java51 private List<Long> offsets = new LinkedList<Long>();
73 for (Long offset : offsets) { in getContent()
120 public List<Long> getOffsets() { in getOffsets()
124 public void setOffsets(List<Long> offsets) { in setOffsets()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DExtension.java416 Long int64Value = (Long) value; in writeSingularData()
420 Long uint64Value = (Long) value; in writeSingularData()
428 Long fixed64Value = (Long) value; in writeSingularData()
460 Long sfixed64Value = (Long) value; in writeSingularData()
468 Long sint64Value = (Long) value; in writeSingularData()
674 Long int64Value = (Long) value; in computeSingularSerializedSize()
677 Long uint64Value = (Long) value; in computeSingularSerializedSize()
683 Long fixed64Value = (Long) value; in computeSingularSerializedSize()
708 Long sfixed64Value = (Long) value; in computeSingularSerializedSize()
715 Long sint64Value = (Long) value; in computeSingularSerializedSize()
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwQuotaManagerBridge.java59 private SparseArray<ValueCallback<Long>> mPendingGetQuotaForOriginCallbacks;
60 private SparseArray<ValueCallback<Long>> mPendingGetUsageForOriginCallbacks;
66 mPendingGetQuotaForOriginCallbacks = new SparseArray<ValueCallback<Long>>(); in AwQuotaManagerBridge()
67 mPendingGetUsageForOriginCallbacks = new SparseArray<ValueCallback<Long>>(); in AwQuotaManagerBridge()
116 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) { in getQuotaForOrigin()
127 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { in getUsageForOrigin()
/external/aac/libAACenc/src/
Dpsy_data.h104 FIXP_DBL Long[MAX_GROUPED_SFB];
109 FIXP_DBL Long[MAX_GROUPED_SFB];
114 FIXP_DBL Long[MAX_GROUPED_SFB];
119 INT Long[MAX_GROUPED_SFB];
Dms_stereo.cpp106 …FIXP_DBL *sfbEnergyLeft = psyData[0]->sfbEnergy.Long; /* modified whe… in FDKaacEnc_MsStereoProcessing()
107 …FIXP_DBL *sfbEnergyRight = psyData[1]->sfbEnergy.Long; /* modified whe… in FDKaacEnc_MsStereoProcessing()
108 const FIXP_DBL *sfbEnergyMid = psyData[0]->sfbEnergyMS.Long; in FDKaacEnc_MsStereoProcessing()
109 const FIXP_DBL *sfbEnergySide = psyData[1]->sfbEnergyMS.Long; in FDKaacEnc_MsStereoProcessing()
110 …FIXP_DBL *sfbThresholdLeft = psyData[0]->sfbThreshold.Long; /* modified whe… in FDKaacEnc_MsStereoProcessing()
111 …FIXP_DBL *sfbThresholdRight = psyData[1]->sfbThreshold.Long; /* modified whe… in FDKaacEnc_MsStereoProcessing()
113 FIXP_DBL *sfbSpreadEnLeft = psyData[0]->sfbSpreadEnergy.Long; in FDKaacEnc_MsStereoProcessing()
114 FIXP_DBL *sfbSpreadEnRight = psyData[1]->sfbSpreadEnergy.Long; in FDKaacEnc_MsStereoProcessing()

12345678910>>...24