Home
last modified time | relevance | path

Searched refs:m_state (Results 1 – 25 of 52) sorted by relevance

123

/third_party/vk-gl-cts/framework/delibs/decpp/
DdeSharedPtr.hpp152 SharedPtrStateBase* m_state; member in de::SharedPtr
192 SharedPtrStateBase* m_state; member in de::WeakPtr
205 , m_state (DE_NULL) in SharedPtr()
222 , m_state (DE_NULL) in SharedPtr()
227 m_state = new SharedPtrState<T, DefaultDeleter<T> >(ptr, DefaultDeleter<T>()); in SharedPtr()
228 m_state->strongRefCount = 1; in SharedPtr()
229 m_state->weakRefCount = 1; in SharedPtr()
234 delete m_state; in SharedPtr()
258 , m_state (DE_NULL) in SharedPtr()
263 m_state = new SharedPtrState<T, Deleter>(ptr, deleter); in SharedPtr()
[all …]
/third_party/vk-gl-cts/framework/xexml/
DxeXMLParser.cpp60 , m_state (STATE_DATA) in Tokenizer()
73 m_state = STATE_DATA; in clear()
121 m_state = STATE_DATA; in advance()
143 if (m_state == STATE_DATA) in advance()
149 m_state = STATE_TAG; in advance()
151 m_state = STATE_ENTITY; in advance()
166 DE_ASSERT(m_state == STATE_TAG || m_state == STATE_ENTITY); in advance()
196 m_state = STATE_VALUE; in advance()
198 m_state = STATE_IDENTIFIER; in advance()
200 m_state = STATE_TAG; in advance()
[all …]
DxeXMLParser.hpp131 State m_state; //!< Tokenization state. member in xe::xml::Tokenizer
196 State m_state; member in xe::xml::Parser
224 if (m_state != STATE_ENTITY) in getDataSize()
232 if (m_state != STATE_ENTITY) in getDataByte()
240 if (m_state != STATE_ENTITY) in getDataStr()
248 if (m_state != STATE_ENTITY) in appendDataStr()
/third_party/vk-gl-cts/executor/
DxeTcpIpLink.cpp78 : m_state (initialState) in TcpIpLinkState()
96 return m_state; in getState()
104 return m_state; in getState()
125 m_state = state; in setState()
180 , m_state (state) in TcpIpSendThread()
247 m_state.setState(COMMLINKSTATE_ERROR, e.what()); in run()
265 , m_state (state) in TcpIpRecvThread()
346 m_state.setState(COMMLINKSTATE_ERROR, e.what()); in run()
367 m_state.onKeepaliveReceived(); in handleMessage()
371 …XE_CHECK_MSG(m_state.getState() == COMMLINKSTATE_TEST_PROCESS_LAUNCHING, "Unexpected PROCESS_START… in handleMessage()
[all …]
DxeXMLWriter.cpp131 , m_state (STATE_DATA) in Writer()
141 if (m_state == STATE_ELEMENT) in operator <<()
144 if (m_state == STATE_ELEMENT || m_state == STATE_ELEMENT_END) in operator <<()
154 m_state = STATE_ELEMENT; in operator <<()
161 DE_ASSERT(m_state == STATE_ELEMENT); in operator <<()
171 if (m_state == STATE_ELEMENT) in operator <<()
175 if (m_state == STATE_ELEMENT_END) in operator <<()
186 m_state = STATE_ELEMENT_END; in operator <<()
DxeContainerFormatParser.cpp43 , m_state (STATE_AT_LINE_START) in ContainerFormatParser()
56 m_state = STATE_AT_LINE_START; in clear()
150 else if (m_state == STATE_CONTAINER_LINE) in advance()
159 if (m_elementLen > 0 && m_state == STATE_DATA) in advance()
170 if (m_state == STATE_CONTAINER_LINE) in advance()
175 m_state = STATE_AT_LINE_START; in advance()
180 else if (m_state == STATE_AT_LINE_START) in advance()
183 m_state = (curChar == '#') ? STATE_CONTAINER_LINE : STATE_DATA; in advance()
DxeBatchExecutor.cpp165 , m_state (STATE_NOT_STARTED) in BatchExecutor()
176 XE_CHECK(m_state == STATE_NOT_STARTED); in run()
208 m_state = STATE_STARTED; in run()
211 m_state = STATE_FINISHED; in run()
214 while (m_state != STATE_FINISHED) in run()
229 m_state = STATE_FINISHED; in cancel()
267 m_state = STATE_FINISHED; in onStateChanged()
274 m_state = STATE_FINISHED; in onStateChanged()
279 m_state = STATE_FINISHED; in onStateChanged()
DxeTcpIpLink.hpp60 volatile CommLinkState m_state; member in xe::TcpIpLinkState
87 TcpIpLinkState& m_state; member in xe::TcpIpSendThread
110 TcpIpLinkState& m_state; member in xe::TcpIpRecvThread
145 TcpIpLinkState m_state; member in xe::TcpIpLink
DxeXMLWriter.hpp97 State m_state; member in xe::xml::Writer
104 if (m_state == STATE_ELEMENT) in operator <<()
108 m_state = STATE_DATA; in operator <<()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgExpressionGenerator.cpp30 : m_state(state) in ExpressionGenerator()
41 m_state.setExpressionDepth(initialDepth); in generate()
42 Expression* root = Expression::createRandom(m_state, valueRange); in generate()
65 m_state.setExpressionDepth(m_state.getExpressionDepth()+1); in generate()
70 DE_ASSERT(m_state.getExpressionDepth() <= m_state.getShaderParameters().maxExpressionDepth); in generate()
73 Expression* child = curExpr->createNextChild(m_state); in generate()
78 m_state.setExpressionDepth(m_state.getExpressionDepth()+1); in generate()
83 m_state.setExpressionDepth(m_state.getExpressionDepth()-1); in generate()
DrsgShaderGenerator.cpp40 : m_state (state) in ShaderGenerator()
180 m_state.setShader(shaderParams, shader); in generate()
181 DE_ASSERT(m_state.getExpressionFlags() == 0); in generate()
186 m_state.getVariableManager().reserve(reservedScalars, 4*2); in generate()
197 …Variable* variable = m_state.getVariableManager().allocate(input->getVariable()->getType(), Vari… in generate()
199 m_state.getVariableManager().setValue(variable, input->getValueRange()); in generate()
206 …lorVar = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable… in generate()
214 m_state.getVariableManager().setValue(fragColorVar, valueRange.asAccess()); in generate()
225 FunctionGenerator funcGen(m_state, main); in generate()
241 genVertexPassthrough(m_state, shader); in generate()
[all …]
DrsgFunctionGenerator.cpp33 : m_state (state) in FunctionGenerator()
47 m_state.setStatementStack(statementStack); in generate()
49 m_function.getBody().init(m_state); in generate()
54 DE_ASSERT((int)statementStack.size() <= m_state.getShaderParameters().maxStatementDepth); in generate()
57 Statement* childStatement = curStatement->createNextChild(m_state); in generate()
69 const ValueEntry* entry = m_state.getVariableManager().getValue(variable); in generate()
76 m_state.getVariableManager().removeValueFromCurrentScope(variable); in generate()
79 m_function.getBody().addChild(new AssignStatement(m_state, variable, valueRange.asAccess())); in generate()
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidWindow.cpp37 , m_state (STATE_AVAILABLE) in Window()
61 if (m_state == STATE_AVAILABLE) in tryAcquire()
63 m_state = STATE_IN_USE; in tryAcquire()
74 if (m_state == STATE_IN_USE) in release()
79 m_state = STATE_AVAILABLE; in release()
81 else if (m_state == STATE_PENDING_DESTROY) in release()
82 m_state = STATE_READY_FOR_DESTROY; in release()
91 if (m_state == STATE_AVAILABLE) in markForDestroy()
92 m_state = STATE_READY_FOR_DESTROY; in markForDestroy()
93 else if (m_state == STATE_IN_USE) in markForDestroy()
[all …]
/third_party/vk-gl-cts/execserver/
DxsTestDriver.cpp44 : m_state (STATE_NOT_STARTED) in TestDriver()
61 m_state = STATE_NOT_STARTED; in reset()
69 m_state = STATE_PROCESS_STARTED; in startProcess()
74 m_state = STATE_PROCESS_LAUNCH_FAILED; in startProcess()
86 switch (m_state) in poll()
95 m_state = STATE_NOT_STARTED; in poll()
106 m_state = STATE_PROCESS_RUNNING; in poll()
127 m_state = STATE_READING_DATA; in poll()
155 m_state = STATE_PROCESS_FINISHED; in poll()
169 m_state = STATE_NOT_STARTED; in poll()
DxsWin32TestProcess.cpp393 : m_state (STATE_NOT_STARTED) in Process()
502 if (m_state == STATE_RUNNING) in start()
504 else if (m_state == STATE_FINISHED) in start()
508 m_state = STATE_NOT_STARTED; in start()
565 m_state = STATE_RUNNING; in start()
570 if (m_state == STATE_RUNNING) in isRunning()
584 m_state = STATE_FINISHED; in isRunning()
594 if (m_state == STATE_RUNNING) in waitForFinish()
608 if (m_state == STATE_RUNNING) in stopProcess()
/third_party/vk-gl-cts/framework/platform/ios/
DtcuIOSApp.mm78 State m_state;
83 : m_state(STATE_NOT_RUNNING)
95 TCU_CHECK(m_state == STATE_NOT_RUNNING);
98 m_state = STATE_RUNNING;
105 if (m_state != STATE_NOT_RUNNING)
106 m_state = STATE_STOP_REQUESTED;
112 m_state = STATE_NOT_RUNNING;
118 return m_state;
140 TestThreadState& m_state;
147 : m_state (state)
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsCalibration.cpp213 , m_state (INTERNALSTATE_LAST) in TheilSenCalibrator()
220 , m_state (INTERNALSTATE_LAST) in TheilSenCalibrator()
233 m_state = INTERNALSTATE_CALIBRATING; in clear()
244 if (m_state == INTERNALSTATE_FINISHED) in getState()
248 DE_ASSERT(m_state == INTERNALSTATE_CALIBRATING || !m_measureState.isDone()); in getState()
255 …DE_ASSERT((m_state == INTERNALSTATE_CALIBRATING || m_state == INTERNALSTATE_RUNNING) && !m_measure… in recordIteration()
258 if (m_state == INTERNALSTATE_RUNNING && m_measureState.isDone()) in recordIteration()
259 m_state = INTERNALSTATE_FINISHED; in recordIteration()
264 DE_ASSERT(m_state == INTERNALSTATE_CALIBRATING); in recomputeParameters()
334 m_state = INTERNALSTATE_RUNNING; in recomputeParameters()
[all …]
DglsShaderPerformanceMeasurer.cpp127 , m_state(STATE_UNINITIALIZED) in ShaderPerformanceMeasurer()
144 DE_ASSERT(m_state == STATE_UNINITIALIZED); in init()
228 m_state = STATE_MEASURING; in init()
257 m_state = STATE_UNINITIALIZED; in deinit()
273 DE_ASSERT(m_state == STATE_MEASURING); in iterate()
313 m_state = STATE_FINISHED; in iterate()
319 DE_ASSERT(m_state == STATE_FINISHED); in logMeasurementInfo()
343 DE_ASSERT(m_state == STATE_UNINITIALIZED); in setGridSize()
351 DE_ASSERT(m_state == STATE_UNINITIALIZED); in setViewportSize()
DglsShaderPerformanceMeasurer.hpp85 bool isFinished (void) const { return m_state == STATE_FINISHED; } in isFinished()
86 …Result getResult (void) const { DE_ASSERT(m_state == STATE_FINISHED); return m_resu… in getResult()
97 …int getFinalCallCount (void) const { DE_ASSERT(m_state == STATE_FINISHED); return m_cali… in getFinalCallCount()
117 State m_state; member in deqp::gls::ShaderPerformanceMeasurer
/third_party/vk-gl-cts/framework/common/
DtcuTestHierarchyIterator.hpp145 , m_state (NISTATE_LAST) in NodeIter()
152 , m_state (NISTATE_INIT) in NodeIter()
158 return m_state; in getState()
173 m_state = newState; in setState()
181 State m_state; member
/third_party/python/Modules/
D_testmultiphase.c174 meth_state *m_state = PyType_GetModuleState(cls); in _testmultiphase_StateAccessType_increment_count_clinic_impl() local
178 m_state->counter += n; in _testmultiphase_StateAccessType_increment_count_clinic_impl()
223 meth_state *m_state = PyType_GetModuleState(defining_class); in _StateAccessType_increment_count_noclinic() local
224 m_state->counter += n; in _StateAccessType_increment_count_noclinic()
242 meth_state *m_state = PyType_GetModuleState(cls); in _testmultiphase_StateAccessType_get_count_impl() local
243 return PyLong_FromLong(m_state->counter); in _testmultiphase_StateAccessType_get_count_impl()
807 meth_state *m_state; in meth_state_access_exec() local
809 m_state = PyModule_GetState(m); in meth_state_access_exec()
810 if (m_state == NULL) { in meth_state_access_exec()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fCopyImageTests.cpp1875 State* m_state; member in deqp::gles31::Functional::__anon267c1bf40111::CopyImageTest
1888 , m_state (NULL) in CopyImageTest()
1944 m_state = new State(builder.get(), m_testCtx.getLog(), rc); in init()
1950 delete m_state; in deinit()
1951 m_state = NULL; in deinit()
1967 de::Random& rng = m_state->rng; in createImagesIter()
1969 DE_ASSERT(!m_state->srcImage); in createImagesIter()
1970 DE_ASSERT(!m_state->dstImage); in createImagesIter()
1972 m_state->srcImage = new glu::ObjectWrapper(gl, getObjectTraits(m_srcImageInfo)); in createImagesIter()
1973 m_state->dstImage = new glu::ObjectWrapper(gl, getObjectTraits(m_dstImageInfo)); in createImagesIter()
[all …]
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pShaderOptimizationTests.cpp174 , m_state (STATE_LAST) in ShaderOptimizationCase()
209 State m_state; member in deqp::gles3::Performance::__anona5b59fdb0111::ShaderOptimizationCase
248 m_state = STATE_INIT_UNOPTIMIZED; in init()
255 if (m_state == STATE_INIT_UNOPTIMIZED || m_state == STATE_INIT_OPTIMIZED) in iterate()
257 const bool optimized = m_state == STATE_INIT_OPTIMIZED; in iterate()
259 m_state = optimized ? STATE_MEASURE_OPTIMIZED : STATE_MEASURE_UNOPTIMIZED; in iterate()
263 else if (m_state == STATE_MEASURE_UNOPTIMIZED || m_state == STATE_MEASURE_OPTIMIZED) in iterate()
269 const bool optimized = m_state == STATE_MEASURE_OPTIMIZED; in iterate()
275 m_state = optimized ? STATE_FINISHED : STATE_INIT_OPTIMIZED; in iterate()
282 DE_ASSERT(m_state == STATE_FINISHED); in iterate()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pShaderOptimizationTests.cpp171 , m_state (STATE_LAST) in ShaderOptimizationCase()
206 State m_state; member in deqp::gles2::Performance::__anon213ce6d90111::ShaderOptimizationCase
245 m_state = STATE_INIT_UNOPTIMIZED; in init()
252 if (m_state == STATE_INIT_UNOPTIMIZED || m_state == STATE_INIT_OPTIMIZED) in iterate()
254 const bool optimized = m_state == STATE_INIT_OPTIMIZED; in iterate()
256 m_state = optimized ? STATE_MEASURE_OPTIMIZED : STATE_MEASURE_UNOPTIMIZED; in iterate()
260 else if (m_state == STATE_MEASURE_UNOPTIMIZED || m_state == STATE_MEASURE_OPTIMIZED) in iterate()
266 const bool optimized = m_state == STATE_MEASURE_OPTIMIZED; in iterate()
272 m_state = optimized ? STATE_FINISHED : STATE_INIT_OPTIMIZED; in iterate()
279 DE_ASSERT(m_state == STATE_FINISHED); in iterate()
Des2pDrawCallBatchingTests.cpp102 State m_state; member in deqp::gles2::Performance::__anonba2b73e50111::DrawCallBatchingTest
151 , m_state (STATE_LOG_INFO) in DrawCallBatchingTest()
845 if (m_state == STATE_LOG_INFO) in iterate()
848 m_state = STATE_WARMUP_BATCHED; in iterate()
850 else if (m_state == STATE_WARMUP_BATCHED) in iterate()
853 m_state = STATE_WARMUP_UNBATCHED; in iterate()
855 else if (m_state == STATE_WARMUP_UNBATCHED) in iterate()
858 m_state = STATE_SAMPLE; in iterate()
860 else if (m_state == STATE_SAMPLE) in iterate()
867 m_state = STATE_CALC_CALIBRATION; in iterate()
[all …]

123