Lines Matching refs:nIndex

74     xub_StrLen nIndex = 0;  in ImplFindMnemonic()  local
75 while ( (nIndex = rKey.Search( MNEMONIC_CHAR, nIndex )) != STRING_NOTFOUND ) in ImplFindMnemonic()
77 sal_Unicode cMnemonic = rKey.GetChar( nIndex+1 ); in ImplFindMnemonic()
80 nIndex += 2; in ImplFindMnemonic()
111 xub_StrLen nIndex = 0; in RegisterMnemonic() local
113 while ( nIndex < nLen ) in RegisterMnemonic()
115 sal_Unicode c = aKey.GetChar( nIndex ); in RegisterMnemonic()
124 nIndex++; in RegisterMnemonic()
174 xub_StrLen nIndex; in CreateMnemonic() local
176 for( nIndex=0; nIndex < nLen; nIndex++ ) in CreateMnemonic()
178 c = aKey.GetChar( nIndex ); in CreateMnemonic()
196 xub_StrLen nIndex = 0; in CreateMnemonic() local
202 c = aKey.GetChar( nIndex ); in CreateMnemonic()
223 rKey.Insert( MNEMONIC_CHAR, nIndex ); in CreateMnemonic()
232 nIndex++; in CreateMnemonic()
233 c = aKey.GetChar( nIndex ); in CreateMnemonic()
237 while ( nIndex < nLen ); in CreateMnemonic()
238 nIndex++; in CreateMnemonic()
240 while ( nIndex < nLen ); in CreateMnemonic()
248 nIndex = 0; in CreateMnemonic()
251 c = aKey.GetChar( nIndex ); in CreateMnemonic()
260 nBestIndex = nIndex; in CreateMnemonic()
268 nIndex++; in CreateMnemonic()
270 while ( nIndex < nLen ); in CreateMnemonic()
299 nIndex = rKey.Len(); in CreateMnemonic()
300 if( nIndex >= 2 ) in CreateMnemonic()
303 if ( rKey.EqualsAscii( ">>", nIndex-2, 2 ) || in CreateMnemonic()
304 rKey.Equals( cGreaterGreater, nIndex-2, 2 ) ) in CreateMnemonic()
305 nIndex -= 2; in CreateMnemonic()
307 if( nIndex >= 3 ) in CreateMnemonic()
310 if ( rKey.EqualsAscii( "...", nIndex-3, 3 ) || in CreateMnemonic()
311 rKey.Equals( cDotDotDot, nIndex-3, 3 ) ) in CreateMnemonic()
312 nIndex -= 3; in CreateMnemonic()
314 if( nIndex >= 1) in CreateMnemonic()
316 sal_Unicode cLastChar = rKey.GetChar( nIndex-1 ); in CreateMnemonic()
321 nIndex--; in CreateMnemonic()
323 rKey.Insert( aStr, nIndex ); in CreateMnemonic()