/aoo42x/main/tools/source/generic/ |
H A D | bigint.cxx | 64 nVal = rVal.nVal; in MakeBigInt() 109 nVal = -nVal; in Normalize() 522 nVal = rBigInt.nVal; in BigInt() 551 nVal = -nVal; in BigInt() 579 nVal = -nVal; in BigInt() 783 nVal = rBigInt.nVal; in operator =() 797 nVal += rVal.nVal; in operator +=() 803 nVal += rVal.nVal; in operator +=() 825 nVal -= rVal.nVal; in operator -=() 831 nVal -= rVal.nVal; in operator -=() [all …]
|
/aoo42x/main/basic/source/comp/ |
H A D | exprnode.cxx | 49 nVal = 0; in SbiExprNode() 61 nVal = n; in SbiExprNode() 180 if( nVal >= SbxMININT && nVal <= SbxMAXINT && modf( nVal, &n ) == 0 ) in IsIntConst() 182 nVal = (double) (short) nVal; in IsIntConst() 353 nVal = 0; in FoldConstants() 429 && nVal >= SbxMINLNG && nVal <= SbxMAXLNG ) in FoldConstants() 433 nVal = n; in FoldConstants() 442 nVal = pLeft->nVal; in FoldConstants() 451 nVal = -nVal; break; in FoldConstants() 463 nVal = (double) ~((long) nVal); in FoldConstants() [all …]
|
/aoo42x/main/idl/inc/ |
H A D | bastype.hxx | 41 sal_uInt32 nVal; member in SvUINT32 43 SvUINT32() { nVal = 0; } in SvUINT32() 62 short nVal; member in SvINT16 64 SvINT16() { nVal = 0; } in SvINT16() 80 sal_uInt16 nVal; member in SvUINT16 82 SvUINT16() { nVal = 0; } in SvUINT16() 98 sal_Int32 nVal; member in SvINT32 100 SvINT32() { nVal = 0; } in SvINT32() 116 int nVal; member in Svint 137 sal_Bool nVal:1, member in SvBOOL [all …]
|
/aoo42x/main/tools/inc/tools/ |
H A D | bigint.hxx | 143 nVal = 0; in BigInt() 150 nVal = nValue; in BigInt() 157 nVal = nValue; in BigInt() 164 nVal = nValue; in BigInt() 171 nVal = nValue; in BigInt() 176 if ( !bIsBig && nVal >= SHRT_MIN && nVal <= SHRT_MAX ) 185 return nVal; 192 if ( !bIsBig && (nVal == (long)(int)nVal) ) 200 if ( !bIsBig && nVal >= 0 && nVal <= USHRT_MAX ) in operator sal_uInt16() 210 nVal = nValue; in operator =() [all …]
|
/aoo42x/main/svx/source/dialog/ |
H A D | rulritem.cxx | 67 sal_Int32 nVal; in QueryValue() local 85 nVal = TWIP_TO_MM100( nVal ); in QueryValue() 87 rVal <<= nVal; in QueryValue() 97 sal_Int32 nVal = 0; in PutValue() local 111 nVal = MM100_TO_TWIP( nVal ); in PutValue() 193 sal_Int32 nVal; in QueryValue() local 211 nVal = TWIP_TO_MM100( nVal ); in QueryValue() 213 rVal <<= nVal; in QueryValue() 237 nVal = MM100_TO_TWIP( nVal ); in PutValue() 310 sal_Int32 nVal; in QueryValue() local [all …]
|
/aoo42x/main/connectivity/source/drivers/file/ |
H A D | FNumericFunctions.cxx | 39 double nVal(lhs); in operate() local 40 if ( nVal < 0 ) in operate() 41 nVal *= -1.0; in operate() 42 return fabs(nVal); in operate() 51 double nVal(lhs); in operate() local 52 if ( nVal < 0 ) in operate() 114 nVal = log(nVal); in operate() 117 return nVal; in operate() 133 return nVal; in operate() 145 return nVal; in operate() [all …]
|
/aoo42x/main/svx/source/engine3d/ |
H A D | svx3ditems.cxx | 46 : SfxUInt16Item(SDRATTR_3DOBJ_BACKSCALE, nVal) in Svx3DBackscaleItem() 49 Svx3DDepthItem::Svx3DDepthItem(sal_uInt32 nVal) in Svx3DDepthItem() argument 50 : SfxUInt32Item(SDRATTR_3DOBJ_DEPTH, nVal) in Svx3DDepthItem() 54 : SfxUInt32Item(SDRATTR_3DOBJ_HORZ_SEGS, nVal) in Svx3DHorizontalSegmentsItem() 58 : SfxUInt32Item(SDRATTR_3DOBJ_VERT_SEGS, nVal) in Svx3DVerticalSegmentsItem() 62 : SfxUInt32Item(SDRATTR_3DOBJ_END_ANGLE, nVal) in Svx3DEndAngleItem() 98 : SfxUInt16Item(SDRATTR_3DOBJ_NORMALS_KIND, nVal) in Svx3DNormalsKindItem() 134 : SfxUInt16Item(SDRATTR_3DOBJ_TEXTURE_KIND, nVal) in Svx3DTextureKindItem() 138 : SfxUInt16Item(SDRATTR_3DOBJ_TEXTURE_MODE, nVal) in Svx3DTextureModeItem() 146 : SfxUInt16Item(SDRATTR_3DSCENE_PERSPECTIVE, nVal) in Svx3DPerspectiveItem() [all …]
|
/aoo42x/main/svx/source/items/ |
H A D | algitem.cxx | 188 switch (nVal) in PutValue() 222 sal_uInt16 nVal; in Create() local 223 rStream >> nVal; in Create() 321 switch (nVal) in PutValue() 378 sal_uInt16 nVal; in Create() local 379 rStream >> nVal; in Create() 485 sal_uInt16 nVal; in Create() local 486 rStream >> nVal; in Create() 708 sal_Int32 nVal = 0; in PutValue() local 709 if(!(rVal >>= nVal) || (nVal > nMaxVal)) in PutValue() [all …]
|
/aoo42x/main/editeng/source/misc/ |
H A D | acorrcfg.cxx | 435 sal_Int32 nVal = 0; pValues[nProp] >>= nVal; in Load() local 448 sal_Int32 nVal = 0; pValues[nProp] >>= nVal; in Load() local 454 sal_Int32 nVal = 0; pValues[nProp] >>= nVal; in Load() local 467 sal_Int32 nVal = 0; pValues[nProp] >>= nVal; in Load() local 485 sal_Int32 nVal = 0; pValues[nProp] >>= nVal; in Load() local 492 sal_Int32 nVal = 0; pValues[nProp] >>= nVal; in Load() local 503 sal_Int32 nVal = 0; pValues[nProp] >>= nVal; in Load() local 511 sal_Int32 nVal = 0; pValues[nProp] >>= nVal; in Load() local 524 sal_Int32 nVal = 0; pValues[nProp] >>= nVal; in Load() local 530 sal_Int32 nVal = 0; pValues[nProp] >>= nVal; in Load() local [all …]
|
/aoo42x/main/vcl/inc/vcl/ |
H A D | salbtype.hxx | 785 const sal_uInt32 nVal = *pPixel; in GetColorFor8Bit() local 816 *(sal_uInt16*) pPixel = nVal; in SetColorFor16BitMSB() 818 pPixel[ 0 ] = (sal_uInt8)(nVal >> 8U); in SetColorFor16BitMSB() 819 pPixel[ 1 ] = (sal_uInt8) nVal; in SetColorFor16BitMSB() 843 pPixel[ 0 ] = (sal_uInt8) nVal; in SetColorFor16BitLSB() 844 pPixel[ 1 ] = (sal_uInt8)(nVal >> 8U); in SetColorFor16BitLSB() 846 *(sal_uInt16*) pPixel = nVal; in SetColorFor16BitLSB() 864 …pPixel[ 0 ] = (sal_uInt8) nVal; pPixel[ 1 ] = (sal_uInt8) ( nVal >> 8UL ); pPixel[ 2 ] = (sal_uInt… in SetColorFor24Bit() 891 rAlpha = (sal_uInt8)(nVal >> 24); in GetColorAndAlphaFor32Bit() 902 pPixel[ 0 ] = (sal_uInt8) nVal; pPixel[ 1 ] = (sal_uInt8) ( nVal >> 8UL ); in SetColorFor32Bit() [all …]
|
/aoo42x/main/editeng/source/rtf/ |
H A D | rtfgrf.cxx | 269 sal_Unicode nVal; in HexToBin() local 275 if( ((nVal = *pStr) >= '0') && ( nVal <= '9') ) in HexToBin() 276 nVal -= '0'; in HexToBin() 277 else if( (nVal >= 'A') && (nVal <= 'F') ) in HexToBin() 278 nVal -= 'A' - 10; in HexToBin() 279 else if( (nVal >= 'a') && (nVal <= 'f') ) in HexToBin() 280 nVal -= 'a' - 10; in HexToBin() 289 *(pData++) |= nVal & 0x0f; in HexToBin() 321 sal_uInt16 nVal = sal_uInt16( nTokenValue ); in ReadBmpData() local 405 rPicType.nType = nVal; in ReadBmpData() [all …]
|
/aoo42x/main/sc/inc/ |
H A D | progress.hxx | 63 static void CalcGlobalPercent( sal_uLong nVal ) in CalcGlobalPercent() argument 66 nVal * 100 / nGlobalRange : 0; in CalcGlobalPercent() 99 CalcGlobalPercent( nVal ); in SetStateText() 112 CalcGlobalPercent( nVal ); in SetState() 119 sal_Bool SetStateCountDown( sal_uLong nVal ) in SetStateCountDown() argument 123 CalcGlobalPercent( nGlobalRange - nVal ); in SetStateCountDown() 130 sal_Bool SetStateOnPercent( sal_uLong nVal ) in SetStateOnPercent() argument 132 if ( nGlobalRange && (nVal * 100 / in SetStateOnPercent() 134 return SetState( nVal ); in SetStateOnPercent() 140 ((nGlobalRange - nVal) * 100 / in SetStateCountDownOnPercent() [all …]
|
/aoo42x/main/sc/source/core/tool/ |
H A D | interpr1.cxx | 708 if( rComp.nVal[ 0 ] - rComp.nVal[ 1 ] < 0 ) in CompareFunc() 1845 PushDouble(0.5 * log((nVal + 1.0) / (nVal - 1.0))); in ScArcCotHyp() 3157 if (nMin > nVal) nMin = nVal; in ScMin() 3169 if (nMin > nVal) nMin = nVal; in ScMin() 3212 if (nMin > nVal) nMin = nVal; in ScMin() 3278 if (nMax < nVal) nMax = nVal; in ScMax() 3290 if (nMax < nVal) nMax = nVal; in ScMax() 7768 if ( nVal < 0.0 || nVal > STRING_MAXLEN ) in ScLeft() 7875 if ( nVal < 0.0 || nVal > STRING_MAXLEN ) in ScRightB() 7925 if ( nVal < 0.0 || nVal > STRING_MAXLEN ) in ScLeftB() [all …]
|
H A D | chartarr.cxx | 264 nVal = ((ScValueCell*)pCell)->GetValue(); in CreateMemChartSingle() 265 if ( bCalcAsShown && nVal != 0.0 ) in CreateMemChartSingle() 270 nVal = pDocument->RoundValueAsShown( nVal, nFormat ); in CreateMemChartSingle() 277 nVal = pFCell->GetValue(); in CreateMemChartSingle() 428 if ( bCalcAsShown && nVal != 0.0 ) in CreateMemChartMulti() 431 nVal = pDocument->RoundValueAsShown( nVal, nFormat ); in CreateMemChartMulti() 438 nVal = pFCell->GetValue(); in CreateMemChartMulti() 460 nVal = ((ScValueCell*)pCell)->GetValue(); in CreateMemChartMulti() 461 if ( bCalcAsShown && nVal != 0.0 ) in CreateMemChartMulti() 464 nVal = pDocument->RoundValueAsShown( nVal, nFormat ); in CreateMemChartMulti() [all …]
|
/aoo42x/main/editeng/source/items/ |
H A D | frmitems.cxx | 271 aSize.Width() = bConvert ? MM100_TO_TWIP(nVal) : nVal; in PutValue() 280 aSize.Height() = bConvert ? MM100_TO_TWIP(nVal) : nVal; in PutValue() 489 SetLeft((sal_Int32)bConvert ? MM100_TO_TWIP(nVal) : nVal); in PutValue() 493 SetTxtLeft((sal_Int32)bConvert ? MM100_TO_TWIP(nVal) : nVal); in PutValue() 497 SetRight((sal_Int32) bConvert ? MM100_TO_TWIP(nVal) : nVal); in PutValue() 877 if(!(rVal >>= nVal) || nVal < 0) in PutValue() 879 SetUpper((sal_uInt16)(bConvert ? MM100_TO_TWIP(nVal) : nVal)); in PutValue() 882 if(!(rVal >>= nVal) || nVal < 0) in PutValue() 2921 if (( aSeq[4] >>= nVal ) && ( nVal >= 0 )) in PutValue() 2924 nVal = MM100_TO_TWIP(nVal); in PutValue() [all …]
|
H A D | textitem.cxx | 1292 nProp = nVal; in PutValue() 2295 nVal = (sal_Int16)TWIP_TO_MM100(nVal); in QueryValue() 2296 rVal <<= nVal; in QueryValue() 2306 nVal = (sal_Int16)MM100_TO_TWIP(nVal); in PutValue() 2407 switch( nVal ) in PutValue() 2596 if( (rVal >>= nVal) && (Abs(nVal) <= 101)) in PutValue() 2605 if( (rVal >>= nVal) && (nVal <= 100)) in PutValue() 3358 if((rVal >>= nVal) && (0 == nVal || 900 == nVal || 2700 == nVal)) in PutValue() 3400 rStrm >> nVal; in Create() 3510 rStrm >> nVal; in Create() [all …]
|
/aoo42x/main/sw/source/ui/config/ |
H A D | modcfg.cxx | 196 if( ((nVal = rDelim.GetChar( i )) >= '0') && ( nVal <= '9') ) in ConvertWordDelimiter() 197 nVal -= '0'; in ConvertWordDelimiter() 198 else if( (nVal >= 'A') && (nVal <= 'F') ) in ConvertWordDelimiter() 199 nVal -= 'A' - 10; in ConvertWordDelimiter() 200 else if( (nVal >= 'a') && (nVal <= 'f') ) in ConvertWordDelimiter() 201 nVal -= 'a' - 10; in ConvertWordDelimiter() 342 sal_Int32 nVal = -1; in Commit() local 354 pValues[nProp] <<= nVal; in Commit() 364 switch(nVal) in lcl_ConvertCfgToAttr() 399 sal_Int32 nVal = 0; in Load() local [all …]
|
/aoo42x/main/sc/source/core/data/ |
H A D | table4.cxx | 93 nVal = 0; in lcl_DecompValueString() 140 nVal = 0; in lcl_DecompValueString() 232 double nVal; in FillAnalyse() local 236 aDate1 += (long)nVal; in FillAnalyse() 239 aDate2 += (long)nVal; in FillAnalyse() 1054 sal_Int32 nVal; in GetAutoFillPreview() local 1432 nVal = nStartVal; in FillSeries() 1459 nVal = nMaxValue; in FillSeries() 1467 nVal = nMaxValue; in FillSeries() 1547 nVal = nMaxValue; in FillSeries() [all …]
|
/aoo42x/main/rsc/inc/ |
H A D | rsctools.hxx | 105 sal_uInt16 nVal = 0; in GetShort() local 107 char* pTo = (char*)&nVal; in GetShort() 110 return bSwap ? SWAPSHORT( nVal ) : nVal; in GetShort() 114 sal_uInt32 nVal = 0; in GetLong() local 116 char* pTo = (char*)&nVal; in GetLong() 121 return bSwap ? SWAPLONG( nVal ) : nVal; in GetLong() 201 void PutAt( sal_uInt32 nPos, short nVal ) in PutAt() argument 203 PutAt( nPos, (sal_uInt16)nVal ); in PutAt() 205 void PutAt( sal_uInt32 nPos, sal_uInt16 nVal ) in PutAt() argument 208 nVal = SWAPSHORT( nVal ); in PutAt() [all …]
|
/aoo42x/main/sw/inc/ |
H A D | grfatr.hxx | 111 SwRotationGrf( sal_Int16 nVal = 0 ) in SwRotationGrf() argument 112 : SfxUInt16Item( RES_GRFATR_ROTATION, nVal ) in SwRotationGrf() 138 SwLuminanceGrf( sal_Int16 nVal = 0 ) in SwLuminanceGrf() argument 154 SwContrastGrf( sal_Int16 nVal = 0 ) in SwContrastGrf() argument 155 : SfxInt16Item( RES_GRFATR_CONTRAST, nVal ) in SwContrastGrf() 171 : SfxInt16Item( nWhichL, nVal ) in SwChannelGrf() 186 SwChannelRGrf( sal_Int16 nVal = 0 ) in SwChannelRGrf() argument 187 : SwChannelGrf( nVal, RES_GRFATR_CHANNELR ) in SwChannelRGrf() 194 SwChannelGGrf( sal_Int16 nVal = 0 ) in SwChannelGGrf() argument 202 SwChannelBGrf( sal_Int16 nVal = 0 ) in SwChannelBGrf() argument [all …]
|
/aoo42x/main/svx/inc/svx/ |
H A D | svx3ditems.hxx | 39 Svx3DPercentDiagonalItem(sal_uInt16 nVal = 10); 44 SVX_DLLPUBLIC Svx3DBackscaleItem(sal_uInt16 nVal = 100); 49 SVX_DLLPUBLIC Svx3DDepthItem(sal_uInt32 nVal = 1000); 54 Svx3DHorizontalSegmentsItem(sal_uInt32 nVal = 24); 64 SVX_DLLPUBLIC Svx3DEndAngleItem(sal_uInt32 nVal = 3600); 83 Svx3DNormalsKindItem(sal_uInt16 nVal = 0); 98 Svx3DTextureProjectionXItem(sal_uInt16 nVal = 0); 108 Svx3DTextureProjectionYItem(sal_uInt16 nVal = 0); 143 Svx3DTextureKindItem(sal_uInt16 nVal = 3); 153 Svx3DTextureModeItem(sal_uInt16 nVal = 2); [all …]
|
H A D | sxenditm.hxx | 32 SdrEdgeNode1HorzDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1HORZDIST,nVal) {} in SdrEdgeNode1HorzDistItem() argument 40 SdrEdgeNode1VertDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1VERTDIST,nVal) {} in SdrEdgeNode1VertDistItem() argument 48 SdrEdgeNode2HorzDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2HORZDIST,nVal) {} in SdrEdgeNode2HorzDistItem() argument 56 SdrEdgeNode2VertDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2VERTDIST,nVal) {} in SdrEdgeNode2VertDistItem() argument 64 SdrEdgeNode1GlueDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1GLUEDIST,nVal) {} in SdrEdgeNode1GlueDistItem() argument 70 SdrEdgeNode2GlueDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2GLUEDIST,nVal) {} in SdrEdgeNode2GlueDistItem() argument
|
/aoo42x/main/svtools/source/misc/ |
H A D | unitconv.cxx | 129 nVal = rField.Normalize( nVal ); in SetMetricValue() 130 rField.SetValue( nVal, FUNIT_100TH_MM ); in SetMetricValue() 138 sal_Int64 nVal = rField.GetValue( FUNIT_100TH_MM ); in GetCoreValue() local 142 if( nVal >= 0 ) in GetCoreValue() 144 if( (nVal & nSizeMask) == 0 ) in GetCoreValue() 149 if( ((-nVal) & nSizeMask ) == 0 ) in GetCoreValue() 153 nVal = rField.Denormalize( nVal ); in GetCoreValue() 297 long nNew = nVal; in ConvertValueToMap() 322 long nNew = nVal; in ConvertValueToUnit() 715 return nVal; in TransformMetric() [all …]
|
/aoo42x/main/svx/source/sidebar/line/ |
H A D | LineWidthControl.cxx | 245 nVal = maMFWidth.Normalize( nVal ); in SetWidthSelect() 246 maMFWidth.SetValue( nVal, FUNIT_100TH_MM ); in SetWidthSelect() 285 nVal = maMFWidth.Denormalize(nVal); in IMPL_LINK() 286 XLineWidthItem aWidthItem( nVal ); in IMPL_LINK() 289 mrLinePropertyPanel.SetWidth(nVal); in IMPL_LINK() 298 long nVal = LogicToLogic(mnCustomWidth , MAP_POINT, (MapUnit)meMapUnit); in IMPL_LINK() local 299 nVal = maMFWidth.Denormalize(nVal); in IMPL_LINK() 300 XLineWidthItem aWidthItem( nVal ); in IMPL_LINK() 302 mrLinePropertyPanel.SetWidth(nVal); in IMPL_LINK() 336 long nVal = LogicToLogic( nTmp, MAP_POINT, (MapUnit)meMapUnit ); in IMPL_LINK() local [all …]
|
/aoo42x/main/o3tl/qa/ |
H A D | cow_wrapper_clients.cxx | 32 explicit cow_wrapper_client2_impl( int nVal ) : mnValue(nVal) {} in cow_wrapper_client2_impl() argument 33 void setValue( int nVal ) { mnValue = nVal; } in setValue() argument 48 cow_wrapper_client2::cow_wrapper_client2( int nVal ) : in cow_wrapper_client2() argument 49 maImpl( cow_wrapper_client2_impl(nVal) ) in cow_wrapper_client2() 69 void cow_wrapper_client2::modify( int nVal ) in modify() argument 71 maImpl->setValue( nVal ); in modify() 115 cow_wrapper_client3::cow_wrapper_client3( int nVal ) : in cow_wrapper_client3() argument 116 maImpl( cow_wrapper_client2_impl(nVal) ) in cow_wrapper_client3() 136 void cow_wrapper_client3::modify( int nVal ) in modify() argument 138 maImpl->setValue( nVal ); in modify()
|