/external/swiftshader/src/Shader/ |
D | VertexRoutine.cpp | 44 Pointer<Byte> cache = task + OFFSET(VertexTask,vertexCache); in generate() 45 Pointer<Byte> vertexCache = cache + OFFSET(VertexCache,vertex); in generate() 46 Pointer<Byte> tagCache = cache + OFFSET(VertexCache,tag); in generate() 48 UInt vertexCount = *Pointer<UInt>(task + OFFSET(VertexTask,vertexCount)); in generate() 49 UInt primitiveNumber = *Pointer<UInt>(task + OFFSET(VertexTask, primitiveStart)); in generate() 52 constants = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,constants)); in generate() 56 UInt index = *Pointer<UInt>(batch); in generate() 60 If(*Pointer<UInt>(tagCache + tagIndex) != indexQ) in generate() 62 *Pointer<UInt>(tagCache + tagIndex) = indexQ; in generate() 69 Pointer<Byte> cacheLine0 = vertexCache + tagIndex * UInt((int)sizeof(Vertex)); in generate() [all …]
|
D | SetupRoutine.cpp | 40 Function<Bool(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>, Pointer<Byte>)> function; in generate() 42 Pointer<Byte> primitive(function.Arg<0>()); in generate() 43 Pointer<Byte> tri(function.Arg<1>()); in generate() 44 Pointer<Byte> polygon(function.Arg<2>()); in generate() 45 Pointer<Byte> data(function.Arg<3>()); in generate() 47 Pointer<Byte> constants = *Pointer<Pointer<Byte> >(data + OFFSET(DrawData,constants)); in generate() 61 Pointer<Byte> v0 = tri + V0; in generate() 62 Pointer<Byte> v1 = tri + V1; in generate() 63 Pointer<Byte> v2 = tri + V2; in generate() 68 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate() [all …]
|
D | PixelRoutine.cpp | 54 …void PixelRoutine::quad(Pointer<Byte> cBuffer[RENDERTARGETS], Pointer<Byte> &zBuffer, Pointer<Byte… in quad() 84 Float4 xxxx = Float4(Float(x)) + *Pointer<Float4>(primitive + OFFSET(Primitive,xQuad), 16); in quad() 94 x -= *Pointer<Float4>(constants + OFFSET(Constants,X) + q * sizeof(float4)); in quad() 117 Float4 yyyy = Float4(Float(y)) + *Pointer<Float4>(primitive + OFFSET(Primitive,yQuad), 16); in quad() 129 XXXX += *Pointer<Float4>(constants + OFFSET(Constants,sampleX[q]) + 16 * cMask[q]); in quad() 130 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad() 131 WWWW += *Pointer<Float4>(constants + OFFSET(Constants,weight) + 16 * cMask[q]); in quad() 255 …occlusion += *Pointer<UInt>(constants + OFFSET(Constants,occlusionCount) + 4 * (zMask[q] & sMask[q… in quad() 263 AddAtomic(Pointer<Long>(&profiler.ropOperations), 4); in quad() 289 …Float4 PixelRoutine::interpolateCentroid(Float4 &x, Float4 &y, Float4 &rhw, Pointer<Byte> planeEqu… in interpolateCentroid() [all …]
|
D | VertexRoutine.hpp | 25 …ass VertexRoutinePrototype : public Function<Void(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>, Poi… 32 Pointer<Byte> vertex; 33 Pointer<Byte> batch; 34 Pointer<Byte> task; 35 Pointer<Byte> data; 47 Pointer<Byte> constants; 61 Vector4f readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, const UInt &index); 65 void writeCache(Pointer<Byte> &cacheLine); 66 void writeVertex(const Pointer<Byte> &vertex, Pointer<Byte> &cacheLine); 67 …void transformFeedback(const Pointer<Byte> &vertex, const UInt &primitiveNumber, const UInt &index…
|
D | SamplerCore.hpp | 50 SamplerCore(Pointer<Byte> &r, const Sampler::State &state); 52 …void sampleTexture(Pointer<Byte> &texture, Vector4s &c, Float4 &u, Float4 &v, Float4 &w, Float4 &q… 53 …void sampleTexture(Pointer<Byte> &texture, Vector4f &c, Float4 &u, Float4 &v, Float4 &w, Float4 &q… 54 void textureSize(Pointer<Byte> &mipmap, Vector4f &size, Float4 &lod); 57 …void sampleTexture(Pointer<Byte> &texture, Vector4s &c, Float4 &u, Float4 &v, Float4 &w, Float4 &q… 61 …Short4 offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, int count, Floa… 62 …void sampleFilter(Pointer<Byte> &texture, Vector4s &c, Float4 &u, Float4 &v, Float4 &w, Vector4f &… 63 …void sampleAniso(Pointer<Byte> &texture, Vector4s &c, Float4 &u, Float4 &v, Float4 &w, Vector4f &o… 64 …void sampleQuad(Pointer<Byte> &texture, Vector4s &c, Float4 &u, Float4 &v, Float4 &w, Vector4f &of… 65 …void sampleQuad2D(Pointer<Byte> &texture, Vector4s &c, Float4 &u, Float4 &v, Float4 &w, Vector4f &… [all …]
|
D | SetupRoutine.hpp | 36 …etupGradient(Pointer<Byte> &primitive, Pointer<Byte> &triangle, Float4 &w012, Float4 (&m)[3], Poin… 37 …void edge(Pointer<Byte> &primitive, Pointer<Byte> &data, const Int &Xa, const Int &Ya, const Int &… 38 void conditionalRotate1(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointer<Byte> &v2); 39 void conditionalRotate2(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointer<Byte> &v2);
|
D | PixelRoutine.hpp | 48 …virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMas… 50 …virtual void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cM… 58 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4s ¤t, Int &x); 59 void logicOperation(int index, Pointer<Byte> &cBuffer, Vector4s ¤t, Int &x); 60 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s ¤t, Int &sMask, Int &zMa… 61 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4f &oC, Int &x); 62 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4f &oC, Int &sMask, Int &zMask, I… 71 …Float4 interpolateCentroid(Float4 &x, Float4 &y, Float4 &rhw, Pointer<Byte> planeEquation, bool fl… 72 void stencilTest(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &cMask); 76 …Bool depthTest(Pointer<Byte> &zBuffer, int q, Int &x, Float4 &z, Int &sMask, Int &zMask, Int &cMas… [all …]
|
D | SamplerCore.cpp | 55 …SamplerCore::SamplerCore(Pointer<Byte> &constants, const Sampler::State &state) : constants(consta… in SamplerCore() 59 …void SamplerCore::sampleTexture(Pointer<Byte> &texture, Vector4s &c, Float4 &u, Float4 &v, Float4 … in sampleTexture() 64 …void SamplerCore::sampleTexture(Pointer<Byte> &texture, Vector4s &c, Float4 &u, Float4 &v, Float4 … in sampleTexture() 67 AddAtomic(Pointer<Long>(&profiler.texOperations), 4); in sampleTexture() 71 AddAtomic(Pointer<Long>(&profiler.compressedTex), 4); in sampleTexture() 300 …void SamplerCore::sampleTexture(Pointer<Byte> &texture, Vector4f &c, Float4 &u, Float4 &v, Float4 … in sampleTexture() 303 AddAtomic(Pointer<Long>(&profiler.texOperations), 4); in sampleTexture() 307 AddAtomic(Pointer<Long>(&profiler.compressedTex), 4); in sampleTexture() 558 void SamplerCore::textureSize(Pointer<Byte> &texture, Vector4f &size, Float4 &lod) in textureSize() 562 Int baseLevel = *Pointer<Int>(texture + OFFSET(Texture, baseLevel)); in textureSize() [all …]
|
D | VertexPipeline.cpp | 40 …Vector4f VertexPipeline::transformBlend(const Register &src, const Pointer<Byte> &matrix, bool hom… in transformBlend() 168 …position = transformBlend(v[Position], Pointer<Byte>(data + OFFSET(DrawData,ff.transformT)), true); in pipeline() 180 …Vector4f vertexPosition = transformBlend(v[Position], Pointer<Byte>(data + OFFSET(DrawData,ff.came… in pipeline() 184 …normal = transformBlend(v[Normal], Pointer<Byte>(data + OFFSET(DrawData,ff.normalTransformT)), fal… in pipeline() 243 …Float4 globalAmbient = *Pointer<Float4>(data + OFFSET(DrawData,ff.globalAmbient)); // FIXME: Unp… in pipeline() 263 …L.x = L.y = L.z = *Pointer<Float4>(data + OFFSET(DrawData,ff.lightPosition[i])); // FIXME: Unpack in pipeline() 278 Float4 q = *Pointer<Float4>(data + OFFSET(DrawData,ff.attenuationQuadratic[i])); in pipeline() 279 Float4 l = *Pointer<Float4>(data + OFFSET(DrawData,ff.attenuationLinear[i])); in pipeline() 280 Float4 c = *Pointer<Float4>(data + OFFSET(DrawData,ff.attenuationConstant[i])); in pipeline() 287 …Float4 lightAmbient = *Pointer<Float4>(data + OFFSET(DrawData,ff.lightAmbient[i])); // FIXME: Un… in pipeline() [all …]
|
/external/swiftshader/src/Renderer/ |
D | Blitter.cpp | 231 bool Blitter::read(Float4 &c, Pointer<Byte> element, Format format) in read() 238 c.xyz = Float(Int(*Pointer<Byte>(element))); in read() 242 c.w = Float(Int(*Pointer<Byte>(element))); in read() 246 c.x = Float(Int(*Pointer<SByte>(element))); in read() 251 c.x = Float(Int(*Pointer<Byte>(element))); in read() 255 c.x = Float(Int(*Pointer<Short>(element))); in read() 259 c.x = Float(Int(*Pointer<UShort>(element))); in read() 263 c.x = Float(*Pointer<Int>(element)); in read() 267 c.x = Float(*Pointer<UInt>(element)); in read() 271 c = Float4(*Pointer<Byte4>(element)).zyxw; in read() [all …]
|
D | QuadRasterizer.cpp | 50 constants = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,constants)); in generate() 55 Int yMin = *Pointer<Int>(primitive + OFFSET(Primitive,yMin)); in generate() 56 Int yMax = *Pointer<Int>(primitive + OFFSET(Primitive,yMax)); in generate() 75 UInt clusterOcclusion = *Pointer<UInt>(data + OFFSET(DrawData,occlusion) + 4 * cluster); in generate() 77 *Pointer<UInt>(data + OFFSET(DrawData,occlusion) + 4 * cluster) = clusterOcclusion; in generate() 85 *Pointer<Long>(data + OFFSET(DrawData,cycles[i]) + 8 * cluster) += cycles[i]; in generate() 94 Pointer<Byte> cBuffer[RENDERTARGETS]; in rasterize() 95 Pointer<Byte> zBuffer; in rasterize() 96 Pointer<Byte> sBuffer; in rasterize() 102 …cBuffer[index] = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,colorBuffer[index])) + yMin * *Poi… in rasterize() [all …]
|
D | QuadRasterizer.hpp | 35 Pointer<Byte> constants; 48 …virtual void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cM… 52 …Float4 interpolate(Float4 &x, Float4 &D, Float4 &rhw, Pointer<Byte> planeEquation, bool flat, bool…
|
/external/swiftshader/src/Main/ |
D | FrameBuffer.cpp | 207 Function<Void(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>)> function; in copyRoutine() 209 Pointer<Byte> dst(function.Arg<0>()); in copyRoutine() 210 Pointer<Byte> src(function.Arg<1>()); in copyRoutine() 211 Pointer<Byte> cursor(function.Arg<2>()); in copyRoutine() 215 Pointer<Byte> d = dst + y * dStride; in copyRoutine() 216 Pointer<Byte> s = src + y * sStride; in copyRoutine() 233 *Pointer<Int4>(d, 1) = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine() 243 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine() 245 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | in copyRoutine() 256 UShort4 c0 = As<UShort4>(Swizzle(*Pointer<Short4>(s + 0), 0xC6)) >> 8; in copyRoutine() [all …]
|
/external/swiftshader/src/Reactor/ |
D | Main.cpp | 41 Function<Int(Pointer<Int>, Int)> function; in TEST() 43 Pointer<Int> p = function.Arg<0>(); in TEST() 118 Function<Int(Pointer<Byte>, Pointer<Byte>)> function; in TEST() 120 Pointer<Byte> in = function.Arg<0>(); in TEST() 121 Pointer<Byte> out = function.Arg<1>(); in TEST() 123 *Pointer<Int4>(out + 16 * 0) = *Pointer<Int4>(in + 16 * 0); in TEST() 124 *Pointer<Short4>(out + 16 * 1) = *Pointer<Short4>(in + 16 * 1); in TEST() 125 *Pointer<Byte8>(out + 16 * 2) = *Pointer<Byte8>(in + 16 * 2); in TEST() 126 *Pointer<Byte4>(out + 16 * 3) = *Pointer<Byte4>(in + 16 * 3); in TEST() 127 *Pointer<Short2>(out + 16 * 4) = *Pointer<Short2>(in + 16 * 4); in TEST() [all …]
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers_cxx.cc | 35 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, in HandleDynamicTypeCacheMiss() argument 37 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) in HandleDynamicTypeCacheMiss() 42 DynamicTypeInfo DTI = getDynamicTypeInfoFromObject((void*)Pointer); in HandleDynamicTypeCacheMiss() 55 << TypeCheckKinds[Data->TypeCheckKind] << (void*)Pointer << Data->Type; in HandleDynamicTypeCacheMiss() 60 Diag(Pointer, DL_Note, "object has a possibly invalid vptr: abs(offset to top) too big") in HandleDynamicTypeCacheMiss() 62 << Range(Pointer, Pointer + sizeof(uptr), "possibly invalid vptr"); in HandleDynamicTypeCacheMiss() 64 Diag(Pointer, DL_Note, "object has invalid vptr") in HandleDynamicTypeCacheMiss() 66 << Range(Pointer, Pointer + sizeof(uptr), "invalid vptr"); in HandleDynamicTypeCacheMiss() 69 Diag(Pointer, DL_Note, "object is of type %0") in HandleDynamicTypeCacheMiss() 71 << Range(Pointer, Pointer + sizeof(uptr), "vptr for %0"); in HandleDynamicTypeCacheMiss() [all …]
|
/external/libbrillo/brillo/message_loops/ |
D | message_loop.cc | 25 DCHECK(lazy_tls_ptr.Pointer()->Get() != nullptr) << in current() 28 return lazy_tls_ptr.Pointer()->Get(); in current() 32 return lazy_tls_ptr.Pointer()->Get() != nullptr; in ThreadHasCurrent() 36 DCHECK(lazy_tls_ptr.Pointer()->Get() == nullptr) << in SetAsCurrent() 38 lazy_tls_ptr.Pointer()->Set(this); in SetAsCurrent() 42 DCHECK(lazy_tls_ptr.Pointer()->Get() == this) << in ReleaseFromCurrent() 44 lazy_tls_ptr.Pointer()->Set(nullptr); in ReleaseFromCurrent() 48 if (lazy_tls_ptr.Pointer()->Get() == this) in ~MessageLoop() 49 lazy_tls_ptr.Pointer()->Set(nullptr); in ~MessageLoop()
|
/external/zlib/src/contrib/delphi/ |
D | ZLib.pas | 19 TAlloc = function (AppData: Pointer; Items, Size: Integer): Pointer; cdecl; in ppData() 20 TFree = procedure (AppData, Block: Pointer); cdecl; 33 internal: Pointer; // not visible by applications 37 AppData: Pointer; // private data object passed to zalloc and zfree 133 procedure CompressBuf(const InBuf: Pointer; InBytes: Integer; 134 out OutBuf: Pointer; out OutBytes: Integer); 143 procedure DecompressBuf(const InBuf: Pointer; InBytes: Integer; 144 OutEstimate: Integer; out OutBuf: Pointer; out OutBytes: Integer); 151 procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer; 152 const OutBuf: Pointer; BufSize: Integer); [all …]
|
/external/v8/src/ |
D | futex-emulation.cc | 34 base::LockGuard<base::Mutex> lock_guard(FutexEmulation::mutex_.Pointer()); in NotifyWake() 85 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in Wait() 120 wait_list_.Pointer()->AddNode(node); in Wait() 130 mutex_.Pointer()->Unlock(); in Wait() 148 mutex_.Pointer()->Lock(); in Wait() 153 mutex_.Pointer()->Lock(); in Wait() 176 node->cond_.WaitFor(mutex_.Pointer(), time_until_timeout); in Wait() 179 node->cond_.Wait(mutex_.Pointer()); in Wait() 185 wait_list_.Pointer()->RemoveNode(node); in Wait() 199 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in Wake() [all …]
|
/external/llvm/tools/llvm-pdbdump/ |
D | FunctionDumper.cpp | 54 const char *Name, PointerType Pointer) { in start() argument 70 if (Pointer == PointerType::None) { in start() 88 if (Pointer == PointerType::Reference) in start() 114 void FunctionDumper::start(const PDBSymbolFunc &Symbol, PointerType Pointer) { in start() argument 146 if (Pointer == PointerType::Pointer) in start() 148 else if (Pointer == FunctionDumper::PointerType::Reference) in start() 159 if (Pointer != FunctionDumper::PointerType::None) in start() 168 if (Pointer != FunctionDumper::PointerType::None) { in start() 169 if (Pointer == PointerType::Pointer) in start() 171 else if (Pointer == FunctionDumper::PointerType::Reference) in start() [all …]
|
/external/zlib/src/contrib/pascal/ |
D | zlibpas.pas | 17 alloc_func = function(opaque: Pointer; items, size: Integer): Pointer; in paque() 19 free_func = procedure(opaque, address: Pointer); 22 in_func = function(opaque: Pointer; var buf: PByte): Integer; in paque() 24 out_func = function(opaque: Pointer; buf: PByte; size: Integer): Integer; in paque() 38 state: Pointer; (* not visible by applications *) 42 opaque: Pointer; (* private data object passed to zalloc and zfree *) 138 function inflateBack(var strm: z_stream; in_fn: in_func; in_desc: Pointer; in inflateBack() argument 139 out_fn: out_func; out_desc: Pointer): Integer; 256 function _malloc(Size: Integer): Pointer; cdecl; in _malloc() 261 procedure _free(Block: Pointer); cdecl; argument [all …]
|
D | example.pas | 56 procedure test_compress(compr: Pointer; comprLen: LongInt; 57 uncompr: Pointer; uncomprLen: LongInt); 83 uncompr: Pointer; 184 procedure test_deflate(compr: Pointer; comprLen: LongInt); 229 procedure test_inflate(compr: Pointer; comprLen : LongInt; 230 uncompr: Pointer; uncomprLen : LongInt); 272 procedure test_large_deflate(compr: Pointer; comprLen: LongInt; 273 uncompr: Pointer; uncomprLen: LongInt); 324 procedure test_large_inflate(compr: Pointer; comprLen: LongInt; 325 uncompr: Pointer; uncomprLen: LongInt); [all …]
|
/external/libchrome/base/threading/ |
D | thread_task_runner_handle.cc | 25 ThreadTaskRunnerHandle* current = lazy_tls_ptr.Pointer()->Get(); in Get() 32 return !!lazy_tls_ptr.Pointer()->Get(); in IsSet() 42 lazy_tls_ptr.Pointer()->Set(this); in ThreadTaskRunnerHandle() 47 DCHECK_EQ(lazy_tls_ptr.Pointer()->Get(), this); in ~ThreadTaskRunnerHandle() 48 lazy_tls_ptr.Pointer()->Set(nullptr); in ~ThreadTaskRunnerHandle()
|
D | sequenced_task_runner_handle.cc | 27 const SequencedTaskRunnerHandle* handle = lazy_tls_ptr.Pointer()->Get(); in Get() 49 return lazy_tls_ptr.Pointer()->Get() || in IsSet() 59 lazy_tls_ptr.Pointer()->Set(this); in SequencedTaskRunnerHandle() 64 DCHECK_EQ(lazy_tls_ptr.Pointer()->Get(), this); in ~SequencedTaskRunnerHandle() 65 lazy_tls_ptr.Pointer()->Set(nullptr); in ~SequencedTaskRunnerHandle()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoadCombine.cpp | 42 Value *Pointer; member 99 POP.Pointer = LI.getPointerOperand(); in getPointerOffsetPair() 103 while (isa<BitCastInst>(POP.Pointer) || isa<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair() 104 if (auto *GEP = dyn_cast<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair() 111 POP.Pointer = GEP->getPointerOperand(); in getPointerOffsetPair() 112 } else if (auto *BC = dyn_cast<BitCastInst>(POP.Pointer)) { in getPointerOffsetPair() 113 POP.Pointer = BC->getOperand(0); in getPointerOffsetPair() 208 FirstLP.POP.Pointer->getType()->getPointerAddressSpace(); in combineLoads() 212 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads() 265 if (!POP.Pointer) in runOnBasicBlock() [all …]
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
D | sync_call_restrictions.cc | 45 SyncCallSettings* result = g_sync_call_settings.Pointer()->Get(); in current() 48 DCHECK_EQ(result, g_sync_call_settings.Pointer()->Get()); in current() 58 DCHECK(!g_sync_call_settings.Pointer()->Get()); in SyncCallSettings() 59 g_sync_call_settings.Pointer()->Set(this); in SyncCallSettings() 63 g_sync_call_settings.Pointer()->Set(nullptr); in ~SyncCallSettings()
|