Lines Matching refs:nInd
39 for ( int nInd = 0; nInd < 8; nInd++ ) in WriteDebugInfo() local
40 pNumber[nInd+2] = (char)( ( pThis / ( 1 << ( 7 - nInd ) ) ) % 16 ) + 48; in WriteDebugInfo()
64 for ( int nInd = 0; pszNameFromOutside[nInd] != 0 || pOwnName[nInd] != 0; nInd++ ) in StringsEqual() local
66 if ( pszNameFromOutside[nInd] != pOwnName[nInd] ) in StringsEqual()
103 for ( size_t nInd = 0; nInd < nLen; nInd++ ) in SetName() local
104 pOwnName[nInd] = pszNameFromOutside[nInd]; in SetName()
134 for ( DWORD nInd = 0; nInd < DEFAULT_ARRAY_LEN; nInd++ ) in CheckDefHandler() local
135 if ( m_pOleAdvises[nInd] ) in CheckDefHandler()
137 DWORD nID = m_pOleAdvises[nInd]->GetRegID(); in CheckDefHandler()
139 m_pOleAdvises[nInd]->SetRegID( 0 ); in CheckDefHandler()
151 for ( DWORD nInd = 0; nInd < DEFAULT_ARRAY_LEN; nInd++ ) in CheckDefHandler() local
152 if ( m_pDataAdvises[nInd] ) in CheckDefHandler()
154 DWORD nID = m_pDataAdvises[nInd]->GetRegID(); in CheckDefHandler()
156 m_pDataAdvises[nInd]->SetRegID( 0 ); in CheckDefHandler()
268 for ( DWORD nInd = 0; nInd < DEFAULT_ARRAY_LEN; nInd++ ) in CheckDefHandler() local
269 if ( m_pOleAdvises[nInd] ) in CheckDefHandler()
272 … if ( SUCCEEDED( pOleObject->Advise( m_pOleAdvises[nInd], &nRegID ) ) && nRegID > 0 ) in CheckDefHandler()
273 m_pOleAdvises[nInd]->SetRegID( nRegID ); in CheckDefHandler()
283 for ( DWORD nInd = 0; nInd < DEFAULT_ARRAY_LEN; nInd++ ) in CheckDefHandler() local
284 if ( m_pDataAdvises[nInd] ) in CheckDefHandler()
288 …taObject->DAdvise( m_pDataAdvises[nInd]->GetFormatEtc(), m_pDataAdvises[nInd]->GetDataAdviseFlag()… in CheckDefHandler()
289 m_pDataAdvises[nInd]->SetRegID( nRegID ); in CheckDefHandler()
319 for ( DWORD nInd = 1; nInd < DEFAULT_ARRAY_LEN && nResult == 0; nInd++ ) in InsertAdviseLinkToList() local
321 if ( pAdvises[nInd] == pOwnAdvise ) in InsertAdviseLinkToList()
323 nResult = nInd; in InsertAdviseLinkToList()
325 else if ( pAdvises[nInd] == NULL ) in InsertAdviseLinkToList()
327 pAdvises[nInd] = pOwnAdvise; in InsertAdviseLinkToList()
328 nResult = nInd; in InsertAdviseLinkToList()
342 for ( DWORD nInd = 0; nInd < DEFAULT_ARRAY_LEN; nInd++ ) in Clean() local
344 if ( m_pOleAdvises[nInd] ) in Clean()
346 ComSmart< OleWrapperAdviseSink > pAdvise = m_pOleAdvises[nInd]; in Clean()
347 m_pOleAdvises[nInd] = NULL; in Clean()
350 if ( m_pDataAdvises[nInd] ) in Clean()
352 ComSmart< OleWrapperAdviseSink > pAdvise = m_pDataAdvises[nInd]; in Clean()
353 m_pDataAdvises[nInd] = NULL; in Clean()