| /AOO41X/main/registry/source/ |
| H A D | regkey.cxx | 41 ORegKey* pKey = static_cast< ORegKey* >(hKey); in acquireKey() local 42 if (pKey != 0) in acquireKey() 44 ORegistry* pReg = pKey->getRegistry(); in acquireKey() 45 (void) pReg->acquireKey(pKey); in acquireKey() 55 ORegKey* pKey = static_cast< ORegKey* >(hKey); in releaseKey() local 56 if (pKey != 0) in releaseKey() 58 ORegistry* pReg = pKey->getRegistry(); in releaseKey() 59 (void) pReg->releaseKey(pKey); in releaseKey() 69 ORegKey* pKey = static_cast< ORegKey* >(hKey); in isKeyReadOnly() local 70 return (pKey != 0) ? pKey->isReadOnly() : sal_False; in isKeyReadOnly() [all …]
|
| H A D | registry.cxx | 264 ORegKey* pKey = static_cast< ORegKey* >(hKey); in loadKey() local 265 if (!pKey) in loadKey() 268 if (pKey->getRegistry() != pReg) in loadKey() 270 if (pKey->isDeleted()) in loadKey() 272 if (pKey->isReadOnly()) in loadKey() 277 RegError _ret = pKey->openKey(keyName, (RegKeyHandle*)&pNewKey); in loadKey() 280 pKey->releaseKey(pNewKey); in loadKey() 281 pKey->deleteKey(keyName); in loadKey() 284 _ret = pKey->createKey(keyName, (RegKeyHandle*)&pNewKey); in loadKey() 291 pKey->releaseKey(pNewKey); in loadKey() [all …]
|
| H A D | regimpl.cxx | 611 ORegKey* pKey = static_cast< ORegKey* >(hKey); in acquireKey() local 612 if (!pKey) in acquireKey() 616 pKey->acquire(); in acquireKey() 626 ORegKey* pKey = static_cast< ORegKey* >(hKey); in releaseKey() local 627 if (!pKey) in releaseKey() 631 if (pKey->release() == 0) in releaseKey() 633 m_openKeyTable.erase(pKey->getName()); in releaseKey() 634 delete pKey; in releaseKey() 645 ORegKey* pKey; in createKey() local 655 pKey = (ORegKey*)hKey; in createKey() [all …]
|
| H A D | keyimpl.cxx | 104 ORegKey* pKey = this; in openSubKeys() local 107 _ret = openKey(keyName, (RegKeyHandle*)&pKey); in openSubKeys() 112 sal_uInt32 nSubKeys = pKey->countSubKeys(); in openSubKeys() 119 OStoreDirectory rStoreDir(pKey->getStoreDir()); in openSubKeys() 130 _ret = pKey->openKey(sSubKeyName, (RegKeyHandle*)&pOpenSubKey); in openSubKeys() 150 (void) releaseKey(pKey); in openSubKeys() 168 ORegKey* pKey = this; in getKeyNames() local 171 _ret = openKey(keyName, (RegKeyHandle*)&pKey); in getKeyNames() 176 sal_uInt32 nSubKeys = pKey->countSubKeys(); in getKeyNames() 183 OStoreDirectory rStoreDir(pKey->getStoreDir()); in getKeyNames() [all …]
|
| /AOO41X/main/rsc/source/parser/ |
| H A D | rscibas.cxx | 336 RscEnum * pKey; in InitKey() local 337 pKey = new RscEnum( pHS->getID( "EnumKey" ), RSC_NOTYPE ); in InitKey() 339 SETCONST( pKey, "KEY_0", com::sun::star::awt::Key::NUM0 ); in InitKey() 340 SETCONST( pKey, "KEY_1", com::sun::star::awt::Key::NUM1 ); in InitKey() 341 SETCONST( pKey, "KEY_2", com::sun::star::awt::Key::NUM2 ); in InitKey() 342 SETCONST( pKey, "KEY_3", com::sun::star::awt::Key::NUM3 ); in InitKey() 343 SETCONST( pKey, "KEY_4", com::sun::star::awt::Key::NUM4 ); in InitKey() 344 SETCONST( pKey, "KEY_5", com::sun::star::awt::Key::NUM5 ); in InitKey() 345 SETCONST( pKey, "KEY_6", com::sun::star::awt::Key::NUM6 ); in InitKey() 346 SETCONST( pKey, "KEY_7", com::sun::star::awt::Key::NUM7 ); in InitKey() [all …]
|
| H A D | rsckey.cxx | 180 KEY_STRUCT * pKey = NULL; local 187 pKey = (KEY_STRUCT *)bsearch( 197 while( i < nEntries && !pKey ){ 199 pKey = &pTable[ i ]; 204 if( pKey ){ // Schluesselwort gefunden 205 *pEle = *pKey;
|
| /AOO41X/main/tools/source/generic/ |
| H A D | config.cxx | 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() [all …]
|
| /AOO41X/main/connectivity/source/drivers/dbase/ |
| H A D | DIndexIter.cxx | 82 ONDXKey* pKey = GetNextKey(); in Find() local 83 nRes = pKey ? pKey->GetRecord() : STRING_NOTFOUND; in Find() 147 ONDXKey* pKey = NULL; in GetCompare() local 171 … while ( ( ( pKey = GetNextKey() ) != NULL ) && !m_pOperator->operate(pKey,m_pOperand)) ; in GetCompare() 174 while ( ( ( pKey = GetNextKey() ) != NULL ) && pKey->getValue().isNull()) ; in GetCompare() 177 while ( ( pKey = GetNextKey() ) != NULL ) ; in GetCompare() 181 pKey = GetFirstKey(m_aRoot,*m_pOperand); in GetCompare() 184 pKey = GetFirstKey(m_aRoot,*m_pOperand); in GetCompare() 185 if ( !pKey ) in GetCompare() 186 … while ( ( ( pKey = GetNextKey() ) != NULL ) && !m_pOperator->operate(pKey,m_pOperand)) ; in GetCompare() [all …]
|
| /AOO41X/main/vcl/unx/generic/printer/ |
| H A D | ppdparser.cxx | 737 const PPDKey* pKey = it->second; in PPDParser() local 739 switch( pKey->m_eSetupType ) in PPDParser() 750 BSTRING( pKey->getKey() ).GetBuffer(), in PPDParser() 751 BSTRING( pKey->m_aUITranslation ).GetBuffer(), in PPDParser() 752 pKey->countValues(), in PPDParser() 753 pKey->m_nOrderDependency, in PPDParser() 755 for( int j = 0; j < pKey->countValues(); j++ ) in PPDParser() 758 const PPDValue* pValue = pKey->getValue( j ); in PPDParser() 759 if( pValue == pKey->m_pDefaultValue ) in PPDParser() 792 const PPDKey* pKey; in PPDParser() local [all …]
|
| H A D | jobdata.cxx | 66 const PPDKey* pKey = pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Collate" ) ) ); in setCollate() local 67 if( pKey ) in setCollate() 71 pVal = pKey->getValue( String( RTL_CONSTASCII_USTRINGPARAM( "True" ) ) ); in setCollate() 74 pVal = pKey->getValue( String( RTL_CONSTASCII_USTRINGPARAM( "False" ) ) ); in setCollate() 76 pVal = pKey->getValue( String( RTL_CONSTASCII_USTRINGPARAM( "None" ) ) ); in setCollate() 78 m_aContext.setValue( pKey, pVal ); in setCollate() 90 … const PPDKey* pKey = m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PageSize" ) ) ); in setPaper() local 91 const PPDValue* pValue = pKey ? pKey->getValueCaseInsensitive( aPaper ) : NULL; in setPaper() 93 bSuccess = pKey && pValue && m_aContext.setValue( pKey, pValue, false ); in setPaper() 103 … const PPDKey* pKey = m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "InputSlot" ) ) ); in setPaperBin() local [all …]
|
| H A D | cupsmgr.cxx | 635 …const PPDKey* pKey = rContext.getParser()->getKey( OStringToOUString( pOption->keyword, aEncoding … in updatePrinterContextInfo() local 636 if( pKey ) in updatePrinterContextInfo() 638 … const PPDValue* pValue = pKey->getValue( OStringToOUString( pChoice->choice, aEncoding ) ); in updatePrinterContextInfo() 641 if( pValue != pKey->getDefaultValue() ) in updatePrinterContextInfo() 643 rContext.setValue( pKey, pValue, true ); in updatePrinterContextInfo() 877 const PPDKey* pKey = aKeys[i]; in getOptionsFromDocumentSetup() local 878 const PPDValue* pValue = rJob.m_aContext.getValue( pKey ); in getOptionsFromDocumentSetup() 881 OString aKey = OUStringToOString( pKey->getKey(), RTL_TEXTENCODING_ASCII_US ); in getOptionsFromDocumentSetup() 1096 const PPDKey* pKey = rInfo.m_aContext.getModifiedKey( i ); in writePrinterConfig() local 1097 const PPDValue* pValue = rInfo.m_aContext.getValue( pKey ); in writePrinterConfig() [all …]
|
| /AOO41X/main/vcl/unx/headless/ |
| H A D | svpprn.cxx | 104 const PPDKey* pKey = NULL; in copyJobDataToJobSetup() local 109 …pKey = rData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "InputSlot… in copyJobDataToJobSetup() 110 if( pKey ) in copyJobDataToJobSetup() 111 pValue = rData.m_aContext.getValue( pKey ); in copyJobDataToJobSetup() 112 if( pKey && pValue ) in copyJobDataToJobSetup() 115 pValue != pKey->getValue( pJobSetup->mnPaperBin ) && in copyJobDataToJobSetup() 116 pJobSetup->mnPaperBin < pKey->countValues(); in copyJobDataToJobSetup() 119 if( pJobSetup->mnPaperBin >= pKey->countValues() || pValue == pKey->getDefaultValue() ) in copyJobDataToJobSetup() 124 pKey = NULL; in copyJobDataToJobSetup() 129 pKey = rData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) ) ); in copyJobDataToJobSetup() [all …]
|
| /AOO41X/main/padmin/source/ |
| H A D | prtsetup.cxx | 40 void RTSDialog::insertAllPPDValues( ListBox& rBox, const PPDParser* pParser, const PPDKey* pKey ) in insertAllPPDValues() argument 42 if( ! pKey || ! pParser ) in insertAllPPDValues() 49 for( int i = 0; i < pKey->countValues(); i++ ) in insertAllPPDValues() 51 pValue = pKey->getValue( i ); in insertAllPPDValues() 52 aOptionText = pParser->translateOption( pKey->getKey(), pValue->m_aOption) ; in insertAllPPDValues() 54 if( m_aJobData.m_aContext.checkConstraints( pKey, pValue ) ) in insertAllPPDValues() 68 pValue = m_aJobData.m_aContext.getValue( pKey ); in insertAllPPDValues() 268 const PPDKey* pKey = NULL; in update() local 277 …(pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) )… in update() 279 m_pParent->insertAllPPDValues( m_aDuplexBox, m_pParent->m_aJobData.m_pParser, pKey ); in update() [all …]
|
| H A D | adddlg.cxx | 562 …const PPDKey* pKey = aInfo.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PageSize" ) ) … in APOldPrinterPage() local 563 const PPDValue* pValue = pKey ? pKey->getValue( String( aValue, aEncoding ) ) : NULL; in APOldPrinterPage() 564 if( pKey && pValue ) in APOldPrinterPage() 565 aInfo.m_aContext.setValue( pKey, pValue ); in APOldPrinterPage() 609 … const PPDKey* pKey = aInfo.m_pParser->getKey( String( aPPDKey, RTL_TEXTENCODING_ISO_8859_1 ) ); in APOldPrinterPage() local 610 …const PPDValue* pValue = pKey ? ( aValue.Equals( "*nil" ) ? NULL : pKey->getValue( String( aValue,… in APOldPrinterPage() 611 if( pKey ) in APOldPrinterPage() 612 aInfo.m_aContext.setValue( pKey, pValue, true ); in APOldPrinterPage()
|
| /AOO41X/main/vcl/unx/generic/gdi/ |
| H A D | salprnpsp.cxx | 156 const PPDKey* pKey = NULL; in copyJobDataToJobSetup() local 161 …pKey = rData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "InputSlot… in copyJobDataToJobSetup() 162 if( pKey ) in copyJobDataToJobSetup() 163 pValue = rData.m_aContext.getValue( pKey ); in copyJobDataToJobSetup() 164 if( pKey && pValue ) in copyJobDataToJobSetup() 167 pValue != pKey->getValue( pJobSetup->mnPaperBin ) && in copyJobDataToJobSetup() 168 pJobSetup->mnPaperBin < pKey->countValues(); in copyJobDataToJobSetup() 171 if( pJobSetup->mnPaperBin >= pKey->countValues() ) in copyJobDataToJobSetup() 176 pKey = NULL; in copyJobDataToJobSetup() 181 pKey = rData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) ) ); in copyJobDataToJobSetup() [all …]
|
| /AOO41X/main/framework/source/accelerators/ |
| H A D | acceleratorcache.cxx | 186 TKey2Commands::const_iterator pKey = m_lKey2Commands.find(aKey); in getCommandByKey() local 187 if (pKey == m_lKey2Commands.end()) in getCommandByKey() 190 sCommand = pKey->second; in getCommandByKey() 205 TKey2Commands::const_iterator pKey = m_lKey2Commands.find(aKey); in removeKey() local 206 if (pKey == m_lKey2Commands.end()) in removeKey() 212 ::rtl::OUString sCommand = pKey->second; in removeKey() 213 pKey = m_lKey2Commands.end(); // nobody should use an undefined value .-) in removeKey() 232 AcceleratorCache::TKeyList::const_iterator pKey ; in removeCommand() local 233 for ( pKey = lKeys.begin(); in removeCommand() 234 pKey != lKeys.end() ; in removeCommand() [all …]
|
| /AOO41X/main/vcl/unx/kde4/ |
| H A D | KDESalFrame.cxx | 81 static OUString readEntryUntranslated( KConfigGroup *pGroup, const char *pKey ) in readEntryUntranslated() argument 83 …return OUString::createFromAscii( (const char *) pGroup->readEntryUntranslated( pKey ).toAscii() ); in readEntryUntranslated() 89 static Color readColor( KConfigGroup *pGroup, const char *pKey ) 91 return toColor( pGroup->readEntry( pKey, QColor(Qt::white) ) ); 200 const char *pKey; in UpdateSettings() local 202 pKey = "titleFont"; in UpdateSettings() 203 if ( aGroup.hasKey( pKey ) ) in UpdateSettings() 205 Font aFont = toFont( aGroup.readEntry( pKey, QFont() ), rSettings.GetUILocale() ); in UpdateSettings() 212 pKey = "Theme"; in UpdateSettings() 213 if ( aGroup.hasKey( pKey ) ) in UpdateSettings() [all …]
|
| /AOO41X/main/vcl/unx/generic/printergfx/ |
| H A D | printerjob.cxx | 778 static bool writeFeature( osl::File* pFile, const PPDKey* pKey, const PPDValue* pValue, bool bUseIn… in writeFeature() argument 780 if( ! pKey || ! pValue ) in writeFeature() 790 aFeature.append( OUStringToOString( pKey->getKey(), RTL_TEXTENCODING_ASCII_US ) ); in writeFeature() 827 const PPDKey* pKey = aKeys[i]; in writeFeatureList() local 831 if( pKey->getSetupType() == PPDKey::DocumentSetup ) in writeFeatureList() 834 if( pKey->getSetupType() == PPDKey::PageSetup || in writeFeatureList() 835 pKey->getSetupType() == PPDKey::AnySetup ) in writeFeatureList() 839 const PPDValue* pValue = rJob.m_aContext.getValue( pKey ); in writeFeatureList() 843 || m_aLastJobData.m_aContext.getValue( pKey ) != pValue in writeFeatureList() 858 … bSuccess = writeFeature( pFile, pKey, pValue, PrinterInfoManager::get().getUseIncludeFeature() ); in writeFeatureList() [all …]
|
| /AOO41X/main/cppuhelper/source/ |
| H A D | shlib.cxx | 340 void * pKey = va_arg(*pParam, void *); in s_getFactory() local 343 *ppSSF = pSym(pImplName->getStr(), pSMgr, pKey); in s_getFactory() 410 void * pKey = aCurrent2Env.mapInterface( in loadSharedLibComponentFactory() local 415 env.invoke(s_getFactory, pSym, &aImplName, pSMgr, pKey, &pSSF); in loadSharedLibComponentFactory() 417 if (pKey) in loadSharedLibComponentFactory() 420 env.get()->pExtEnv, pKey ); in loadSharedLibComponentFactory() 486 void * pKey = va_arg(*pParam, void *); in s_writeInfo() local 489 *pbRet = pSym(pSMgr, pKey); in s_writeInfo() 541 void * pKey = aCurrent2Env.mapInterface( in writeSharedLibComponentInfo() local 543 if (pKey) in writeSharedLibComponentInfo() [all …]
|
| /AOO41X/main/vcl/unx/kde/ |
| H A D | salnativewidgets-kde.cxx | 1726 static OUString readEntryUntranslated( KConfig *pConfig, const char *pKey ) in readEntryUntranslated() argument 1728 return OUString::createFromAscii( pConfig->readEntryUntranslated( pKey ).ascii() ); in readEntryUntranslated() 1733 static Color readColor( KConfig *pConfig, const char *pKey ) in readColor() argument 1735 return toColor( pConfig->readColorEntry( pKey ) ); in readColor() 1831 const char *pKey; in UpdateSettings() local 1833 pKey = "activeBackground"; in UpdateSettings() 1834 if ( pConfig->hasKey( pKey ) ) in UpdateSettings() 1835 aStyleSettings.SetActiveColor( readColor( pConfig, pKey ) ); in UpdateSettings() 1837 pKey = "activeBlend"; in UpdateSettings() 1838 if ( pConfig->hasKey( pKey ) ) in UpdateSettings() [all …]
|
| /AOO41X/main/javaunohelper/source/ |
| H A D | javaunohelper.cxx | 112 void * pKey = in Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1writeInfo() local 117 if (pKey) in Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1writeInfo() 119 bRet = (*((component_writeInfoFunc)pSym))( pSMgr, pKey ); in Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1writeInfo() 122 (*env->releaseInterface)( env, pKey ); in Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1writeInfo() 196 void * pKey = in Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory() local 203 pImplName, pSMgr, pKey ); in Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory() 209 if (pKey && env) in Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory() 210 (*env->releaseInterface)( env, pKey ); in Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory()
|
| /AOO41X/main/connectivity/source/drivers/ado/ |
| H A D | AKeys.cxx | 69 OAdoKey* pKey = NULL; in appendObject() local 70 if ( !getImplementation( pKey, descriptor ) || pKey == NULL) in appendObject() 85 WpADOKey aKey = pKey->getImpl(); in appendObject() 100 return new OAdoKey(isCaseSensitive(),m_pConnection,pKey->getImpl()); in appendObject()
|
| /AOO41X/main/framework/source/xml/ |
| H A D | acceleratorconfigurationwriter.cxx | 97 AcceleratorCache::TKeyList::const_iterator pKey ; in flush() local 98 for ( pKey = lKeys.begin(); in flush() 99 pKey != lKeys.end() ; in flush() 100 ++pKey ) in flush() 102 const css::awt::KeyEvent& rKey = *pKey; in flush()
|
| /AOO41X/main/sw/source/core/text/ |
| H A D | EnhancedPDFExportHelper.cxx | 213 void* pKey = 0; in lcl_GetKeyFromFrame() local 216 pKey = (void*)static_cast<const SwPageFrm&>(rFrm).GetFmt()->getIDocumentSettingAccess(); in lcl_GetKeyFromFrame() 218 pKey = (void*)static_cast<const SwTxtFrm&>(rFrm).GetTxtNode(); in lcl_GetKeyFromFrame() 220 pKey = (void*)static_cast<const SwSectionFrm&>(rFrm).GetSection(); in lcl_GetKeyFromFrame() 222 pKey = (void*)static_cast<const SwTabFrm&>(rFrm).GetTable(); in lcl_GetKeyFromFrame() 224 pKey = (void*)static_cast<const SwRowFrm&>(rFrm).GetTabLine(); in lcl_GetKeyFromFrame() 229 … pKey = (void*) & static_cast<const SwCellFrm&>(rFrm).GetTabBox()->FindStartOfRowSpan( *pTable ); in lcl_GetKeyFromFrame() 232 return pKey; in lcl_GetKeyFromFrame() 342 void* pKey = 0; in CheckReopenTag() local 373 pKey = lcl_GetKeyFromFrame( *pKeyFrm ); in CheckReopenTag() [all …]
|
| /AOO41X/main/unotools/source/processfactory/ |
| H A D | componentfactory.cxx | 134 void * pKey = aCurrent2Env.mapInterface( in loadLibComponentFactory() local 138 aImplName.getStr(), pSMgr, pKey ); in loadLibComponentFactory() 140 if (pKey) in loadLibComponentFactory() 141 (*pEnv->pExtEnv->releaseInterface)( pEnv->pExtEnv, pKey ); in loadLibComponentFactory()
|