/external/renderscript-intrinsics-replacement-toolkit/test-app/src/main/java/com/google/android/renderscript_test/ |
D | IntrinsicLut.kt | 57 scriptLut.setRed(v, newRed[v].toUByte().toInt()) in intrinsicLut() 58 scriptLut.setGreen(v, newGreen[v].toUByte().toInt()) in intrinsicLut() 59 scriptLut.setBlue(v, newBlue[v].toUByte().toInt()) in intrinsicLut() 60 scriptLut.setAlpha(v, newAlpha[v].toUByte().toInt()) in intrinsicLut() 98 scriptLut.setRed(v, newRed[v].toUByte().toInt()) in intrinsicLut() 99 scriptLut.setGreen(v, newGreen[v].toUByte().toInt()) in intrinsicLut() 100 scriptLut.setBlue(v, newBlue[v].toUByte().toInt()) in intrinsicLut() 101 scriptLut.setAlpha(v, newAlpha[v].toUByte().toInt()) in intrinsicLut()
|
D | BufferUtils.kt | 95 this[0].toUByte().toFloat(), in toFloat4() 96 this[1].toUByte().toFloat(), in toFloat4() 97 this[2].toUByte().toFloat(), in toFloat4() 98 this[3].toUByte().toFloat() in toFloat4() 249 values[i].toUByte().toInt(), in get() 250 values[i + 1].toUByte().toInt(), in get() 251 values[i + 2].toUByte().toInt(), in get() 252 values[i + 3].toUByte().toInt() in get() 263 values[i] = value.r.toUByte().toByte() in set() 264 values[i + 1] = value.g.toUByte().toByte() in set() [all …]
|
D | ReferenceBlur.kt | 41 val inputValues = FloatArray(inputArray.size) { byteToUnitFloat(inputArray[it].toUByte()) } in <lambda>()
|
D | AllTests.kt | 1205 val delta = abs(in1[i].toUByte().toInt() - in2[i].toUByte().toInt()) in validateAgainstReference()
|
/external/jazzer-api/agent/src/test/java/com/code_intelligence/jazzer/instrumentor/ |
D | CoverageInstrumentationTest.kt | 148 var lastCounter = 0.toUByte() in testCounters() 153 val expectedCounter = (lastCounter + 1U).toUByte().takeUnless { it == 0.toUByte() } in testCounters() 154 ?: (lastCounter + 2U).toUByte() in testCounters() 156 val actualCounter = MockCoverageMap.counters[takenOnEveryRunEdge].toUByte() in testCounters()
|
/external/flatbuffers/tests/ |
D | KotlinTest.kt | 235 assert(monsterObject.inventory(1) == inventory[1].toUByte()) in TestCreateByteVector() 256 assert(monsterObject.inventory(1) == inventory[1].toUByte()) in TestCreateUninitializedVector() 435 assert(monster.inventory(i) == (i.toUByte() + 1u).toUByte()) in TestBuilderBasics() 504 assert(scalarStuff.justU8 == 0.toUByte()) in TestScalarOptional() 506 assert(scalarStuff.defaultU8 == 42.toUByte()) in TestScalarOptional() 544 ScalarStuff.addJustU8(fbb, 6.toUByte()) in TestScalarOptional() 545 ScalarStuff.addMaybeU8(fbb, 6.toUByte()) in TestScalarOptional() 546 ScalarStuff.addDefaultU8(fbb, 6.toUByte()) in TestScalarOptional() 587 assert(scalarStuff.justU8 == 6.toUByte()) in TestScalarOptional() 588 assert(scalarStuff.maybeU8 == 6.toUByte()) in TestScalarOptional() [all …]
|
/external/flatbuffers/tests/union_vector/ |
D | Movie.kt | 20 return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u 37 bb.get(__vector(o) + j * 1).toUByte() in charactersType()
|
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | FlexBuffers.kt | 196 public fun toUByte(): UByte = toULong().toUByte() in get() method in com.google.flatbuffers.kotlin.Reference 371 T_VECTOR_INT -> UByteArray(vec.size) { vec.getInt(it).toUByte() } in toUByteArray() 372 T_VECTOR_UINT -> UByteArray(vec.size) { vec.getUInt(it).toUByte() } in toUByteArray() 373 T_VECTOR -> UByteArray(vec.size) { vec[it].toUByte() } in toUByteArray() 374 T_VECTOR_FLOAT -> UByteArray(vec.size) { vec.getFloat(it).toInt().toUByte() } in toUByteArray()
|
D | FlexBuffersBuilder.kt | 588 buffer.put(valueBlock(i).toUByte()) in writeIntegerArray() 604 1 -> buffer.put(value.toUByte()) in writeInt() 612 1 -> buffer.put(value.toUByte()) in writeInt()
|
D | ByteArray.kt | 51 public inline fun getUByte(ary: ByteArray, index: Int): UByte = ary[index].toUByte() in getString()
|
D | JSON.kt | 664 val c = ary[i].toUByte() in toPaddedHex()
|
/external/flatbuffers/tests/MyGame/Example/ |
D | Monster.kt | 69 bb.get(__vector(o) + j * 1).toUByte() in nameInByteBuffer() 92 return if(o != 0) bb.get(o + bb_pos).toUByte() else 8u 106 return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u 190 bb.get(__vector(o) + j * 1).toUByte() in testnestedflatbuffer() 447 bb.get(__vector(o) + j * 1).toUByte() in flex() 707 return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u 724 return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u 741 bb.get(__vector(o) + j * 1).toUByte() in vectorOfEnums() 778 bb.get(__vector(o) + j * 1).toUByte() in testrequirednestedflatbuffer()
|
D | TestSimpleTableWithEnum.kt | 22 return if(o != 0) bb.get(o + bb_pos).toUByte() else 2u
|
D | Vec3.kt | 27 val test2 : UByte get() = bb.get(bb_pos + 24).toUByte() in mutateX()
|
D | TypeAliases.kt | 36 return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u
|
/external/flatbuffers/tests/optional_scalars/ |
D | ScalarStuff.kt | 37 return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u 42 return if(o != 0) bb.get(o + bb_pos).toUByte() else null 47 return if(o != 0) bb.get(o + bb_pos).toUByte() else 42u
|
/external/flatbuffers/tests/namespace_test/NamespaceA/ |
D | TableInFirstNS.kt | 46 return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u
|