Home
last modified time | relevance | path

Searched refs:nValue (Results 1 – 25 of 659) sorted by relevance

12345678910>>...27

/AOO41X/main/connectivity/source/drivers/odbcbase/
H A DODatabaseMetaData.cxx260 SQLUINTEGER nValue; in getMaxBinaryLiteralLength() local
261 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_BINARY_LITERAL_LEN,nValue,*this); in getMaxBinaryLiteralLength()
262 return nValue; in getMaxBinaryLiteralLength()
267 SQLUINTEGER nValue; in getMaxRowSize() local
268 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_ROW_SIZE,nValue,*this); in getMaxRowSize()
269 return nValue; in getMaxRowSize()
274 SQLUSMALLINT nValue; in getMaxCatalogNameLength() local
275 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_CATALOG_NAME_LEN,nValue,*this); in getMaxCatalogNameLength()
276 return nValue; in getMaxCatalogNameLength()
281 SQLUINTEGER nValue; in getMaxCharLiteralLength() local
[all …]
/AOO41X/main/xmloff/source/style/
H A Dxmlbahdl.cxx38 void lcl_xmloff_setAny( Any& rValue, sal_Int32 nValue, sal_Int8 nBytes ) in lcl_xmloff_setAny() argument
43 if( nValue < SCHAR_MIN ) in lcl_xmloff_setAny()
44 nValue = SCHAR_MIN; in lcl_xmloff_setAny()
45 else if( nValue > SCHAR_MAX ) in lcl_xmloff_setAny()
46 nValue = SCHAR_MAX; in lcl_xmloff_setAny()
47 rValue <<= (sal_Int8)nValue; in lcl_xmloff_setAny()
50 if( nValue < SHRT_MIN ) in lcl_xmloff_setAny()
51 nValue = SHRT_MIN; in lcl_xmloff_setAny()
52 else if( nValue > SHRT_MAX ) in lcl_xmloff_setAny()
53 nValue = SHRT_MAX; in lcl_xmloff_setAny()
[all …]
/AOO41X/main/cui/source/tabpages/
H A Dconnect.cxx191 long nValue = ( ( const SdrEdgeNode1HorzDistItem* )pItem )->GetValue(); in Reset() local
192 SetMetricValue( aMtrFldHorz1, nValue, eUnit ); in Reset()
205 long nValue = ( ( const SdrEdgeNode2HorzDistItem* )pItem )->GetValue(); in Reset() local
206 SetMetricValue( aMtrFldHorz2, nValue, eUnit ); in Reset()
219 long nValue = ( ( const SdrEdgeNode1VertDistItem* )pItem )->GetValue(); in Reset() local
220 SetMetricValue( aMtrFldVert1, nValue, eUnit ); in Reset()
233 long nValue = ( ( const SdrEdgeNode2VertDistItem* )pItem )->GetValue(); in Reset() local
234 SetMetricValue( aMtrFldVert2, nValue, eUnit ); in Reset()
247 long nValue = ( ( const SdrEdgeLine1DeltaItem* )pItem )->GetValue(); in Reset() local
248 SetMetricValue( aMtrFldLine1, nValue, eUnit ); in Reset()
[all …]
H A Dtextanim.cxx273 long nValue = (long) ( ( const SdrTextAniCountItem* )pItem )->GetValue(); in Reset() local
274 aNumFldCount.SetValue( nValue ); in Reset()
275 if( nValue == 0 ) in Reset()
306 long nValue = (long) ( ( const SdrTextAniDelayItem* )pItem )->GetValue(); in Reset() local
307 aMtrFldDelay.SetValue( nValue ); in Reset()
308 if( nValue == 0 ) in Reset()
331 long nValue = (long) ( ( const SdrTextAniAmountItem* )pItem )->GetValue(); in Reset() local
332 if( nValue <= 0 ) in Reset()
335 nValue = -nValue; in Reset()
336 if( nValue == 0 ) in Reset()
[all …]
H A Dmeasure.cxx202 long nValue = ( ( const SdrMeasureLineDistItem* )pItem )->GetValue(); in Reset() local
203 SetMetricValue( aMtrFldLineDist, nValue, eUnit ); in Reset()
217 long nValue = ( ( const SdrMeasureHelplineOverhangItem* )pItem )->GetValue(); in Reset() local
218 SetMetricValue( aMtrFldHelplineOverhang, nValue, eUnit ); in Reset()
232 long nValue = ( ( const SdrMeasureHelplineDistItem* )pItem )->GetValue(); in Reset() local
233 SetMetricValue( aMtrFldHelplineDist, nValue, eUnit ); in Reset()
247 long nValue = ( ( const SdrMeasureHelpline1LenItem* )pItem )->GetValue(); in Reset() local
248 SetMetricValue( aMtrFldHelpline1Len, nValue, eUnit ); in Reset()
262 long nValue = ( ( const SdrMeasureHelpline2LenItem* )pItem )->GetValue(); in Reset() local
263 SetMetricValue( aMtrFldHelpline2Len, nValue, eUnit ); in Reset()
[all …]
/AOO41X/main/vcl/source/control/
H A Dfield.cxx65 sal_Int64 nValue = 1; in ImplPower10() local
68 nValue *= 10; in ImplPower10()
70 return nValue; in ImplPower10()
210 double nValue = aStr.ToDouble(); in ImplNumericGetValue() local
214 nValue++; in ImplNumericGetValue()
216 nValue--; in ImplNumericGetValue()
219 rValue = nValue; in ImplNumericGetValue()
610 XubString NumericFormatter::CreateFieldText( sal_Int64 nValue ) const in CreateFieldText()
612 …return ImplGetLocaleDataWrapper().getNum( nValue, GetDecimalDigits(), IsUseThousandSep(), IsShowTr… in CreateFieldText()
673 Fraction NumericFormatter::ConvertToFraction( sal_Int64 nValue ) in ConvertToFraction() argument
[all …]
H A Dlongcurr.cxx53 BigInt nValue = 1; in ImplPower10() local
56 nValue *= 10; in ImplPower10()
58 return nValue; in ImplPower10()
247 BigInt nValue( aStr ); in ImplNumericGetValue() local
251 nValue+=1; in ImplNumericGetValue()
253 nValue-=1; in ImplNumericGetValue()
256 rValue = nValue; in ImplNumericGetValue()
287 BigInt nValue; in ImplLongCurrencyReformat() local
288 if ( !ImplNumericGetValue( rStr, nValue, nDecDigits, rLocaleDataWrapper, sal_True ) ) in ImplLongCurrencyReformat()
292 BigInt nTempVal = nValue; in ImplLongCurrencyReformat()
[all …]
/AOO41X/main/xmloff/source/chart/
H A DPropertyMaps.cxx371 sal_Int32 nValue = 0; in handleSpecialItem() local
378 rProperty.maValue >>= nValue; in handleSpecialItem()
379 … bValue = (( nValue & chart::ChartAxisMarks::INNER ) == chart::ChartAxisMarks::INNER ); in handleSpecialItem()
384 rProperty.maValue >>= nValue; in handleSpecialItem()
385 … bValue = (( nValue & chart::ChartAxisMarks::OUTER ) == chart::ChartAxisMarks::OUTER ); in handleSpecialItem()
391 rProperty.maValue >>= nValue; in handleSpecialItem()
392 double fVal = (double)(nValue) / 100.0; in handleSpecialItem()
398 rProperty.maValue >>= nValue; in handleSpecialItem()
399 … if((( nValue & chart::ChartDataCaption::VALUE ) == chart::ChartDataCaption::VALUE )) in handleSpecialItem()
401 … if( ( nValue & chart::ChartDataCaption::PERCENT ) == chart::ChartDataCaption::PERCENT ) in handleSpecialItem()
[all …]
/AOO41X/main/dbaccess/source/ui/tabledesign/
H A DTableRow.cxx137 double nValue = 0.0; in operator <<() local
139 if ( aValue >>= nValue ) in operator <<()
142 _rStr << nValue; in operator <<()
169 sal_Int32 nValue = 0; in operator >>() local
170 _rStr >> nValue; in operator >>()
171 if ( nValue ) in operator >>()
184 _rStr >> nValue; in operator >>()
186 switch ( nValue ) in operator >>()
204 _rStr >> nValue; in operator >>()
205 pFieldDesc->SetTypeValue(nValue); in operator >>()
[all …]
/AOO41X/main/sw/source/ui/utlui/
H A Dprcntfld.cxx59 void PercentField::SetRefValue(sal_Int64 nValue) in SetRefValue() argument
63 nRefValue = nValue; in SetRefValue()
165 sal_Int64 nValue = Convert(nNewValue, eInUnit, eOldUnit); in SetPrcntValue() local
166 nAktWidth = ConvertValue(nValue, 0, nOldDigits, eOldUnit, FUNIT_TWIP); in SetPrcntValue()
192 sal_Int64 nValue = Convert(nNewValue, eInUnit, eOldUnit); in SetUserValue() local
193 nAktWidth = ConvertValue(nValue, 0, nOldDigits, eOldUnit, FUNIT_TWIP); in SetUserValue()
261 sal_Int64 PercentField::NormalizePercent(sal_Int64 nValue) in NormalizePercent() argument
264 nValue = MetricField::Normalize(nValue); in NormalizePercent()
266 nValue = nValue * ImpPower10(nOldDigits); in NormalizePercent()
268 return nValue; in NormalizePercent()
[all …]
/AOO41X/main/rsc/source/res/
H A Drscrange.cxx110 if( ((RscRangeInst*)rInst.pData)->nValue == in IsValueDefault()
111 ((RscRangeInst*)pDef)->nValue ) in IsValueDefault()
129 ERRTYPE RscRange::SetNumber( const RSCINST & rInst, sal_Int32 nValue ) in SetNumber() argument
131 if( nMax < nValue || nMin > nValue ) in SetNumber()
133 ((RscRangeInst *)rInst.pData)->nValue = (sal_uInt16)( nValue - nMin ); in SetNumber()
149 *pN = ((RscRangeInst *)rInst.pData)->nValue + nMin; in GetNumber()
183 ((RscRangeInst *)aInst.pData)->nValue = (sal_uInt16)(0L - nMin); in Create()
185 ((RscRangeInst *)aInst.pData)->nValue = 0; in Create()
204 fprintf( fOutput, "%ld", long( ((RscRangeInst *)rInst.pData)->nValue + nMin ) ); in WriteSrc()
222 n = (sal_uInt16)(((RscRangeInst *)rInst.pData)->nValue + nMin); in WriteRc()
[all …]
/AOO41X/main/sal/qa/rtl/oustring/
H A Drtl_ustr.cxx66 sal_Int32 nValue = rtl_ustr_compare( aStr1.getStr(), aStr2.getStr()); in compare_001() local
67 CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal.", nValue == 0); in compare_001()
75 sal_Int32 nValue = rtl_ustr_compare( aStr1.getStr(), aStr2.getStr()); in compare_002() local
76 CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal.", nValue == 0); in compare_002()
84 sal_Int32 nValue = rtl_ustr_compare( aStr1.getStr(), aStr2.getStr()); in compare_003() local
85 CPPUNIT_ASSERT_MESSAGE("compare failed, strings differ.", nValue != 0); in compare_003()
121 sal_Int32 nValue = rtl_ustr_compareIgnoreAsciiCase( aStr1.getStr(), aStr2.getStr()); in compare_001() local
122 CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal.", nValue == 0); in compare_001()
130 sal_Int32 nValue = rtl_ustr_compareIgnoreAsciiCase( aStr1.getStr(), aStr2.getStr()); in compare_002() local
131 CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal.", nValue == 0); in compare_002()
[all …]
/AOO41X/main/svx/source/engine3d/
H A Dfloat3d.cxx711 …sal_uInt32 nValue = ((const Svx3DHorizontalSegmentsItem&)rAttrs.Get(SDRATTR_3DOBJ_HORZ_SEGS)).GetV… in Update() local
712 if(nValue != (sal_uInt32 )aNumHorizontal.GetValue()) in Update()
714 aNumHorizontal.SetValue( nValue ); in Update()
720 aNumHorizontal.SetValue( nValue ); in Update()
738 …sal_uInt32 nValue = ((const Svx3DVerticalSegmentsItem&)rAttrs.Get(SDRATTR_3DOBJ_VERT_SEGS)).GetVal… in Update() local
739 if( nValue != (sal_uInt32) aNumVertical.GetValue() ) in Update()
741 aNumVertical.SetValue( nValue ); in Update()
747 aNumVertical.SetValue( nValue ); in Update()
765 sal_uInt32 nValue = ((const Svx3DDepthItem&)rAttrs.Get(SDRATTR_3DOBJ_DEPTH)).GetValue(); in Update() local
767 if( nValue != nValue2 ) in Update()
[all …]
/AOO41X/main/sal/qa/rtl/ostring/
H A Drtl_OString2.cxx74 float nValue = 3.0f; in valueOf_float_test_001() local
75 valueOf_float_test(nValue); in valueOf_float_test_001()
80 float nValue = 3.5f; in valueOf_float_test_002() local
81 valueOf_float_test(nValue); in valueOf_float_test_002()
86 float nValue = 3.0625f; in valueOf_float_test_003() local
87 valueOf_float_test(nValue); in valueOf_float_test_003()
92 float nValue = 3.502525f; in valueOf_float_test_004() local
93 valueOf_float_test(nValue); in valueOf_float_test_004()
98 float nValue = 3.141592f; in valueOf_float_test_005() local
99 valueOf_float_test(nValue); in valueOf_float_test_005()
[all …]
/AOO41X/main/svl/source/items/
H A Daeitem.cxx46 sal_uInt16 nValue; member
121 pVal->nValue = rCopy.pValues->GetObject(nPos)->nValue; in SfxAllEnumItem()
170 return pValues->GetObject(nPos)->nValue; in GetValueByPos()
210 if ( pValues->GetObject(nPos)->nValue >= nVal ) in _GetPosByValue()
217 sal_uInt16 SfxAllEnumItem::GetPosByValue( sal_uInt16 nValue ) const in GetPosByValue()
230 return nValue; in GetPosByValue()
232 return SfxEnumItem::GetPosByValue( nValue ); in GetPosByValue()
237 void SfxAllEnumItem::InsertValue( sal_uInt16 nValue, const XubString &rValue ) in InsertValue() argument
241 pVal->nValue = nValue; in InsertValue()
246 else if ( GetPosByValue( nValue ) != USHRT_MAX ) in InsertValue()
[all …]
H A Dcintitem.cxx88 sal_Int8 nValue = m_nValue; in QueryValue() local
89 rVal <<= nValue; in QueryValue()
97 sal_Int8 nValue = sal_Int8(); in PutValue() local
98 if (rVal >>= nValue) in PutValue()
100 m_nValue = nValue; in PutValue()
223 sal_Int32 nValue = m_nValue; in QueryValue() local
224 rVal <<= nValue; in QueryValue()
232 sal_Int32 nValue = 0; in PutValue() local
233 if (rVal >>= nValue) in PutValue()
235 DBG_ASSERT( nValue <= USHRT_MAX, "Overflow in UInt16 value!"); in PutValue()
[all …]
/AOO41X/main/oox/source/export/
H A Dvmlexport.cxx178 …AddArrowHead( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, sal_uInt32 nValue ) in impl_AddArrowHead() argument
184 switch ( nValue ) in impl_AddArrowHead()
198 …dArrowLength( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, sal_uInt32 nValue ) in impl_AddArrowLength() argument
204 switch ( nValue ) in impl_AddArrowLength()
215 …ddArrowWidth( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, sal_uInt32 nValue ) in impl_AddArrowWidth() argument
221 switch ( nValue ) in impl_AddArrowWidth()
283 … impl_AddInt( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, sal_uInt32 nValue ) in impl_AddInt() argument
288 pAttrList->add( nElement, OString::valueOf( static_cast< sal_Int32 >( nValue ) ).getStr() ); in impl_AddInt()
513 sal_uInt32 nValue; in Commit() local
516 if ( rProps.GetOpt( ESCHER_Prop_fillType, nValue ) ) in Commit()
[all …]
/AOO41X/main/writerfilter/source/resourcemodel/
H A Dutil.cxx181 sal_Int8 nValue = 0; in propertysetToString() local
182 aAny >>= nValue; in propertysetToString()
184 snprintf(buffer, sizeof(buffer), "%d", nValue); in propertysetToString()
191 sal_Int16 nValue = 0; in propertysetToString() local
192 aAny >>= nValue; in propertysetToString()
194 snprintf(buffer, sizeof(buffer), "%d", nValue); in propertysetToString()
201 sal_Int32 nValue = 0; in propertysetToString() local
202 aAny >>= nValue; in propertysetToString()
204 snprintf(buffer, sizeof(buffer), "%" SAL_PRIdINT32, nValue); in propertysetToString()
211 float nValue = 0.0; in propertysetToString() local
[all …]
/AOO41X/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/
H A DSDatabaseMetaData.cxx65 sal_Int32 nValue = 0; // 0 means no limit in getMaxBinaryLiteralLength() local
66 return nValue; in getMaxBinaryLiteralLength()
71 sal_Int32 nValue = 0; // 0 means no limit in getMaxRowSize() local
72 return nValue; in getMaxRowSize()
77 sal_Int32 nValue = 0; // 0 means no limit in getMaxCatalogNameLength() local
78 return nValue; in getMaxCatalogNameLength()
83 sal_Int32 nValue = 0; // 0 means no limit in getMaxCharLiteralLength() local
84 return nValue; in getMaxCharLiteralLength()
89 sal_Int32 nValue = 0; // 0 means no limit in getMaxColumnNameLength() local
90 return nValue; in getMaxColumnNameLength()
[all …]
/AOO41X/main/vbahelper/source/vbahelper/
H A Dvbafontbase.cxx64 sal_Int16 nValue = NORMAL; in setSuperscript() local
69 nValue = SUPERSCRIPT; in setSuperscript()
72 …pertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "CharEscapement" ) ), ( uno::Any )nValue ); in setSuperscript()
79 short nValue = NORMAL; in getSuperscript() local
82 …t->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "CharEscapement" ) ) ) >>= nValue; in getSuperscript()
83 return uno::makeAny( ( nValue == SUPERSCRIPT ) ); in getSuperscript()
95 sal_Int16 nValue = NORMAL; in setSubscript() local
100 nValue= SUBSCRIPT; in setSubscript()
105 …pertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "CharEscapement" ) ), ( uno::Any )nValue ); in setSubscript()
112 short nValue = NORMAL; in getSubscript() local
[all …]
/AOO41X/main/vcl/unx/generic/printergfx/
H A Dpsputil.cxx40 getHexValueOf (sal_Int32 nValue, sal_Char* pBuffer) in getHexValueOf() argument
46 pBuffer[0] = pHex [(nValue & 0xF0) >> 4]; in getHexValueOf()
47 pBuffer[1] = pHex [(nValue & 0x0F) ]; in getHexValueOf()
53 getAlignedHexValueOf (sal_Int32 nValue, sal_Char* pBuffer) in getAlignedHexValueOf() argument
56 sal_Bool bNegative = nValue < 0; in getAlignedHexValueOf()
57 nValue = bNegative ? -nValue : nValue; in getAlignedHexValueOf()
61 if (nValue < 0x80) in getAlignedHexValueOf()
64 if (nValue < 0x8000) in getAlignedHexValueOf()
67 if (nValue < 0x800000) in getAlignedHexValueOf()
76 nPrecision -= getHexValueOf (nValue % 256, pBuffer + nPrecision - 2 ); in getAlignedHexValueOf()
[all …]
/AOO41X/main/connectivity/source/drivers/kab/
H A DKDatabaseMetaData.cxx78 sal_Int32 nValue = 0; // 0 means no limit in getMaxBinaryLiteralLength() local
79 return nValue; in getMaxBinaryLiteralLength()
84 sal_Int32 nValue = 0; // 0 means no limit in getMaxRowSize() local
85 return nValue; in getMaxRowSize()
90 sal_Int32 nValue = 0; // 0 means no limit in getMaxCatalogNameLength() local
91 return nValue; in getMaxCatalogNameLength()
96 sal_Int32 nValue = 0; // 0 means no limit in getMaxCharLiteralLength() local
97 return nValue; in getMaxCharLiteralLength()
102 sal_Int32 nValue = 0; // 0 means no limit in getMaxColumnNameLength() local
103 return nValue; in getMaxColumnNameLength()
[all …]
/AOO41X/main/sd/source/ui/dlg/
H A Ddlgsnap.cxx106 long nValue = static_cast<long>(aMtrFldX.GetValue()); in SdSnapLineDlg() local
107 nValue = Fraction( nValue ) / aUIScale; in SdSnapLineDlg()
108 aMtrFldX.SetMin( nValue ); in SdSnapLineDlg()
109 aMtrFldX.SetFirst( nValue ); in SdSnapLineDlg()
112 nValue = static_cast<long>(aMtrFldX.GetValue()); in SdSnapLineDlg()
113 nValue = Fraction( nValue ) / aUIScale; in SdSnapLineDlg()
114 aMtrFldX.SetMax( nValue ); in SdSnapLineDlg()
115 aMtrFldX.SetLast( nValue ); in SdSnapLineDlg()
118 nValue = static_cast<long>(aMtrFldY.GetValue()); in SdSnapLineDlg()
119 nValue = Fraction( nValue ) / aUIScale; in SdSnapLineDlg()
[all …]
/AOO41X/main/framework/source/uielement/
H A Dspinfieldtoolbarcontroller.cxx270 double nValue = m_nValue + m_nStep; in Up() local
271 if ( m_bMaxSet && nValue > m_nMax ) in Up()
274 m_nValue = nValue; in Up()
283 double nValue = m_nValue - m_nStep; in Down() local
284 if ( m_bMinSet && nValue < m_nMin ) in Down()
287 m_nValue = nValue; in Down()
377 sal_Int32 nValue; in executeControlCommand() local
383 if ( impl_getValue( rControlCommand.Arguments[i].Value, nValue, fValue, bFloat )) in executeControlCommand()
385 ::rtl::OUString::valueOf( nValue ); in executeControlCommand()
396 sal_Int32 nValue; in executeControlCommand() local
[all …]
/AOO41X/main/tools/inc/tools/
H A Dbigint.hxx118 BigInt& operator =( const short nValue );
119 BigInt& operator =( const long nValue );
120 BigInt& operator =( const int nValue );
121 BigInt& operator =( const sal_uInt16 nValue );
146 inline BigInt::BigInt( short nValue ) in BigInt() argument
150 nVal = nValue; in BigInt()
153 inline BigInt::BigInt( long nValue ) in BigInt() argument
157 nVal = nValue; in BigInt()
160 inline BigInt::BigInt( int nValue ) in BigInt() argument
164 nVal = nValue; in BigInt()
[all …]

12345678910>>...27