Lines Matching refs:n

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()
257 else if( n < SbxMINCHAR ) in ImpPutLong()
259 SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMINCHAR; in ImpPutLong()
261 *p->pChar = (xub_Unicode) n; break; in ImpPutLong()
263 if( n > SbxMAXBYTE ) in ImpPutLong()
265 SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXBYTE; in ImpPutLong()
267 else if( n < 0 ) in ImpPutLong()
269 SbxBase::SetError( SbxERR_OVERFLOW ); n = 0; in ImpPutLong()
271 *p->pByte = (sal_uInt8) n; break; in ImpPutLong()
274 if( n > SbxMAXINT ) in ImpPutLong()
276 SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXINT; in ImpPutLong()
278 else if( n < SbxMININT ) in ImpPutLong()
280 SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMININT; in ImpPutLong()
282 *p->pInteger = (sal_Int16) n; break; in ImpPutLong()
285 if( n > SbxMAXUINT ) in ImpPutLong()
287 SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXUINT; in ImpPutLong()
289 else if( n < 0 ) in ImpPutLong()
291 SbxBase::SetError( SbxERR_OVERFLOW ); n = 0; in ImpPutLong()
293 *p->pUShort = (sal_uInt16) n; break; in ImpPutLong()
295 *p->pLong = n; break; in ImpPutLong()
297 if( n < 0 ) in ImpPutLong()
299 SbxBase::SetError( SbxERR_OVERFLOW ); n = 0; in ImpPutLong()
301 *p->pULong = (sal_uInt32) n; break; in ImpPutLong()
303 *p->pnInt64 = n; break; in ImpPutLong()
305 if( n < 0 ) in ImpPutLong()
310 *p->puInt64 = n; in ImpPutLong()
313 *p->pSingle = (float) n; break; in ImpPutLong()
316 *p->pDouble = (double) n; break; in ImpPutLong()
319 if( n > SbxMAXCURR ) in ImpPutLong()
323 else if( n < SbxMINCURR ) in ImpPutLong()
329 d = n; in ImpPutLong()