Home
last modified time | relevance | path

Searched refs:toLong (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/util/timescale/
DPivotDemo.java53 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(0, UniversalTimeScale.JAVA_T… in main()
57 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(-62164684800000L, UniversalT… in main()
61 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(-62135769600000L, UniversalT… in main()
67 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(0x80000000, UniversalTimeSca… in main()
71 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(0, UniversalTimeScale.UNIX_T… in main()
75 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(0x7FFFFFFF, UniversalTimeSca… in main()
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt71 return ary[idx++].toLong() and 0xff or in getString()
72 (ary[idx++].toLong() and 0xff shl 8) or in getString()
73 (ary[idx++].toLong() and 0xff shl 16) or in getString()
74 (ary[idx++].toLong() and 0xff shl 24) or in getString()
75 (ary[idx++].toLong() and 0xff shl 32) or in getString()
76 (ary[idx++].toLong() and 0xff shl 40) or in getString()
77 (ary[idx++].toLong() and 0xff shl 48) or in getString()
78 (ary[idx].toLong() shl 56) in getString()
118 … fun setULong(ary: ByteArray, index: Int, value: ULong): Unit = setLong(ary, index, value.toLong()) in getString()
DFlexBuffersBuilder.kt89 public fun put(value: Byte): Unit = set(null, value.toLong()) in put()
94 public operator fun set(key: String? = null, value: Byte): Unit = set(key, value.toLong()) in put()
99 public fun put(value: Short): Unit = set(null, value.toLong()) in put()
104 public inline operator fun set(key: String? = null, value: Short): Unit = set(key, value.toLong()) in put()
109 public fun put(value: Int): Unit = set(null, value.toLong()) in put()
114 public inline operator fun set(key: String? = null, value: Int): Unit = set(key, value.toLong()) in put()
636 …val elemWidth = elemWidth(T_KEY, W_8, stack[i].key.toLong(), buffer.writePosition, i + prefixElems) in calculateKeyVectorBitWidth()
DFlexBuffers.kt186 public fun toLong(): Long = toULong().toLong() in get() method in com.google.flatbuffers.kotlin.Reference
298 T_INT -> toLong().toString() in toString()
358 T_VECTOR -> LongArray(vec.size) { vec[it].toLong() } in toLongArray()
359 T_VECTOR_FLOAT -> LongArray(vec.size) { vec.getFloat(it).toLong() } in toLongArray()
DFlexBuffersInternals.kt69 … fun ReadBuffer.readLong(end: Int, byteWidth: ByteWidth): Long = readULong(end, byteWidth).toLong() in indirect()
135 elemWidth(type, minBitWidth, iValue.toLong(), bufSize, elemIndex) in isTypedVector()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
DTimeScaleAPITest.java310 result = UniversalTimeScale.toLong(0L, -1); in TestToLong()
321 result = UniversalTimeScale.toLong(0L, scale); in TestToLong()
328 result = UniversalTimeScale.toLong(toMin, scale); in TestToLong()
336 result = UniversalTimeScale.toLong(toMin - 1, scale); in TestToLong()
344 result = UniversalTimeScale.toLong(toMax, scale); in TestToLong()
352 result = UniversalTimeScale.toLong(toMax + 1, scale); in TestToLong()
361 result = UniversalTimeScale.toLong(0L, UniversalTimeScale.MAX_SCALE); in TestToLong()
DTimeScaleDataTest.java45 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in roundTripTest()
54 long result = UniversalTimeScale.toLong(toLimit, scale); in toLimitTest()
65 long local = UniversalTimeScale.toLong(universalEpoch, scale); in epochOffsetTest()
72 local = UniversalTimeScale.toLong(0, scale); in epochOffsetTest()
238 …millis = UniversalTimeScale.toLong(dotNetDateTimeTicks[i + kTicks], UniversalTimeScale.ICU4C_TIME); in TestDotNet()
DTimeScaleMonkeyTest.java99 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in TestRoundTrip()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timescale/
DTimeScaleAPITest.java313 result = UniversalTimeScale.toLong(0L, -1); in TestToLong()
324 result = UniversalTimeScale.toLong(0L, scale); in TestToLong()
331 result = UniversalTimeScale.toLong(toMin, scale); in TestToLong()
339 result = UniversalTimeScale.toLong(toMin - 1, scale); in TestToLong()
347 result = UniversalTimeScale.toLong(toMax, scale); in TestToLong()
355 result = UniversalTimeScale.toLong(toMax + 1, scale); in TestToLong()
364 result = UniversalTimeScale.toLong(0L, UniversalTimeScale.MAX_SCALE); in TestToLong()
DTimeScaleDataTest.java48 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in roundTripTest()
57 long result = UniversalTimeScale.toLong(toLimit, scale); in toLimitTest()
68 long local = UniversalTimeScale.toLong(universalEpoch, scale); in epochOffsetTest()
75 local = UniversalTimeScale.toLong(0, scale); in epochOffsetTest()
241 …millis = UniversalTimeScale.toLong(dotNetDateTimeTicks[i + kTicks], UniversalTimeScale.ICU4C_TIME); in TestDotNet()
DTimeScaleMonkeyTest.java102 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in TestRoundTrip()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DCalculateLimits.java86 … if(UniversalTimeScale.toLong(UniversalTimeScale.from(minLong, scale), scale) != minLong) { in main()
90 … if(UniversalTimeScale.toLong(UniversalTimeScale.from(maxLong, scale), scale) != maxLong) { in main()
95 if(UniversalTimeScale.toLong(min.longValue(), scale) != minLong) { in main()
99 if(UniversalTimeScale.toLong(max.longValue(), scale) != maxLong) { in main()
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/
DFlexBuffersTest.kt27 Byte.MAX_VALUE.toLong() to 3, in <lambda>()
28 Short.MAX_VALUE.toLong() to 4, in <lambda>()
29 Int.MAX_VALUE.toLong() to 6, in <lambda>()
40 assertEquals(it.first, ref.toLong()) in <lambda>()
128 …val ary: LongArray = longArrayOf(0, Short.MIN_VALUE.toLong(), Int.MAX_VALUE.toLong(), Long.MAX_VAL… in <lambda>()
DJSONTest.kt122 assertEquals(parser.parse(values[5]).toLong(), Long.MAX_VALUE) in testInts()
123 assertEquals(parser.parse(values[6]).toLong(), Long.MIN_VALUE) in testInts()
/third_party/flatbuffers/tests/MyGame/Example/
DMonster.kt293 bb.putLong(o + bb_pos, testhashu64Fnv1.toLong()) in mutateTesthashu64Fnv1()
349 bb.putLong(o + bb_pos, testhashu64Fnv1a.toLong()) in mutateTesthashu64Fnv1a()
573 bb.putLong(o + bb_pos, singleWeakReference.toLong()) in mutateSingleWeakReference()
596 bb.putLong(__vector(o) + j * 8, vectorOfWeakReferences.toLong()) in vectorOfWeakReferencesInByteBuffer()
639 bb.putLong(o + bb_pos, coOwningReference.toLong()) in mutateCoOwningReference()
662 bb.putLong(__vector(o) + j * 8, vectorOfCoOwningReferences.toLong()) in vectorOfCoOwningReferencesInByteBuffer()
676 bb.putLong(o + bb_pos, nonOwningReference.toLong()) in mutateNonOwningReference()
699 bb.putLong(__vector(o) + j * 8, vectorOfNonOwningReferences.toLong()) in vectorOfNonOwningReferencesInByteBuffer()
900 …lder: FlatBufferBuilder, testhashu64Fnv1: ULong) = builder.addLong(19, testhashu64Fnv1.toLong(), 0) in startTestnestedflatbufferVector()
904 …er: FlatBufferBuilder, testhashu64Fnv1a: ULong) = builder.addLong(23, testhashu64Fnv1a.toLong(), 0) in startTestnestedflatbufferVector()
[all …]
DReferrable.kt28 bb.putLong(o + bb_pos, id.toLong()) in mutateId()
52 fun addId(builder: FlatBufferBuilder, id: ULong) = builder.addLong(0, id.toLong(), 0) in startReferrable()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java273 q0.toLong(true), in testDecimalQuantityBehavior()
274 q1.toLong(true)); in testDecimalQuantityBehavior()
463 assertEquals("Max long should equal toLong", 9223372036854775807L, quantity.toLong(false)); in testFitsInLong()
466 assertEquals("toLong(true) should truncate", 223372036854775808L, quantity.toLong(true)); in testFitsInLong()
468 quantity.toLong(false); in testFitsInLong()
541 assertEquals("Should trim, toLong", 76, dq.toLong(true)); in testMaxDigits()
697 long actualLong = dq.toLong(true); in testScientificAndCompactSuppressedExponent()
/third_party/node/deps/npm/node_modules/ip/lib/
Dip.js179 var networkAddress = ip.toLong(ip.mask(addr, mask));
214 return networkAddress === ip.toLong(ip.mask(other, mask));
402 ip.toLong = function(ip) { function
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity.java180 public long toLong(boolean truncateIfOverflow); in toLong() method
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumparse_parsednumber.cpp78 return static_cast<double>(quantity.toLong()); in getDouble()
/third_party/node/deps/icu-small/source/i18n/
Dnumparse_parsednumber.cpp82 return static_cast<double>(quantity.toLong()); in getDouble()
/third_party/icu/icu4c/source/i18n/
Dnumparse_parsednumber.cpp82 return static_cast<double>(quantity.toLong()); in getDouble()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumparse_parsednumber.cpp82 return static_cast<double>(quantity.toLong()); in getDouble()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCurrencyMetaInfo.java251 long toLong = to == null ? Long.MAX_VALUE : to.getTime(); in withDateRange() local
252 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java269 long toLong = to == null ? Long.MAX_VALUE : to.getTime(); in withDateRange() local
270 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()

1234