Lines Matching refs:pKey

287 	ImplKeyData*	pKey;  in ImplMakeConfigList()  local
332 pKey = NULL; in ImplMakeConfigList()
378 pKey = new ImplKeyData; in ImplMakeConfigList()
379 pKey->mbIsComment = sal_True; in ImplMakeConfigList()
380 pPrevKey->mpNext = pKey; in ImplMakeConfigList()
381 pPrevKey = pKey; in ImplMakeConfigList()
387 pKey = new ImplKeyData; in ImplMakeConfigList()
388 pKey->mpNext = NULL; in ImplMakeConfigList()
390 pPrevKey->mpNext = pKey; in ImplMakeConfigList()
392 pGroup->mpFirstKey = pKey; in ImplMakeConfigList()
393 pPrevKey = pKey; in ImplMakeConfigList()
396 pKey->maValue = makeByteString(pLine, nLineLen); in ImplMakeConfigList()
397 pKey->mbIsComment = sal_True; in ImplMakeConfigList()
401 pKey->mbIsComment = sal_False; in ImplMakeConfigList()
412 pKey->maKey = ByteString( (const sal_Char*)pLine, nNameLen ); in ImplMakeConfigList()
428 pKey->maValue = makeByteString(pLine, nLineLen); in ImplMakeConfigList()
453 ImplKeyData* pKey; in ImplGetConfigBuffer() local
486 pKey = pGroup->mpFirstKey; in ImplGetConfigBuffer()
487 while ( pKey ) in ImplGetConfigBuffer()
489 nValueLen = pKey->maValue.Len(); in ImplGetConfigBuffer()
490 if ( pKey->mbIsComment ) in ImplGetConfigBuffer()
493 nBufLen += pKey->maKey.Len() + nValueLen + nLineEndLen + 1; in ImplGetConfigBuffer()
495 pKey = pKey->mpNext; in ImplGetConfigBuffer()
545 pKey = pGroup->mpFirstKey; in ImplGetConfigBuffer()
546 while ( pKey ) in ImplGetConfigBuffer()
548 nValueLen = pKey->maValue.Len(); in ImplGetConfigBuffer()
549 if ( pKey->mbIsComment ) in ImplGetConfigBuffer()
553 memcpy( pBuf, pKey->maValue.GetBuffer(), nValueLen ); in ImplGetConfigBuffer()
564 nKeyLen = pKey->maKey.Len(); in ImplGetConfigBuffer()
565 memcpy( pBuf, pKey->maKey.GetBuffer(), nKeyLen ); in ImplGetConfigBuffer()
568 memcpy( pBuf, pKey->maValue.GetBuffer(), nValueLen ); in ImplGetConfigBuffer()
577 pKey = pKey->mpNext; in ImplGetConfigBuffer()
655 ImplKeyData* pKey; in ImplDeleteConfigData() local
663 pKey = pGroup->mpFirstKey; in ImplDeleteConfigData()
664 while ( pKey ) in ImplDeleteConfigData()
666 pTempKey = pKey->mpNext; in ImplDeleteConfigData()
667 delete pKey; in ImplDeleteConfigData()
668 pKey = pTempKey; in ImplDeleteConfigData()
871 ImplKeyData* pKey = pGroup->mpFirstKey; in DeleteGroup() local
872 while ( pKey ) in DeleteGroup()
874 pTempKey = pKey->mpNext; in DeleteGroup()
875 delete pKey; in DeleteGroup()
876 pKey = pTempKey; in DeleteGroup()
1008 ImplKeyData* pKey = pGroup->mpFirstKey; in ReadKey() local
1009 while ( pKey ) in ReadKey()
1011 if ( !pKey->mbIsComment && pKey->maKey.EqualsIgnoreCaseAscii( rKey ) ) in ReadKey()
1012 return pKey->maValue; in ReadKey()
1014 pKey = pKey->mpNext; in ReadKey()
1050 ImplKeyData* pKey = pGroup->mpFirstKey; in WriteKey() local
1051 while ( pKey ) in WriteKey()
1053 if ( !pKey->mbIsComment && pKey->maKey.EqualsIgnoreCaseAscii( rKey ) ) in WriteKey()
1056 pPrevKey = pKey; in WriteKey()
1057 pKey = pKey->mpNext; in WriteKey()
1061 if ( !pKey ) in WriteKey()
1063 pKey = new ImplKeyData; in WriteKey()
1064 pKey->mpNext = NULL; in WriteKey()
1065 pKey->maKey = rKey; in WriteKey()
1066 pKey->mbIsComment = sal_False; in WriteKey()
1068 pPrevKey->mpNext = pKey; in WriteKey()
1070 pGroup->mpFirstKey = pKey; in WriteKey()
1074 bNewValue = pKey->maValue != rStr; in WriteKey()
1078 pKey->maValue = rStr; in WriteKey()
1115 ImplKeyData* pKey = pGroup->mpFirstKey; in DeleteKey() local
1116 while ( pKey ) in DeleteKey()
1118 if ( !pKey->mbIsComment && pKey->maKey.EqualsIgnoreCaseAscii( rKey ) ) in DeleteKey()
1121 pPrevKey = pKey; in DeleteKey()
1122 pKey = pKey->mpNext; in DeleteKey()
1125 if ( pKey ) in DeleteKey()
1129 pPrevKey->mpNext = pKey->mpNext; in DeleteKey()
1131 pGroup->mpFirstKey = pKey->mpNext; in DeleteKey()
1132 delete pKey; in DeleteKey()
1167 ImplKeyData* pKey = pGroup->mpFirstKey; in GetKeyCount() local
1168 while ( pKey ) in GetKeyCount()
1170 if ( !pKey->mbIsComment ) in GetKeyCount()
1173 pKey = pKey->mpNext; in GetKeyCount()
1198 ImplKeyData* pKey = pGroup->mpFirstKey; in GetKeyName() local
1199 while ( pKey ) in GetKeyName()
1201 if ( !pKey->mbIsComment ) in GetKeyName()
1204 return pKey->maKey; in GetKeyName()
1208 pKey = pKey->mpNext; in GetKeyName()
1233 ImplKeyData* pKey = pGroup->mpFirstKey; in ReadKey() local
1234 while ( pKey ) in ReadKey()
1236 if ( !pKey->mbIsComment ) in ReadKey()
1239 return pKey->maValue; in ReadKey()
1243 pKey = pKey->mpNext; in ReadKey()