/aoo4110/main/sal/qa/OStringBuffer/ |
H A D | rtl_String_Utils.cxx | 380 sal_Int32 nCmp = 0; in ACharToUCharCompare() local 384 nCmp = nUChar - nChar; in ACharToUCharCompare() 386 return nCmp; in ACharToUCharCompare() 399 nCmp = ACharToUCharCompare( pUStr, pAStr ); in AStringToUStringCompare() 401 while ( ( nCmp == 0 ) && ( *pAStr ) ) in AStringToUStringCompare() 406 nCmp = ACharToUCharCompare( pUStr, pAStr ); in AStringToUStringCompare() 410 return nCmp; in AStringToUStringCompare() 426 nCmp = ACharToUCharCompare( pUStr, pAStr ); in AStringToUStringNCompare() 450 return nCmp; in AStringToUStringNCompare() 482 return nCmp; in AStringToRTLUStringCompare() [all …]
|
/aoo4110/main/sal/qa/rtl_strings/ |
H A D | rtl_String_Utils.cxx | 358 sal_Int32 nCmp = 0; in ACharToUCharCompare() local 362 nCmp = nUChar - nChar; in ACharToUCharCompare() 364 return nCmp; in ACharToUCharCompare() 377 nCmp = ACharToUCharCompare( pUStr, pAStr ); in AStringToUStringCompare() 379 while ( ( nCmp == 0 ) && ( *pAStr ) ) in AStringToUStringCompare() 384 nCmp = ACharToUCharCompare( pUStr, pAStr ); in AStringToUStringCompare() 388 return nCmp; in AStringToUStringCompare() 404 nCmp = ACharToUCharCompare( pUStr, pAStr ); in AStringToUStringNCompare() 428 return nCmp; in AStringToUStringNCompare() 460 return nCmp; in AStringToRTLUStringCompare() [all …]
|
/aoo4110/main/rsc/source/tools/ |
H A D | rsctree.cxx | 240 if( nCmp == GREATER ){ in SearchParent() 247 else if( nCmp == LESS ){ in SearchParent() 272 if( nCmp == GREATER ){ in Search() 276 else if( nCmp == LESS ){ in Search() 292 if( nCmp == GREATER ){ in Search() 324 if( nCmp == GREATER ){ in Insert() 335 if( nCmp == EQUAL ) in Insert() 523 if( nCmp < 0 ) in Compare() 525 else if( nCmp > 0 ) in Compare() 536 if( nCmp < 0 ) in Compare() [all …]
|
/aoo4110/main/sw/source/core/crsr/ |
H A D | callnk.cxx | 96 xub_StrLen nCmp, nAktCntnt = pCurCrsr->GetPoint()->nContent.GetIndex(); in ~SwCallLink() local 125 (( nCmp = nCntnt ) + 1 == nAktCntnt || // Right in ~SwCallLink() 126 nCntnt -1 == ( nCmp = nAktCntnt )) ) // Left in ~SwCallLink() 128 if( nCmp == nAktCntnt && pCurCrsr->HasMark() ) // left & Sele in ~SwCallLink() 129 ++nCmp; in ~SwCallLink() 156 ( nStart == nCmp || in ~SwCallLink() 157 ( pHt->DontExpand() ? nCmp == *pEnd-1 in ~SwCallLink() 158 : nCmp == *pEnd ) )) in ~SwCallLink() 170 if( !nCmp || in ~SwCallLink() 171 pBreakIt->GetBreakIter()->getScriptType( rTxt, nCmp ) in ~SwCallLink() [all …]
|
/aoo4110/main/binaryurp/source/ |
H A D | lessoperators.cxx | 45 const sal_Int32 nCmp = rtl_ustr_compare_WithLength( in operator <() local 48 return (nCmp < 0); in operator <() 58 const sal_Int32 nCmp = rtl_ustr_compare_WithLength( in operator ()() local 61 return (nCmp == 0); in operator ()()
|
/aoo4110/main/sw/source/core/table/ |
H A D | swtable.cxx | 502 long nCmp = rToFill[j]; in lcl_SortedTabColInsert() local 503 if ( (nPos >= ((nCmp >= COLFUZZY) ? nCmp - COLFUZZY : nCmp)) && in lcl_SortedTabColInsert() 504 (nPos <= (nCmp + COLFUZZY)) ) in lcl_SortedTabColInsert() 508 else if ( nPos < nCmp ) in lcl_SortedTabColInsert() 531 long nCmp = rToFill[j]; in lcl_SortedTabColInsert() local 533 if ( (nPos >= ((nCmp >= COLFUZZY) ? nCmp - COLFUZZY : nCmp)) && in lcl_SortedTabColInsert() 534 (nPos <= (nCmp + COLFUZZY)) ) in lcl_SortedTabColInsert() 547 else if ( (nRightMax >= ((nCmp >= COLFUZZY) ? nCmp - COLFUZZY : nCmp)) && in lcl_SortedTabColInsert() 548 (nRightMax <= (nCmp + COLFUZZY)) ) in lcl_SortedTabColInsert()
|
/aoo4110/main/sw/source/core/fields/ |
H A D | expfld.cxx | 751 sal_Int32 nCmp; in SeekEntry() local 756 nCmp = nNum2 - nNum1; in SeekEntry() 757 if( 0 == nCmp ) in SeekEntry() 758 nCmp = rCaseColl.compareString( rTmp2.Copy( nFndPos2 ), in SeekEntry() 762 nCmp = rColl.compareString( rTmp2, rTmp1 ); in SeekEntry() 764 if( 0 == nCmp ) in SeekEntry() 769 else if( 0 < nCmp ) in SeekEntry()
|
/aoo4110/main/svl/inc/svl/ |
H A D | cntnrsrt.hxx | 148 int nCmp = SortFunc( *GetObject(nM), *pObj ); \ 150 if( 0 == nCmp ) \ 155 else if( nCmp < 0 ) \
|
/aoo4110/main/sc/source/core/data/ |
H A D | attarray.cxx | 1179 long nCmp; in HasLines() local 1187 nCmp = lcl_LineSize(*pLine); in HasLines() 1188 if ( nCmp > rSizes.Top() ) in HasLines() 1189 rSizes.Top() = nCmp; in HasLines() 1200 nCmp = lcl_LineSize(*pLine); in HasLines() 1201 if ( nCmp > rSizes.Bottom() ) in HasLines() 1202 rSizes.Bottom() = nCmp; in HasLines() 1218 nCmp = lcl_LineSize(*pLine); in HasLines() 1219 if ( nCmp > rSizes.Left() ) in HasLines() 1220 rSizes.Left() = nCmp; in HasLines() [all …]
|
H A D | column2.cxx | 379 long nCmp = pDev->GetFont().GetSize().Height() * SC_ROT_BREAK_FACTOR; in GetNeededSize() local 380 if ( nHeight > nCmp ) in GetNeededSize() 381 nHeight = nCmp; in GetNeededSize() 552 long nCmp = aOldFont.GetSize().Height() * SC_ROT_BREAK_FACTOR; in GetNeededSize() local 553 if ( nValue > nCmp ) in GetNeededSize() 554 nValue = nCmp; in GetNeededSize()
|
/aoo4110/main/jvmfwk/plugins/sunmajor/pluginlib/ |
H A D | util.cxx | 647 int nCmp = 0; in bubbleSortVersion() local 658 nCmp = -1; // current < next in bubbleSortVersion() 661 if (nCmp == 0) in bubbleSortVersion() 665 nCmp = cur->compareVersions(next->getVersion()); in bubbleSortVersion() 670 nCmp = 1; in bubbleSortVersion() 673 if(nCmp == 1) // cur > next in bubbleSortVersion()
|
/aoo4110/main/xmloff/source/style/ |
H A D | XMLFontAutoStylePool.cxx | 133 sal_Int32 nCmp = r1.GetFamilyName().compareTo( r2.GetFamilyName() ); in XMLFontAutoStylePoolEntryCmp_Impl() local 134 if( 0 == nCmp ) in XMLFontAutoStylePoolEntryCmp_Impl() 137 return (int)nCmp; in XMLFontAutoStylePoolEntryCmp_Impl()
|
/aoo4110/main/sw/source/ui/wrtsh/ |
H A D | delete.cxx | 150 …const int nCmp = nsSelectionType::SEL_FRM | nsSelectionType::SEL_GRF | nsSelectionType::SEL_OLE | … in DelLeft() local 151 if( nCmp & nSelType ) in DelLeft() 165 if ( nCmp & nSelType ) in DelLeft()
|
/aoo4110/main/sw/source/core/docnode/ |
H A D | ndsect.cxx | 415 sal_uLong nCmp = pEnd->nNode.GetIndex(); in IsInsRegionAvailable() local 419 !( aIdx.GetIndex() < nCmp && in IsInsRegionAvailable() 420 nCmp < pPrvNd->EndOfSectionIndex() ) ) in IsInsRegionAvailable() 429 nCmp = pStt->nNode.GetIndex(); in IsInsRegionAvailable() 432 !( pNxtNd->StartOfSectionIndex() < nCmp && in IsInsRegionAvailable() 433 nCmp < aIdx.GetIndex() ) ) in IsInsRegionAvailable()
|
/aoo4110/main/vcl/unx/generic/fontmanager/ |
H A D | fontmanager.cxx | 206 sal_Int32 nCmp = 0; in operator <() local 213 if( nCmp != 0 ) in operator <() 214 return nCmp < 0; in operator <() 223 if( nCmp != 0 ) in operator <() 224 return nCmp < 0; in operator <() 257 if( nCmp != 0 ) in operator <() 258 return nCmp < 0; in operator <() 272 sal_Int32 nCmp = 0; in operator ==() local 279 if( nCmp != 0 ) in operator ==() 289 if( nCmp != 0 ) in operator ==() [all …]
|
/aoo4110/main/sw/source/core/doc/ |
H A D | tblrwcl.cxx | 2741 sal_uInt16 n, nCmp; in lcl_InsSelBox() local 2759 nCmp = 1; in lcl_InsSelBox() 2761 nCmp = 2; in lcl_InsSelBox() 2763 nCmp = 0; in lcl_InsSelBox() 2765 if( nCmp ) in lcl_InsSelBox() 2796 nCmp = 1; in lcl_InsSelBox() 2799 nCmp = 2; in lcl_InsSelBox() 2801 nCmp = 3; in lcl_InsSelBox() 2803 nCmp = 0; in lcl_InsSelBox() 2805 if( nCmp ) in lcl_InsSelBox() [all …]
|
H A D | docsort.cxx | 191 sal_Int32 nCmp = pSortCollator->compareString( in operator <() local 193 if( 0 == nCmp ) in operator <() 196 return -1 == nCmp; in operator <()
|
/aoo4110/main/linguistic/source/ |
H A D | dicimp.cxx | 606 int nCmp = - cmpDicEntry( pEntry[nMidIdx]->getDictionaryWord(), in seekEntry() local 608 if(nCmp == 0) in seekEntry() 613 else if(nCmp > 0) in seekEntry()
|
/aoo4110/main/sfx2/source/dialog/ |
H A D | mgetempl.cxx | 534 sal_uInt16 nCmp = pStyle->GetMask(); in Reset() local 536 if ( nCmp != nFlags ) in Reset()
|
/aoo4110/main/sc/source/core/tool/ |
H A D | interpr1.cxx | 4364 sal_Int32 nCmp = lcl_CompareMatrix2Query( nMid, *pMatSrc, rEntry); in ScMatch() local 4365 if (nCmp == 0) in ScMatch() 4375 if (nCmp < 0) in ScMatch() 4382 if (nCmp < 0) in ScMatch() 4401 if ((bAscOrder && nCmp <= 0) || (!bAscOrder && nCmp >= 0)) in ScMatch() 5774 sal_Int32 nCmp = lcl_CompareMatrix2Query( nMid, *pDataMat2, rEntry); in ScLookup() local 5775 if (nCmp == 0) in ScLookup() 5786 nDelta = nCmp < 0 ? nLast - 1 : nFirst - 1; in ScLookup() 5792 if (nCmp < 0) in ScLookup() 5800 sal_Int32 nCmp = lcl_CompareMatrix2Query(nDelta+1, *pDataMat2, rEntry); in ScLookup() local [all …]
|
/aoo4110/main/vcl/unx/gtk/a11y/ |
H A D | atkwrapper.cxx | 343 int nCmp = atk_obj->name ? rtl_str_compare( atk_obj->name, aName.getStr() ) : -1; in wrapper_get_name() local 344 if( nCmp != 0 ) in wrapper_get_name()
|
/aoo4110/main/editeng/source/misc/ |
H A D | svxacorr.cxx | 300 long nCmp = rCmp.compareString( aE->GetShort(), in Seek_Entry() local 302 if( 0 == nCmp ) in Seek_Entry() 307 else if( 0 < nCmp ) in Seek_Entry()
|