| /trunk/main/sal/rtl/source/ |
| H A D | alloc_impl.h | 208 #define RTL_MEMORY_LOCK_INIT(lock) pthread_mutex_init((lock), NULL) argument 209 #define RTL_MEMORY_LOCK_DESTROY(lock) pthread_mutex_destroy((lock)) argument 211 #define RTL_MEMORY_LOCK_ACQUIRE(lock) pthread_mutex_lock((lock)) argument 212 #define RTL_MEMORY_LOCK_RELEASE(lock) pthread_mutex_unlock((lock)) argument 227 #define RTL_MEMORY_LOCK_INIT(lock) InitializeCriticalSection((lock)) argument 228 #define RTL_MEMORY_LOCK_DESTROY(lock) DeleteCriticalSection((lock)) argument 230 #define RTL_MEMORY_LOCK_ACQUIRE(lock) EnterCriticalSection((lock)) argument 231 #define RTL_MEMORY_LOCK_RELEASE(lock) LeaveCriticalSection((lock)) argument
|
| /trunk/main/connectivity/java/dbtools/src/main/java/org/apache/openoffice/comp/sdbc/dbtools/sdbcx/ |
| H A D | OContainer.java | 77 protected final Object lock; field in OContainer 95 public OContainer(Object lock, boolean isCaseSensitive) { in OContainer() argument 96 this.lock = lock; in OContainer() 102 …public OContainer(Object lock, boolean isCaseSensitive, List<String> names) throws ElementExistExc… in OContainer() argument 103 this(lock, isCaseSensitive); in OContainer() 130 synchronized (lock) { in dispose() 164 synchronized (lock) { in getByIndex() 174 synchronized (lock) { in getCount() 183 synchronized (lock) { in hasByName() 190 synchronized (lock) { in getByName() [all …]
|
| /trunk/main/configmgr/source/ |
| H A D | access.cxx | 847 osl::MutexGuard g(lock); in getTypes() 895 osl::MutexGuard g(lock); in getImplementationId() 903 osl::MutexGuard g(lock); in getImplementationName() 912 osl::MutexGuard g(lock); in supportsService() 926 osl::MutexGuard g(lock); in getSupportedServiceNames() 990 osl::MutexGuard g(lock); in dispose() 1014 osl::MutexGuard g(lock); in addEventListener() 1036 osl::MutexGuard g(lock); in removeEventListener() 1046 osl::MutexGuard g(lock); in getElementType() 1070 osl::MutexGuard g(lock); in hasElements() [all …]
|
| H A D | rootaccess.cxx | 127 osl::MutexGuard g(lock); in ~RootAccess() 224 osl::MutexGuard g(lock); in queryInterface() 247 osl::MutexGuard g(lock); in addChangesListener() 269 osl::MutexGuard g(lock); in removeChangesListener() 282 osl::MutexGuard g(lock); in commitChanges() 300 osl::MutexGuard g(lock); in hasPendingChanges() 311 osl::MutexGuard g(lock); in getPendingChanges()
|
| H A D | update.cxx | 98 osl::MutexGuard g(lock); in insertExtensionXcsFile() 107 osl::MutexGuard g(lock); in insertExtensionXcuFile() 121 osl::MutexGuard g(lock); in removeExtensionXcuFile() 138 osl::MutexGuard g(lock); in insertModificationXcuFile()
|
| H A D | childaccess.cxx | 166 osl::MutexGuard g(lock); in getParent() 174 osl::MutexGuard g(lock); in setParent() 185 osl::MutexGuard g(lock); in getSomething() 355 osl::MutexGuard g(lock); in ~ChildAccess() 384 osl::MutexGuard g(lock); in queryInterface()
|
| /trunk/main/offapi/com/sun/star/ucb/ |
| H A D | Lock.idl | 38 /** defines a lock. 43 /** defines the lock's depth. 48 /** the owner of the lock. 53 owns the lock. 58 /** a timeout value for the lock. 61 of the lock and the automatic removal of that lock. The value 63 stands for an infinite lock, that will never be removed automatically. 68 /** the lock tokens. 70 <p>Each lock token is a URI.
|
| H A D | LockType.idl | 32 /** specifies the access type of a lock. 39 /** specifies a write lock. 44 // /** read lock. 49 // /** readwrite lock.
|
| H A D | InteractiveLockingLockedException.idl | 43 /** The owner of the lock. 45 <true/>, the lock has been obtained by this OpenOffice session. 46 <false/> the lock has been obtained by another principal. 50 /** The owner of the lock.
|
| /trunk/main/connectivity/java/dbtools/src/main/java/org/apache/openoffice/comp/sdbc/dbtools/util/ |
| H A D | MapToXNameAccessAdapter.java | 34 protected final Object lock; field in MapToXNameAccessAdapter 37 public MapToXNameAccessAdapter(Map<String,Object> map, Object lock, Type elementType) { in MapToXNameAccessAdapter() argument 39 this.lock = lock; in MapToXNameAccessAdapter() 49 synchronized (lock) { in getByName() 60 synchronized (lock) { in getElementNames() 72 synchronized (lock) { in hasByName() 87 synchronized (lock) { in hasElements()
|
| H A D | MapToXNameContainerAdapter.java | 34 public MapToXNameContainerAdapter(Map<String,Object> map, Object lock, Type elementType) { in MapToXNameContainerAdapter() argument 35 super(map, lock, elementType); in MapToXNameContainerAdapter() 44 synchronized (lock) { in insertByName() 55 synchronized (lock) { in removeByName() 70 synchronized (lock) { in replaceByName()
|
| /trunk/main/jurt/test/com/sun/star/lib/uno/environments/remote/ |
| H A D | JobQueue_Test.java | 215 synchronized (lock) { in run() 217 lock.notifyAll(); in run() 227 synchronized (lock) { in run() 229 lock.notifyAll(); in run() 235 synchronized (lock) { in waitToStart() 237 lock.wait(); in waitToStart() 243 synchronized (lock) { in waitToTerminate() 245 lock.wait(); in waitToTerminate() 253 private final Object lock = new Object(); field in JobQueue_Test.TestThread
|
| /trunk/main/sd/source/ui/view/ |
| H A D | Outliner.cxx | 283 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in PrepareSpelling() 328 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in EndSpelling() 392 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in SpellNextDocument() 509 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in StartSearchAndReplace() 568 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in Initialize() 632 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in SearchAndReplaceAll() 687 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in SearchAndReplaceOnce() 777 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in DetectChange() 875 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in RememberStartPosition() 934 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in RestoreStartPosition() [all …]
|
| /trunk/main/scripting/java/org/openoffice/netbeans/modules/office/loader/ |
| H A D | ParcelContentsFolder.java | 107 FileLock lock = null; 113 lock = fo.lock(); 114 if (lock != null) { 115 fo.rename(lock, fo.getName(), fo.getExt()); 127 if (lock != null) { 128 lock.releaseLock();
|
| /trunk/main/vcl/unx/generic/app/ |
| H A D | sm.cxx | 167 static void lock(); 439 ICEConnectionObserver::lock(); in saveDone() 459 ICEConnectionObserver::lock(); in open() 523 ICEConnectionObserver::lock(); in close() 539 ICEConnectionObserver::lock(); in queryInteraction() 551 ICEConnectionObserver::lock(); in interactionDone() 590 void ICEConnectionObserver::lock() in lock() function in ICEConnectionObserver 623 lock(); in deactivate() 661 ICEConnectionObserver::lock(); in ICEConnectionWorker() 687 ICEConnectionObserver::lock(); in ICEConnectionWorker()
|
| /trunk/main/sal/qa/osl/mutex/ |
| H A D | osl_Mutex.cxx | 107 Mutex lock; member 126 pResource->lock.acquire( ); in run() 134 pResource->lock.release(); in run() 154 pResource->lock.acquire( ); in run() 162 pResource->lock.release(); in run() 171 Mutex lock; member 193 pChain->lock.acquire( ); in run() 209 pChain->lock.release(); in run()
|
| /trunk/main/offapi/com/sun/star/util/ |
| H A D | XLockable.idl | 37 <p><code>lock</code> and <code>unlock</code> calls can be nested. However, they must be in 38 …pairs. As long as there has been one more call to <code>lock</code> than to <code>unlock</code>, t… 48 void lock(); 55 @see lock 64 @see lock
|
| /trunk/main/sal/osl/w32/ |
| H A D | file.cxx | 753 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_syncFile() local 899 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readLine() local 920 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readFile() local 942 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_writeFile() local 972 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readFileAt() local 998 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_writeFileAt() local 1011 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_isEndOfFile() local 1024 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_getFilePos() local 1042 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_setFilePos() local 1082 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_getFileSize() local [all …]
|
| /trunk/main/sal/osl/unx/ |
| H A D | file.cxx | 1004 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_syncFile() local 1138 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readLine() local 1167 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readFile() local 1198 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_writeFile() local 1235 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readFileAt() local 1270 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_writeFileAt() local 1285 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_isEndOfFile() local 1301 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_getFilePos() local 1322 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_setFilePos() local 1364 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_getFileSize() local
|
| /trunk/main/framework/source/helper/ |
| H A D | statusindicatorfactory.cxx | 459 aReadLock.lock(); in impl_createProgress() 481 xLayoutManager->lock(); in impl_createProgress() 496 aWriteLock.lock(); in impl_createProgress() 510 aReadLock.lock(); in impl_showProgress() 540 aWriteLock.lock(); in impl_showProgress() 555 aReadLock.lock(); in impl_hideProgress() 608 aGlobalLock.lock(); in impl_reschedule()
|
| /trunk/main/connectivity/java/dbtools/src/main/java/org/apache/openoffice/comp/sdbc/dbtools/comphelper/ |
| H A D | PropertySetAdapter.java | 55 private final Object lock; field in PropertySetAdapter 123 public PropertySetAdapter(Object lock, Object eventSource) { in PropertySetAdapter() argument 124 this.lock = lock; in PropertySetAdapter() 199 synchronized (lock) { in getPropertyValue() 309 synchronized (lock) { in setPropertyValue()
|
| /trunk/main/offapi/com/sun/star/frame/ |
| H A D | LayoutManagerEvents.idl | 44 /** specifies that the layout manager processed a lock call, which 48 This event sends the current lock count as additional 56 admit layouts when the lock count is zero. 59 This event sends the current lock count as additional
|
| /trunk/main/setup_native/scripts/ |
| H A D | install_solaris.sh | 91 if [ -f /tmp/.ai.pkg.zone.lock-afdb66cf-1dd1-11b2-a049-000d560ddc3e ] 97 ls -l /tmp/.ai.pkg.zone.lock-afdb66cf-1dd1-11b2-a049-000d560ddc3e 342 rm -f /tmp/.ai.pkg.zone.lock* 347 rm -f ${LOCAL_TMP}/.ai.pkg.zone.lock*
|
| /trunk/main/slideshow/source/engine/ |
| H A D | sp_debug.cxx | 180 mutex_type::scoped_lock lock(get_mutex()); in find_unreachable_objects() local 229 mutex_type::scoped_lock lock(get_mutex()); in free_unreachable_objects() local 261 mutex_type::scoped_lock lock(get_mutex()); in sp_scalar_constructor_hook() local 276 mutex_type::scoped_lock lock(get_mutex()); in sp_scalar_destructor_hook() local
|
| /trunk/main/framework/inc/threadhelp/ |
| H A D | resetableguard.hxx | 101 lock(); in ResetableGuard() 109 lock(); in ResetableGuard() 146 inline void lock() in lock() function in framework::ResetableGuard
|