| /trunk/main/svtools/source/filter/ |
| H A D | sgvspln.cxx | 161 sal_uInt16 TriDiagGS(sal_Bool rep, sal_uInt16 n, double* lower, in TriDiagGS() argument 247 if ( n < 2 ) return(1); /* n mindestens 2 */ in TriDiagGS() 253 for (i = 1; i < n; i++) in TriDiagGS() 261 if ( fabs(diag[n-1]) < MACH_EPS ) return(2); in TriDiagGS() 263 for (i = 1; i < n; i++) /* Vorwaertselimination */ in TriDiagGS() 266 b[n-1] /= diag[n-1]; /* Rueckwaertselimination */ in TriDiagGS() 267 for (j = n-2; j >= 0; j--) { in TriDiagGS() 293 sal_uInt16 ZyklTriDiagGS(sal_Bool rep, sal_uInt16 n, double* lower, double* diag, in ZyklTriDiagGS() argument 379 if ( n < 3 ) return(1); in ZyklTriDiagGS() 383 lower[0] = upper[n-1] = 0.0; /* Matrix berechnen. */ in ZyklTriDiagGS() [all …]
|
| /trunk/main/icc/ |
| H A D | SampleICC-1.3.2.patch | 789 - sDescription += "ELEM_bACS\r\n"; 790 + sDescription += "ELEM_bACS\n"; 792 - sDescription += "ELEM_eACS\r\n"; 793 + sDescription += "ELEM_eACS\n"; 798 - sDescription += "\r\n"; 799 + sDescription += "\n"; 802 - sDescription += "\r\nData Follows:\r\n"; 803 + sDescription += "\nData Follows:\n"; 813 - sprintf(buf, "]\r\nFunctionType: %04Xh\r\n", m_nFunctionType); 814 + sprintf(buf, "]\nFunctionType: %04Xh\n", m_nFunctionType); [all …]
|
| /trunk/extras/l10n/source/vi/ |
| H A D | localize.sdf | 35 … RID_BASIC_START SbERR_MATH_OVERFLOW & ERRCODE_RES_MASK 0 vi Tràn. 20200… 41 … RID_BASIC_START SbERR_VAR_UNDEFINED & ERRCODE_RES_MASK 0 vi Biến chưa được định nghĩa… 44 …ing RID_BASIC_START SbERR_USER_ABORT & ERRCODE_RES_MASK 0 vi Tiến trình đã bị ngưng lạ… 48 …RID_BASIC_START SbERR_BAD_DLL_LOAD & ERRCODE_RES_MASK 0 vi Lỗi nạp tập tin DLL. … 50 …RID_BASIC_START SbERR_INTERNAL_ERROR & ERRCODE_RES_MASK 0 vi Lỗi nội bộ $(ARG1). … 51 … RID_BASIC_START SbERR_BAD_CHANNEL & ERRCODE_RES_MASK 0 vi Tên tập tin hoặc số hiệu… 56 …_START SbERR_FILE_EXISTS & ERRCODE_RES_MASK 0 vi Tập tin đã tồn tại. 202… 57 …_START SbERR_BAD_RECORD_LENGTH & ERRCODE_RES_MASK 0 vi Độ dài bản ghi không đúng. … 60 …ART SbERR_BAD_RECORD_NUMBER & ERRCODE_RES_MASK 0 vi Số thứ tự bản ghi sai. … 62 …_START SbERR_NO_DEVICE & ERRCODE_RES_MASK 0 vi Thiết bị không sẵn sàng. … [all …]
|
| /trunk/main/sfx2/source/appl/ |
| H A D | workwin.cxx | 558 for ( sal_uInt16 n=0; n<SFX_SPLITWINDOWS_MAX; n++ ) in SfxFrameWorkWin_Impl() local 564 ( n == SFX_SPLITWINDOWS_LEFT ? SFX_ALIGN_LEFT : in SfxFrameWorkWin_Impl() 565 n == SFX_SPLITWINDOWS_RIGHT ? SFX_ALIGN_RIGHT : in SfxFrameWorkWin_Impl() 566 n == SFX_SPLITWINDOWS_TOP ? SFX_ALIGN_TOP : in SfxFrameWorkWin_Impl() 569 pSplit[n] = pSplitWin; in SfxFrameWorkWin_Impl() 611 for (sal_uInt16 n=0; n < SFX_OBJECTBAR_MAX; ++n) in SfxWorkWindow() local 631 for ( sal_uInt16 n=0; n<SFX_SPLITWINDOWS_MAX; n++ ) in ~SfxWorkWindow() local 633 SfxSplitWindow *p = pSplit[n]; in ~SfxWorkWindow() 689 for ( sal_uInt16 n=0; n<nCount; n++ ) in SaveStatus_Impl() local 691 SfxChildWin_Impl* pCW = (*pChildWins)[n]; in SaveStatus_Impl() [all …]
|
| /trunk/main/basic/source/sbx/ |
| H A D | sbxint.cxx | 225 void ImpPutInteger( SbxValues* p, sal_Int16 n ) in ImpPutInteger() argument 250 p->nInteger = n; break; in ImpPutInteger() 252 p->nLong = n; break; in ImpPutInteger() 254 p->nSingle = n; break; in ImpPutInteger() 257 p->nDouble = n; break; in ImpPutInteger() 259 p->nInt64 = n; break; in ImpPutInteger() 261 p->nULong64 = ImpDoubleToUINT64( (double)n ); break; in ImpPutInteger() 263 p->nLong64 = ImpDoubleToINT64( (double)n ); break; in ImpPutInteger() 265 p->nLong64 = ImpDoubleToCurrency( (double)n ); break; in ImpPutInteger() 268 ImpCreateDecimal( p )->setInt( n ); in ImpPutInteger() [all …]
|
| H A D | sbxdbl.cxx | 139 void ImpPutDouble( SbxValues* p, double n, sal_Bool bCoreString ) in ImpPutDouble() argument 167 if( !pDec->setDouble( n ) ) in ImpPutDouble() 177 p->nInt64 = ImpDoubleToSalInt64( n ); break; in ImpPutDouble() 179 p->uInt64 = ImpDoubleToSalUInt64( n ); break; in ImpPutDouble() 182 p->nDouble = n; break; in ImpPutDouble() 189 ImpCvtNum( (double) n, 14, *p->pOUString, bCoreString ); in ImpPutDouble() 195 pVal->PutDouble( n ); in ImpPutDouble() 201 if( n > SbxMAXCHAR ) in ImpPutDouble() 203 SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXCHAR; in ImpPutDouble() 205 else if( n < SbxMINCHAR ) in ImpPutDouble() [all …]
|
| H A D | sbxdate.cxx | 189 void ImpPutDate( SbxValues* p, double n ) in ImpPutDate() argument 198 p->nDouble = n; break; in ImpPutDate() 230 if( !pDec->setDouble( n ) ) in ImpPutDate() 260 if( n <= -1.0 || n >= 1.0 ) in ImpPutDate() 263 if( floor( n ) == n ) in ImpPutDate() 294 pFormatter->GetOutputString( n, nIndex, aTmpString, &pColor ); in ImpPutDate() 303 pVal->PutDate( n ); in ImpPutDate() 309 if( n > SbxMAXCHAR ) in ImpPutDate() 311 SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXCHAR; in ImpPutDate() 313 else if( n < SbxMINCHAR ) in ImpPutDate() [all …]
|
| H A D | sbxsng.cxx | 184 void ImpPutSingle( SbxValues* p, float n ) in ImpPutSingle() argument 217 if( !pDec->setSingle( n ) ) in ImpPutSingle() 227 p->nSingle = n; break; in ImpPutSingle() 230 p->nDouble = n; break; in ImpPutSingle() 238 ImpCvtNum( (double) n, 6, *p->pOUString ); in ImpPutSingle() 245 pVal->PutSingle( n ); in ImpPutSingle() 251 if( n > SbxMAXCHAR ) in ImpPutSingle() 253 SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXCHAR; in ImpPutSingle() 255 else if( n < SbxMINCHAR ) in ImpPutSingle() 257 SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMINCHAR; in ImpPutSingle() [all …]
|
| H A D | sbxlng.cxx | 190 void ImpPutLong( SbxValues* p, sal_Int32 n ) in ImpPutLong() argument 223 p->nLong = n; break; in ImpPutLong() 225 p->nSingle = (float) n; break; in ImpPutLong() 228 p->nDouble = n; break; in ImpPutLong() 230 p->nInt64 = n; break; in ImpPutLong() 233 ImpCreateDecimal( p )->setLong( n ); in ImpPutLong() 241 ImpCvtNum( (double) n, 0, *p->pOUString ); in ImpPutLong() 247 pVal->PutLong( n ); in ImpPutLong() 253 if( n > SbxMAXCHAR ) in ImpPutLong() 255 SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXCHAR; in ImpPutLong() [all …]
|
| /trunk/main/chart2/source/view/charttypes/ |
| H A D | Splines.cxx | 165 const lcl_tSizeType n = m_aPoints.size() - 1; in Calculate() local 166 ::std::vector< double > u( n ); in Calculate() 167 m_aSecDerivY.resize( n + 1, 0.0 ); in Calculate() 183 for( lcl_tSizeType i = 1; i < n; ++i ) in Calculate() 213 double xDiff = ( m_aPoints[ n ].first - m_aPoints[ n - 1 ].first ); in Calculate() 215 ( m_fYpN - ( m_aPoints[ n ].second - m_aPoints[ n - 1 ].second ) / xDiff ); in Calculate() 218 m_aSecDerivY[ n ] = ( un - qn * u[ n - 1 ] ) * ( qn * m_aSecDerivY[ n - 1 ] + 1.0 ); in Calculate() 223 for( lcl_tSizeType k = n; k > 0; --k ) in Calculate() 235 const lcl_tSizeType n = m_aPoints.size() - 1; in CalculatePeriodic() local 239 ::std::vector< double > u( n + 1, 0.0 ); in CalculatePeriodic() [all …]
|
| /trunk/main/vcl/source/gdi/ |
| H A D | sallayout.cxx | 1003 for( int n = 0; n < nCharCount; ++n ) in GetCharWidths() local 1004 pCharWidths[n] = 0; in GetCharWidths() 1014 int n = pG->mnCharPos; in GetCharWidths() local 1015 if( n >= mnEndCharPos ) in GetCharWidths() 1017 n -= mnMinCharPos; in GetCharWidths() 1018 if( n < 0 ) in GetCharWidths() 1063 pCharWidths[n] += nXPosMax - nXPosMin; in GetCharWidths() 1136 int i, n; in ApplyDXArray() local 1145 n = pG->mnCharPos - rArgs.mnMinCharPos; in ApplyDXArray() 1146 if( (n < 0) || (nCharCount <= n) ) in ApplyDXArray() [all …]
|
| /trunk/main/tools/inc/tools/ |
| H A D | solar.h | 95 inline double SVBT64ToDouble( const SVBT64 p ) { double n; in SVBT64ToDouble() local 96 ((sal_uInt8*)&n)[0] = p[0]; in SVBT64ToDouble() 97 ((sal_uInt8*)&n)[1] = p[1]; in SVBT64ToDouble() 98 ((sal_uInt8*)&n)[2] = p[2]; in SVBT64ToDouble() 99 ((sal_uInt8*)&n)[3] = p[3]; in SVBT64ToDouble() 100 ((sal_uInt8*)&n)[4] = p[4]; in SVBT64ToDouble() 101 ((sal_uInt8*)&n)[5] = p[5]; in SVBT64ToDouble() 102 ((sal_uInt8*)&n)[6] = p[6]; in SVBT64ToDouble() 103 ((sal_uInt8*)&n)[7] = p[7]; in SVBT64ToDouble() 104 return n; } in SVBT64ToDouble() [all …]
|
| /trunk/main/sw/source/core/doc/ |
| H A D | number.cxx | 429 for( sal_uInt16 n = pDoc->GetNumRuleTbl().Count(); !bFnd && n; ) in UpdateNumNodes() local 431 pRule = pDoc->GetNumRuleTbl()[ --n ]; in UpdateNumNodes() 534 sal_uInt8 n; in SwNumRule() local 538 for( n = 0; n < MAXLEVEL; ++n ) in SwNumRule() 544 pFmt->SetAbsLSpace( lNumIndent + SwNumRule::GetNumIndent( n ) ); in SwNumRule() 548 pFmt->SetBulletChar( numfunc::GetBulletChar(n)); in SwNumRule() 550 SwNumRule::aBaseFmts[ NUM_RULE ][ n ] = pFmt; in SwNumRule() 562 for( n = 0; n < MAXLEVEL; ++n ) in SwNumRule() 570 pFmt->SetListtabPos( cIndentAt[ n ] ); in SwNumRule() 572 pFmt->SetIndentAt( cIndentAt[ n ] ); in SwNumRule() [all …]
|
| H A D | docredln.cxx | 118 for( sal_uInt16 n = 1; n < rTbl.Count(); ++n ) in lcl_CheckRedline() local 120 const SwRedline* pPrev = rTbl[ n-1 ]; in lcl_CheckRedline() 121 const SwRedline* pCurrent = rTbl[ n ]; in lcl_CheckRedline() 139 for( sal_uInt16 n = 0; n < rTbl.Count(); ++n ) in lcl_DebugRedline() local 142 const SwRedline* pCurrent = rTbl[ n ]; in lcl_DebugRedline() 143 const SwRedline* pNext = n+1 < rTbl.Count() ? rTbl[ n+1 ] : 0; in lcl_DebugRedline() 146 if( n == nWatch ) in lcl_DebugRedline() 374 sal_uInt16 n = 0; in AppendRedline() local 376 if( !GetRedline( *pStt, &n ) && n ) in AppendRedline() 377 --n; in AppendRedline() [all …]
|
| H A D | docnum.cxx | 140 for (sal_uInt16 n = 0; n < pTxtFmtCollTbl->Count(); n++) in PropagateOutlineRule() local 142 SwTxtFmtColl *pColl = (*pTxtFmtCollTbl)[n]; in PropagateOutlineRule() 193 sal_uInt16 n; in OutlineUpDown() local 200 for( n = 0; n < pTxtFmtCollTbl->Count(); ++n ) in OutlineUpDown() 205 if((*pTxtFmtCollTbl)[ n ]->IsAssignedToListLevelOfOutlineStyle()) in OutlineUpDown() 207 const int nLevel = (*pTxtFmtCollTbl)[ n ]->GetAssignedOutlineStyleLevel(); in OutlineUpDown() 208 aCollArr[ nLevel ] = (*pTxtFmtCollTbl)[ n ]; in OutlineUpDown() 214 for (n = MAXLEVEL - 1; n > 0; n--) in OutlineUpDown() 216 if (aCollArr[n] != 0) in OutlineUpDown() 224 if (aCollArr[n] != 0) in OutlineUpDown() [all …]
|
| H A D | tblrwcl.cxx | 368 for( sal_uInt16 n = rFndBoxes.Count(); n; ) in lcl_CopyCol() local 369 nSz += rFndBoxes[ --n ]->GetBox()->GetFrmFmt()->GetFrmSize().GetWidth(); in lcl_CopyCol() 499 for( sal_uInt16 n = 0; n < pFBox->GetLines().Count(); ++n ) in lcl_InsCol() local 500 lcl_InsCol( pFBox->GetLines()[ n ], rCpyPara, nCpyCnt, bBehind ); in lcl_InsCol() 511 for( sal_uInt16 n = 0; n < nCpyCnt; ++n ) in lcl_InsCol() local 513 if( n + 1 == nCpyCnt && bBehind ) in lcl_InsCol() 565 for( sal_uInt16 n = 0; n < aFndBox.GetLines().Count(); ++n ) in InsertCol() local 566 lcl_InsCol( aFndBox.GetLines()[ n ], aCpyPara, nCnt, bBehind ); in InsertCol() 970 for( sal_uInt16 n = 0; 0 < nFndWidth && n < nBoxCnt; ++n ) in lcl_FndNxtPrvDelBox() local 972 pFndBox = pLine->GetTabBoxes()[ n ]; in lcl_FndNxtPrvDelBox() [all …]
|
| /trunk/main/editeng/source/outliner/ |
| H A D | paralist.cxx | 121 for ( sal_uLong n = GetParagraphCount(); n; ) in Clear() local 123 Paragraph* pPara = GetParagraph( --n ); in Clear() 134 sal_uLong n; in MoveParagraphs() local 136 for ( n = 0; n < _nCount; n++ ) in MoveParagraphs() 146 for ( n = 0; n < _nCount; n++ ) in MoveParagraphs() 148 Paragraph* pPara = aParas.GetParagraph( n ); in MoveParagraphs() 160 sal_uLong n = GetAbsPos( pPara ); in NextVisible() local 162 Paragraph* p = GetParagraph( ++n ); in NextVisible() 164 p = GetParagraph( ++n ); in NextVisible() 171 sal_uLong n = GetAbsPos( pPara ); in PrevVisible() local [all …]
|
| /trunk/main/sal/qa/testHelperFunctions/ |
| H A D | testHelperFunctions.cxx | 55 void printf64(sal_Int64 n) in printf64() argument 57 if (n < 0) in printf64() 61 n = -n; in printf64() 63 if (n > 2147483647) in printf64() 65 sal_Int64 n64 = n >> 32; in printf64() 68 n32 = n & 0xffffffff; in printf64() 73 sal_uInt32 n32 = n & 0xffffffff; in printf64() 97 sal_Int64 n; in TEST_F() local 98 n = 1073741824; in TEST_F() 99 n <<= 9; in TEST_F() [all …]
|
| /trunk/main/sc/source/filter/excel/ |
| H A D | tokstack.cxx | 121 sal_uInt16 n; in ~TokenPool() local 130 for( n = 0 ; n < nP_RefTr ; n++ ) in ~TokenPool() 131 delete ppP_RefTr[ n ]; in ~TokenPool() 134 for( n = 0 ; n < nP_Str ; n++ ) in ~TokenPool() 135 delete ppP_Str[ n ]; in ~TokenPool() 138 for( n = 0 ; n < nP_Ext ; n++ ) in ~TokenPool() 139 delete ppP_Ext[ n ]; in ~TokenPool() 142 for( n = 0 ; n < nP_Nlf ; n++ ) in ~TokenPool() 143 delete ppP_Nlf[ n ]; in ~TokenPool() 146 for( n = 0 ; n < nP_Matrix ; n++ ) in ~TokenPool() [all …]
|
| /trunk/main/idl/source/objects/ |
| H A D | object.cxx | 386 sal_uLong n; in WriteContextSvIdl() local 387 for( n = 0; n < aAttrList.Count(); n++ ) in WriteContextSvIdl() 390 aAttrList.GetObject( n )->WriteSvIdl( rBase, rOutStm, nTab ); in WriteContextSvIdl() 393 for( n = 0; n < aClassList.Count(); n++ ) in WriteContextSvIdl() 395 SvClassElement * pEle = aClassList.GetObject( n ); in WriteContextSvIdl() 457 for( sal_uLong n = 0; n < aAttrList.Count(); n++ ) in TestAttribute() local 459 SvMetaAttribute * pS = aAttrList.GetObject( n ); in TestAttribute() 654 sal_uLong n; in Write() local 655 for( n = 0; n < aAttrList.Count(); n++ ) in Write() 657 SvMetaAttribute * pAttr = aAttrList.GetObject( n ); in Write() [all …]
|
| /trunk/main/sot/source/sdstor/ |
| H A D | stgelem.cxx | 205 sal_Int32 StgHeader::GetFATPage( short n ) const in GetFATPage() 207 if( n >= 0 && n < cFATPagesInHeader ) in GetFATPage() 208 return nMasterFAT[ n ]; in GetFATPage() 213 void StgHeader::SetFATPage( short n, sal_Int32 nb ) in SetFATPage() argument 215 if( n >= 0 && n < cFATPagesInHeader ) in SetFATPage() 217 if( nMasterFAT[ n ] != nb ) in SetFATPage() 218 bDirty = sal_True, nMasterFAT[ n ] = nb; in SetFATPage() 228 void StgHeader::SetTOCStart( sal_Int32 n ) in SetTOCStart() argument 230 if( n != nTOCstrm ) bDirty = sal_True, nTOCstrm = n; in SetTOCStart() 233 void StgHeader::SetDataFATStart( sal_Int32 n ) in SetDataFATStart() argument [all …]
|
| H A D | stgstrms.cxx | 269 sal_Int32 n = ( ( rStrm.GetSize() >> 2 ) - nPage1 ) / nEntries; in InitNew() local 270 if ( n > 0 ) in InitNew() 272 while( n-- ) in InitNew() 675 sal_Int32 n = 1; in SetSize() local 677 sal_Int32 nNewPage = pFat->FindBlock( n ); in SetSize() 850 sal_Int32 StgDataStrm::Read( void* pBuf, sal_Int32 n ) in Read() argument 852 if ( n < 0 ) in Read() 855 if( ( nPos + n ) > nSize ) in Read() 856 n = nSize - nPos; in Read() 858 while( n ) in Read() [all …]
|
| /trunk/main/extensions/source/scanner/ |
| H A D | sane.cxx | 324 sal_Bool Sane::Open( int n ) in Open() argument 326 if( n >= 0 && n < nDevices ) in Open() 328 mnDevice = n; in Open() 329 return Open( (char*)ppDevices[n]->name ); in Open() 358 sal_Bool Sane::GetOptionValue( int n, sal_Bool& rRet ) in GetOptionValue() argument 360 if( ! maHandle || mppOptions[n]->type != SANE_TYPE_BOOL ) in GetOptionValue() 363 SANE_Status nStatus = ControlOption( n, SANE_ACTION_GET_VALUE, &nRet ); in GetOptionValue() 371 sal_Bool Sane::GetOptionValue( int n, ByteString& rRet ) in GetOptionValue() argument 374 if( ! maHandle || mppOptions[n]->type != SANE_TYPE_STRING ) in GetOptionValue() 376 char* pRet = new char[mppOptions[n]->size+1]; in GetOptionValue() [all …]
|
| H A D | sane.hxx | 125 static String GetName( int n ) in GetName() argument 126 … { return String( ppDevices[n]->name ? ppDevices[n]->name : "", osl_getThreadTextEncoding() ); } in GetName() 127 static String GetVendor( int n ) in GetVendor() argument 128 …{ return String( ppDevices[n]->vendor ? ppDevices[n]->vendor : "", osl_getThreadTextEncoding() ); } in GetVendor() 129 static String GetModel( int n ) in GetModel() argument 130 … { return String( ppDevices[n]->model ? ppDevices[n]->model : "", osl_getThreadTextEncoding() ); } in GetModel() 131 static String GetType( int n ) in GetType() argument 132 … { return String( ppDevices[n]->type ? ppDevices[n]->type : "", osl_getThreadTextEncoding() ); } in GetType() 134 String GetOptionName( int n ) in GetOptionName() argument 135 …{ return String( mppOptions[n]->name ? (char*)mppOptions[n]->name : "", osl_getThreadTextEncoding(… in GetOptionName() [all …]
|
| /trunk/main/svl/source/items/ |
| H A D | itempool.cxx | 247 for ( sal_uInt16 n = 0; n <= nEnd - nStart; ++n ) in SfxItemPool() local 249 (*( ppDefaults + n )) = (*( rPool.ppStaticDefaults + n ))->Clone(this); in SfxItemPool() 250 (*( ppDefaults + n ))->SetKind( SFX_ITEMS_STATICDEFAULT ); in SfxItemPool() 259 for ( sal_uInt16 n = 0; n <= nEnd - nStart; ++n ) in SfxItemPool() local 260 if ( (*( rPool.ppPoolDefaults + n )) ) in SfxItemPool() 262 (*( ppPoolDefaults + n )) = (*( rPool.ppPoolDefaults + n ))->Clone(this); in SfxItemPool() 263 (*( ppPoolDefaults + n ))->SetKind( SFX_ITEMS_POOLDEFAULT ); in SfxItemPool() 294 for ( sal_uInt16 n = 0; n <= nEnd - nStart; ++n ) in SetDefaults() local 296 SFX_ASSERT( (*( ppStaticDefaults + n ))->Which() == n + nStart, in SetDefaults() 297 n + nStart, "static defaults not sorted" ); in SetDefaults() [all …]
|