Home
last modified time | relevance | path

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

12

/external/swiftshader/src/Device/
DBlitter.cpp251 c.x = Float(Int(*Pointer<UShort>(element))); in read()
312 c.x = Float(Int(*Pointer<UShort>(element + 0))); in read()
313 c.y = Float(Int(*Pointer<UShort>(element + 2))); in read()
356 c.x = Float(As<Half>((*Pointer<UShort>(element + 0) & UShort(0x07FF)) << UShort(4))); in read()
357 c.y = Float(As<Half>((*Pointer<UShort>(element + 1) & UShort(0x3FF8)) << UShort(1))); in read()
358 c.z = Float(As<Half>((*Pointer<UShort>(element + 2) & UShort(0xFFC0)) >> UShort(1))); in read()
378 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0xF800)) >> UShort(11))); in read()
379 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x07E0)) >> UShort(5))); in read()
380 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in read()
383 c.w = Float(Int((*Pointer<UShort>(element) & UShort(0x8000)) >> UShort(15))); in read()
[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.hpp38 class UShort;
214 explicit Byte(RValue<UShort> cast);
376 class UShort : public LValue<UShort> class
379 UShort(Argument<UShort> argument);
381 explicit UShort(RValue<UInt> cast);
382 explicit UShort(RValue<Int> cast);
384 UShort() = default;
385 UShort(unsigned short x);
386 UShort(RValue<UShort> rhs);
387 UShort(const UShort &rhs);
[all …]
DSubzeroReactor.cpp1600 Byte::Byte(RValue<UShort> cast) in Byte()
2306 UShort::UShort(Argument<UShort> argument) in UShort() function in rr::UShort
2311 UShort::UShort(RValue<UInt> cast) in UShort() function in rr::UShort
2313 Value *integer = Nucleus::createTrunc(cast.value, UShort::getType()); in UShort()
2318 UShort::UShort(RValue<Int> cast) in UShort() function in rr::UShort
2320 Value *integer = Nucleus::createTrunc(cast.value, UShort::getType()); in UShort()
2325 UShort::UShort(unsigned short x) in UShort() function in rr::UShort
2330 UShort::UShort(RValue<UShort> rhs) in UShort() function in rr::UShort
2335 UShort::UShort(const UShort &rhs) in UShort() function in rr::UShort
2341 UShort::UShort(const Reference<UShort> &rhs) in UShort() function in rr::UShort
[all …]
DLLVMReactor.cpp1703 Byte::Byte(RValue<UShort> cast) in Byte()
2439 UShort::UShort(Argument<UShort> argument) in UShort() function in rr::UShort
2444 UShort::UShort(RValue<UInt> cast) in UShort() function in rr::UShort
2446 Value *integer = Nucleus::createTrunc(cast.value, UShort::getType()); in UShort()
2451 UShort::UShort(RValue<Int> cast) in UShort() function in rr::UShort
2453 Value *integer = Nucleus::createTrunc(cast.value, UShort::getType()); in UShort()
2458 UShort::UShort(unsigned short x) in UShort() function in rr::UShort
2463 UShort::UShort(RValue<UShort> rhs) in UShort() function in rr::UShort
2468 UShort::UShort(const UShort &rhs) in UShort() function in rr::UShort
2474 UShort::UShort(const Reference<UShort> &rhs) in UShort() function in rr::UShort
[all …]
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp491 UShort x0 = *Pointer<UShort>(source0 + 0); in readStream()
492 UShort x1 = *Pointer<UShort>(source1 + 0); in readStream()
493 UShort x2 = *Pointer<UShort>(source2 + 0); in readStream()
494 UShort x3 = *Pointer<UShort>(source3 + 0); in readStream()
504 UShort y0 = *Pointer<UShort>(source0 + 2); in readStream()
505 UShort y1 = *Pointer<UShort>(source1 + 2); in readStream()
506 UShort y2 = *Pointer<UShort>(source2 + 2); in readStream()
507 UShort y3 = *Pointer<UShort>(source3 + 2); in readStream()
517 UShort z0 = *Pointer<UShort>(source0 + 4); in readStream()
518 UShort z1 = *Pointer<UShort>(source1 + 4); in readStream()
[all …]
DPixelRoutine.cpp2112 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor()
2114 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor()
2119 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor()
2121 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor()
2133 xyzw = UInt(*Pointer<UShort>(buffer)) & 0xFFFF; in writeColor()
2135 xyzw |= UInt(*Pointer<UShort>(buffer)) << 16; in writeColor()
2151 *Pointer<UShort>(buffer) = UShort(packedCol >> 16); in writeColor()
2153 *Pointer<UShort>(buffer) = UShort(packedCol); in writeColor()
/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 …]
DPixelRoutine.cpp2350 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor()
2352 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor()
2357 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor()
2359 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor()
2371 xyzw = UInt(*Pointer<UShort>(buffer)) & 0xFFFF; in writeColor()
2373 xyzw |= UInt(*Pointer<UShort>(buffer)) << 16; in writeColor()
2389 *Pointer<UShort>(buffer) = UShort(packedCol >> 16); in writeColor()
2391 *Pointer<UShort>(buffer) = UShort(packedCol); in writeColor()
/external/flatbuffers/include/flatbuffers/
Dminireflect.h54 virtual void UShort(uint16_t, const char *) {} in UShort() function
150 visitor->UShort(tval, EnumName(tval, type_table)); in IterateValue()
340 void UShort(uint16_t x, const char *name) { Named(x, name); } in UShort() function
Dreflection_generated.h36 UShort = 6, enumerator
57 UShort, in EnumValuesBaseType()
/external/freetype/src/raster/
Dftraster.c311 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 */
848 UShort n; in Finalize_Profile_Table()
1762 Decompose_Curve( RAS_ARGS UShort first, in Decompose_Curve()
1763 UShort last, in Decompose_Curve()
2016 if ( Decompose_Curve( RAS_VARS (UShort)start, in Convert_Glyph()
2017 (UShort)ras.outline.contours[i], in Convert_Glyph()
2021 start = (UShort)ras.outline.contours[i] + 1; in Convert_Glyph()
[all …]
/external/flatbuffers/src/
Dreflection.cpp33 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/flatbuffers/reflection/
Dreflection.fbs16 UShort,
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py220 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/
DASTCommon.cpp42 case BuiltinType::UShort: in TypeIdxFromBuiltin()
/external/clang/lib/CodeGen/
DCodeGenTBAA.cpp122 case BuiltinType::UShort: in getTBAAInfo()
DCodeGenTypes.cpp427 case BuiltinType::UShort: in ConvertType()
/external/clang/tools/libclang/
DCXType.cpp37 BTCASE(UShort); in GetBuiltinTypeKind()
455 TKIND(UShort); in clang_getTypeKindSpelling()
/external/clang/lib/AST/
DTypeLoc.cpp308 case BuiltinType::UShort: in getWrittenTypeSpec()
DNSAPI.cpp415 case BuiltinType::UShort: in getNSNumberFactoryMethodKind()
DItaniumMangle.cpp2323 case BuiltinType::UShort: in mangleType()
2732 case BuiltinType::UShort: in mangleNeonVectorType()
2745 case BuiltinType::UShort: EltName = "uint16_t"; break; in mangleNeonVectorType()
2783 case BuiltinType::UShort: in mangleAArch64VectorBase()
2820 case BuiltinType::UShort: in mangleAArch64NeonVectorType()
/external/clang/lib/Analysis/
DScanfFormatString.cpp466 case BuiltinType::UShort: in fixType()
DFormatString.cpp349 case BuiltinType::UShort: in matchesType()
/external/clang/include/clang/AST/
DBuiltinTypes.def82 UNSIGNED_TYPE(UShort, UnsignedShortTy)

12