/external/mesa3d/src/mesa/x86/ |
D | gen_matypes.c | 97 #define OFFSET( s, t, m ) \ macro 122 OFFSET( "CTX_LIGHT_ENABLED ", struct gl_context, Light.Enabled ); in main() 123 OFFSET( "CTX_LIGHT_SHADE_MODEL ", struct gl_context, Light.ShadeModel ); in main() 124 OFFSET( "CTX_LIGHT_COLOR_MAT_FACE ", struct gl_context, Light.ColorMaterialFace ); in main() 125 OFFSET( "CTX_LIGHT_COLOR_MAT_MODE ", struct gl_context, Light.ColorMaterialMode ); in main() 126 OFFSET( "CTX_LIGHT_COLOR_MAT_MASK ", struct gl_context, Light._ColorMaterialBitmask ); in main() 127 OFFSET( "CTX_LIGHT_COLOR_MAT_ENABLED ", struct gl_context, Light.ColorMaterialEnabled ); in main() 128 OFFSET( "CTX_LIGHT_ENABLED_LIGHTS ", struct gl_context, Light._EnabledLights ); in main() 129 OFFSET( "CTX_LIGHT_NEED_VERTS ", struct gl_context, Light._NeedVertices ); in main() 130 OFFSET( "CTX_LIGHT_BASE_COLOR ", struct gl_context, Light._BaseColor ); in main() [all …]
|
/external/libunwind/src/ia64/ |
D | mk_Gcursor_i.c | 36 #define OFFSET(sym, offset) \ macro 42 OFFSET("IP_OFF", offsetof (struct cursor, ip)); in main() 43 OFFSET("PR_OFF", offsetof (struct cursor, pr)); in main() 44 OFFSET("BSP_OFF", offsetof (struct cursor, bsp)); in main() 45 OFFSET("PSP_OFF", offsetof (struct cursor, psp)); in main() 46 OFFSET("PFS_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_PFS])); in main() 47 OFFSET("RNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_RNAT])); in main() 48 OFFSET("UNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_UNAT])); in main() 49 OFFSET("LC_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_LC])); in main() 50 OFFSET("FPSR_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_FPSR])); in main() [all …]
|
/external/swiftshader/src/Renderer/ |
D | QuadRasterizer.cpp | 50 constants = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,constants)); in generate() 56 Int yMin = *Pointer<Int>(primitive + OFFSET(Primitive,yMin)); in generate() 57 Int yMax = *Pointer<Int>(primitive + OFFSET(Primitive,yMax)); in generate() 76 UInt clusterOcclusion = *Pointer<UInt>(data + OFFSET(DrawData,occlusion) + 4 * cluster); in generate() 78 *Pointer<UInt>(data + OFFSET(DrawData,occlusion) + 4 * cluster) = clusterOcclusion; in generate() 86 *Pointer<Long>(data + OFFSET(DrawData,cycles[i]) + 8 * cluster) += cycles[i]; in generate() 103 …index] = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,colorBuffer[index])) + yMin * *Pointer<Int… in rasterize() 109 …zBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,depthBuffer)) + yMin * *Pointer<Int>(data… in rasterize() 114 …sBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,stencilBuffer)) + yMin * *Pointer<Int>(da… in rasterize() 121 …Int x0a = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->left) + (y + 0) * sizeof(Primi… in rasterize() [all …]
|
/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() 102 Pointer<Byte> input = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,input) + sizeof(void*) * i); in readInput() 103 UInt stride = *Pointer<UInt>(data + OFFSET(DrawData,stride) + sizeof(unsigned int) * i); in readInput() 120 …clipFlags = *Pointer<Int>(constants + OFFSET(Constants,maxX) + SignMask(maxX) * 4); // FIXME: Ar… in computeClipFlags() 121 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxY) + SignMask(maxY) * 4); in computeClipFlags() [all …]
|
D | SetupRoutine.cpp | 47 Pointer<Byte> constants = *Pointer<Pointer<Byte> >(data + OFFSET(DrawData,constants)); in generate() 55 const int V0 = OFFSET(Triangle,v0); in generate() 56 const int V1 = (triangle || line) ? OFFSET(Triangle,v1) : OFFSET(Triangle,v0); in generate() 57 …const int V2 = triangle ? OFFSET(Triangle,v2) : (line ? OFFSET(Triangle,v1) : OFFSET(Triangle,v0)); in generate() 68 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate() 69 X[1] = *Pointer<Int>(v1 + OFFSET(Vertex,X)); in generate() 70 X[2] = *Pointer<Int>(v2 + OFFSET(Vertex,X)); in generate() 72 Y[0] = *Pointer<Int>(v0 + OFFSET(Vertex,Y)); in generate() 73 Y[1] = *Pointer<Int>(v1 + OFFSET(Vertex,Y)); in generate() 74 Y[2] = *Pointer<Int>(v2 + OFFSET(Vertex,Y)); in generate() [all …]
|
D | PixelRoutine.cpp | 75 Float4 xxxx = Float4(Float(x)) + *Pointer<Float4>(primitive + OFFSET(Primitive,xQuad), 16); in quad() 85 x -= *Pointer<Float4>(constants + OFFSET(Constants,X) + q * sizeof(float4)); in quad() 88 …z[q] = interpolate(x, Dz[q], z[q], primitive + OFFSET(Primitive,z), false, false, state.depthClamp… in quad() 108 Float4 yyyy = Float4(Float(y)) + *Pointer<Float4>(primitive + OFFSET(Primitive,yQuad), 16); in quad() 120 XXXX += *Pointer<Float4>(constants + OFFSET(Constants,sampleX[q]) + 16 * cMask[q]); in quad() 121 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad() 122 WWWW += *Pointer<Float4>(constants + OFFSET(Constants,weight) + 16 * cMask[q]); in quad() 135 w = interpolate(xxxx, Dw, rhw, primitive + OFFSET(Primitive,w), false, false, false); in quad() 140 …rhwCentroid = reciprocal(interpolateCentroid(XXXX, YYYY, rhwCentroid, primitive + OFFSET(Primitive… in quad() 152 …ponent] = interpolate(xxxx, Dv[interpolant][component], rhw, primitive + OFFSET(Primitive, V[inter… in quad() [all …]
|
D | VertexPipeline.cpp | 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() 307 …diff.x = diff.y = diff.z = *Pointer<Float4>(data + OFFSET(DrawData,ff.materialDiffuse)); // FIXM… in pipeline() [all …]
|
D | SamplerCore.cpp | 512 Int baseLevel = *Pointer<Int>(texture + OFFSET(Texture, baseLevel)); in textureSize() 513 …Pointer<Byte> mipmap = texture + OFFSET(Texture, mipmap) + (As<Int>(Extract(lod, i)) + baseLevel) … in textureSize() 514 size.x = Insert(size.x, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, width)))), i); in textureSize() 515 size.y = Insert(size.y, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, height)))), i); in textureSize() 516 size.z = Insert(size.z, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth)))), i); in textureSize() 662 …c.x = (borderMask & c.x) | (~borderMask & (*Pointer<Short4>(texture + OFFSET(Texture,borderColor4[… in sampleFilter() 663 …c.y = (borderMask & c.y) | (~borderMask & (*Pointer<Short4>(texture + OFFSET(Texture,borderColor4[… in sampleFilter() 664 …c.z = (borderMask & c.z) | (~borderMask & (*Pointer<Short4>(texture + OFFSET(Texture,borderColor4[… in sampleFilter() 665 …c.w = (borderMask & c.w) | (~borderMask & (*Pointer<Short4>(texture + OFFSET(Texture,borderColor4[… in sampleFilter() 690 Float4 A = *Pointer<Float4>(constants + OFFSET(Constants,uvWeight) + 16 * a); in sampleAniso() [all …]
|
D | PixelPipeline.cpp | 344 Pointer<Byte> buffer = cBuffer[0] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[0])); in rasterOperation() 365 Pointer<Byte> buffer = cBuffer[0] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[0])); in rasterOperation() 399 constant.x = *Pointer<Short4>(data + OFFSET(DrawData, textureStage[stage].constantColor4[0])); in blendTexture() 400 constant.y = *Pointer<Short4>(data + OFFSET(DrawData, textureStage[stage].constantColor4[1])); in blendTexture() 401 constant.z = *Pointer<Short4>(data + OFFSET(DrawData, textureStage[stage].constantColor4[2])); in blendTexture() 402 constant.w = *Pointer<Short4>(data + OFFSET(DrawData, textureStage[stage].constantColor4[3])); in blendTexture() 412 tfactor.x = *Pointer<Short4>(data + OFFSET(DrawData, factor.textureFactor4[0])); in blendTexture() 413 tfactor.y = *Pointer<Short4>(data + OFFSET(DrawData, factor.textureFactor4[1])); in blendTexture() 414 tfactor.z = *Pointer<Short4>(data + OFFSET(DrawData, factor.textureFactor4[2])); in blendTexture() 415 tfactor.w = *Pointer<Short4>(data + OFFSET(DrawData, factor.textureFactor4[3])); in blendTexture() [all …]
|
/external/elfutils/tests/ |
D | run-readelf-vmcoreinfo.sh | 73 OFFSET(mem_section.section_mem_map)=0 80 OFFSET(page.flags)=0 81 OFFSET(page._count)=8 82 OFFSET(page.mapping)=24 83 OFFSET(page.lru)=40 84 OFFSET(pglist_data.node_zones)=0 85 OFFSET(pglist_data.nr_zones)=81472 86 OFFSET(pglist_data.node_start_pfn)=81496 87 OFFSET(pglist_data.node_spanned_pages)=81512 88 OFFSET(pglist_data.node_id)=81520 [all …]
|
/external/libunwind/src/mips/ |
D | getcontext-android.S | 32 # define OFFSET 4 macro 34 # define OFFSET 0 macro 37 sw $X, (LINUX_UC_MCONTEXT_GREGS + 8 * X + OFFSET) ($4); \ 39 sw $1, (LINUX_UC_MCONTEXT_GREGS + 8 * X + 4 - OFFSET) ($4) 42 sw $31, (LINUX_UC_MCONTEXT_PC + OFFSET) ($4); \ 44 sw $1, (LINUX_UC_MCONTEXT_PC + 4 - OFFSET) ($4)
|
D | getcontext.S | 33 # define OFFSET 4 macro 35 # define OFFSET 0 macro 38 sw $X, (LINUX_UC_MCONTEXT_GREGS + 8 * X + OFFSET) ($4); \ 40 sw $1, (LINUX_UC_MCONTEXT_GREGS + 8 * X + 4 - OFFSET) ($4) 43 sw $31, (LINUX_UC_MCONTEXT_PC + OFFSET) ($4); \ 45 sw $1, (LINUX_UC_MCONTEXT_PC + 4 - OFFSET) ($4)
|
/external/fec/ |
D | peaktest.c | 10 #define OFFSET 1 macro 30 rresult = peakval_port(&samples[OFFSET],NSAMP-OFFSET); in main() 31 result = peakval(&samples[OFFSET],NSAMP-OFFSET); in main()
|
D | sqtest.c | 8 #define OFFSET 1 macro 23 rresult = sumsq_wq(&samples[OFFSET],NSAMP-OFFSET); in main() 24 result = sumsq_wq(&samples[OFFSET],NSAMP-OFFSET); in main()
|
D | vtest615.c | 34 #define OFFSET (127.5) macro 122 symbols[6*i+0] = addnoise(parity(sr & V615POLYA),gain,Gain,OFFSET,CLIP); 123 symbols[6*i+1] = addnoise(parity(sr & V615POLYB),gain,Gain,OFFSET,CLIP); 124 symbols[6*i+2] = addnoise(parity(sr & V615POLYC),gain,Gain,OFFSET,CLIP); 125 symbols[6*i+3] = addnoise(parity(sr & V615POLYD),gain,Gain,OFFSET,CLIP); 126 symbols[6*i+4] = addnoise(parity(sr & V615POLYE),gain,Gain,OFFSET,CLIP); 127 symbols[6*i+5] = addnoise(parity(sr & V615POLYF),gain,Gain,OFFSET,CLIP);
|
/external/clang/test/CodeGenObjC/ |
D | arc-property.m | 26 // CHECK: [[OFFSET:%.*]] = load i64, i64* @"OBJC_IVAR_$_Test1.pointer" 28 // CHECK-NEXT: [[T1:%.*]] = getelementptr inbounds i8, i8* [[T0]], i64 [[OFFSET]] 36 // CHECK-NEXT: [[OFFSET:%.*]] = load i64, i64* @"OBJC_IVAR_$_Test1.pointer" 39 // CHECK-NEXT: call void @objc_setProperty(i8* [[T0]], i8* {{%.*}}, i64 [[OFFSET]], i8* [[T2]], i1 … 61 // CHECK-NEXT: [[OFFSET:%.*]] = load i64, i64* @"OBJC_IVAR_$_Test2._theClass" 63 // CHECK-NEXT: [[T3:%.*]] = getelementptr inbounds i8, i8* [[T2]], i64 [[OFFSET]] 69 // CHECK: [[OFFSET:%.*]] = load i64, i64* @"OBJC_IVAR_$_Test2._theClass" 70 // CHECK-NEXT: [[T0:%.*]] = tail call i8* @objc_getProperty(i8* {{.*}}, i8* {{.*}}, i64 [[OFFSET]],… 75 // CHECK-NEXT: [[OFFSET:%.*]] = load i64, i64* @"OBJC_IVAR_$_Test2._theClass" 77 // CHECK-NEXT: call void @objc_setProperty(i8* [[T0]], i8* {{%.*}}, i64 [[OFFSET]], i8* [[T1]], i1 … [all …]
|
/external/llvm/test/Instrumentation/AddressSanitizer/ |
D | scale-offset.ll | 3 …%s -asan -asan-module -asan-mapping-offset 0xdeadbeef -S | FileCheck --check-prefix=CHECK-OFFSET %s 13 ; CHECK-OFFSET-LABEL: @read_offset 14 ; CHECK-OFFSET-NOT: ret 15 ; CHECK-OFFSET: lshr {{.*}} 3 16 ; CHECK-OFFSET-NEXT: add{{.*}}3735928559 17 ; CHECK-OFFSET: ret
|
/external/llvm/test/CodeGen/PowerPC/ |
D | fast-isel-conversion-p5.ll | 10 ; ELF64: std {{[0-9]+}}, -[[OFFSET:[0-9]+]](1) 11 ; ELF64: lfd {{[0-9]+}}, -[[OFFSET]](1) 22 ; ELF64: std {{[0-9]+}}, -[[OFFSET:[0-9]+]](1) 23 ; ELF64: lfd {{[0-9]+}}, -[[OFFSET]](1) 35 ; ELF64: std {{[0-9]+}}, -[[OFFSET:[0-9]+]](1) 36 ; ELF64: lfd {{[0-9]+}}, -[[OFFSET]](1) 48 ; ELF64: std {{[0-9]+}}, -[[OFFSET:[0-9]+]](1) 49 ; ELF64: lfd {{[0-9]+}}, -[[OFFSET]](1)
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | smrd.ll | 31 ; SI: s_movk_i32 s[[OFFSET:[0-9]]], 0x400 32 ; SI: s_load_dword s{{[0-9]}}, s[{{[0-9]:[0-9]}}], s[[OFFSET]] ; encoding: [0x0[[OFFSET]] 61 ; SI: s_mov_b32 [[OFFSET:s[0-9]+]], 0xffffc 62 ; SI: s_load_dword s{{[0-9]}}, s[{{[0-9]:[0-9]}}], [[OFFSET]] 75 ; SIVI: s_mov_b32 [[OFFSET:s[0-9]+]], 0x100000 76 ; SIVI: s_load_dword s{{[0-9]}}, s[{{[0-9]:[0-9]}}], [[OFFSET]] 117 ; SI: s_movk_i32 s[[OFFSET:[0-9]]], 0x400 118 ; SI: s_buffer_load_dword s{{[0-9]}}, s[{{[0-9]:[0-9]}}], s[[OFFSET]] ; encoding: [0x0[[OFFSET]] 132 ; SI: s_mov_b32 [[OFFSET:s[0-9]+]], 0xffffc 133 ; SI: s_buffer_load_dword s{{[0-9]}}, s[{{[0-9]:[0-9]}}], [[OFFSET]] [all …]
|
D | scratch-buffer.ll | 12 ; GCN: v_mov_b32_e32 [[OFFSET:v[0-9]+]], 0{{$}} 13 ; GCN: buffer_store_dword v{{[0-9]+}}, [[OFFSET]], s[{{[0-9]+}}:{{[0-9]+}}], s{{[0-9]+}} offen 14 ; GCN: v_mov_b32_e32 [[OFFSET]], 0x8000 15 ; GCN: buffer_store_dword v{{[0-9]+}}, [[OFFSET]], s[{{[0-9]+}}:{{[0-9]+}}], s{{[0-9]+}} offen{{$}} 52 ; GCN: v_add_i32_e32 [[OFFSET:v[0-9]+]], vcc, 0x8000 53 ; GCN: buffer_store_dword v{{[0-9]+}}, [[OFFSET]], s[{{[0-9]+}}:{{[0-9]+}}], s{{[0-9]+}} offen{{$}}
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
D | 7-1.c | 30 #define OFFSET 0x7 macro 70 stack_addr = stack_addr + OFFSET; in main() 78 stack_addr = stack_addr + OFFSET; in main() 79 stack_size = PTHREAD_STACK_MIN + OFFSET; in main()
|
/external/libopus/silk/ |
D | gain_quant.c | 34 #define OFFSET ( ( MIN_QGAIN_DB * 128 ) / 6 + 16 * 128 ) macro 51 ind[ k ] = silk_SMULWB( SCALE_Q16, silk_lin2log( gain_Q16[ k ] ) - OFFSET ); in silk_gains_quant() 89 …gain_Q16[ k ] = silk_log2lin( silk_min_32( silk_SMULWB( INV_SCALE_Q16, *prev_ind ) + OFFSET, 3967 … in silk_gains_quant() 123 …gain_Q16[ k ] = silk_log2lin( silk_min_32( silk_SMULWB( INV_SCALE_Q16, *prev_ind ) + OFFSET, 3967 … in silk_gains_dequant()
|
/external/skia/src/gpu/ |
D | GrProgramDesc.h | 129 template<typename T, size_t OFFSET> T* atOffset() { in atOffset() 130 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset() 133 template<typename T, size_t OFFSET> const T* atOffset() const { in atOffset() 134 return reinterpret_cast<const T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset()
|
/external/skqp/src/gpu/ |
D | GrProgramDesc.h | 132 template<typename T, size_t OFFSET> T* atOffset() { in atOffset() 133 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset() 136 template<typename T, size_t OFFSET> const T* atOffset() const { in atOffset() 137 return reinterpret_cast<const T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset()
|
/external/llvm/test/CodeGen/X86/ |
D | extractelement-legalization-cycle.ll | 12 ; CHECK: movaps %xmm0, -[[OFFSET:[0-9]+]](%rsp) 13 ; CHECK: movss -[[OFFSET]](%rsp,{{.*}}), %xmm0 {{.*}}
|