/external/swiftshader/src/Device/ |
D | Blitter.cpp | 311 c.x = Float(Int(*Pointer<UShort>(element))); in readFloat4() 374 c.x = Float(Int(*Pointer<UShort>(element + 0))); in readFloat4() 375 c.y = Float(Int(*Pointer<UShort>(element + 2))); in readFloat4() 428 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0xF800)) >> UShort(11))); in readFloat4() 429 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x07E0)) >> UShort(5))); in readFloat4() 430 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in readFloat4() 433 c.w = Float(Int((*Pointer<UShort>(element) & UShort(0x8000)) >> UShort(15))); in readFloat4() 434 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0x7C00)) >> UShort(10))); in readFloat4() 435 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x03E0)) >> UShort(5))); in readFloat4() 436 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in readFloat4() [all …]
|
/external/swiftshader/src/Reactor/ |
D | Reactor.cpp | 283 Byte::Byte(RValue<UShort> cast) in Byte() 1004 UShort::UShort(Argument<UShort> argument) in UShort() function in rr::UShort 1009 UShort::UShort(RValue<UInt> cast) in UShort() function in rr::UShort 1011 Value *integer = Nucleus::createTrunc(cast.value, UShort::getType()); in UShort() 1016 UShort::UShort(RValue<Int> cast) in UShort() function in rr::UShort 1018 Value *integer = Nucleus::createTrunc(cast.value, UShort::getType()); in UShort() 1023 UShort::UShort(unsigned short x) in UShort() function in rr::UShort 1028 UShort::UShort(RValue<UShort> rhs) in UShort() function in rr::UShort 1033 UShort::UShort(const UShort &rhs) in UShort() function in rr::UShort 1039 UShort::UShort(const Reference<UShort> &rhs) in UShort() function in rr::UShort [all …]
|
D | Reactor.hpp | 71 class UShort; 298 explicit Byte(RValue<UShort> cast); 460 class UShort : public LValue<UShort> class 463 UShort(Argument<UShort> argument); 465 explicit UShort(RValue<UInt> cast); 466 explicit UShort(RValue<Int> cast); 468 UShort() = default; 469 UShort(unsigned short x); 470 UShort(RValue<UShort> rhs); 471 UShort(const UShort &rhs); [all …]
|
D | Traits.hpp | 35 class UShort; 109 using type = UShort; 110 static UShort cast(uint16_t);
|
D | SubzeroReactor.cpp | 2130 Type *UShort::getType() in getType() 2746 RValue<UShort> Extract(RValue<UShort4> val, int i) in Extract() 2748 return RValue<UShort>(Nucleus::createExtractElement(val.value, UShort::getType(), i)); in Extract() 2751 RValue<UShort4> Insert(RValue<UShort4> val, RValue<UShort> element, int i) in Insert() 2763 result = Insert(result, Extract(lhs, 0) << UShort(rhs), 0); in operator <<() 2764 result = Insert(result, Extract(lhs, 1) << UShort(rhs), 1); in operator <<() 2765 result = Insert(result, Extract(lhs, 2) << UShort(rhs), 2); in operator <<() 2766 result = Insert(result, Extract(lhs, 3) << UShort(rhs), 3); in operator <<() 2782 result = Insert(result, Extract(lhs, 0) >> UShort(rhs), 0); in operator >>() 2783 result = Insert(result, Extract(lhs, 1) >> UShort(rhs), 1); in operator >>() [all …]
|
D | LLVMReactorDebugInfo.cpp | 409 …diTypes.emplace(T(UShort::getType()), diBuilder->createBasicType("UShort", 16, dwarf::DW_ATE_unsig… in registerBasicTypes() 423 …diTypes.emplace(T(UShort2::getType()), diBuilder->createVectorType(128, 128, diTypes[T(UShort::get… in registerBasicTypes() 425 …diTypes.emplace(T(UShort4::getType()), diBuilder->createVectorType(128, 128, diTypes[T(UShort::get… in registerBasicTypes() 427 …diTypes.emplace(T(UShort8::getType()), diBuilder->createVectorType(128, 128, diTypes[T(UShort::get… in registerBasicTypes()
|
D | ReactorUnitTests.cpp | 243 UShort us(1); in TEST() 1979 std::pair<int16_t, UShort>, 2951 static_assert(std::is_same<CToReactorT<uint16_t>, UShort>::value, ""); 2963 static_assert(std::is_same<CToReactorT<uint16_t *>, Pointer<UShort>>::value, ""); 2968 static_assert(std::is_same<CToReactorT<uint16_t **>, Pointer<Pointer<UShort>>>::value, ""); 2969 static_assert(std::is_same<CToReactorT<uint16_t ***>, Pointer<Pointer<Pointer<UShort>>>>::value, ""… 2984 static_assert(IsRValue<RValue<UShort>>::value, ""); 2995 static_assert(IsLValue<UShort>::value, ""); 3006 static_assert(IsReference<Reference<UShort>>::value, ""); 3018 static_assert(!IsRValue<UShort>::value, ""); [all …]
|
D | Print.hpp | 292 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/Renderer/ |
D | Blitter.cpp | 252 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/Shader/ |
D | VertexRoutine.cpp | 496 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 …]
|
D | PixelRoutine.cpp | 2357 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor() 2359 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor() 2364 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor() 2366 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor() 2378 xyzw = UInt(*Pointer<UShort>(buffer)) & 0xFFFF; in writeColor() 2380 xyzw |= UInt(*Pointer<UShort>(buffer)) << 16; in writeColor() 2396 *Pointer<UShort>(buffer) = UShort(packedCol >> 16); in writeColor() 2398 *Pointer<UShort>(buffer) = UShort(packedCol); in writeColor()
|
/external/swiftshader/src/Pipeline/ |
D | VertexRoutine.cpp | 455 UShort x0 = *Pointer<UShort>(source0 + 0); in readStream() 456 UShort x1 = *Pointer<UShort>(source1 + 0); in readStream() 457 UShort x2 = *Pointer<UShort>(source2 + 0); in readStream() 458 UShort x3 = *Pointer<UShort>(source3 + 0); in readStream() 468 UShort y0 = *Pointer<UShort>(source0 + 2); in readStream() 469 UShort y1 = *Pointer<UShort>(source1 + 2); in readStream() 470 UShort y2 = *Pointer<UShort>(source2 + 2); in readStream() 471 UShort y3 = *Pointer<UShort>(source3 + 2); in readStream() 481 UShort z0 = *Pointer<UShort>(source0 + 4); in readStream() 482 UShort z1 = *Pointer<UShort>(source1 + 4); in readStream() [all …]
|
D | PixelRoutine.cpp | 2263 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor() 2265 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor() 2270 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor() 2272 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor() 2284 xyzw = UInt(*Pointer<UShort>(buffer)) & 0xFFFF; in writeColor() 2286 xyzw |= UInt(*Pointer<UShort>(buffer)) << 16; in writeColor() 2302 *Pointer<UShort>(buffer) = UShort(packedCol >> 16); in writeColor() 2304 *Pointer<UShort>(buffer) = UShort(packedCol); in writeColor() 2353 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(oC.x.y))) << 16) | UInt(As<UShort>(Half(oC.x.x… in writeColor() 2354 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(oC.x.w))) << 16) | UInt(As<UShort>(Half(oC.x.z… in writeColor() [all …]
|
/external/flatbuffers/include/flatbuffers/ |
D | minireflect.h | 54 virtual void UShort(uint16_t, const char *) {} in UShort() function 150 visitor->UShort(tval, EnumName(tval, type_table)); in IterateValue() 350 void UShort(uint16_t x, const char *name) { Named(x, name); } in UShort() function
|
/external/freetype/src/raster/ |
D | ftraster.c | 311 typedef unsigned short UShort, *PUShort; typedef 361 UShort flags; /* Bit 0-2: drop-out mode */ 493 UShort bWidth; /* target bitmap width */ 499 UShort num_Profs; /* current number of profiles */ 846 UShort n; in Finalize_Profile_Table() 1766 Decompose_Curve( RAS_ARGS UShort first, in Decompose_Curve() 1767 UShort last, in Decompose_Curve() 2020 if ( Decompose_Curve( RAS_VARS (UShort)start, in Convert_Glyph() 2021 (UShort)ras.outline.contours[i], in Convert_Glyph() 2025 start = (UShort)ras.outline.contours[i] + 1; in Convert_Glyph() [all …]
|
/external/flatbuffers/src/ |
D | reflection.cpp | 33 case reflection::UShort: return FLATBUFFERS_GET(uint16_t); in GetAnyValueI() 125 case reflection::UShort: FLATBUFFERS_SET(uint16_t); break; in SetAnyValueI() 533 case reflection::UShort: in VerifyVector() 610 case reflection::UShort: in VerifyObject()
|
/external/angle/src/tests/gl_tests/ |
D | AttributeLayoutTest.cpp | 353 Format<GLushort, GL_UNSIGNED_SHORT, false> UShort(es3); in GetTestCases() local 401 mTestCases.push_back({SShort(M0, 0, 20, mCoord), UShort(M0, 8, 20, mColor)}); in GetTestCases()
|
/external/flatbuffers/reflection/ |
D | reflection.fbs | 16 UShort,
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otConverters.py | 220 class UShort(IntValue): class 256 class ComputedUShort(ComputedInt, UShort): 285 class NameID(UShort): 830 lookup = AATLookup('DataOffsets', None, None, UShort) 867 lookup = AATLookup('DataOffsets', None, None, UShort) 1023 self.classLookup = AATLookup("GlyphClasses", None, None, UShort) 1565 "uint16": UShort,
|
/external/clang/lib/Serialization/ |
D | ASTCommon.cpp | 42 case BuiltinType::UShort: in TypeIdxFromBuiltin()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 122 case BuiltinType::UShort: in getTBAAInfo()
|
/external/libtextclassifier/native/utils/ |
D | lua-utils.cc | 105 case reflection::UShort: in GetField() 172 case reflection::UShort: in GetField()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 37 BTCASE(UShort); in GetBuiltinTypeKind() 455 TKIND(UShort); in clang_getTypeKindSpelling()
|
/external/clang/lib/AST/ |
D | TypeLoc.cpp | 308 case BuiltinType::UShort: in getWrittenTypeSpec()
|
/external/clang/include/clang/AST/ |
D | BuiltinTypes.def | 82 UNSIGNED_TYPE(UShort, UnsignedShortTy)
|