Lines Matching refs:p

158 		const SbxVarEntryPtr p = new SbxVarEntry;  in GetRef32()  local
159 pData->push_back( p ); in GetRef32()
176 const SbxVarEntryPtr p = new SbxVarEntry; in GetRef() local
177 pData->push_back( p ); in GetRef()
298 SbxVarEntryPtr p = new SbxVarEntry; in Insert32() local
299 *((SbxVariableRef*) p) = pVar; in Insert32()
304 (*p)->Convert( eType ); in Insert32()
307 pData->push_back( p ); in Insert32()
311 pData->insert( pData->begin() + nIdx, p ); in Insert32()
365 void SbxArray::Merge( SbxArray* p ) in Merge() argument
367 if( p ) in Merge()
369 sal_uInt32 nSize = p->Count(); in Merge()
372 SbxVarEntryPtr pRef1 = (*(p->pData))[i]; in Merge()
409 SbxVariable* p = NULL; in FindUserData() local
418 p = pVar; in FindUserData()
419 p->ResetFlag( SBX_EXTFOUND ); in FindUserData()
432 p = ((SbxObject*) pVar)->FindUserData( nData ); in FindUserData()
437 p = ((SbxArray*) pVar)->FindUserData( nData ); in FindUserData()
441 if( p ) in FindUserData()
443 p->SetFlag( SBX_EXTFOUND ); in FindUserData()
449 return p; in FindUserData()
457 SbxVariable* p = NULL; in Find() local
476 p = pVar; in Find()
477 p->ResetFlag( SBX_EXTFOUND ); in Find()
490 p = ((SbxObject*) pVar)->Find( rName, t ); in Find()
495 p = ((SbxArray*) pVar)->Find( rName, t ); in Find()
499 if( p ) in Find()
501 p->SetFlag( SBX_EXTFOUND ); in Find()
507 return p; in Find()
548 SbxVariable* p = *pRef; in StoreData() local
549 if( p && !( p->GetFlags() & SBX_DONTSTORE ) ) in StoreData()
556 SbxVariable* p = *pRef; in StoreData() local
557 if( p && !( p->GetFlags() & SBX_DONTSTORE ) ) in StoreData()
560 if( !p->Store( rStrm ) ) in StoreData()
600 SbxDim* p = rArray.pFirst; in operator =() local
601 while( p ) in operator =()
603 AddDim32( p->nLbound, p->nUbound ); in operator =()
604 p = p->pNext; in operator =()
618 SbxDim* p = pFirst; in Clear() local
619 while( p ) in Clear()
621 SbxDim* q = p->pNext; in Clear()
622 delete p; in Clear()
623 p = q; in Clear()
639 SbxDim* p = new SbxDim; in AddDimImpl32() local
640 p->nLbound = lb; in AddDimImpl32()
641 p->nUbound = ub; in AddDimImpl32()
642 p->nSize = ub - lb + 1; in AddDimImpl32()
643 p->pNext = NULL; in AddDimImpl32()
645 pFirst = pLast = p; in AddDimImpl32()
647 pLast->pNext = p, pLast = p; in AddDimImpl32()
682 SbxDim* p = pFirst; in GetDim32() local
684 p = p->pNext; in GetDim32()
685 rub = p->nUbound; in GetDim32()
686 rlb = p->nLbound; in GetDim32()
712 for( SbxDim* p = pFirst; p; p = p->pNext ) in Offset32() local
715 if( nIdx < p->nLbound || nIdx > p->nUbound ) in Offset32()
719 nPos = nPos * p->nSize + nIdx - p->nLbound; in Offset32()
731 for( SbxDim* p = pFirst; p; p = p->pNext ) in Offset() local
734 if( nIdx < p->nLbound || nIdx > p->nUbound ) in Offset()
738 nPos = nPos * p->nSize + nIdx - p->nLbound; in Offset()
757 void SbxDimArray::Put( SbxVariable* p, const short* pIdx ) in Put() argument
759 SbxArray::Put( p, Offset( pIdx ) ); in Put()
772 void SbxDimArray::Put32( SbxVariable* p, const sal_Int32* pIdx ) in Put32() argument
774 SbxArray::Put32( p, Offset32( pIdx ) ); in Put32()
788 for( SbxDim* p = pFirst; p && !IsError(); p = p->pNext ) in Offset32() local
791 if( nIdx < p->nLbound || nIdx > p->nUbound ) in Offset32()
795 nPos = nPos * p->nSize + nIdx - p->nLbound; in Offset32()
824 void SbxDimArray::Put( SbxVariable* p, SbxArray* pPar ) in Put() argument
826 SbxArray::Put32( p, Offset32( pPar ) ); in Put()