Lines Matching refs:pStat

195     rtl_FuncState* pStat = NULL;                   /* status structure */  in rtl_tres_create_funcstate()  local
198 pStat = (rtl_FuncState*) malloc( sizeof( struct _rtl_FuncState ) ); in rtl_tres_create_funcstate()
200 if ( pStat ) in rtl_tres_create_funcstate()
202 pStat->m_next = pStat; /* init ptr to next struct */ in rtl_tres_create_funcstate()
203 pStat->m_prev = pStat; /* init ptr to prev struct */ in rtl_tres_create_funcstate()
205 pStat->m_name = NULL; /* init name */ in rtl_tres_create_funcstate()
206 pStat->m_flags = 0; /* init flags */ in rtl_tres_create_funcstate()
207 pStat->m_start = rtl_tres_timer(); /* init start milliseconds */ in rtl_tres_create_funcstate()
208 pStat->m_stop = 0; /* init stop milliseconds */ in rtl_tres_create_funcstate()
209 pStat->m_cmp = NULL; /* init ptr to msg struct */ in rtl_tres_create_funcstate()
210 rtl_string_newFromStr( &pStat->m_name, meth );/* copy meth to name */ in rtl_tres_create_funcstate()
213 rtl_tres_setbit(pStat, rtl_tres_Flag_OK); in rtl_tres_create_funcstate()
216 return ( pStat ); in rtl_tres_create_funcstate()
306 rtl_CmpState* pStat = (rtl_CmpState*) malloc( sizeof( rtl_CmpState ) ); in rtl_tres_create_cmpstate() local
309 if ( pStat ) in rtl_tres_create_cmpstate()
311 pStat->m_next = pStat; /* init next with this */ in rtl_tres_create_cmpstate()
312 pStat->m_prev = pStat; /* init prev with this */ in rtl_tres_create_cmpstate()
313 pStat->m_msg = NULL; in rtl_tres_create_cmpstate()
314 pStat->m_stat = state; /* boolean state */ in rtl_tres_create_cmpstate()
315 rtl_string_newFromStr( &pStat->m_msg, msg ); /* copy message */ in rtl_tres_create_cmpstate()
317 return ( pStat ); in rtl_tres_create_cmpstate()