/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/ui/tk/util/ |
H A D | LSPTextSelection.cpp | 31 nFirst = -1; in LSPTextSelection() 100 if (value != nFirst) in set_first() 119 if (nLast == nFirst) in truncate() 122 nLast = nFirst; in truncate() 132 nFirst = -1; in unset() 142 if (nFirst < nLast) in intersection() 144 xfirst = nFirst; in intersection() 150 xlast = nFirst; in intersection() 178 if (nFirst < nLast) in intersection() 210 if (nFirst <= nLast) in read_range() [all …]
|
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/include/ui/tk/util/ |
H A D | LSPTextSelection.h | 32 ssize_t nFirst; 44 inline ssize_t first() const { return nFirst; } in first() 46 inline bool valid() const { return (nFirst >= 0) && (nLast >= 0); } in valid() 47 inline bool invalid() const { return (nFirst < 0) || (nLast < 0); } in invalid() 48 inline bool is_empty() const { return nFirst == nLast; } in is_empty() 49 inline bool non_empty() const { return nFirst != nLast; } in non_empty() 50 … inline ssize_t length() const { return (nFirst < nLast) ? nLast - nFirst : nFirst - nLast; } in length() 51 inline bool reverted() const { return nFirst > nLast; } in reverted() 52 inline ssize_t starting() const { return (nFirst < nLast) ? nFirst : nLast; } in starting() 53 inline ssize_t ending() const { return (nLast < nFirst) ? nFirst : nLast; } in ending()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/xmloff/source/style/ |
H A D | fonthdl.cxx | 75 sal_Int32 nFirst = nPos; in importXML() local 84 while(nFirst <= nLast && ' ' == rStrImpValue[nFirst]) in importXML() 85 nFirst++; in importXML() 88 sal_Unicode c = nFirst > nLast ? 0 : rStrImpValue[nFirst]; in importXML() 91 nFirst++; in importXML() 95 if( nFirst <= nLast ) in importXML() 100 sValue.append(rStrImpValue.subView(nFirst, nLast-nFirst+1)); in importXML() 128 sal_Int32 nFirst = nPos; in exportXML() local 152 while( nFirst <= nLast && ' ' == aStrFamilyName[nFirst] ) in exportXML() 153 nFirst++; in exportXML() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/xmloff/source/style/ |
H A D | fonthdl.cxx | 76 sal_Int32 nFirst = nPos; in importXML() local 85 while(nFirst <= nLast && ' ' == rStrImpValue[nFirst]) in importXML() 86 nFirst++; in importXML() 89 sal_Unicode c = nFirst > nLast ? 0 : rStrImpValue[nFirst]; in importXML() 92 nFirst++; in importXML() 96 if( nFirst <= nLast ) in importXML() 101 sValue.append(std::u16string_view(rStrImpValue).substr(nFirst, nLast-nFirst+1)); in importXML() 129 sal_Int32 nFirst = nPos; in exportXML() local 153 while( nFirst <= nLast && ' ' == aStrFamilyName[nFirst] ) in exportXML() 154 nFirst++; in exportXML() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/xoutdev/ |
H A D | _xpoly.cxx | 544 pPoints[nFirst ] = rCenter; in GenBezArc() 545 pPoints[nFirst+3] = rCenter; in GenBezArc() 566 pPoints[nFirst+1] = pPoints[nFirst]; in GenBezArc() 567 pPoints[nFirst+2] = pPoints[nFirst+3]; in GenBezArc() 683 if ( nFirst > pImpXPolygon->nPoints - 4 || IsControl(nFirst) || in PointsToBezier() 684 IsControl(nFirst+1) || IsControl(nFirst+2) || IsControl(nFirst+3) ) in PointsToBezier() 687 fTx1 = pPoints[nFirst+1].X(); in PointsToBezier() 688 fTy1 = pPoints[nFirst+1].Y(); in PointsToBezier() 696 nPart1Length = CalcDistance(nFirst, nFirst+1); in PointsToBezier() 697 nPart2Length = nPart1Length + CalcDistance(nFirst+1, nFirst+2); in PointsToBezier() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/xoutdev/ |
H A D | _xpoly.cxx | 549 pPoints[nFirst ] = rCenter; in GenBezArc() 550 pPoints[nFirst+3] = rCenter; in GenBezArc() 571 pPoints[nFirst+1] = pPoints[nFirst]; in GenBezArc() 572 pPoints[nFirst+2] = pPoints[nFirst+3]; in GenBezArc() 688 if ( nFirst > pImpXPolygon->nPoints - 4 || IsControl(nFirst) || in PointsToBezier() 689 IsControl(nFirst+1) || IsControl(nFirst+2) || IsControl(nFirst+3) ) in PointsToBezier() 692 fTx1 = pPoints[nFirst+1].X(); in PointsToBezier() 693 fTy1 = pPoints[nFirst+1].Y(); in PointsToBezier() 701 nPart1Length = CalcDistance(nFirst, nFirst+1); in PointsToBezier() 702 nPart2Length = nPart1Length + CalcDistance(nFirst+1, nFirst+2); in PointsToBezier() [all …]
|
/dports/databases/sqlcipher/sqlcipher-3.4.2/ext/lsm1/lsm-test/ |
H A D | lsmtest3.c | 27 int nFirst; member 35 int nFirst, in testCksumArrayNew() argument 45 assert( nLast>=nFirst && ((nLast-nFirst)%nStep)==0 ); in testCksumArrayNew() 49 pRet->nFirst = nFirst; in testCksumArrayNew() 52 nEntry = 1 + ((nLast - nFirst) / nStep); in testCksumArrayNew() 63 testWriteDatasourceRange(pDb, pData, 0, nFirst, &rc); in testCksumArrayNew() 67 testWriteDatasourceRange(pDb, pData, nFirst+i*nStep, nStep, &rc); in testCksumArrayNew() 77 assert( nRow>=p->nFirst ); in testCksumArrayGet() 79 assert( ((nRow-p->nFirst) % p->nStep)==0 ); in testCksumArrayGet() 81 i = (nRow - p->nFirst) / p->nStep; in testCksumArrayGet()
|
/dports/databases/sqlite3/sqlite-src-3350500/ext/lsm1/lsm-test/ |
H A D | lsmtest3.c | 27 int nFirst; member 35 int nFirst, in testCksumArrayNew() argument 45 assert( nLast>=nFirst && ((nLast-nFirst)%nStep)==0 ); in testCksumArrayNew() 49 pRet->nFirst = nFirst; in testCksumArrayNew() 52 nEntry = 1 + ((nLast - nFirst) / nStep); in testCksumArrayNew() 63 testWriteDatasourceRange(pDb, pData, 0, nFirst, &rc); in testCksumArrayNew() 67 testWriteDatasourceRange(pDb, pData, nFirst+i*nStep, nStep, &rc); in testCksumArrayNew() 77 assert( nRow>=p->nFirst ); in testCksumArrayGet() 79 assert( ((nRow-p->nFirst) % p->nStep)==0 ); in testCksumArrayGet() 81 i = (nRow - p->nFirst) / p->nStep; in testCksumArrayGet()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/ext/lsm1/lsm-test/ |
H A D | lsmtest3.c | 27 int nFirst; member 35 int nFirst, in testCksumArrayNew() argument 45 assert( nLast>=nFirst && ((nLast-nFirst)%nStep)==0 ); in testCksumArrayNew() 49 pRet->nFirst = nFirst; in testCksumArrayNew() 52 nEntry = 1 + ((nLast - nFirst) / nStep); in testCksumArrayNew() 63 testWriteDatasourceRange(pDb, pData, 0, nFirst, &rc); in testCksumArrayNew() 67 testWriteDatasourceRange(pDb, pData, nFirst+i*nStep, nStep, &rc); in testCksumArrayNew() 77 assert( nRow>=p->nFirst ); in testCksumArrayGet() 79 assert( ((nRow-p->nFirst) % p->nStep)==0 ); in testCksumArrayGet() 81 i = (nRow - p->nFirst) / p->nStep; in testCksumArrayGet()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/ext/lsm1/lsm-test/ |
H A D | lsmtest3.c | 27 int nFirst; member 35 int nFirst, in testCksumArrayNew() argument 45 assert( nLast>=nFirst && ((nLast-nFirst)%nStep)==0 ); in testCksumArrayNew() 49 pRet->nFirst = nFirst; in testCksumArrayNew() 52 nEntry = 1 + ((nLast - nFirst) / nStep); in testCksumArrayNew() 63 testWriteDatasourceRange(pDb, pData, 0, nFirst, &rc); in testCksumArrayNew() 67 testWriteDatasourceRange(pDb, pData, nFirst+i*nStep, nStep, &rc); in testCksumArrayNew() 77 assert( nRow>=p->nFirst ); in testCksumArrayGet() 79 assert( ((nRow-p->nFirst) % p->nStep)==0 ); in testCksumArrayGet() 81 i = (nRow - p->nFirst) / p->nStep; in testCksumArrayGet()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sal/textenc/ |
H A D | convertiso2022cn.cxx | 198 sal_uInt32 nFirst; in ImplConvertIso2022CnToUnicode() local 202 if (nChar >= nFirst in ImplConvertIso2022CnToUnicode() 323 sal_uInt32 nFirst = nFirstLast & 0xFF; in ImplConvertIso2022CnToUnicode() local 488 sal_uInt32 nFirst; in ImplIso2022CnTranslateTo116431() local 496 nFirst = pCns116431992Data[nOffset++]; in ImplIso2022CnTranslateTo116431() 499 if (nChar < nFirst || nChar > nLast) in ImplIso2022CnTranslateTo116431() 501 nOffset += 3 * (nChar - nFirst); in ImplIso2022CnTranslateTo116431() 739 sal_uInt32 nFirst; in ImplConvertUnicodeToIso2022Cn() local 749 nFirst = pCns116431992Data[nOffset++]; in ImplConvertUnicodeToIso2022Cn() 752 if (nChar < nFirst || nChar > nLast) in ImplConvertUnicodeToIso2022Cn() [all …]
|
H A D | convertbig5hkscs.cxx | 115 sal_uInt32 nFirst=0; in ImplConvertBig5HkscsToUnicode() local 120 nFirst = nFirstLast & 0xFF; in ImplConvertBig5HkscsToUnicode() 122 if (nChar >= nFirst && nChar <= nLast) in ImplConvertBig5HkscsToUnicode() 124 = pBig5Hkscs2001Data[nOffset + (nChar - nFirst)]; in ImplConvertBig5HkscsToUnicode() 202 nOffset += nLast - nFirst + 1; in ImplConvertBig5HkscsToUnicode() 203 nFirst = pBig5Hkscs2001Data[nOffset++]; in ImplConvertBig5HkscsToUnicode() 370 sal_uInt32 nFirst = nFirstLast & 0xFF; in ImplConvertUnicodeToBig5Hkscs() local 373 if (nIndex >= nFirst && nIndex <= nLast) in ImplConvertUnicodeToBig5Hkscs() 386 sal_uInt32 nFirst = pBig5Data[nIndex1].mnLowStart; in ImplConvertUnicodeToBig5Hkscs() local 387 if (nIndex2 >= nFirst in ImplConvertUnicodeToBig5Hkscs() [all …]
|
H A D | converteuctw.cxx | 200 sal_uInt32 nFirst = nFirstLast & 0xFF; in ImplConvertEucTwToUnicode() local 203 if (nChar >= nFirst && nChar <= nLast) in ImplConvertEucTwToUnicode() 206 = pCns116431992Data[nOffset + (nChar - nFirst)]; in ImplConvertEucTwToUnicode() 212 nOffset += nLast - nFirst + 1; in ImplConvertEucTwToUnicode() 213 nFirst = pCns116431992Data[nOffset++]; in ImplConvertEucTwToUnicode() 217 nOffset + (nChar - nFirst)]); in ImplConvertEucTwToUnicode() 372 sal_uInt32 nFirst; in ImplConvertUnicodeToEucTw() local 381 nFirst = pCns116431992Data[nOffset++]; in ImplConvertUnicodeToEucTw() 384 if (nChar < nFirst || nChar > nLast) in ImplConvertUnicodeToEucTw() 386 nOffset += 3 * (nChar - nFirst); in ImplConvertUnicodeToEucTw()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sal/textenc/ |
H A D | convertiso2022cn.cxx | 198 sal_uInt32 nFirst; in ImplConvertIso2022CnToUnicode() local 202 if (nChar >= nFirst in ImplConvertIso2022CnToUnicode() 323 sal_uInt32 nFirst = nFirstLast & 0xFF; in ImplConvertIso2022CnToUnicode() local 488 sal_uInt32 nFirst; in ImplIso2022CnTranslateTo116431() local 496 nFirst = pCns116431992Data[nOffset++]; in ImplIso2022CnTranslateTo116431() 499 if (nChar < nFirst || nChar > nLast) in ImplIso2022CnTranslateTo116431() 501 nOffset += 3 * (nChar - nFirst); in ImplIso2022CnTranslateTo116431() 739 sal_uInt32 nFirst; in ImplConvertUnicodeToIso2022Cn() local 749 nFirst = pCns116431992Data[nOffset++]; in ImplConvertUnicodeToIso2022Cn() 752 if (nChar < nFirst || nChar > nLast) in ImplConvertUnicodeToIso2022Cn() [all …]
|
H A D | convertbig5hkscs.cxx | 115 sal_uInt32 nFirst=0; in ImplConvertBig5HkscsToUnicode() local 120 nFirst = nFirstLast & 0xFF; in ImplConvertBig5HkscsToUnicode() 122 if (nChar >= nFirst && nChar <= nLast) in ImplConvertBig5HkscsToUnicode() 124 = pBig5Hkscs2001Data[nOffset + (nChar - nFirst)]; in ImplConvertBig5HkscsToUnicode() 202 nOffset += nLast - nFirst + 1; in ImplConvertBig5HkscsToUnicode() 203 nFirst = pBig5Hkscs2001Data[nOffset++]; in ImplConvertBig5HkscsToUnicode() 370 sal_uInt32 nFirst = nFirstLast & 0xFF; in ImplConvertUnicodeToBig5Hkscs() local 373 if (nIndex >= nFirst && nIndex <= nLast) in ImplConvertUnicodeToBig5Hkscs() 386 sal_uInt32 nFirst = pBig5Data[nIndex1].mnLowStart; in ImplConvertUnicodeToBig5Hkscs() local 387 if (nIndex2 >= nFirst in ImplConvertUnicodeToBig5Hkscs() [all …]
|
H A D | converteuctw.cxx | 200 sal_uInt32 nFirst = nFirstLast & 0xFF; in ImplConvertEucTwToUnicode() local 203 if (nChar >= nFirst && nChar <= nLast) in ImplConvertEucTwToUnicode() 206 = pCns116431992Data[nOffset + (nChar - nFirst)]; in ImplConvertEucTwToUnicode() 212 nOffset += nLast - nFirst + 1; in ImplConvertEucTwToUnicode() 213 nFirst = pCns116431992Data[nOffset++]; in ImplConvertEucTwToUnicode() 217 nOffset + (nChar - nFirst)]); in ImplConvertEucTwToUnicode() 372 sal_uInt32 nFirst; in ImplConvertUnicodeToEucTw() local 381 nFirst = pCns116431992Data[nOffset++]; in ImplConvertUnicodeToEucTw() 384 if (nChar < nFirst || nChar > nLast) in ImplConvertUnicodeToEucTw() 386 nOffset += 3 * (nChar - nFirst); in ImplConvertUnicodeToEucTw()
|
/dports/cad/opencascade/opencascade-7.6.0/tests/opengl/data/text/ |
H A D | A5 | 15 vdrawtext Text0 "Top-Left\nFirst line\nLion The Second\n3rd" -pos -700 100 600 -color CYAN -halig… 18 vdrawtext Text1 "Top-Center\nFirst line\nLion The Second\n3rd" -pos 0 100 600 -color CYAN -halign… 21 vdrawtext Text2 "Top-Right\nFirst line\nLion The Second\n3rd" -pos 700 100 600 -color CYAN -halig… 24 vdrawtext Text3 "Center-Left\nFirst line\nLion The Second\n3rd" -pos -700 100 -100 -color WHITE -h… 27 vdrawtext Text4 "Center-Center\nFirst line\nLion The Second\n3rd" -pos 0 100 -100 -color WHITE -ha… 30 vdrawtext Text5 "Center-Right\nFirst line\nLion The Second\n3rd" -pos 700 100 -100 -color WHITE -h… 33 vdrawtext Text6 "Bottom-Left\nFirst line\nLion The Second\n3rd" -pos -700 100 -700 -color YELLOW -… 36 vdrawtext Text7 "Bottom-Center\nFirst line\nLion The Second\n3rd" -pos 0 100 -700 -color YELLOW -h… 39 vdrawtext Text8 "Bottom-Right\nFirst line\nLion The Second\n3rd" -pos 700 100 -700 -color YELLOW -…
|
H A D | A6 | 17 vdrawtext Text0 " Top-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 600 -color C… 20 vdrawtext Text1 " Top-Center\nFirst line \nLion The Second\n 3rd " -pos 0 100 600 -color CY… 23 vdrawtext Text2 " Top-Right\nFirst line \nLion The Second\n 3rd " -pos 700 100 600 -color C… 26 vdrawtext Text3 " Center-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 -100 -colo… 29 vdrawtext Text4 " Center-Center\nFirst line \nLion The Second\n 3rd " -pos 0 100 -100 -color… 32 vdrawtext Text5 " Center-Right\nFirst line \nLion The Second\n 3rd " -pos 700 100 -100 -colo… 35 vdrawtext Text6 " Bottom-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 -700 -colo… 38 vdrawtext Text7 " Bottom-Center\nFirst line \nLion The Second\n 3rd " -pos 0 100 -700 -color… 41 vdrawtext Text8 " Bottom-Right\nFirst line \nLion The Second\n 3rd " -pos 700 100 -700 -colo…
|
/dports/cad/opencascade/opencascade-7.6.0/tests/v3d/fonts/ |
H A D | B4 | 16 text2brep Text0 "Top-Left\nFirst line\nLion The Second\n3rd" -pos -700 100 600 -halign left -vali… 19 text2brep Text1 "Top-Center\nFirst line\nLion The Second\n3rd" -pos 0 100 600 -halign center -val… 22 text2brep Text2 "Top-Right\nFirst line\nLion The Second\n3rd" -pos 700 100 600 -halign right -val… 25 text2brep Text3 "Center-Left\nFirst line\nLion The Second\n3rd" -pos -700 100 -100 -halign left -v… 28 text2brep Text4 "Center-Center\nFirst line\nLion The Second\n3rd" -pos 0 100 -100 -halign center -… 31 text2brep Text5 "Center-Right\nFirst line\nLion The Second\n3rd" -pos 700 100 -100 -halign right -… 34 text2brep Text6 "Bottom-Left\nFirst line\nLion The Second\n3rd" -pos -700 100 -700 -halign left -v… 37 text2brep Text7 "Bottom-Center\nFirst line\nLion The Second\n3rd" -pos 0 100 -700 -halign center -… 40 text2brep Text8 "Bottom-Right\nFirst line\nLion The Second\n3rd" -pos 700 100 -700 -halign right -…
|
H A D | B5 | 16 text2brep Text0 " Top-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 600 -halign … 19 text2brep Text1 " Top-Center\nFirst line \nLion The Second\n 3rd " -pos 0 100 600 -halign c… 22 text2brep Text2 " Top-Right\nFirst line \nLion The Second\n 3rd " -pos 700 100 600 -halign … 25 text2brep Text3 " Center-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 -100 -hali… 28 text2brep Text4 " Center-Center\nFirst line \nLion The Second\n 3rd " -pos 0 100 -100 -halig… 31 text2brep Text5 " Center-Right\nFirst line \nLion The Second\n 3rd " -pos 700 100 -100 -hali… 34 text2brep Text6 " Bottom-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 -700 -hali… 37 text2brep Text7 " Bottom-Center\nFirst line \nLion The Second\n 3rd " -pos 0 100 -700 -halig… 40 text2brep Text8 " Bottom-Right\nFirst line \nLion The Second\n 3rd " -pos 700 100 -700 -hali…
|
/dports/science/openbabel/openbabel-3.1.1/src/formats/libinchi/ |
H A D | ichiring.c | 91 q->Val[ (q->nFirst + q->nLength) % q->nTotLength ] = *Val; in QueueAdd() 100 *Val = q->Val[ q->nFirst ]; in QueueGet() 102 q->nFirst = (q->nFirst == q->nTotLength - 1)? 0 : q->nFirst + 1; in QueueGet() 143 … memcpy( (char*)q->Val + ((q->nFirst + q->nLength) % q->nTotLength)*q->nSize, Val, q->nSize); in QueueAdd() 152 memcpy( Val, (char*)q->Val + q->nFirst * q->nSize, q->nSize); in QueueGet() 154 q->nFirst = (q->nFirst == q->nTotLength - 1)? 0 : q->nFirst + 1; in QueueGet() 183 q->nFirst = 0; in QueueReinit() 201 int len = q->nFirst+q->nLength; in QueueWrittenLength()
|
/dports/textproc/p5-Text-ParagraphDiff/Text-ParagraphDiff/t/ |
H A D | test.t | 11 ) eq qq(\n<p>\nFirst middle last \n</p>\n) ? ok(1) : ok(0); 16 ) eq qq(\n<p>\nFirst middle last <span class="plus"> extra</span> \n</p>\n) ? ok(1) : ok(0); 21 ) eq qq(\n<p>\nFirst middle last <span class="minus"> extra</span> \n</p>\n) ? ok(1) : ok(0); 36 ) eq qq(\n<p>\nFirst middle <span class="plus"> other</span> <span class="minus"> last</span> \n<… 41 ) eq qq(\n<p>\nFirst <span class="plus"> other</span> <span class="minus"> middle</span> last \n<… 51 ) eq qq(\n<p>\nFirst middle <span class="plus"> last</span> <span class="minus"> other</span> \n<… 56 ) eq qq(\n<p>\nFirst <span class="plus"> middle</span> <span class="minus"> other</span> last \n<… 87 ) eq qq(\n<p>\nFirst <b><font color="#005500" size="+1"> middle</font></b> <b><font color="#FF000… 93 ) eq qq(\n<p>\nFirst middle last <span class="minus"> extra</span> \n</p>\n) ? ok(1) : ok(0); 98 ) eq qq(\n<p>\nFirst middle last \n</p>\n\n<p>\n <span class="minus"> First middle last</span> \n</… [all …]
|
/dports/graphics/podofo/podofo-0.9.7/src/podofo/base/ |
H A D | PdfXRef.cpp | 145 pdf_objnum nFirst = 0; in Write() local 155 nFirst = (*it).m_nFirst; in Write() 159 if( nFirst == 1 ) in Write() 161 --nFirst; in Write() 166 this->WriteSubSection( pDevice, nFirst, nCount ); in Write() 168 if( !nFirst ) in Write() 335 void PdfXRef::WriteSubSection( PdfOutputDevice* pDevice, pdf_objnum nFirst, pdf_uint32 nCount ) in WriteSubSection() argument 338 PdfError::DebugMessage("Writing XRef section: %u %u\n", nFirst, nCount ); in WriteSubSection() 340 pDevice->Print( "%u %u\n", nFirst, nCount ); in WriteSubSection()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/source/memtools/ |
H A D | multisel.cxx | 559 sal_Int32 nFirst = rNumbers[i]; in insertJoinedRanges() local 563 if ( nFirst > nLast ) nFirst--; in insertJoinedRanges() 564 else if( nFirst < nLast ) nFirst++; in insertJoinedRanges() 567 insertRange( nFirst, nLast, nFirst != nLast ); in insertJoinedRanges() 637 if( rRange.nFirst < rRange.nLast ) in hasValue() 639 if( i_nValue >= rRange.nFirst && i_nValue <= rRange.nLast ) in hasValue() 644 if( i_nValue >= rRange.nLast && i_nValue <= rRange.nFirst ) in hasValue() 657 if( rRange.nLast < rRange.nFirst ) in operator ++() 682 nCurrent = pEnumerator->maSequence[nRangeIndex].nFirst; in operator ++() 704 maSequence.empty() ? -1 : maSequence[0].nFirst ); in begin()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/tools/source/memtools/ |
H A D | multisel.cxx | 556 sal_Int32 nFirst = rNumbers[i]; in insertJoinedRanges() local 560 if ( nFirst > nLast ) nFirst--; in insertJoinedRanges() 561 else if( nFirst < nLast ) nFirst++; in insertJoinedRanges() 564 insertRange( nFirst, nLast, nFirst != nLast ); in insertJoinedRanges() 634 if( rRange.nFirst < rRange.nLast ) in hasValue() 636 if( i_nValue >= rRange.nFirst && i_nValue <= rRange.nLast ) in hasValue() 641 if( i_nValue >= rRange.nLast && i_nValue <= rRange.nFirst ) in hasValue() 654 if( rRange.nLast < rRange.nFirst ) in operator ++() 679 nCurrent = pEnumerator->maSequence[nRangeIndex].nFirst; in operator ++() 701 maSequence.empty() ? -1 : maSequence[0].nFirst ); in begin()
|