/dports/editors/libreoffice/libreoffice-7.2.6.2/starmath/source/mathml/ |
H A D | mathmlattr.cxx | 18 sal_Int32 nIdx; in ParseMathMLUnsignedNumber() local 19 for (nIdx = 0; nIdx < nLen; nIdx++) in ParseMathMLUnsignedNumber() 32 if (nIdx == 0 || (nIdx == 1 && nDecimalPoint == 0)) in ParseMathMLUnsignedNumber() 37 return nIdx; in ParseMathMLUnsignedNumber() 57 if (nIdx <= 0) in ParseMathMLAttributeLengthValue() 63 return nIdx; in ParseMathMLAttributeLengthValue() 68 return nIdx + 2; in ParseMathMLAttributeLengthValue() 73 return nIdx + 2; in ParseMathMLAttributeLengthValue() 78 return nIdx + 2; in ParseMathMLAttributeLengthValue() 83 return nIdx + 2; in ParseMathMLAttributeLengthValue() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/starmath/source/ |
H A D | mathmlattr.cxx | 18 sal_Int32 nIdx; in ParseMathMLUnsignedNumber() local 19 for (nIdx = 0; nIdx < nLen; nIdx++) in ParseMathMLUnsignedNumber() 32 if (nIdx == 0 || (nIdx == 1 && nDecimalPoint == 0)) in ParseMathMLUnsignedNumber() 37 return nIdx; in ParseMathMLUnsignedNumber() 57 if (nIdx <= 0) in ParseMathMLAttributeLengthValue() 63 return nIdx; in ParseMathMLAttributeLengthValue() 68 return nIdx + 2; in ParseMathMLAttributeLengthValue() 73 return nIdx + 2; in ParseMathMLAttributeLengthValue() 78 return nIdx + 2; in ParseMathMLAttributeLengthValue() 83 return nIdx + 2; in ParseMathMLAttributeLengthValue() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/window/ |
H A D | NotebookBarAddonsMerger.cxx | 46 for (int nIdx = 0; nIdx < pExtension.getLength(); nIdx++) in GetAddonNotebookBarItem() local 48 if (pExtension[nIdx].Name == MERGE_NOTEBOOKBAR_URL) in GetAddonNotebookBarItem() 50 else if (pExtension[nIdx].Name == MERGE_NOTEBOOKBAR_TITLE) in GetAddonNotebookBarItem() 51 pExtension[nIdx].Value >>= aAddonNotebookBarItem.sLabel; in GetAddonNotebookBarItem() 56 else if (pExtension[nIdx].Name == MERGE_NOTEBOOKBAR_TARGET) in GetAddonNotebookBarItem() 60 else if (pExtension[nIdx].Name == MERGE_NOTEBOOKBAR_WIDTH) in GetAddonNotebookBarItem() 62 else if (pExtension[nIdx].Name == MERGE_NOTEBOOKBAR_STYLE) in GetAddonNotebookBarItem() 123 for (std::size_t nIdx = 0; nIdx < aNotebookBarAddonsItem.aAddonValues.size(); nIdx++) in MergeNotebookBarAddons() local 125 aExtension = aNotebookBarAddonsItem.aAddonValues[nIdx]; in MergeNotebookBarAddons() 159 for (std::size_t nIdx = 0; nIdx < aNotebookBarAddonsItem.aAddonValues.size(); nIdx++) in MergeNotebookBarMenuAddons() local [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/basic/source/sbx/ |
H A D | sbxarray.cxx | 107 nIdx = 0; in GetRef32() 120 if( nIdx > SBX_MAXINDEX ) in GetRef() 123 nIdx = 0; in GetRef() 243 if( nIdx > nSize ) in Insert32() 245 nIdx = nSize; in Insert32() 251 if( nIdx == nSize ) in Insert32() 269 Insert32( pVar, nIdx ); in Insert() 409 sal_uInt16 nIdx; in LoadData() local 567 if( nIdx < rDimension.nLbound || nIdx > rDimension.nUbound ) in Offset32() 587 if( nIdx < vDimension.nLbound || nIdx > vDimension.nUbound ) in Offset() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/comphelper/ |
H A D | parallelsort.hxx | 147 for (size_t nIdx = 0; nIdx < nSamples; ++nIdx) in sample() local 199 size_t nIdx = 1; in findBin() local 200 while (nIdx <= mnDividers) in findBin() 201 nIdx = ((nIdx << 1) + aComp(maDividers[nIdx], rVal)); in findBin() 225 for (size_t nIdx = nTIdx; nIdx < nLen; nIdx += nBins) in label() local 232 for (size_t nIdx = 0; nIdx < mnTreeArraySize; ++nIdx) in label() local 233 pBinEnds[nIdx] = aBinEndsF[nIdx]; in label() 261 for (size_t nIdx = 0; nIdx < mnTreeArraySize; ++nIdx) in label() local 276 size_t nIdx; in bin() local 277 for (nIdx = 0; nIdx < nLen; ++nIdx) in bin() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/comphelper/ |
H A D | parallelsort.hxx | 148 for (size_t nIdx = 0; nIdx < nSamples; ++nIdx) in sample() local 200 size_t nIdx = 1; in findBin() local 201 while (nIdx <= mnDividers) in findBin() 202 nIdx = ((nIdx << 1) + aComp(maDividers[nIdx], rVal)); in findBin() 226 for (size_t nIdx = nTIdx; nIdx < nLen; nIdx += nBins) in label() local 233 for (size_t nIdx = 0; nIdx < mnTreeArraySize; ++nIdx) in label() local 234 pBinEnds[nIdx] = aBinEndsF[nIdx]; in label() 262 for (size_t nIdx = 0; nIdx < mnTreeArraySize; ++nIdx) in label() local 277 size_t nIdx; in bin() local 278 for (nIdx = 0; nIdx < nLen; ++nIdx) in bin() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/basic/source/sbx/ |
H A D | sbxarray.cxx | 95 if( nIdx > SBX_MAXINDEX32 ) in GetRef() 98 nIdx = 0; in GetRef() 101 mVarEntries.resize(nIdx+1); in GetRef() 103 return mVarEntries[nIdx].mpVar; in GetRef() 183 if( nIdx > nSize ) in Insert() 185 nIdx = nSize; in Insert() 191 if( nIdx == nSize ) in Insert() 339 sal_uInt16 nIdx; in LoadData() local 340 rStrm.ReadUInt16( nIdx ); in LoadData() 469 if( nIdx < rDimension.nLbound || nIdx > rDimension.nUbound ) in Offset() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/o3tl/ |
H A D | vector_pool.hxx | 49 std::ptrdiff_t nIdx=mnFirstFreeIndex; in store() local 51 this->at(nIdx).value = rCopy; in store() 52 this->at(nIdx).nextFree = -1; in store() 54 return nIdx; in store() 63 void free( std::ptrdiff_t nIdx ) in free() argument 65 this->at(nIdx).nextFree = mnFirstFreeIndex; in free() 66 mnFirstFreeIndex = nIdx; in free() 69 const ValueType& get( std::ptrdiff_t nIdx ) const in get() 71 return this->operator[](nIdx).value; in get() 73 ValueType& get( std::ptrdiff_t nIdx ) in get() argument [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/o3tl/ |
H A D | vector_pool.hxx | 49 std::ptrdiff_t nIdx=mnFirstFreeIndex; in store() local 51 this->at(nIdx).value = rCopy; in store() 52 this->at(nIdx).nextFree = -1; in store() 54 return nIdx; in store() 63 void free( std::ptrdiff_t nIdx ) in free() argument 65 this->at(nIdx).nextFree = mnFirstFreeIndex; in free() 66 mnFirstFreeIndex = nIdx; in free() 69 const ValueType& get( std::ptrdiff_t nIdx ) const in get() 71 return this->operator[](nIdx).value; in get() 73 ValueType& get( std::ptrdiff_t nIdx ) in get() argument [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/core/tool/ |
H A D | recursionhelper.cxx | 122 sal_Int32 nIdx = aFGList.size(); in PushFormulaGroup() local 123 assert(nIdx > 0); in PushFormulaGroup() 126 --nIdx; in PushFormulaGroup() 127 assert(nIdx >= 0); in PushFormulaGroup() 160 sal_Int32 nIdx = aFGList.size(); in AnyCycleMemberInDependencyEvalMode() local 161 assert(nIdx > 0); in AnyCycleMemberInDependencyEvalMode() 164 --nIdx; in AnyCycleMemberInDependencyEvalMode() 165 assert(nIdx >= 0); in AnyCycleMemberInDependencyEvalMode() 180 sal_Int32 nIdx = aFGList.size() - 1; in AnyParentFGInCycle() local 181 while (nIdx >= 0) in AnyParentFGInCycle() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/core/tool/ |
H A D | recursionhelper.cxx | 122 sal_Int32 nIdx = aFGList.size(); in PushFormulaGroup() local 123 assert(nIdx > 0); in PushFormulaGroup() 126 --nIdx; in PushFormulaGroup() 127 assert(nIdx >= 0); in PushFormulaGroup() 160 sal_Int32 nIdx = aFGList.size(); in AnyCycleMemberInDependencyEvalMode() local 161 assert(nIdx > 0); in AnyCycleMemberInDependencyEvalMode() 164 --nIdx; in AnyCycleMemberInDependencyEvalMode() 165 assert(nIdx >= 0); in AnyCycleMemberInDependencyEvalMode() 180 sal_Int32 nIdx = aFGList.size() - 1; in AnyParentFGInCycle() local 181 while (nIdx >= 0) in AnyParentFGInCycle() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/comphelper/qa/unit/ |
H A D | parallelsorttest.cxx | 62 for (size_t nIdx = 0; nIdx < N; ++nIdx) in fillRandomUptoN() local 63 rVector[nIdx] = nIdx; in fillRandomUptoN() 72 for (size_t nIdx = 0; nIdx < nLen; ++nIdx) in sortTest() local 74 OString aMsg = "Wrong aVector[" + OString::number(nIdx) + "]"; in sortTest() 75 CPPUNIT_ASSERT_EQUAL_MESSAGE(aMsg.getStr(), nIdx, aVector[nIdx]); in sortTest()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/comphelper/qa/unit/ |
H A D | parallelsorttest.cxx | 62 for (size_t nIdx = 0; nIdx < N; ++nIdx) in fillRandomUptoN() local 63 rVector[nIdx] = nIdx; in fillRandomUptoN() 72 for (size_t nIdx = 0; nIdx < nLen; ++nIdx) in sortTest() local 74 OString aMsg = "Wrong aVector[" + OString::number(nIdx) + "]"; in sortTest() 75 CPPUNIT_ASSERT_EQUAL_MESSAGE(aMsg.getStr(), nIdx, aVector[nIdx]); in sortTest()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/editeng/source/items/ |
H A D | svxfont.cxx | 166 const sal_Int32 nIdx; member in SvxDoCapitals 172 : pOut(_pOut), rTxt(_rTxt), nIdx(_nIdx), nLen(_nLen) in SvxDoCapitals() 184 sal_Int32 GetIdx() const { return nIdx; } in GetIdx() 201 const sal_Int32 nIdx = rDo.GetIdx(); in DoOnCapitals() local 229 aCharString = rTxt.copy( nPos + nIdx, 1 ); in DoOnCapitals() 264 aCharString = rTxt.copy( nPos + nIdx, 1 ); in DoOnCapitals() 286 aCharString = rTxt.copy( nPos + nIdx, 1 ); in DoOnCapitals() 409 pDXArray, nIdx, nLen ) ); in QuickGetTextSize() 439 else aTxtSize = GetPhysTxtSize(pOut,rTxt,nIdx,nTmp); in GetTextSize() 474 DrawCapital( pOut, aPos, rTxt, nIdx, nLen ); in QuickDrawText() [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/geometry/include/pcl/geometry/impl/ |
H A D | polygon_operations.hpp | 190 std::size_t nIdx = rIdx + 1; in approximatePolygon2D() local 191 if (nIdx == result.size()) in approximatePolygon2D() 192 nIdx = 0; in approximatePolygon2D() 198 if (pIdx > result[nIdx]) { in approximatePolygon2D() 254 if (nIdx == result.size()) in approximatePolygon2D() 255 nIdx = 0; in approximatePolygon2D() 271 (pq[0] * lines[nIdx][0] + pq[1] * lines[nIdx][1] < 0.0)) { in approximatePolygon2D() 274 float distance2 = lines[nIdx][0] * polygon[result[nIdx]].x + in approximatePolygon2D() 275 lines[nIdx][1] * polygon[result[nIdx]].y + lines[nIdx][2]; in approximatePolygon2D() 282 vertex[0] = polygon[result[nIdx]].x - distance2 * lines[nIdx][0]; in approximatePolygon2D() [all …]
|
/dports/chinese/gcin-gtk3/gcin-2.9.0/modules/ |
H A D | chewing-conf.cpp | 98 int nIdx = 0; in chewing_config_dump() local 110 for (nIdx = 0; nIdx < MAX_SELKEY; nIdx++) in chewing_config_dump() 111 printf ("%c ", g_chewingConfig.selKey[nIdx]); in chewing_config_dump() 136 int nIdx = 0; in gcin_kb_config_set() local 168 for (nIdx = 0; nIdx < strlen (szKbSelKey); nIdx++) in gcin_kb_config_set() 169 g_chewingConfig.selKey[nIdx] = szKbSelKey[nIdx]; in gcin_kb_config_set() 172 nIdx = 0; in gcin_kb_config_set() 173 while (g_kbMappingTable[nIdx].pszGcinKbName) in gcin_kb_config_set() 175 if (!strncmp (g_kbMappingTable[nIdx].pszGcinKbName, in gcin_kb_config_set() 180 chewing_KBStr2Num (g_kbMappingTable[nIdx].pszChewingKbName)); in gcin_kb_config_set() [all …]
|
H A D | chewing.cpp | 94 gcin_label_cand_show (char *pszWord, int nIdx) in gcin_label_cand_show() argument 99 g_gcinModMainFuncs.mf_set_sele_text (nIdx, in gcin_label_cand_show() 173 int nIdx; in module_init_win() local 235 for (nIdx = 0; nIdx < MAX_SEG_NUM; nIdx++) in module_init_win() 238 gtk_widget_show (g_pSeg[nIdx].label); in module_init_win() 282 int nIdx; in module_get_preedit() local 295 for (nIdx = 0; nIdx < chewing_buffer_Len (g_pChewingCtx); nIdx++) in module_get_preedit() 332 int nIdx; in module_feedkey() local 439 nIdx = 0; in module_feedkey() 451 for (nIdx = 0; nIdx < chewing_buffer_Len (g_pChewingCtx); nIdx++) in module_feedkey() [all …]
|
/dports/chinese/gcin/gcin-2.9.0/modules/ |
H A D | chewing-conf.cpp | 98 int nIdx = 0; in chewing_config_dump() local 110 for (nIdx = 0; nIdx < MAX_SELKEY; nIdx++) in chewing_config_dump() 111 printf ("%c ", g_chewingConfig.selKey[nIdx]); in chewing_config_dump() 136 int nIdx = 0; in gcin_kb_config_set() local 168 for (nIdx = 0; nIdx < strlen (szKbSelKey); nIdx++) in gcin_kb_config_set() 169 g_chewingConfig.selKey[nIdx] = szKbSelKey[nIdx]; in gcin_kb_config_set() 172 nIdx = 0; in gcin_kb_config_set() 173 while (g_kbMappingTable[nIdx].pszGcinKbName) in gcin_kb_config_set() 175 if (!strncmp (g_kbMappingTable[nIdx].pszGcinKbName, in gcin_kb_config_set() 180 chewing_KBStr2Num (g_kbMappingTable[nIdx].pszChewingKbName)); in gcin_kb_config_set() [all …]
|
H A D | chewing.cpp | 94 gcin_label_cand_show (char *pszWord, int nIdx) in gcin_label_cand_show() argument 99 g_gcinModMainFuncs.mf_set_sele_text (nIdx, in gcin_label_cand_show() 173 int nIdx; in module_init_win() local 235 for (nIdx = 0; nIdx < MAX_SEG_NUM; nIdx++) in module_init_win() 238 gtk_widget_show (g_pSeg[nIdx].label); in module_init_win() 282 int nIdx; in module_get_preedit() local 295 for (nIdx = 0; nIdx < chewing_buffer_Len (g_pChewingCtx); nIdx++) in module_get_preedit() 332 int nIdx; in module_feedkey() local 439 nIdx = 0; in module_feedkey() 451 for (nIdx = 0; nIdx < chewing_buffer_Len (g_pChewingCtx); nIdx++) in module_feedkey() [all …]
|
/dports/chinese/gcin-qt5/gcin-2.9.0/modules/ |
H A D | chewing-conf.cpp | 98 int nIdx = 0; in chewing_config_dump() local 110 for (nIdx = 0; nIdx < MAX_SELKEY; nIdx++) in chewing_config_dump() 111 printf ("%c ", g_chewingConfig.selKey[nIdx]); in chewing_config_dump() 136 int nIdx = 0; in gcin_kb_config_set() local 168 for (nIdx = 0; nIdx < strlen (szKbSelKey); nIdx++) in gcin_kb_config_set() 169 g_chewingConfig.selKey[nIdx] = szKbSelKey[nIdx]; in gcin_kb_config_set() 172 nIdx = 0; in gcin_kb_config_set() 173 while (g_kbMappingTable[nIdx].pszGcinKbName) in gcin_kb_config_set() 175 if (!strncmp (g_kbMappingTable[nIdx].pszGcinKbName, in gcin_kb_config_set() 180 chewing_KBStr2Num (g_kbMappingTable[nIdx].pszChewingKbName)); in gcin_kb_config_set() [all …]
|
H A D | chewing.cpp | 94 gcin_label_cand_show (char *pszWord, int nIdx) in gcin_label_cand_show() argument 99 g_gcinModMainFuncs.mf_set_sele_text (nIdx, in gcin_label_cand_show() 173 int nIdx; in module_init_win() local 235 for (nIdx = 0; nIdx < MAX_SEG_NUM; nIdx++) in module_init_win() 238 gtk_widget_show (g_pSeg[nIdx].label); in module_init_win() 282 int nIdx; in module_get_preedit() local 295 for (nIdx = 0; nIdx < chewing_buffer_Len (g_pChewingCtx); nIdx++) in module_get_preedit() 332 int nIdx; in module_feedkey() local 439 nIdx = 0; in module_feedkey() 451 for (nIdx = 0; nIdx < chewing_buffer_Len (g_pChewingCtx); nIdx++) in module_feedkey() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/ui/dbgui/ |
H A D | imoptdlg.cxx | 52 sal_Int32 nIdx{ 0 }; in ScImportOptions() local 54 OUString aToken( rStr.getToken( 0, ',', nIdx ) ); in ScImportOptions() 59 nTextSepCode = static_cast<sal_Unicode>(rStr.getToken(0, ',', nIdx).toInt32()); in ScImportOptions() 60 aStrFont = rStr.getToken(0, ',', nIdx); in ScImportOptions() 66 bSaveAsShown = rStr.getToken(0, ',', nIdx).toInt32() != 0; in ScImportOptions() 73 bQuoteAllText = rStr.getToken(3, ',', nIdx) == "true"; // 7th token in ScImportOptions() 75 bSaveNumberAsSuch = rStr.getToken(0, ',', nIdx) == "true"; in ScImportOptions() 77 bSaveAsShown = rStr.getToken(0, ',', nIdx) == "true"; in ScImportOptions() 79 bSaveFormulas = rStr.getToken(0, ',', nIdx) == "true"; in ScImportOptions() 81 bRemoveSpace = rStr.getToken(0, ',', nIdx) == "true"; in ScImportOptions() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/editeng/source/items/ |
H A D | svxfont.cxx | 226 const sal_Int32 nIdx; member in SvxDoCapitals 232 : pOut(_pOut), rTxt(_rTxt), nIdx(_nIdx), nLen(_nLen) in SvxDoCapitals() 244 sal_Int32 GetIdx() const { return nIdx; } in GetIdx() 261 const sal_Int32 nIdx = rDo.GetIdx(); in DoOnCapitals() local 289 aCharString = rTxt.copy( nPos + nIdx, 1 ); in DoOnCapitals() 324 aCharString = rTxt.copy( nPos + nIdx, 1 ); in DoOnCapitals() 346 aCharString = rTxt.copy( nPos + nIdx, 1 ); in DoOnCapitals() 467 pDXArray, nIdx, nLen ) ); in QuickGetTextSize() 496 else aTxtSize = GetPhysTxtSize(&rOut,rTxt,nIdx,nTmp); in GetTextSize() 530 DrawCapital( pOut, aPos, rTxt, nIdx, nLen ); in QuickDrawText() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/view/ |
H A D | printdata.cxx | 180 int nIdx = 0; in SwPrintUIOptions() local 183 m_aUIProperties[nIdx].Name = "OptionsUIFile"; in SwPrintUIOptions() 184 m_aUIProperties[nIdx++].Value <<= OUString("modules/swriter/ui/printeroptions.ui"); in SwPrintUIOptions() 204 … m_aUIProperties[ nIdx++ ].Value = setBoolControlOpt("pictures", SwResId( STR_PRINTOPTUI_PICTURES), in SwPrintUIOptions() 269 m_aUIProperties[nIdx++].Value = setSubgroupControlOpt( "printrange", in SwPrintUIOptions() 292 m_aUIProperties[nIdx++].Value = setChoiceRadiosControlOpt(aWidgetIds, OUString(), in SwPrintUIOptions() 300 m_aUIProperties[nIdx++].Value = setEditControlOpt("pagerange", OUString(), in SwPrintUIOptions() 307 m_aUIProperties[ nIdx++ ].Value = setChoiceListControlOpt("evenoddbox", in SwPrintUIOptions() 329 m_aUIProperties[ nIdx++ ].Value = setChoiceListControlOpt("writercomments", in SwPrintUIOptions() 364 m_aUIProperties[ nIdx++ ].Value = setChoiceListControlOpt("scriptdirection", in SwPrintUIOptions() [all …]
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/hime/src/modules/ |
H A D | chewing-conf.c | 110 int nIdx = 0; in chewing_config_dump() local 121 for (nIdx = 0; nIdx < MAX_SELKEY; nIdx++) in chewing_config_dump() 122 printf ("%c ", g_chewingConfig.selKey[nIdx]); in chewing_config_dump() 144 int nIdx = 0; in hime_kb_config_set() local 176 for (nIdx = 0; nIdx < strlen (szKbSelKey); nIdx++) in hime_kb_config_set() 177 g_chewingConfig.selKey[nIdx] = szKbSelKey[nIdx]; in hime_kb_config_set() 181 nIdx = 0; in hime_kb_config_set() 182 while (g_kbMappingTable[nIdx].pszHimeKbName) { in hime_kb_config_set() 183 if (!strncmp (g_kbMappingTable[nIdx].pszHimeKbName, in hime_kb_config_set() 187 chewing_KBStr2Num (g_kbMappingTable[nIdx].pszChewingKbName)); in hime_kb_config_set() [all …]
|