Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 25 of 251) sorted by relevance

1234567891011

/trunk/main/sal/rtl/source/
H A Dalloc_impl.h208 #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/org/apache/openoffice/comp/sdbc/dbtools/sdbcx/
H A DOContainer.java96 this.lock = lock; 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()
202 synchronized (lock) { in getElementNames()
213 synchronized (lock) { in refresh()
237 synchronized (lock) { in addRefreshListener()
244 synchronized (lock) { in removeRefreshListener()
[all …]
/trunk/main/configmgr/source/
H A Daccess.cxx849 osl::MutexGuard g(lock); in getTypes()
898 osl::MutexGuard g(lock); in getImplementationId()
906 osl::MutexGuard g(lock); in getImplementationName()
916 osl::MutexGuard g(lock); in supportsService()
931 osl::MutexGuard g(lock); in getSupportedServiceNames()
1043 osl::MutexGuard g(lock); in removeEventListener()
1053 osl::MutexGuard g(lock); in getElementType()
1077 osl::MutexGuard g(lock); in hasElements()
1088 osl::MutexGuard g(lock); in getByName()
1102 osl::MutexGuard g(lock); in getElementNames()
[all …]
H A Drootaccess.cxx127 osl::MutexGuard g(lock); in ~RootAccess()
225 osl::MutexGuard g(lock); in queryInterface()
249 osl::MutexGuard g(lock); in addChangesListener()
272 osl::MutexGuard g(lock); in removeChangesListener()
286 osl::MutexGuard g(lock); in commitChanges()
304 osl::MutexGuard g(lock); in hasPendingChanges()
316 osl::MutexGuard g(lock); in getPendingChanges()
H A Dchildaccess.cxx167 osl::MutexGuard g(lock); in getParent()
176 osl::MutexGuard g(lock); in setParent()
188 osl::MutexGuard g(lock); in getSomething()
358 osl::MutexGuard g(lock); in ~ChildAccess()
388 osl::MutexGuard g(lock); in queryInterface()
H A Dupdate.cxx103 osl::MutexGuard g(lock); in insertExtensionXcsFile()
113 osl::MutexGuard g(lock); in insertExtensionXcuFile()
128 osl::MutexGuard g(lock); in removeExtensionXcuFile()
146 osl::MutexGuard g(lock); in insertModificationXcuFile()
/trunk/main/offapi/com/sun/star/ucb/
H A DLock.idl38 /** 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 DLockType.idl32 /** specifies the access type of a lock.
39 /** specifies a write lock.
44 // /** read lock.
49 // /** readwrite lock.
H A DInteractiveLockingLockedException.idl43 /** 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/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DMapToXNameAccessAdapter.java34 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 DMapToXNameContainerAdapter.java34 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 DJobQueue_Test.java215 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 DOutliner.cxx283 ::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()
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()
1062 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in EndOfSearch()
[all …]
/trunk/main/scripting/java/org/openoffice/netbeans/modules/office/loader/
H A DParcelContentsFolder.java107 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 Dsm.cxx167 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 Dosl_Mutex.cxx107 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/sal/osl/w32/
H A Dfile.cxx753 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/offapi/com/sun/star/util/
H A DXLockable.idl37 <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/unx/
H A Dfile.cxx1004 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 Dstatusindicatorfactory.cxx463 aReadLock.lock(); in impl_createProgress()
485 xLayoutManager->lock(); in impl_createProgress()
500 aWriteLock.lock(); in impl_createProgress()
514 aReadLock.lock(); in impl_showProgress()
544 aWriteLock.lock(); in impl_showProgress()
559 aReadLock.lock(); in impl_hideProgress()
612 aGlobalLock.lock(); in impl_reschedule()
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/comphelper/
H A DPropertySetAdapter.java55 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 DLayoutManagerEvents.idl44 /** 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 Dinstall_solaris.sh91 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 Dsp_debug.cxx180 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 Dresetableguard.hxx101 lock(); in ResetableGuard()
109 lock(); in ResetableGuard()
146 inline void lock() in lock() function in framework::ResetableGuard

Completed in 139 milliseconds

1234567891011