Searched refs:T_VECTOR_FLOAT (Results 1 – 5 of 5) sorted by relevance
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | FlexBuffers.kt | 296 T_VECTOR, T_VECTOR_BOOL, T_VECTOR_FLOAT, T_VECTOR_INT, in toString() 314 T_VECTOR_FLOAT -> ByteArray(vec.size) { vec.getFloat(it).toInt().toByte() } in toByteArray() 329 T_VECTOR_FLOAT -> ShortArray(vec.size) { vec.getFloat(it).toInt().toShort() } in toShortArray() 344 T_VECTOR_FLOAT -> IntArray(vec.size) { vec.getFloat(it).toInt() } in toIntArray() 359 T_VECTOR_FLOAT -> LongArray(vec.size) { vec.getFloat(it).toLong() } in toLongArray() 374 T_VECTOR_FLOAT -> UByteArray(vec.size) { vec.getFloat(it).toInt().toUByte() } in toUByteArray() 389 T_VECTOR_FLOAT -> UShortArray(vec.size) { vec.getFloat(it).toUInt().toUShort() } in toUShortArray() 404 T_VECTOR_FLOAT -> UIntArray(vec.size) { vec.getFloat(it).toUInt() } in toUIntArray() 419 T_VECTOR_FLOAT -> ULongArray(vec.size) { vec.getFloat(it).toULong() } in toULongArray() 431 T_VECTOR_FLOAT -> FloatArray(vec.size) { vec.getFloat(it).toFloat() } in toFloatArray() [all …]
|
D | FlexBuffersInternals.kt | 183 T_VECTOR_FLOAT -> "FloatVector" in typeToString() 235 internal val T_VECTOR_FLOAT = FlexBufferType(13) constant
|
D | FlexBuffersBuilder.kt | 289 setTypedVector(key, value.size, T_VECTOR_FLOAT, W_32) { writeFloatArray(value) } in put() 305 setTypedVector(key, value.size, T_VECTOR_FLOAT, W_64) { writeFloatArray(value) } 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 | 281 assertEquals(T_VECTOR_FLOAT, ref.type) in testArrays()
|