Home
last modified time | relevance | path

Searched refs:toUInt (Results 1 – 12 of 12) sorted by relevance

/external/flatbuffers/tests/MyGame/Example/
DAbility.kt19 val id : UInt get() = bb.getInt(bb_pos + 0).toUInt()
21 val distance : UInt get() = bb.getInt(bb_pos + 4).toUInt() in mutateId()
DTypeAliases.kt92 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else 0u
DMonster.kt259 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else 0u
315 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else 0u
/external/flatbuffers/tests/
DKotlinTest.kt150 invsum += ibb.get().toUInt() in TestBuffer()
173 assert(monster.testhashu32Fnv1 == (Integer.MAX_VALUE + 1L).toUInt()) in TestExtendedBuffer()
358 Monster.addTesthashu32Fnv1(fbb, (Integer.MAX_VALUE + 1L).toUInt()) in TestBuilderBasics()
516 assert(scalarStuff.justU32 == 0.toUInt()) in TestScalarOptional()
556 ScalarStuff.addJustU32(fbb, 10.toUInt()) in TestScalarOptional()
557 ScalarStuff.addMaybeU32(fbb, 10.toUInt()) in TestScalarOptional()
558 ScalarStuff.addDefaultU32(fbb, 10.toUInt()) in TestScalarOptional()
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DFlexBuffers.kt146 public fun toBoolean(): Boolean = if (isBoolean) buffer.getBoolean(end) else toUInt() != 0u in get()
216 public fun toUInt(): UInt = toULong().toUInt() in get() method in com.google.flatbuffers.kotlin.Reference
389 T_VECTOR_FLOAT -> UShortArray(vec.size) { vec.getFloat(it).toUInt().toUShort() } in toUShortArray()
401 T_VECTOR_INT -> UIntArray(vec.size) { vec.getInt(it).toUInt() } in toUIntArray()
402 T_VECTOR_UINT -> UIntArray(vec.size) { vec.getUInt(it).toUInt() } in toUIntArray()
403 T_VECTOR -> UIntArray(vec.size) { vec[it].toUInt() } in toUIntArray()
404 T_VECTOR_FLOAT -> UIntArray(vec.size) { vec.getFloat(it).toUInt() } in toUIntArray()
DFlexBuffersBuilder.kt594 buffer.put(valueBlock(i).toUInt()) in writeIntegerArray()
606 4 -> buffer.put(value.toUInt()) in writeInt()
614 4 -> buffer.put(value.toUInt()) in writeInt()
DFlexBuffersInternals.kt67 … fun ReadBuffer.readUInt(end: Int, byteWidth: ByteWidth): UInt = readULong(end, byteWidth).toUInt() in indirect()
DByteArray.kt67 public inline fun getUInt(ary: ByteArray, index: Int): UInt = getInt(ary, index).toUInt() in getString()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DChannelReceiveCatchingTest.kt82 channel.send((Long.MAX_VALUE - 1).toUInt()) in <lambda>()
92 assertEquals((Long.MAX_VALUE - 1).toUInt(), element2.getOrThrow()) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DDebug.kt12 internal actual val Any.hexAddress: String get() = identityHashCode().toUInt().toString(16)
/external/flatbuffers/tests/optional_scalars/
DScalarStuff.kt97 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else 0u
102 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else null
107 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else 42u
/external/jazzer-api/agent/src/main/java/com/code_intelligence/jazzer/instrumentor/
DTraceDataFlowInstrumentor.kt106 }.sortedBy { it.toUInt() }.map { it.toLong() }.toLongArray() in <lambda>()