Home
last modified time | relevance | path

Searched refs:UShort (Results 1 – 25 of 78) sorted by relevance

1234

/external/swiftshader/src/Device/
DBlitter.cpp357 c.x = Float(Int(*Pointer<UShort>(element))); in readFloat4()
421 c.x = Float(Int(*Pointer<UShort>(element + 0))); in readFloat4()
422 c.y = Float(Int(*Pointer<UShort>(element + 2))); in readFloat4()
475 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0xF000)) >> UShort(12))); in readFloat4()
476 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x0F00)) >> UShort(8))); in readFloat4()
477 c.z = Float(Int((*Pointer<UShort>(element) & UShort(0x00F0)) >> UShort(4))); in readFloat4()
478 c.w = Float(Int(*Pointer<UShort>(element) & UShort(0x000F))); in readFloat4()
481 c.w = Float(Int((*Pointer<UShort>(element) & UShort(0xF000)) >> UShort(12))); in readFloat4()
482 c.z = Float(Int((*Pointer<UShort>(element) & UShort(0x0F00)) >> UShort(8))); in readFloat4()
483 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x00F0)) >> UShort(4))); in readFloat4()
[all …]
/external/swiftshader/src/Reactor/
DReactor.cpp323 Byte::Byte(RValue<UShort> cast) in Byte()
1014 UShort::UShort(Argument<UShort> argument) in UShort() function in rr::UShort
1019 UShort::UShort(RValue<UInt> cast) in UShort() function in rr::UShort
1021 Value *integer = Nucleus::createTrunc(cast.value(), UShort::type()); in UShort()
1026 UShort::UShort(RValue<Int> cast) in UShort() function in rr::UShort
1028 Value *integer = Nucleus::createTrunc(cast.value(), UShort::type()); in UShort()
1033 UShort::UShort(RValue<Byte> cast) in UShort() function in rr::UShort
1035 Value *integer = Nucleus::createZExt(cast.value(), UShort::type()); in UShort()
1040 UShort::UShort(unsigned short x) in UShort() function in rr::UShort
1045 UShort::UShort(RValue<UShort> rhs) in UShort() function in rr::UShort
[all …]
DReactor.hpp84 class UShort;
434 explicit Byte(RValue<UShort> cast);
596 class UShort : public LValue<UShort> class
599 UShort(Argument<UShort> argument);
601 explicit UShort(RValue<UInt> cast);
602 explicit UShort(RValue<Int> cast);
603 explicit UShort(RValue<Byte> cast);
605 UShort() = default;
606 UShort(unsigned short x);
607 UShort(RValue<UShort> rhs);
[all …]
DTraits.hpp31 class UShort;
105 using type = UShort;
106 static UShort cast(uint16_t);
DLLVMReactorDebugInfo.cpp423 …diTypes.emplace(T(UShort::type()), diBuilder->createBasicType("UShort", 16, dwarf::DW_ATE_unsigned… in registerBasicTypes()
437 …diTypes.emplace(T(UShort2::type()), diBuilder->createVectorType(128, 128, diTypes[T(UShort::type()… in registerBasicTypes()
439 …diTypes.emplace(T(UShort4::type()), diBuilder->createVectorType(128, 128, diTypes[T(UShort::type()… in registerBasicTypes()
441 …diTypes.emplace(T(UShort8::type()), diBuilder->createVectorType(128, 128, diTypes[T(UShort::type()… in registerBasicTypes()
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp423 UShort x0 = *Pointer<UShort>(source0 + 0); in readStream()
424 UShort x1 = *Pointer<UShort>(source1 + 0); in readStream()
425 UShort x2 = *Pointer<UShort>(source2 + 0); in readStream()
426 UShort x3 = *Pointer<UShort>(source3 + 0); in readStream()
436 UShort y0 = *Pointer<UShort>(source0 + 2); in readStream()
437 UShort y1 = *Pointer<UShort>(source1 + 2); in readStream()
438 UShort y2 = *Pointer<UShort>(source2 + 2); in readStream()
439 UShort y3 = *Pointer<UShort>(source3 + 2); in readStream()
449 UShort z0 = *Pointer<UShort>(source0 + 4); in readStream()
450 UShort z1 = *Pointer<UShort>(source1 + 4); in readStream()
[all …]
DPixelRoutine.cpp1687 texelColor.x.x = Float(Int(*Pointer<UShort>(buffer + 0))); in alphaBlend()
1688 texelColor.x.y = Float(Int(*Pointer<UShort>(buffer + 2))); in alphaBlend()
1690 texelColor.x.z = Float(Int(*Pointer<UShort>(buffer + 0))); in alphaBlend()
1691 texelColor.x.w = Float(Int(*Pointer<UShort>(buffer + 2))); in alphaBlend()
1706 texelColor.x.x = Float(Int(*Pointer<UShort>(buffer + 0))); in alphaBlend()
1707 texelColor.y.x = Float(Int(*Pointer<UShort>(buffer + 2))); in alphaBlend()
1708 texelColor.x.y = Float(Int(*Pointer<UShort>(buffer + 4))); in alphaBlend()
1709 texelColor.y.y = Float(Int(*Pointer<UShort>(buffer + 6))); in alphaBlend()
1711 texelColor.x.z = Float(Int(*Pointer<UShort>(buffer + 0))); in alphaBlend()
1712 texelColor.y.z = Float(Int(*Pointer<UShort>(buffer + 2))); in alphaBlend()
[all …]
/external/flatbuffers/tests/MyGame/Example/
DStat.kt40 val count : UShort
45 fun mutateCount(count: UShort) : Boolean { in mutateCount()
66 fun createStat(builder: FlatBufferBuilder, idOffset: Int, val_: Long, count: UShort) : Int { in createStat()
76 fun addCount(builder: FlatBufferBuilder, count: UShort) { in startStat()
84 fun __lookup_by_key(obj: Stat?, vectorLocation: Int, key: UShort, bb: ByteBuffer) : Stat? { in __lookup_by_key()
DTypeAliases.kt61 val u16 : UShort
66 fun mutateU16(u16: UShort) : Boolean { in mutateU16()
212 …liases(builder: FlatBufferBuilder, i8: Byte, u8: UByte, i16: Short, u16: UShort, i32: Int, u32: UI… in createTypeAliases()
232 fun addU16(builder: FlatBufferBuilder, u16: UShort) = builder.addShort(3, u16.toShort(), 0) in startTypeAliases()
/external/flatbuffers/tests/optional_scalars/
DScalarStuff.kt64 val justU16 : UShort
69 val maybeU16 : UShort?
74 val defaultU16 : UShort
207 … Short, maybeI16: Short?, defaultI16: Short, justU16: UShort, maybeU16: UShort?, defaultU16: UShor… in ScalarStuffBufferHasIdentifier()
257 …fun addJustU16(builder: FlatBufferBuilder, justU16: UShort) = builder.addShort(9, justU16.toShort(… in startScalarStuff()
258 …fun addMaybeU16(builder: FlatBufferBuilder, maybeU16: UShort) = builder.addShort(10, maybeU16.toSh… in startScalarStuff()
259 …fun addDefaultU16(builder: FlatBufferBuilder, defaultU16: UShort) = builder.addShort(11, defaultU1… in startScalarStuff()
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DBuffers.kt68 public fun getUShort(index: Int): UShort in findFirst()
187 public fun put(value: UShort) in findFirst()
266 public fun set(index: Int, value: UShort) in findFirst()
342 override fun getUShort(index: Int): UShort = buffer.getUShort(index) in getBoolean()
408 override fun put(value: UShort) { in getBoolean()
464 …override operator fun set(index: Int, value: UShort): Unit = withCapacity(index + 2) { setUShort(i… in getBoolean()
DByteArray.kt29 internal expect inline fun ByteArray.getUShort(index: Int): UShort in getString()
39 internal expect inline fun ByteArray.setUShort(index: Int, value: UShort) in getString()
56 public inline fun getUShort(ary: ByteArray, index: Int): UShort = getShort(ary, index).toUShort() in getString()
92 …public inline fun setUShort(ary: ByteArray, index: Int, value: UShort): Unit = setShort(ary, index… in getString()
/external/flatbuffers/android/app/src/main/java/generated/com/fbs/app/
DAnimal.kt33 val weight : UShort in soundInByteBuffer()
45 …createAnimal(builder: FlatBufferBuilder, nameOffset: Int, soundOffset: Int, weight: UShort) : Int { in createAnimal()
55 …fun addWeight(builder: FlatBufferBuilder, weight: UShort) = builder.addShort(2, weight.toShort(), … in startAnimal()
/external/fonttools/Tests/colorLib/
Dtable_builder_test.py2 from fontTools.ttLib.tables.otConverters import UShort
13 converter = UShort("value", None, None)
/external/rust/crates/bindgen/ir/
Dint.rs28 UShort, enumerator
96 Bool | UChar | UShort | UInt | ULong | ULongLong | U8 | U16 | in is_signed()
/external/flatbuffers/tests/
Dmonster_test.afb1252 …x0000 (0) | offset to field `fixed_length` (id: 3) <defaults to 0> (UShort)
1305 …00 | uint16_t | 0x000B (11) | table field `id` (UShort)
1306 … | uint16_t | 0x001A (26) | table field `offset` (UShort)
1333 …00 | uint16_t | 0x000A (10) | table field `id` (UShort)
1334 … | uint16_t | 0x0018 (24) | table field `offset` (UShort)
1356 …00 | uint16_t | 0x0009 (9) | table field `id` (UShort)
1357 … | uint16_t | 0x0016 (22) | table field `offset` (UShort)
1379 …00 | uint16_t | 0x0008 (8) | table field `id` (UShort)
1380 … | uint16_t | 0x0014 (20) | table field `offset` (UShort)
1401 …00 | uint16_t | 0x0007 (7) | table field `id` (UShort)
[all …]
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/nativeMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt25 public actual inline fun ByteArray.getUShort(index: Int): UShort = getUShortAt(index)
33 public actual inline fun ByteArray.setUShort(index: Int, value: UShort): Unit = setUShortAt(index, …
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/jsMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt25 public actual inline fun ByteArray.getUShort(index: Int): UShort = ByteArrayOps.getUShort(this, ind…
35 public actual inline fun ByteArray.setUShort(index: Int, value: UShort): Unit = ByteArrayOps.setUSh…
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt26 public actual inline fun ByteArray.getUShort(index: Int): UShort = ByteArrayOps.getUShort(this, ind…
36 public actual inline fun ByteArray.setUShort(index: Int, value: UShort): Unit = ByteArrayOps.setUSh…
/external/libtextclassifier/native/utils/flatbuffers/
Dreflection.h58 reflection::UShort;
112 struct flatbuffers_cpp_type<reflection::BaseType::UShort> {
/external/angle/src/tests/gl_tests/
DAttributeLayoutTest.cpp385 Format<GLushort, GL_UNSIGNED_SHORT, false> UShort(es3); in GetTestCases() local
433 mTestCases.push_back({SShort(M0, 0, 20, mCoord), UShort(M0, 8, 20, mColor)}); in GetTestCases()
726 Format<GLushort, GL_UNSIGNED_SHORT, false> UShort(es3); in GetTestCases() local
733 mTestCases.push_back({Float(B0, 0, 16, mCoord), UShort(B0, 8, 16, mColor)}); in GetTestCases()
747 Format<GLushort, GL_UNSIGNED_SHORT, false, true> UShort(es3); in GetTestCases() local
753 mTestCases.push_back({Float(B0, 0, 16, mCoord), UShort(B0, 8, 16, mColor)}); in GetTestCases()
/external/flatbuffers/python/flatbuffers/reflection/
DBaseType.py12 UShort = 6 variable in BaseType
/external/libtextclassifier/native/utils/grammar/semantics/
Dvalue.h110 case reflection::BaseType::UShort: in Create()
113 flatbuffers_cpp_type<reflection::BaseType::UShort>::value>( in Create()
/external/freetype/src/raster/
Dftraster.c301 typedef unsigned short UShort, *PUShort; typedef
351 UShort flags; /* Bit 0-2: drop-out mode */
478 UShort bWidth; /* target bitmap width */
485 UShort num_Profs; /* current number of profiles */
817 UShort n; in Finalize_Profile_Table()
1745 Decompose_Curve( RAS_ARGS UShort first, in Decompose_Curve()
1746 UShort last, in Decompose_Curve()
1999 if ( Decompose_Curve( RAS_VARS (UShort)start, in Convert_Glyph()
2000 (UShort)ras.outline.contours[i], in Convert_Glyph()
2004 start = (UShort)ras.outline.contours[i] + 1; in Convert_Glyph()
[all …]
/external/flatbuffers/include/flatbuffers/
Dminireflect.h54 virtual void UShort(uint16_t, const char *) {} in UShort() function
151 visitor->UShort(tval, EnumName(tval, type_table)); in IterateValue()
362 void UShort(uint16_t x, const char *name) { Named(x, name); } in UShort() function

1234