Lines Matching refs:pGroup
289 ImplGroupData* pGroup = NULL; in ImplMakeConfigList() local
322 pGroup = new ImplGroupData; in ImplMakeConfigList()
323 pGroup->mpNext = NULL; in ImplMakeConfigList()
324 pGroup->mpFirstKey = NULL; in ImplMakeConfigList()
325 pGroup->mnEmptyLines = 0; in ImplMakeConfigList()
327 pPrevGroup->mpNext = pGroup; in ImplMakeConfigList()
329 pData->mpFirstGroup = pGroup; in ImplMakeConfigList()
330 pPrevGroup = pGroup; in ImplMakeConfigList()
351 pGroup->maGroupName = ByteString( (const sal_Char*)pLine, nNameLen ); in ImplMakeConfigList()
359 if ( !pGroup ) in ImplMakeConfigList()
361 pGroup = new ImplGroupData; in ImplMakeConfigList()
362 pGroup->mpNext = NULL; in ImplMakeConfigList()
363 pGroup->mpFirstKey = NULL; in ImplMakeConfigList()
364 pGroup->mnEmptyLines = 0; in ImplMakeConfigList()
366 pPrevGroup->mpNext = pGroup; in ImplMakeConfigList()
368 pData->mpFirstGroup = pGroup; in ImplMakeConfigList()
369 pPrevGroup = pGroup; in ImplMakeConfigList()
376 while ( pGroup->mnEmptyLines ) in ImplMakeConfigList()
382 pGroup->mnEmptyLines--; in ImplMakeConfigList()
392 pGroup->mpFirstKey = pKey; in ImplMakeConfigList()
439 if ( pGroup ) in ImplMakeConfigList()
440 pGroup->mnEmptyLines++; in ImplMakeConfigList()
454 ImplGroupData* pGroup; in ImplGetConfigBuffer() local
479 pGroup = pData->mpFirstGroup; in ImplGetConfigBuffer()
480 while ( pGroup ) in ImplGetConfigBuffer()
483 if ( pGroup->mpFirstKey ) in ImplGetConfigBuffer()
485 nBufLen += pGroup->maGroupName.Len() + nLineEndLen + 2; in ImplGetConfigBuffer()
486 pKey = pGroup->mpFirstKey; in ImplGetConfigBuffer()
499 if ( !pGroup->mnEmptyLines ) in ImplGetConfigBuffer()
500 pGroup->mnEmptyLines = 1; in ImplGetConfigBuffer()
501 nBufLen += nLineEndLen * pGroup->mnEmptyLines; in ImplGetConfigBuffer()
504 pGroup = pGroup->mpNext; in ImplGetConfigBuffer()
530 pGroup = pData->mpFirstGroup; in ImplGetConfigBuffer()
531 while ( pGroup ) in ImplGetConfigBuffer()
534 if ( pGroup->mpFirstKey ) in ImplGetConfigBuffer()
537 memcpy( pBuf, pGroup->maGroupName.GetBuffer(), pGroup->maGroupName.Len() ); in ImplGetConfigBuffer()
538 pBuf += pGroup->maGroupName.Len(); in ImplGetConfigBuffer()
545 pKey = pGroup->mpFirstKey; in ImplGetConfigBuffer()
581 sal_uInt16 nEmptyLines = pGroup->mnEmptyLines; in ImplGetConfigBuffer()
593 pGroup = pGroup->mpNext; in ImplGetConfigBuffer()
657 ImplGroupData* pGroup = pData->mpFirstGroup; in ImplDeleteConfigData() local
658 while ( pGroup ) in ImplDeleteConfigData()
660 pTempGroup = pGroup->mpNext; in ImplDeleteConfigData()
663 pKey = pGroup->mpFirstKey; in ImplDeleteConfigData()
672 delete pGroup; in ImplDeleteConfigData()
673 pGroup = pTempGroup; in ImplDeleteConfigData()
729 ImplGroupData* pGroup = mpData->mpFirstGroup; in ImplGetGroup() local
730 while ( pGroup ) in ImplGetGroup()
732 if ( pGroup->maGroupName.EqualsIgnoreCaseAscii( maGroupName ) ) in ImplGetGroup()
735 pPrevGroup = pGroup; in ImplGetGroup()
736 pGroup = pGroup->mpNext; in ImplGetGroup()
740 if ( !pGroup ) in ImplGetGroup()
742 pGroup = new ImplGroupData; in ImplGetGroup()
743 pGroup->mpNext = NULL; in ImplGetGroup()
744 pGroup->mpFirstKey = NULL; in ImplGetGroup()
745 pGroup->mnEmptyLines = 1; in ImplGetGroup()
747 pPrevGroup->mpNext = pGroup; in ImplGetGroup()
749 mpData->mpFirstGroup = pGroup; in ImplGetGroup()
755 pGroup->maGroupName = maGroupName; in ImplGetGroup()
757 ((Config*)this)->mpActGroup = pGroup; in ImplGetGroup()
857 ImplGroupData* pGroup = mpData->mpFirstGroup; in DeleteGroup() local
858 while ( pGroup ) in DeleteGroup()
860 if ( pGroup->maGroupName.EqualsIgnoreCaseAscii( rGroup ) ) in DeleteGroup()
863 pPrevGroup = pGroup; in DeleteGroup()
864 pGroup = pGroup->mpNext; in DeleteGroup()
867 if ( pGroup ) in DeleteGroup()
871 ImplKeyData* pKey = pGroup->mpFirstKey; in DeleteGroup()
881 pPrevGroup->mpNext = pGroup->mpNext; in DeleteGroup()
883 mpData->mpFirstGroup = pGroup->mpNext; in DeleteGroup()
884 delete pGroup; in DeleteGroup()
908 ImplGroupData* pGroup = mpData->mpFirstGroup; in GetGroupName() local
911 while ( pGroup ) in GetGroupName()
915 aGroupName = pGroup->maGroupName; in GetGroupName()
920 pGroup = pGroup->mpNext; in GetGroupName()
934 ImplGroupData* pGroup = mpData->mpFirstGroup; in GetGroupCount() local
936 while ( pGroup ) in GetGroupCount()
939 pGroup = pGroup->mpNext; in GetGroupCount()
953 ImplGroupData* pGroup = mpData->mpFirstGroup; in HasGroup() local
956 while( pGroup ) in HasGroup()
958 if( pGroup->maGroupName.EqualsIgnoreCaseAscii( rGroup ) ) in HasGroup()
964 pGroup = pGroup->mpNext; in HasGroup()
1005 ImplGroupData* pGroup = ImplGetGroup(); in ReadKey() local
1006 if ( pGroup ) in ReadKey()
1008 ImplKeyData* pKey = pGroup->mpFirstKey; in ReadKey()
1046 ImplGroupData* pGroup = ImplGetGroup(); in WriteKey() local
1047 if ( pGroup ) in WriteKey()
1050 ImplKeyData* pKey = pGroup->mpFirstKey; in WriteKey()
1070 pGroup->mpFirstKey = pKey; in WriteKey()
1111 ImplGroupData* pGroup = ImplGetGroup(); in DeleteKey() local
1112 if ( pGroup ) in DeleteKey()
1115 ImplKeyData* pKey = pGroup->mpFirstKey; in DeleteKey()
1131 pGroup->mpFirstKey = pKey->mpNext; in DeleteKey()
1164 ImplGroupData* pGroup = ImplGetGroup(); in GetKeyCount() local
1165 if ( pGroup ) in GetKeyCount()
1167 ImplKeyData* pKey = pGroup->mpFirstKey; in GetKeyCount()
1195 ImplGroupData* pGroup = ImplGetGroup(); in GetKeyName() local
1196 if ( pGroup ) in GetKeyName()
1198 ImplKeyData* pKey = pGroup->mpFirstKey; in GetKeyName()
1230 ImplGroupData* pGroup = ImplGetGroup(); in ReadKey() local
1231 if ( pGroup ) in ReadKey()
1233 ImplKeyData* pKey = pGroup->mpFirstKey; in ReadKey()