| /aoo42x/main/vcl/unx/generic/printergfx/ | 
| H A D | psputil.cxx | 60     sal_Int32 nPrecision;  in getAlignedHexValueOf()  local62         nPrecision = 2;  in getAlignedHexValueOf()
 65             nPrecision = 4;   in getAlignedHexValueOf()
 68                 nPrecision = 6;  in getAlignedHexValueOf()
 70                 nPrecision = 8;  in getAlignedHexValueOf()
 73     sal_Int32 nRet = nPrecision;  in getAlignedHexValueOf()
 74     while (nPrecision)  in getAlignedHexValueOf()
 76         nPrecision -= getHexValueOf (nValue % 256, pBuffer + nPrecision - 2 );  in getAlignedHexValueOf()
 
 | 
| /aoo42x/main/sc/source/ui/docshell/ | 
| H A D | docsh8.cxx | 435 		sal_Int32 nPrecision = 0;  in lcl_GetColumnTypes()  local489 							nPrecision = aTmp.ToInt32();  in lcl_GetColumnTypes()
 593 			if ( nPrecision > 15 )  in lcl_GetColumnTypes()
 594 				nPrecision = 15;  in lcl_GetColumnTypes()
 597 			if ( bPrecDefined && nPrecision != nPrec )  in lcl_GetColumnTypes()
 599 				if ( nPrecision )  in lcl_GetColumnTypes()
 607 				nPrecision = nPrec;  in lcl_GetColumnTypes()
 612 			if ( nPrecision && nFieldLen < nPrecision + 2 )  in lcl_GetColumnTypes()
 618 			if ( nFieldLen == 1 && nPrecision == 0 )  in lcl_GetColumnTypes()
 638 		pColScales[nField] = nPrecision;  in lcl_GetColumnTypes()
 [all …]
 
 | 
| /aoo42x/main/svtools/source/control/ | 
| H A D | fmtfield.cxx | 722 	sal_uInt16 nPrecision, nAnzLeading;  in GetThousandsSep()  local723 	ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading);  in GetThousandsSep()
 736 	sal_uInt16 nPrecision, nAnzLeading;  in SetThousandsSep()  local
 737 	ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading);  in SetThousandsSep()
 747 …nerateFormat(sFmtDescription, m_nFormatKey, eLang, _bUseSeparator, IsRed, nPrecision, nAnzLeading);  in SetThousandsSep()
 766 	sal_uInt16 nPrecision, nAnzLeading;  in GetDecimalDigits()  local
 767 	ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading);  in GetDecimalDigits()
 769 	return nPrecision;  in GetDecimalDigits()
 780 	sal_uInt16 nPrecision, nAnzLeading;  in SetDecimalDigits()  local
 781 	ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading);  in SetDecimalDigits()
 [all …]
 
 | 
| /aoo42x/main/sc/source/core/data/ | 
| H A D | documen4.cxx | 437 xub_StrLen ScDocument::GetMaxNumberStringLen( sal_uInt16& nPrecision, SCTAB nTab,  in GetMaxNumberStringLen()  argument442         return pTab[nTab]->GetMaxNumberStringLen( nPrecision, nCol,  in GetMaxNumberStringLen()
 511 		short nPrecision;  in RoundValueAsShown()  local
 514 			nPrecision = (short)GetFormatTable()->GetFormatPrecision( nFormat );  in RoundValueAsShown()
 518 					nPrecision += 2;  in RoundValueAsShown()
 523 …            nPrecision = sal::static_int_cast<short>( nPrecision - (short)floor( log10( fVal ) ) );  in RoundValueAsShown()
 525 …           nPrecision = sal::static_int_cast<short>( nPrecision - (short)floor( log10( -fVal ) ) );  in RoundValueAsShown()
 532 			nPrecision = (short)GetDocOptions().GetStdPrecision();  in RoundValueAsShown()
 534             if (nPrecision == static_cast<short>(SvNumberFormatter::UNLIMITED_PRECISION))  in RoundValueAsShown()
 537 		double fRound = ::rtl::math::round( fVal, nPrecision );  in RoundValueAsShown()
 
 | 
| H A D | column3.cxx | 2009     sal_uInt16& nPrecision, SCROW nRowStart, SCROW nRowEnd ) const  in GetMaxNumberStringLen()  argument2012     nPrecision = pDocument->GetDocOptions().GetStdPrecision();  in GetMaxNumberStringLen()
 2013     if ( nPrecision == SvNumberFormatter::UNLIMITED_PRECISION )  in GetMaxNumberStringLen()
 2015         nPrecision = 2;  in GetMaxNumberStringLen()
 2040                         if ( nPrec != SvNumberFormatter::UNLIMITED_PRECISION && nPrec > nPrecision )  in GetMaxNumberStringLen()
 2041                             nPrecision = nPrec;  in GetMaxNumberStringLen()
 2043                     if ( nPrecision )  in GetMaxNumberStringLen()
 2049                             nLen += nPrecision + aSep.Len();  in GetMaxNumberStringLen()
 2053                             if ( nTmp != nPrecision )  in GetMaxNumberStringLen()
 2054                                 nLen += nPrecision - nTmp;  in GetMaxNumberStringLen()
 
 | 
| /aoo42x/main/filter/source/graphicfilter/icgm/ | 
| H A D | cgm.cxx | 193 sal_uInt8 CGM::ImplGetByte( sal_uInt32 nSource, sal_uInt32 nPrecision )  in ImplGetByte()  argument195 	return (sal_uInt8)( nSource >> ( ( nPrecision - 1 ) << 3 ) );  in ImplGetByte()
 200 long CGM::ImplGetI( sal_uInt32 nPrecision )  in ImplGetI()  argument
 203 	mnParaSize += nPrecision;  in ImplGetI()
 204 	switch( nPrecision )  in ImplGetI()
 232 sal_uInt32 CGM::ImplGetUI( sal_uInt32 nPrecision )  in ImplGetUI()  argument
 235 	mnParaSize += nPrecision;  in ImplGetUI()
 236 	switch( nPrecision )  in ImplGetUI()
 
 | 
| H A D | bitmap.cxx | 249 	sal_uInt32 nPrecision = mpCGM->pElement->nIntegerPrecision;  in ImplGetDimensions()  local250 	rDesc.mnX = mpCGM->ImplGetUI( nPrecision );  in ImplGetDimensions()
 251 	rDesc.mnY = mpCGM->ImplGetUI( nPrecision );  in ImplGetDimensions()
 252 	rDesc.mnLocalColorPrecision = mpCGM->ImplGetI( nPrecision );  in ImplGetDimensions()
 299 	sal_uInt32 nHeaderSize = 2 + 3 * nPrecision + 3 * mpCGM->ImplGetPointSize();  in ImplGetDimensions()
 
 | 
| H A D | cgm.hxx | 116 		sal_uInt8			ImplGetByte( sal_uInt32 nSource, sal_uInt32 nPrecision );117 		long				ImplGetI( sal_uInt32 nPrecision );
 118 		sal_uInt32			ImplGetUI( sal_uInt32 nPrecision );
 
 | 
| /aoo42x/main/sc/source/ui/sidebar/ | 
| H A D | NumberFormatPropertyPanel.cxx | 209 	sal_uInt16		  nPrecision	= (mpEdDecimals->IsEnabled())  in IMPL_LINK()  local218 	String sPrecision = String::CreateFromInt32(nPrecision);  in IMPL_LINK()
 331 			sal_uInt16		  nPrecision	=	 0;  in NotifyItemUpdate()  local
 374 				nPrecision	=	 (sal_uInt16)sFormat[2].ToInt32();  in NotifyItemUpdate()
 382 				nPrecision	=	 0;  in NotifyItemUpdate()
 387 			mpEdDecimals->SetValue(nPrecision);  in NotifyItemUpdate()
 
 | 
| /aoo42x/main/dbaccess/source/ui/tabledesign/ | 
| H A D | FieldDescriptions.cxx | 228 					SetPrecision(::std::min<sal_Int32>(nPrec,_pType->nPrecision));  in FillFromTypeInfo()246 							nPrec = _pType->nPrecision;  in FillFromTypeInfo()
 254 					if ( _pType->nPrecision )  in FillFromTypeInfo()
 255 …		SetPrecision(::std::min<sal_Int32>(nPrec ? nPrec : DEFAULT_NUMERIC_PRECSION,_pType->nPrecision));  in FillFromTypeInfo()
 262 			SetPrecision(_pType->nPrecision);  in FillFromTypeInfo()
 577                     nPrec = pTypeInfo->nPrecision;  in GetPrecision()
 626     pSpecialType->nPrecision = GetPrecision();  in getSpecialTypeInfo()
 
 | 
| H A D | TableController.cxx | 859 			sal_Int32 nPrecision	= 0;  in loadData()  local876 			xColumn->getPropertyValue(PROPERTY_PRECISION)		>>= nPrecision;  in loadData()
 894 …nfo = ::dbaui::getTypeInfoFromType(m_aTypeInfo,nType,sTypeName,sCreate,nPrecision,nScale,bIsAutoIn…  in loadData()
 916 				pActFieldDescr->SetPrecision(nPrecision);  in loadData()
 1082 			sal_Int32 nType=0,nPrecision=0,nScale=0,nNullable=0;  in alterColumns()  local
 1087 			xColumn->getPropertyValue(PROPERTY_PRECISION)		>>= nPrecision;  in alterColumns()
 1107                 (nPrecision != pField->GetPrecision() && nPrecision )		||   in alterColumns()
 
 | 
| /aoo42x/main/xmloff/source/style/ | 
| H A D | xmlnumfe.cxx | 976 	sal_uInt16 nPrecision = 0;  in ExportPart_Impl()  local978 	rFormat.GetNumForInfo( nPart, nFmtType, bThousand, nPrecision, nLeading);  in ExportPart_Impl()
 1312 							 nPrecision > 0 )  in ExportPart_Impl()
 1394 									sal_Int32 nDecimals = nPrecision;	// from GetFormatSpecialInfo  in ExportPart_Impl()
 1412 									if ( bDecDashes && nPrecision > 0 )  in ExportPart_Impl()
 1413 										sDashStr.Fill( nPrecision, '-' );  in ExportPart_Impl()
 1424 …                 WriteScientificElement_Impl( nPrecision, nIntegerSymbols, bThousand, nExpDigits );  in ExportPart_Impl()
 1437 …                          WriteFractionElement_Impl( nInteger, bThousand, nPrecision, nPrecision );  in ExportPart_Impl()
 1447                     if ( pElemStr && nPrecision == 0 )  in ExportPart_Impl()
 1578 					WriteSecondsElement_Impl( ( nElemType == NF_KEY_SS ), nPrecision );  in ExportPart_Impl()
 
 | 
| /aoo42x/main/connectivity/source/drivers/dbase/ | 
| H A D | DTable.cxx | 356 		sal_Int32 nPrecision = aDBFColumn.db_flng;  in fillColumns()  local381 				nPrecision = SvDbaseConverter::ConvertPrecisionToOdbc(nPrecision,aDBFColumn.db_dez);  in fillColumns()
 416 				nPrecision = 2147483647;  in fillColumns()
 421 				nPrecision = 2147483647;  in fillColumns()
 434 				    nPrecision = 2147483647;  in fillColumns()
 442 		m_aPrecisions.push_back(nPrecision);  in fillColumns()
 450 													nPrecision,  in fillColumns()
 1281             sal_Int32 nPrecision = 0;  in CreateFile()  local
 1342 					if (nPrecision > 254)  in CreateFile()
 1352 					OSL_ENSURE(nPrecision >=  nScale,  in CreateFile()
 [all …]
 
 | 
| /aoo42x/main/sal/qa/rtl/oustring/ | 
| H A D | rtl_OUString2.cxx | 291                 sal_Int16 nPrecision;  in testPrecision()  local292                 nPrecision = checkPrecisionSize<float>();  in testPrecision()
 293                 printf("precision of float: %d sizeof()=%lu \n", nPrecision, sizeof(float));  in testPrecision()
 295                 nPrecision = checkPrecisionSize<double>();  in testPrecision()
 296                 printf("precision of double: %d sizeof()=%lu \n", nPrecision, sizeof(double));  in testPrecision()
 298                 nPrecision = checkPrecisionSize<long double>();  in testPrecision()
 299 …           printf("precision of long double: %d sizeof()=%lu \n", nPrecision, sizeof(long double));  in testPrecision()
 
 | 
| /aoo42x/main/dbaccess/source/ui/uno/ | 
| H A D | ColumnPeer.cxx | 92 			sal_Int32 nPrecision	= 0;  in setColumn()  local102 				_xColumn->getPropertyValue(PROPERTY_PRECISION)		>>= nPrecision;  in setColumn()
 113 …nfoFromType(*pFieldControl->getTypeInfo(),nType,sTypeName,sCreateParam,nPrecision,nScale,bAutoIncr…  in setColumn()
 
 | 
| /aoo42x/main/extensions/source/propctrlr/ | 
| H A D | usercontrol.hxx | 120 …DecimalDigits(sal_uInt16 nPrecision) { getTypedControlWindow()->SetDecimalDigits(nPrecision); m_nL…  in SetDecimalDigits()  argument
 | 
| /aoo42x/main/connectivity/source/commontools/ | 
| H A D | dbtools2.cxx | 78 	sal_Int32		nPrecision	= 0;  in createStandardColumnPart()  local86 	nDataType = nPrecision = nScale = 0;  in createStandardColumnPart()
 90 	xColProp->getPropertyValue(rPropMap.getNameByIndex(PROPERTY_ID_PRECISION))			>>= nPrecision;  in createStandardColumnPart()
 133 	if ( (nPrecision > 0 || nScale > 0) && bUseLiteral )  in createStandardColumnPart()
 146         if ( nPrecision > 0 && nDataType != DataType::TIMESTAMP )  in createStandardColumnPart()
 148 		    aSql.append(nPrecision);  in createStandardColumnPart()
 
 | 
| /aoo42x/main/tools/source/stream/ | 
| H A D | stream.cxx | 457     nPrecision          = 0;  // all significant digits  in ImpInit()2153     if( nPrecision )  in CreateFormatString()
 2281             nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision,nLong);  in WriteNumber()
 2284             nLen=sprintf(buffer, aFStr.GetBuffer(),nWidth,nPrecision,nLong);  in WriteNumber()
 2310             nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision, nUInt32 );  in WriteNumber()
 2313             nLen=sprintf(buffer,aFStr.GetBuffer(),nWidth,nPrecision,nUInt32 );  in WriteNumber()
 2335             nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision, rDouble);  in WriteNumber()
 2338             nLen=sprintf(buffer, aFStr.GetBuffer(),nWidth,nPrecision,rDouble);  in WriteNumber()
 
 | 
| /aoo42x/main/wizards/com/sun/star/wizards/db/ | 
| H A D | TypeInspector.java | 213             int nPrecision = -1;  in getDataTypeIndex()  local219                 nPrecision = AnyConverter.toInt(_xColPropertySet.getPropertyValue("Precision"));  in getDataTypeIndex()
 233 …if (nPrecision <= nPrecisionInfos[i] && (nScale >= nMinScaleInfos[i]) && (nScale <= nMinScaleInfos…  in getDataTypeIndex()
 
 | 
| /aoo42x/main/connectivity/source/drivers/ado/ | 
| H A D | AConnection.cxx | 452 				aInfo->aSimpleType.nPrecision		= ADOS::getField(pRecordset,nPos++).get_Value();  in buildTypeInfo()552 …        sal_Int32       nDBTypePrecision = pInfo->aSimpleType.nPrecision;   (void)nDBTypePrecision;  in getTypeInfoFromType()
 559 				&&	(pInfo->aSimpleType.nPrecision		>= _nPrecision)  in getTypeInfoFromType()
 572 					&&	(aIter->second->aSimpleType.nPrecision		>= _nPrecision)  in getTypeInfoFromType()
 
 | 
| /aoo42x/main/dbaccess/source/ui/misc/ | 
| H A D | DExport.cxx | 240 				m_pTypeInfo->nPrecision		= aValue;  in ODatabaseExport()279 				if( m_pTypeInfo->nPrecision < 0)  in ODatabaseExport()
 280 					m_pTypeInfo->nPrecision = 0;  in ODatabaseExport()
 631 				(*aIter)->second->SetPrecision(::std::min<sal_Int32>(aFind->second->nPrecision,nLength));  in SetColumnTypes()
 682 	pField->SetPrecision(::std::min<sal_Int32>((sal_Int32)255,m_pTypeInfo->nPrecision));  in CreateDefaultColumn()
 
 | 
| /aoo42x/main/vcl/inc/vcl/ | 
| H A D | strhelper.hxx | 69 inline int VCL_DLLPUBLIC getValueOfDouble( char* pBuffer, double f, int nPrecision = 0)  in getValueOfDouble()  argument71 …rtl::OString aStr( rtl::math::doubleToString( f, rtl_math_StringFormat_G, nPrecision, '.', true ) …  in getValueOfDouble()
 
 | 
| /aoo42x/main/connectivity/source/inc/ | 
| H A D | OTypeInfo.hxx | 41 		sal_Int32		nPrecision;		// Laenge des Types  member59                 :nPrecision(0)  in OTypeInfo()
 
 | 
| /aoo42x/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/ | 
| H A D | OTypeInfo.hxx | 40 		sal_Int32		nPrecision;		// Laenge des Types  member66 				,nPrecision(0)  in OTypeInfo()
 
 | 
| /aoo42x/main/dbaccess/source/ui/inc/ | 
| H A D | TypeInfo.hxx | 91 		sal_Int32		nPrecision;		// Laenge des Types  member in dbaui::OTypeInfo107                 :nPrecision(0)  in OTypeInfo()
 
 |