Lines Matching refs:pReg
56 ORegistry* pReg = (ORegistry*) hReg; in acquire() local
58 if (pReg != NULL) in acquire()
59 pReg->acquire(); in acquire()
68 ORegistry* pReg = (ORegistry*) hReg; in release() local
70 if (pReg) in release()
72 if (pReg->release() == 0) in release()
74 delete pReg; in release()
86 ORegistry* pReg; in getName() local
90 pReg = (ORegistry*)hReg; in getName()
91 if ( pReg->isOpen() ) in getName()
93 rtl_uString_assign(pName, pReg->getName().pData); in getName()
127 ORegistry* pReg = new ORegistry(); in createRegistry() local
128 if ((ret = pReg->initRegistry(registryName, REG_CREATE))) in createRegistry()
134 *phRegistry = pReg; in createRegistry()
145 ORegistry* pReg; in openRootKey() local
149 pReg = (ORegistry*)hReg; in openRootKey()
150 if (!pReg->isOpen()) in openRootKey()
158 *phRootKey = pReg->getRootKey(); in openRootKey()
173 ORegistry* pReg = new ORegistry(); in openRegistry() local
174 if ((_ret = pReg->initRegistry(registryName, accessMode))) in openRegistry()
177 delete pReg; in openRegistry()
182 *phRegistry = pReg; in openRegistry()
192 ORegistry *pReg; in closeRegistry() local
196 pReg = (ORegistry*)hReg; in closeRegistry()
197 if (!pReg->isOpen()) in closeRegistry()
201 if (pReg->release() == 0) in closeRegistry()
203 delete(pReg); in closeRegistry()
207 ret = pReg->closeRegistry(); in closeRegistry()
223 ORegistry *pReg; in destroyRegistry() local
227 pReg = (ORegistry*)hReg; in destroyRegistry()
228 if (!pReg->isOpen()) in destroyRegistry()
231 RegError ret = pReg->destroyRegistry(registryName); in destroyRegistry()
236 delete(pReg); in destroyRegistry()
257 ORegistry* pReg = static_cast< ORegistry* >(hReg); in loadKey() local
258 if (!pReg) in loadKey()
261 if (!pReg->isOpen()) in loadKey()
268 if (pKey->getRegistry() != pReg) in loadKey()
288 _ret = pReg->loadKey(pNewKey, regFileName); in loadKey()
308 ORegistry* pReg = static_cast< ORegistry* >(hReg); in saveKey() local
309 if (!pReg) in saveKey()
312 if (!pReg->isOpen()) in saveKey()
319 if (pKey->getRegistry() != pReg) in saveKey()
329 _ret = pReg->saveKey(pNewKey, regFileName); in saveKey()
349 ORegistry* pReg = static_cast< ORegistry* >(hReg); in mergeKey() local
350 if (!pReg) in mergeKey()
352 if (!pReg->isOpen()) in mergeKey()
358 if (pKey->getRegistry() != pReg) in mergeKey()
372 _ret = pReg->loadKey(pNewKey, regFileName, bWarnings, bReport); in mergeKey()
385 return pReg->loadKey(pKey, regFileName, bWarnings, bReport); in mergeKey()
394 ORegistry* pReg = static_cast< ORegistry* >(hReg); in dumpRegistry() local
395 if (!pReg) in dumpRegistry()
397 if (!pReg->isOpen()) in dumpRegistry()
403 if (pKey->getRegistry() != pReg) in dumpRegistry()
408 return pReg->dumpRegistry(hKey); in dumpRegistry()
523 ORegistry* pReg = new ORegistry(); in reg_createRegistry() local
524 if ((ret = pReg->initRegistry(registryName, REG_CREATE))) in reg_createRegistry()
530 *phRegistry = pReg; in reg_createRegistry()
572 ORegistry* pReg = new ORegistry(); in reg_openRegistry() local
573 if ((_ret = pReg->initRegistry(registryName, accessMode))) in reg_openRegistry()
579 *phRegistry = pReg; in reg_openRegistry()
589 ORegistry* pReg; in reg_closeRegistry() local
593 pReg = (ORegistry*)hRegistry; in reg_closeRegistry()
594 delete(pReg); in reg_closeRegistry()