Home
last modified time | relevance | path

Searched refs:instanceCount (Results 1 – 25 of 80) sorted by relevance

1234

/external/guice/core/test/com/google/inject/
DEagerSingletonTest.java27 A.instanceCount = 0; in setUp()
28 B.instanceCount = 0; in setUp()
29 C.instanceCount = 0; in setUp()
47 assertEquals(1, A.instanceCount); in testJustInTimeEagerSingletons()
49 0, B.instanceCount); in testJustInTimeEagerSingletons()
50 assertEquals(1, C.instanceCount); in testJustInTimeEagerSingletons()
56 assertEquals(0, B.instanceCount); in testJustInTimeSingletonsAreNotEager()
67 assertEquals(1, C.instanceCount); in testChildEagerSingletons()
72 static int instanceCount = 0; field in EagerSingletonTest.A
73 int instanceId = instanceCount++;
[all …]
/external/v8/tools/clang/rewrite_to_chrome_style/tests/
Dfields-original.cc17 return instanceCount + m_flagField + m_fieldMentioningHTTPAndHTTPS; in method()
21 static int instanceCount; member in blink::C
48 int C::instanceCount = 0; member in blink::C
149 blink::C::instanceCount++; in F()
/external/skia/src/gpu/
DGrMesh.h103 int instanceCount, in initInstanced() argument
107 SkASSERT(instanceCount); in initInstanced()
118 fInstanceCount = instanceCount; in initInstanced()
119 fVertexCount = instanceCount * fVerticesPerInstance; in initInstanced()
120 fIndexCount = instanceCount * fIndicesPerInstance; in initInstanced()
128 int instanceCount() const { return fInstanceCount; } in instanceCount() function
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp210 void prepareVertexData (int instanceCount, int firstInstance);
455 const deUint32 instanceCount = instanceCounts[instanceCountNdx]; in iterate() local
460 prepareVertexData(instanceCount, firstInstance); in iterate()
510 const float pushConstants[] = { (float)firstInstance, (float)instanceCount }; in iterate()
518 m_vk.cmdDraw(*m_cmdBuffer, (deUint32)m_data.size(), instanceCount, 0u, firstInstance); in iterate()
522 …m_vk.cmdDrawIndexed(*m_cmdBuffer, (deUint32)m_indexes.size(), instanceCount, 0u, 0u, firstInstance… in iterate()
530 instanceCount, // uint32_t instanceCount; in iterate()
546 instanceCount, // uint32_t instanceCount; in iterate()
595 const TestVertShader vertShader(instanceCount, firstInstance); in iterate()
615 renderer.drawInstanced(command, instanceCount); in iterate()
[all …]
/external/skia/src/gpu/instanced/
DGLInstancedRendering.cpp165 int instanceCount = 0; in onBeginFlush() local
170 glMappedInstances[glInstancesIdx + instanceCount++] = draw->fInstance; in onBeginFlush()
177 glCmd.fInstanceCount = instanceCount; in onBeginFlush()
186 cmdInfo.fInstanceCount = instanceCount; in onBeginFlush()
189 glInstancesIdx += instanceCount; in onBeginFlush()
/external/skia/src/gpu/ops/
DGrNonAAFillRectOp.cpp133 int instanceCount = fRects.count(); in onPrepareDraws() local
139 kVertsPerInstance, kIndicesPerInstance, instanceCount); in onPrepareDraws()
145 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
DGrNonAAFillRectPerspectiveOp.cpp158 int instanceCount = fRects.count(); in onPrepareDraws() local
164 kVertsPerInstance, kIndicesPerInstance, instanceCount); in onPrepareDraws()
170 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
DGrDefaultPathRenderer.cpp161 int instanceCount = fPaths.count(); in onPrepareDraws() local
167 bool isIndexed = instanceCount > 1; in onPrepareDraws()
168 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
230 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
DGrAnalyticRectOp.cpp294 int instanceCount = fGeoData.count(); in onPrepareDraws() local
299 reinterpret_cast<RectVertex*>(helper.init(target, vertexStride, instanceCount)); in onPrepareDraws()
304 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
DGrDrawAtlasOp.cpp49 int instanceCount = fGeoData.count(); in onPrepareDraws() local
63 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
DGrOvalOpFactory.cpp841 int instanceCount = fGeoData.count(); in onPrepareDraws() local
866 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
1281 int instanceCount = fGeoData.count(); in onPrepareDraws() local
1286 reinterpret_cast<EllipseVertex*>(helper.init(target, vertexStride, instanceCount)); in onPrepareDraws()
1291 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
1491 int instanceCount = fGeoData.count(); in onPrepareDraws() local
1496 helper.init(target, vertexStride, instanceCount)); in onPrepareDraws()
1501 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
1890 int instanceCount = fGeoData.count(); in onPrepareDraws() local
1913 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
[all …]
DGrAAStrokeRectOp.cpp261 int instanceCount = fRects.count(); in onPrepareDraws() local
268 verticesPerInstance, indicesPerInstance, instanceCount); in onPrepareDraws()
274 for (int i = 0; i < instanceCount; i++) { in onPrepareDraws()
/external/harfbuzz_ng/src/
Dhb-ot-var-fvar-table.hh100 axisCount * axisSize + instanceCount * instanceSize)); in sanitize()
196 USHORT instanceCount; /* The number of named instances defined in the font member
/external/pdfium/third_party/freetype/src/truetype/
Dttgxvar.c669 FT_UShort instanceCount; member
736 FT_FRAME_USHORT( instanceCount ), in TT_Get_MM_Var()
798 fvar_head.instanceCount > 0x7EFF || in TT_Get_MM_Var()
800 fvar_head.instanceCount * fvar_head.instanceSize > table_len ) in TT_Get_MM_Var()
819 fvar_head.instanceCount * sizeof ( FT_Var_Named_Style ) + in TT_Get_MM_Var()
820 fvar_head.instanceCount * fvar_head.axisCount * sizeof ( FT_Fixed ) + in TT_Get_MM_Var()
837 fvar_head.instanceCount; in TT_Get_MM_Var()
844 (FT_Fixed*)&( mmvar->namedstyle[fvar_head.instanceCount] ); in TT_Get_MM_Var()
845 for ( i = 0; i < fvar_head.instanceCount; i++ ) in TT_Get_MM_Var()
895 for ( i = 0; i < fvar_head.instanceCount; i++, ns++ ) in TT_Get_MM_Var()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl350 …Command makeDrawIndexedIndirectCommand (deUint32 indexCount, deUint32 instanceCount, deUint32 firs… argument
354 res.instanceCount = instanceCount;
361 inline VkDrawIndirectCommand makeDrawIndirectCommand (deUint32 vertexCount, deUint32 instanceCount,… argument
365 res.instanceCount = instanceCount;
/external/deqp/modules/glshared/
DglsDrawTest.cpp1762 …indexType, const void* indexOffset, int rangeStart, int rangeEnd, int instanceCount, int indirectO…
1841 …indexType, const void* indexOffset, int rangeStart, int rangeEnd, int instanceCount, int indirectO… in render() argument
1885 m_ctx.drawArraysInstanced(primitiveToGL(primitive), firstVertex, vertexCount, instanceCount); in render()
1900 …anced(primitiveToGL(primitive), vertexCount, indexTypeToGL(indexType), indexOffset, instanceCount); in render()
1918 command.primCount = instanceCount; in render()
1967 command.primCount = instanceCount; in render()
2006 …iveToGL(primitive), vertexCount, indexTypeToGL(indexType), indexOffset, instanceCount, baseVertex); in render()
2472 name << "instances" << instanceCount << "_"; in getName()
2560 << "instance count " << instanceCount << ", "; in getDesc()
2587 << "instance count " << instanceCount << ", "; in getDesc()
[all …]
/external/deqp/modules/gles3/functional/
Des3fDrawTests.cpp71 spec.instanceCount = 1; in addTestIterations()
74 spec.instanceCount = 4; in addTestIterations()
77 spec.instanceCount = 11; in addTestIterations()
114 spec.instanceCount = 1; in genBasicSpec()
192 spec.instanceCount = 1; in init()
227 spec.instanceCount = 1; in init()
273 spec.instanceCount = 1; in init()
333 spec.instanceCount = 1; in init()
1042 …spec.instanceCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(instan… in init()
/external/deqp/framework/opengl/simplereference/
DsglrGLContext.hpp190 virtual void drawArraysInstanced (deUint32 mode, int first, int count, int instanceCount);
192 …lementsInstanced (deUint32 mode, int count, deUint32 type, const void *indices, int instanceCount);
194 …ex (deUint32 mode, int count, deUint32 type, const void *indices, int instanceCount, int baseVerte…
DsglrContext.hpp178 …virtual void drawArraysInstanced (deUint32 mode, int first, int count, int instanceCount) …
180 …ced (deUint32 mode, int count, deUint32 type, const void *indices, int instanceCount) = DE_NULL;
182 …ex (deUint32 mode, int count, deUint32 type, const void *indices, int instanceCount, int baseVerte…
DsglrGLContext.cpp790 void GLContext::drawArraysInstanced (deUint32 mode, int first, int count, int instanceCount) in drawArraysInstanced() argument
792 m_wrapper->glDrawArraysInstanced(mode, first, count, instanceCount); in drawArraysInstanced()
800 …ElementsInstanced (deUint32 mode, int count, deUint32 type, const void *indices, int instanceCount) in drawElementsInstanced() argument
802 m_wrapper->glDrawElementsInstanced(mode, count, type, indices, instanceCount); in drawElementsInstanced()
810 …ex (deUint32 mode, int count, deUint32 type, const void *indices, int instanceCount, int baseVerte… in drawElementsInstancedBaseVertex() argument
812 …m_wrapper->glDrawElementsInstancedBaseVertex(mode, count, type, indices, instanceCount, baseVertex… in drawElementsInstancedBaseVertex()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp229 uint32_t instanceCount, in drawIndexed() argument
237 instanceCount, in drawIndexed()
245 uint32_t instanceCount, in draw() argument
252 instanceCount, in draw()
DGrVkCommandBuffer.h117 uint32_t instanceCount,
124 uint32_t instanceCount,
/external/deqp/modules/gles2/functional/
Des2fDrawTests.cpp83 spec.instanceCount = 1; in genBasicSpec()
156 spec.instanceCount = 1; in init()
191 spec.instanceCount = 1; in init()
237 spec.instanceCount = 1; in init()
607 spec.instanceCount = 0; in init()
/external/swiftshader/src/OpenGL/libGLESv2/
Dmain.cpp200 void DrawArraysInstancedEXT(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount);
201 …sInstancedEXT(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount);
203 void DrawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount);
204 …nstancedANGLE(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount);
609 …L_APIENTRY glDrawArraysInstancedEXT(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount) in glDrawArraysInstancedEXT() argument
611 return es2::DrawArraysInstancedEXT(mode, first, count, instanceCount); in glDrawArraysInstancedEXT()
614 …tsInstancedEXT(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount) in glDrawElementsInstancedEXT() argument
616 return es2::DrawElementsInstancedEXT(mode, count, type, indices, instanceCount); in glDrawElementsInstancedEXT()
624 …APIENTRY glDrawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount) in glDrawArraysInstancedANGLE() argument
626 return es2::DrawArraysInstancedANGLE(mode, first, count, instanceCount); in glDrawArraysInstancedANGLE()
[all …]
DlibGLESv2.hpp89 void (*glDrawArraysInstancedEXT)(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount);
90 …InstancedEXT)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount);
92 void (*glDrawArraysInstancedANGLE)(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount);
93 …stancedANGLE)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount);

1234