Lines Matching refs:nKey
36 sal_uIntPtr Table::ImplGetIndex( sal_uIntPtr nKey, sal_uIntPtr* pIndex ) const in ImplGetIndex() argument
39 if ( !nCount || (nKey < (sal_uIntPtr)Container::ImpGetObject(0)) ) in ImplGetIndex()
57 if ( nKey < nCompareKey ) in ImplGetIndex()
61 if ( nKey > nCompareKey ) in ImplGetIndex()
75 if ( nKey < nCompareKey ) in ImplGetIndex()
79 if ( nKey > nCompareKey ) in ImplGetIndex()
90 if ( nKey > nCompareKey ) in ImplGetIndex()
111 sal_Bool Table::Insert( sal_uIntPtr nKey, void* p ) in Insert() argument
126 while ( nKey > nCompareKey ) in Insert()
140 if ( nKey == nCompareKey ) in Insert()
148 if ( ImplGetIndex( nKey, &i ) != TABLE_ENTRY_NOTFOUND ) in Insert()
156 if ( ImplGetIndex( nKey, &i ) != TABLE_ENTRY_NOTFOUND ) in Insert()
164 Container::Insert( (void*)nKey, i ); in Insert()
175 void* Table::Remove( sal_uIntPtr nKey ) in Remove() argument
178 sal_uIntPtr nIndex = ImplGetIndex( nKey ); in Remove()
196 void* Table::Replace( sal_uIntPtr nKey, void* p ) in Replace() argument
199 sal_uIntPtr nIndex = ImplGetIndex( nKey ); in Replace()
210 void* Table::Get( sal_uIntPtr nKey ) const in Get()
213 sal_uIntPtr nIndex = ImplGetIndex( nKey ); in Get()
250 sal_Bool Table::IsKeyValid( sal_uIntPtr nKey ) const in IsKeyValid()
252 return (ImplGetIndex( nKey ) != TABLE_ENTRY_NOTFOUND) ? sal_True : sal_False; in IsKeyValid()
296 sal_uIntPtr Table::SearchKey( sal_uIntPtr nKey, sal_uIntPtr* pPos ) const in SearchKey() argument
299 sal_uIntPtr nPos = ImplGetIndex( nKey, pPos ); in SearchKey()
312 void* Table::Seek( sal_uIntPtr nKey ) in Seek() argument
317 sal_uIntPtr nIndex = ImplGetIndex( nKey ); in Seek()
339 sal_uIntPtr nKey = GetKey( p ); in Seek() local
342 if ( nKey != TABLE_ENTRY_NOTFOUND ) in Seek()
343 return Seek( nKey ); in Seek()