Searched refs:T_VECTOR_INT (Results 1 – 5 of 5) sorted by relevance
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | FlexBuffersInternals.kt | 109 this >= T_VECTOR_INT && this <= T_VECTOR_STRING_DEPRECATED || this == T_VECTOR_BOOL in isTypedVector() 114 internal fun FlexBufferType.toTypedVector(): FlexBufferType = (this - T_INT) + T_VECTOR_INT in isTypedVector() 116 internal fun FlexBufferType.toElementTypedVector(): FlexBufferType = this - T_VECTOR_INT + T_INT in isTypedVector() 181 T_VECTOR_INT -> "IntVector" in typeToString() 233 internal val T_VECTOR_INT = FlexBufferType(11) // Typed any size = stores no type table). constant
|
D | FlexBuffers.kt | 296 T_VECTOR, T_VECTOR_BOOL, T_VECTOR_FLOAT, T_VECTOR_INT, in toString() 311 T_VECTOR_INT -> ByteArray(vec.size) { vec.getInt(it).toByte() } in toByteArray() 326 T_VECTOR_INT -> ShortArray(vec.size) { vec.getInt(it).toShort() } in toShortArray() 341 T_VECTOR_INT -> IntArray(vec.size) { vec.getInt(it).toInt() } in toIntArray() 356 T_VECTOR_INT -> LongArray(vec.size) { vec.getInt(it) } in toLongArray() 371 T_VECTOR_INT -> UByteArray(vec.size) { vec.getInt(it).toUByte() } in toUByteArray() 386 T_VECTOR_INT -> UShortArray(vec.size) { vec.getInt(it).toUShort() } in toUShortArray() 401 T_VECTOR_INT -> UIntArray(vec.size) { vec.getInt(it).toUInt() } in toUIntArray() 416 T_VECTOR_INT -> ULongArray(vec.size) { vec.getUInt(it) } in toULongArray() 432 T_VECTOR_INT -> FloatArray(vec.size) { vec.getInt(it).toFloat() } in toFloatArray() [all …]
|
D | FlexBuffersBuilder.kt | 241 setTypedVector(key, value.size, T_VECTOR_INT, value.widthInUBits()) { writeIntArray(value, it) } in put() 257 setTypedVector(key, value.size, T_VECTOR_INT, value.widthInUBits()) { writeIntArray(value, it) } in put() 273 setTypedVector(key, value.size, T_VECTOR_INT, value.widthInUBits()) { writeIntArray(value, it) } in put()
|
D | JSON.kt | 59 T_VECTOR, T_VECTOR_BOOL, T_VECTOR_FLOAT, T_VECTOR_INT, in toJson()
|
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/ |
D | JSONTest.kt | 273 assertEquals(T_VECTOR_INT, ref.type) in testArrays()
|