Home
last modified time | relevance | path

Searched refs:UByte (Results 1 – 25 of 31) sorted by relevance

12

/third_party/flatbuffers/tests/union_vector/
DCharacter.kt7 const val NONE: UByte = 0u
8 const val MuLan: UByte = 1u
9 const val Rapunzel: UByte = 2u
10 const val Belle: UByte = 3u
11 const val BookFan: UByte = 4u
12 const val Other: UByte = 5u
13 const val Unused: UByte = 6u
DMovie.kt18 val mainCharacterType : UByte
23 fun mutateMainCharacterType(mainCharacterType: UByte) : Boolean { in mutateMainCharacterType()
35 fun charactersType(j: Int) : UByte { in charactersType()
49 fun mutateCharactersType(j: Int, charactersType: UByte) : Boolean { in charactersTypeInByteBuffer()
78 …fun createMovie(builder: FlatBufferBuilder, mainCharacterType: UByte, mainCharacterOffset: Int, ch… in MovieBufferHasIdentifier()
87 …fun addMainCharacterType(builder: FlatBufferBuilder, mainCharacterType: UByte) = builder.addByte(0… in startMovie()
/third_party/flatbuffers/tests/MyGame/Example/
DAny.kt9 const val NONE: UByte = 0u
10 const val Monster: UByte = 1u
11 const val TestSimpleTableWithEnum: UByte = 2u
12 const val MyGameExample2Monster: UByte = 3u
DAnyAmbiguousAliases.kt9 const val NONE: UByte = 0u
10 const val M1: UByte = 1u
11 const val M2: UByte = 2u
12 const val M3: UByte = 3u
DAnyUniqueAliases.kt9 const val NONE: UByte = 0u
10 const val M: UByte = 1u
11 const val TS: UByte = 2u
12 const val M2: UByte = 3u
DTestSimpleTableWithEnum.kt20 val color : UByte
25 fun mutateColor(color: UByte) : Boolean { in mutateColor()
41 fun createTestSimpleTableWithEnum(builder: FlatBufferBuilder, color: UByte) : Int { in createTestSimpleTableWithEnum()
47 … fun addColor(builder: FlatBufferBuilder, color: UByte) = builder.addByte(0, color.toByte(), 2) in startTestSimpleTableWithEnum()
DColor.kt12 const val Red: UByte = 1u
17 const val Green: UByte = 2u
21 const val Blue: UByte = 8u
DMonster.kt67 fun inventory(j: Int) : UByte { in nameInByteBuffer()
81 fun mutateInventory(j: Int, inventory: UByte) : Boolean { in inventoryInByteBuffer()
90 val color : UByte
95 fun mutateColor(color: UByte) : Boolean { in mutateColor()
104 val testType : UByte
109 fun mutateTestType(testType: UByte) : Boolean { in mutateTestType()
188 fun testnestedflatbuffer(j: Int) : UByte { in testnestedflatbuffer()
211 fun mutateTestnestedflatbuffer(j: Int, testnestedflatbuffer: UByte) : Boolean { in mutateTestnestedflatbuffer()
445 fun flex(j: Int) : UByte { in flex()
459 fun mutateFlex(j: Int, flex: UByte) : Boolean { in flexInByteBuffer()
[all …]
DVec3.kt28 val test2 : UByte get() = bb.get(bb_pos + 24).toUByte() in mutateX()
29 fun mutateTest2(test2: UByte) : ByteBuffer = bb.put(bb_pos + 24, test2.toByte()) in mutateX()
33 …r: FlatBufferBuilder, x: Float, y: Float, z: Float, test1: Double, test2: UByte, test3_a: Short, t… in mutateX()
DTypeAliases.kt34 val u8 : UByte
39 fun mutateU8(u8: UByte) : Boolean { in mutateU8()
213 …fun createTypeAliases(builder: FlatBufferBuilder, i8: Byte, u8: UByte, i16: Short, u16: UShort, i3… in createTypeAliases()
231 fun addU8(builder: FlatBufferBuilder, u8: UByte) = builder.addByte(1, u8.toByte(), 0) in startTypeAliases()
/third_party/flatbuffers/tests/optional_scalars/
DScalarStuff.kt35 val justU8 : UByte
40 val maybeU8 : UByte?
45 val defaultU8 : UByte
208 … justI8: Byte, maybeI8: Byte?, defaultI8: Byte, justU8: UByte, maybeU8: UByte?, defaultU8: UByte, … in ScalarStuffBufferHasIdentifier()
252 … fun addJustU8(builder: FlatBufferBuilder, justU8: UByte) = builder.addByte(3, justU8.toByte(), 0) in startScalarStuff()
253 …fun addMaybeU8(builder: FlatBufferBuilder, maybeU8: UByte) = builder.addByte(4, maybeU8.toByte(), … in startScalarStuff()
254 …fun addDefaultU8(builder: FlatBufferBuilder, defaultU8: UByte) = builder.addByte(5, defaultU8.toBy… in startScalarStuff()
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DBuffers.kt54 public fun getUByte(index: Int): UByte in findFirst()
177 public fun put(value: UByte) in findFirst()
254 public operator fun set(index: Int, value: UByte) in findFirst()
338 override fun getUByte(index: Int): UByte = buffer.getUByte(index) in getBoolean()
398 override fun put(value: UByte) { in getBoolean()
462 …override operator fun set(index: Int, value: UByte): Unit = withCapacity(index + 1) { setUByte(ind… in getBoolean()
DByteArray.kt27 internal expect inline fun ByteArray.getUByte(index: Int): UByte in getString()
37 internal expect inline fun ByteArray.setUByte(index: Int, value: UByte) in getString()
51 public inline fun getUByte(ary: ByteArray, index: Int): UByte = ary[index].toUByte() in getString()
83 public inline fun setUByte(ary: ByteArray, index: Int, value: UByte) { in getString()
DFlexBuffersBuilder.kt130 public fun put(value: UByte): Unit = set(null, value.toULong()) in put()
135 …public inline operator fun set(key: String? = null, value: UByte): Unit = set(key, value.toULong()) in put()
/third_party/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DUnionInNestedNS.kt9 const val NONE: UByte = 0u
10 const val TableInNestedNS: UByte = 1u
/third_party/flatbuffers/tests/namespace_test/NamespaceA/
DTableInFirstNS.kt43 val fooUnionType : UByte
48 fun mutateFooUnionType(fooUnionType: UByte) : Boolean { in mutateFooUnionType()
79 …fun addFooUnionType(builder: FlatBufferBuilder, fooUnionType: UByte) = builder.addByte(2, fooUnion… in startTableInFirstNS()
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/nativeMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt23 public actual inline fun ByteArray.getUByte(index: Int): UByte = getUByteAt(index)
31 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = setUByteAt(index, val…
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/jsMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt23 public actual inline fun ByteArray.getUByte(index: Int): UByte = ByteArrayOps.getUByte(this, index)
33 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = ByteArrayOps.setUByte…
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt24 public actual inline fun ByteArray.getUByte(index: Int): UByte = ByteArrayOps.getUByte(this, index)
34 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = ByteArrayOps.setUByte…
/third_party/flatbuffers/src/
Dreflection.cpp31 case reflection::UByte: return FLATBUFFERS_GET(uint8_t); in GetAnyValueI()
129 case reflection::UByte: FLATBUFFERS_SET(uint8_t ); break; in SetAnyValueI()
562 case reflection::UByte: in VerifyVector()
642 case reflection::UByte: in VerifyObject()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DAttributeLayoutTest.cpp351 Format<GLubyte, GL_UNSIGNED_BYTE, false> UByte(es3); in GetTestCases() local
400 mTestCases.push_back({SByte(M0, 0, 20, mCoord), UByte(M0, 10, 20, mColor)}); in GetTestCases()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DAttributeLayoutTest.cpp351 Format<GLubyte, GL_UNSIGNED_BYTE, false> UByte(es3); in GetTestCases() local
400 mTestCases.push_back({SByte(M0, 0, 20, mCoord), UByte(M0, 10, 20, mColor)}); in GetTestCases()
/third_party/flatbuffers/reflection/
Dreflection.fbs14 UByte,
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_common.hpp523 UByte, enumerator
1695 …return type.basetype == SPIRType::SByte || type.basetype == SPIRType::UByte || type.basetype == SP… in type_is_integral()
1722 return SPIRType::UByte; in to_unsigned_basetype()
/third_party/flatbuffers/include/flatbuffers/
Didl.h50 TD(NONE, "", uint8_t, byte, byte, byte, uint8, u8, UByte, UInt8) \
51 …TD(UTYPE, "", uint8_t, byte, byte, byte, uint8, u8, UByte, UInt8) /* begin scal…
54 TD(UCHAR, "ubyte", uint8_t, byte, byte, byte, uint8, u8, UByte, UInt8) \

12