Home
last modified time | relevance | path

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

1234

/external/swiftshader/src/Device/
DBlitter.cpp352 c.x = Float(Int(*Pointer<UShort>(element))); in readFloat4()
416 c.x = Float(Int(*Pointer<UShort>(element + 0))); in readFloat4()
417 c.y = Float(Int(*Pointer<UShort>(element + 2))); in readFloat4()
470 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0xF800)) >> UShort(11))); in readFloat4()
471 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x07E0)) >> UShort(5))); in readFloat4()
472 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in readFloat4()
475 c.w = Float(Int((*Pointer<UShort>(element) & UShort(0x8000)) >> UShort(15))); in readFloat4()
476 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0x7C00)) >> UShort(10))); in readFloat4()
477 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x03E0)) >> UShort(5))); in readFloat4()
478 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in readFloat4()
[all …]
/external/swiftshader/src/Renderer/
DBlitter.cpp252 c.x = Float(Int(*Pointer<UShort>(element))); in read()
350 c.x = Float(Int(*Pointer<UShort>(element + 0))); in read()
351 c.y = Float(Int(*Pointer<UShort>(element + 2))); in read()
379 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0xF800)) >> UShort(11))); in read()
380 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x07E0)) >> UShort(5))); in read()
381 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in read()
391 c.x = Float(Int((*Pointer<UShort>(element)))); in read()
621 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
622 if(writeG) { *Pointer<UShort>(element + 2) = UShort(RoundInt(Float(c.y))); } in write()
623 if(writeB) { *Pointer<UShort>(element + 4) = UShort(RoundInt(Float(c.z))); } in write()
[all …]
/external/swiftshader/src/Reactor/
DReactor.cpp357 Byte::Byte(RValue<UShort> cast) in Byte()
1048 UShort::UShort(Argument<UShort> argument) in UShort() function in rr::UShort
1053 UShort::UShort(RValue<UInt> cast) in UShort() function in rr::UShort
1055 Value *integer = Nucleus::createTrunc(cast.value(), UShort::type()); in UShort()
1060 UShort::UShort(RValue<Int> cast) in UShort() function in rr::UShort
1062 Value *integer = Nucleus::createTrunc(cast.value(), UShort::type()); in UShort()
1067 UShort::UShort(unsigned short x) in UShort() function in rr::UShort
1072 UShort::UShort(RValue<UShort> rhs) in UShort() function in rr::UShort
1077 UShort::UShort(const UShort &rhs) in UShort() function in rr::UShort
1082 UShort::UShort(const Reference<UShort> &rhs) in UShort() function in rr::UShort
[all …]
DReactor.hpp97 class UShort;
352 explicit Byte(RValue<UShort> cast);
514 class UShort : public LValue<UShort> class
517 UShort(Argument<UShort> argument);
519 explicit UShort(RValue<UInt> cast);
520 explicit UShort(RValue<Int> cast);
522 UShort() = default;
523 UShort(unsigned short x);
524 UShort(RValue<UShort> rhs);
525 UShort(const UShort &rhs);
[all …]
DTraits.hpp31 class UShort;
105 using type = UShort;
106 static UShort cast(uint16_t);
DSubzeroReactor.cpp2230 Type *UShort::type() in type()
2837 RValue<UShort> Extract(RValue<UShort4> val, int i) in Extract()
2839 return RValue<UShort>(Nucleus::createExtractElement(val.value(), UShort::type(), i)); in Extract()
2842 RValue<UShort4> Insert(RValue<UShort4> val, RValue<UShort> element, int i) in Insert()
2854 result = Insert(result, Extract(lhs, 0) << UShort(rhs), 0); in operator <<()
2855 result = Insert(result, Extract(lhs, 1) << UShort(rhs), 1); in operator <<()
2856 result = Insert(result, Extract(lhs, 2) << UShort(rhs), 2); in operator <<()
2857 result = Insert(result, Extract(lhs, 3) << UShort(rhs), 3); in operator <<()
2873 result = Insert(result, Extract(lhs, 0) >> UShort(rhs), 0); in operator >>()
2874 result = Insert(result, Extract(lhs, 1) >> UShort(rhs), 1); in operator >>()
[all …]
DLLVMReactorDebugInfo.cpp416 …diTypes.emplace(T(UShort::type()), diBuilder->createBasicType("UShort", 16, dwarf::DW_ATE_unsigned… in registerBasicTypes()
430 …diTypes.emplace(T(UShort2::type()), diBuilder->createVectorType(128, 128, diTypes[T(UShort::type()… in registerBasicTypes()
432 …diTypes.emplace(T(UShort4::type()), diBuilder->createVectorType(128, 128, diTypes[T(UShort::type()… in registerBasicTypes()
434 …diTypes.emplace(T(UShort8::type()), diBuilder->createVectorType(128, 128, diTypes[T(UShort::type()… in registerBasicTypes()
DPrint.hpp292 struct PrintValue::Ty<UShort>
294 static std::string fmt(const RValue<UShort> &v) { return "%u"; } in fmt()
295 static std::vector<Value *> val(const RValue<UShort> &v);
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp369 UShort x0 = *Pointer<UShort>(source0 + 0); in readStream()
370 UShort x1 = *Pointer<UShort>(source1 + 0); in readStream()
371 UShort x2 = *Pointer<UShort>(source2 + 0); in readStream()
372 UShort x3 = *Pointer<UShort>(source3 + 0); in readStream()
382 UShort y0 = *Pointer<UShort>(source0 + 2); in readStream()
383 UShort y1 = *Pointer<UShort>(source1 + 2); in readStream()
384 UShort y2 = *Pointer<UShort>(source2 + 2); in readStream()
385 UShort y3 = *Pointer<UShort>(source3 + 2); in readStream()
395 UShort z0 = *Pointer<UShort>(source0 + 4); in readStream()
396 UShort z1 = *Pointer<UShort>(source1 + 4); in readStream()
[all …]
DPixelRoutine.cpp2321 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor()
2323 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor()
2328 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor()
2330 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor()
2342 xyzw = UInt(*Pointer<UShort>(buffer)) & 0xFFFF; in writeColor()
2344 xyzw |= UInt(*Pointer<UShort>(buffer)) << 16; in writeColor()
2360 *Pointer<UShort>(buffer) = UShort(packedCol >> 16); in writeColor()
2362 *Pointer<UShort>(buffer) = UShort(packedCol); in writeColor()
2411 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(oC.x.y))) << 16) | UInt(As<UShort>(Half(oC.x.x… in writeColor()
2412 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(oC.x.w))) << 16) | UInt(As<UShort>(Half(oC.x.z… in writeColor()
[all …]
/external/swiftshader/src/Shader/
DVertexRoutine.cpp496 UShort x0 = *Pointer<UShort>(source0 + 0); in readStream()
497 UShort x1 = *Pointer<UShort>(source1 + 0); in readStream()
498 UShort x2 = *Pointer<UShort>(source2 + 0); in readStream()
499 UShort x3 = *Pointer<UShort>(source3 + 0); in readStream()
509 UShort y0 = *Pointer<UShort>(source0 + 2); in readStream()
510 UShort y1 = *Pointer<UShort>(source1 + 2); in readStream()
511 UShort y2 = *Pointer<UShort>(source2 + 2); in readStream()
512 UShort y3 = *Pointer<UShort>(source3 + 2); in readStream()
522 UShort z0 = *Pointer<UShort>(source0 + 4); in readStream()
523 UShort z1 = *Pointer<UShort>(source1 + 4); in readStream()
[all …]
/external/flatbuffers/tests/MyGame/Example/
DStat.kt41 val count : UShort
46 fun mutateCount(count: UShort) : Boolean { in mutateCount()
62 fun createStat(builder: FlatBufferBuilder, idOffset: Int, val_: Long, count: UShort) : Int { in createStat()
72 … fun addCount(builder: FlatBufferBuilder, count: UShort) = builder.addShort(2, count.toShort(), 0) in startStat()
DTypeAliases.kt62 val u16 : UShort
67 fun mutateU16(u16: UShort) : Boolean { in mutateU16()
213 …liases(builder: FlatBufferBuilder, i8: Byte, u8: UByte, i16: Short, u16: UShort, i32: Int, u32: UI… in createTypeAliases()
233 fun addU16(builder: FlatBufferBuilder, u16: UShort) = builder.addShort(3, u16.toShort(), 0) in startTypeAliases()
/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/src/ir/
Dint.rs28 UShort, enumerator
96 Bool | UChar | UShort | UInt | ULong | ULongLong | U8 | U16 | in is_signed()
/external/libtextclassifier/native/utils/flatbuffers/
Dreflection.h58 reflection::UShort;
112 struct flatbuffers_cpp_type<reflection::BaseType::UShort> {
/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/llvm-project/clang/lib/Sema/
DOpenCLBuiltins.td257 def UShort : Type<"ushort", QualType<"UnsignedShortTy">>;
329 def TLAll : TypeList<[Char, UChar, Short, UShort, Int, UInt, Long, ULong, Float, Doub…
330 …ef TLAllUnsigned : TypeList<[UChar, UChar, UShort, UShort, UInt, UInt, ULong, ULong, UInt, ULon…
333 def TLUnsignedInts : TypeList<[UChar, UShort, UInt, ULong]>;
340 def TLAllUIntsTwice : TypeList<[UChar, UChar, UShort, UShort, UInt, UInt, ULong, ULong]>;
342 def TLAllInts : TypeList<[Char, UChar, Short, UShort, Int, UInt, Long, ULong]>;
366 foreach Type = [Char, UChar, Short, UShort,
393 UShort, Int, UInt, Long, ULong] in {
395 UShort, Int, UInt, Long, ULong] in {
738 def : Builtin<name, [VectorType<UShort, VSize>, Size, PointerType<ConstType<UShort>, AS>]>;
[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()
351 void UShort(uint16_t x, const char *name) { Named(x, name); } in UShort() function
/external/freetype/src/raster/
Dftraster.c310 typedef unsigned short UShort, *PUShort; typedef
360 UShort flags; /* Bit 0-2: drop-out mode */
497 UShort bWidth; /* target bitmap width */
503 UShort num_Profs; /* current number of profiles */
850 UShort n; in Finalize_Profile_Table()
1770 Decompose_Curve( RAS_ARGS UShort first, in Decompose_Curve()
1771 UShort last, in Decompose_Curve()
2024 if ( Decompose_Curve( RAS_VARS (UShort)start, in Convert_Glyph()
2025 (UShort)ras.outline.contours[i], in Convert_Glyph()
2029 start = (UShort)ras.outline.contours[i] + 1; in Convert_Glyph()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py255 class UShort(IntValue): class
291 class ComputedUShort(ComputedInt, UShort):
326 class NameID(UShort):
341 class STATFlags(UShort):
901 lookup = AATLookup('DataOffsets', None, None, UShort)
937 lookup = AATLookup('DataOffsets', None, None, UShort)
1092 self.classLookup = AATLookup("GlyphClasses", None, None, UShort)
1626 class LookupFlag(UShort):
1731 converterClasses = [UShort, ULong]
1760 "uint16": UShort,
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/
Darithmetic-eval.cc111 case reflection::BaseType::UShort: in Apply()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DIntegerTypesCheck.cpp111 case BuiltinType::UShort: in check()
/external/flatbuffers/src/
Dreflection.cpp34 case reflection::UShort: return FLATBUFFERS_GET(uint16_t); in GetAnyValueI()
132 case reflection::UShort: FLATBUFFERS_SET(uint16_t); break; in SetAnyValueI()
566 case reflection::UShort: in VerifyVector()
647 case reflection::UShort: in VerifyObject()
/external/swiftshader/tests/ReactorUnitTests/
DReactorUnitTests.cpp2308 std::pair<int16_t, UShort>,
3569 UShort us(1); in TEST()
3872 static_assert(std::is_same<CToReactorT<uint16_t>, UShort>::value, "");
3884 static_assert(std::is_same<CToReactorT<uint16_t *>, Pointer<UShort>>::value, "");
3889 static_assert(std::is_same<CToReactorT<uint16_t **>, Pointer<Pointer<UShort>>>::value, "");
3890 static_assert(std::is_same<CToReactorT<uint16_t ***>, Pointer<Pointer<Pointer<UShort>>>>::value, ""…
3905 static_assert(IsRValue<RValue<UShort>>::value, "");
3916 static_assert(IsLValue<UShort>::value, "");
3927 static_assert(IsReference<Reference<UShort>>::value, "");
3939 static_assert(!IsRValue<UShort>::value, "");
[all …]

1234