Lines Matching refs:nKeyLen
2533 int nKeyLen = 0; in ImplGetKeyNameText() local
2538 nKeyLen = GetKeyNameTextW( lParam, aKeyBuf, nMaxKeyLen ); in ImplGetKeyNameText()
2539 DBG_ASSERT( nKeyLen <= nMaxKeyLen, "Invalid key name length!" ); in ImplGetKeyNameText()
2540 if( nKeyLen > nMaxKeyLen ) in ImplGetKeyNameText()
2541 nKeyLen = 0; in ImplGetKeyNameText()
2542 else if( nKeyLen > 0 ) in ImplGetKeyNameText()
2545 CharLowerBuffW( aKeyBuf, nKeyLen ); in ImplGetKeyNameText()
2548 for( WCHAR *pW=aKeyBuf, *pE=pW+nKeyLen; pW < pE; ++pW ) in ImplGetKeyNameText()
2558 if ( (nKeyLen > 0) || pReplace ) in ImplGetKeyNameText()
2566 if( nKeyLen > 0 ) in ImplGetKeyNameText()
2568 if( nKeyLen + rCount > nMaxSize ) in ImplGetKeyNameText()
2569 nKeyLen = nMaxSize - rCount; in ImplGetKeyNameText()
2570 memcpy( pBuf+rCount, aKeyBuf, nKeyLen*sizeof( sal_Unicode ) ); in ImplGetKeyNameText()
2571 rCount += nKeyLen; in ImplGetKeyNameText()