/haiku/src/system/libroot/os/ |
H A D | port.c | 41 uint32 flags, bigtime_t timeout) 43 return _kern_write_port_etc(port, code, buffer, bufferSize, flags, timeout); 49 uint32 flags, bigtime_t timeout) 51 return _kern_read_port_etc(port, code, buffer, bufferSize, flags, timeout); 63 port_buffer_size_etc(port_id port, uint32 flags, bigtime_t timeout) argument 65 return _kern_port_buffer_size_etc(port, flags, timeout); 116 size_t infoSize, uint32 flags, bigtime_t timeout) 119 timeout); 40 write_port_etc(port_id port, int32 code, const void *buffer, size_t bufferSize, uint32 flags, bigtime_t timeout) argument 48 read_port_etc(port_id port, int32 *code, void *buffer, size_t bufferSize, uint32 flags, bigtime_t timeout) argument 115 _get_port_message_info_etc(port_id port, port_message_info *info, size_t infoSize, uint32 flags, bigtime_t timeout) argument
|
/haiku/headers/posix/ |
H A D | poll.h | 40 extern int poll(struct pollfd *fds, nfds_t numfds, int timeout); 42 const struct timespec *timeout, const sigset_t *sigMask);
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | synch.cpp | 18 const char* description, int timeout) 23 int status = cv_timedwait(&channel, mutex, timeout); 17 msleep(void* identifier, struct mtx* mutex, int priority, const char* description, int timeout) argument
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | KPPPUtils.cpp | 31 size_t buffer_size, uint32 timeout) 33 for (uint32 tries = 0; tries < timeout; tries += 5) { 49 size_t buffer_size, uint32 timeout) 52 for (uint32 tries = 0; tries < timeout; tries += 5) { 30 send_data_with_timeout(thread_id thread, int32 code, void *buffer, size_t buffer_size, uint32 timeout) argument 48 receive_data_with_timeout(thread_id *sender, int32 *code, void *buffer, size_t buffer_size, uint32 timeout) argument
|
/haiku/src/apps/cortex/support/ |
H A D | observe.cpp | 75 bigtime_t timeout) { 81 return target.SendMessage(&m, &reply, timeout); 88 bigtime_t timeout) { 94 return target.SendMessage(&m, &reply, timeout); 71 add_observer( const BMessenger& observer, const BMessenger& target, BMessage& reply, bigtime_t timeout) argument 84 remove_observer( const BMessenger& observer, const BMessenger& target, BMessage& reply, bigtime_t timeout) argument
|
H A D | observe.h | 133 bigtime_t timeout =B_INFINITE_TIMEOUT); 139 bigtime_t timeout =B_INFINITE_TIMEOUT); 155 bigtime_t timeout =B_INFINITE_TIMEOUT) : 160 _timeout(timeout), 167 reply, timeout);
|
/haiku/src/tests/add-ons/kernel/kernelland_emu/ |
H A D | low_resource_manager.cpp | 22 uint32 timeout) 21 low_resource(uint32 resource, uint64 requirements, uint32 flags, uint32 timeout) argument
|
/haiku/src/kits/network/libnetapi/ |
H A D | ProxySecureSocket.cpp | 21 bigtime_t timeout) 26 Connect(peer, timeout); 44 BProxySecureSocket::Connect(const BNetworkAddress& peer, bigtime_t timeout) argument 50 status = BSocket::Connect(fProxyAddress, timeout); 20 BProxySecureSocket(const BNetworkAddress& proxy, const BNetworkAddress& peer, bigtime_t timeout) argument
|
H A D | AbstractSocket.cpp | 115 BAbstractSocket::SetTimeout(bigtime_t timeout) argument 117 if (timeout < 0) 118 timeout = 0; 121 tv.tv_sec = timeout / 1000000LL; 122 tv.tv_usec = timeout % 1000000LL; 168 BAbstractSocket::WaitForReadable(bigtime_t timeout) const 170 return _WaitFor(POLLIN, timeout); 175 BAbstractSocket::WaitForWritable(bigtime_t timeout) const 177 return _WaitFor(POLLOUT, timeout); 217 bigtime_t timeout) 216 Connect(const BNetworkAddress& peer, int type, bigtime_t timeout) argument [all...] |
H A D | SocketMessenger.cpp | 88 bigtime_t timeout) 95 SetTo(address, timeout); 153 BSocketMessenger::SetTo(const BNetworkAddress& address, bigtime_t timeout) argument 164 status_t error = fSocket.Connect(address, timeout); 175 BSocketMessenger::SetTo(const BSocketMessenger& target, bigtime_t timeout) argument 177 return SetTo(target.Address(), timeout); 190 bigtime_t timeout) 199 return _ReadReply(replyID, _reply, timeout); 205 BMessenger& replyTarget, bigtime_t timeout) 208 status_t error = SendMessage(message, reply, timeout); 87 BSocketMessenger(const BNetworkAddress& address, bigtime_t timeout) argument 189 SendMessage(const BMessage& message, BMessage& _reply, bigtime_t timeout) argument 204 SendMessage(const BMessage& message, BMessenger& replyTarget, bigtime_t timeout) argument 230 ReceiveMessage(BMessage& _message, bigtime_t timeout) argument 284 _WaitForMessage(bigtime_t timeout) argument 363 _ReadReply(const int64 replyID, BMessage& reply, bigtime_t timeout) argument [all...] |
/haiku/headers/private/kernel/ |
H A D | event_queue.h | 22 int numInfos, uint32 flags, bigtime_t timeout);
|
/haiku/headers/private/shared/ |
H A D | RWLockManager.h | 64 bigtime_t timeout); 70 bigtime_t timeout); 77 RWLockable* lockable, bigtime_t timeout); 82 bigtime_t timeout); 106 bigtime_t timeout) 109 ? WriteLockWithTimeout(lockable, timeout) 110 : ReadLockWithTimeout(lockable, timeout); 105 GenericLockWithTimeout(bool write, RWLockable* lockable, bigtime_t timeout) argument
|
/haiku/src/tests/system/libroot/posix/ |
H A D | TestUnitUtils.h | 9 absolute_timeout(timespec& timeout, bigtime_t relativeTimeout) argument 13 timeout.tv_sec = tv.tv_sec + relativeTimeout / 1000000; 14 timeout.tv_nsec = (tv.tv_usec + relativeTimeout % 1000000) * 1000; 15 if (timeout.tv_nsec > 1000000000) { 16 timeout.tv_sec++; 17 timeout.tv_nsec -= 1000000000; 20 return &timeout;
|
/haiku/src/add-ons/kernel/network/protocols/unix/ |
H A D | UnixEndpoint.h | 96 absolute_timeout(bigtime_t timeout) argument 98 if (timeout == 0 || timeout == B_INFINITE_TIMEOUT) 99 return timeout; 102 return timeout + system_time();
|
/haiku/src/kits/shared/ |
H A D | RWLocker.cpp | 70 RWLocker::ReadLockWithTimeout(bigtime_t timeout) argument 72 bigtime_t absoluteTimeout = system_time() + timeout; 74 if (timeout > 0 && absoluteTimeout < 0) 135 RWLocker::WriteLockWithTimeout(bigtime_t timeout) argument 137 bigtime_t absoluteTimeout = system_time() + timeout; 139 if (timeout > 0 && absoluteTimeout < 0) 203 // /timeout/ -- absolute timeout 205 RWLocker::_ReadLock(bigtime_t timeout) argument 228 error = _AcquireBenaphore(fQueue, timeout); 276 _WriteLock(bigtime_t timeout) argument 454 _AcquireBenaphore(Benaphore& benaphore, bigtime_t timeout) argument [all...] |
H A D | RWLockManager.cpp | 64 RWLockManager::ReadLockWithTimeout(RWLockable* lockable, bigtime_t timeout) argument 73 return _Wait(lockable, false, timeout); 137 RWLockManager::WriteLockWithTimeout(RWLockable* lockable, bigtime_t timeout) argument 154 return _Wait(lockable, true, timeout); 177 RWLockManager::_Wait(RWLockable* lockable, bool writer, bigtime_t timeout) argument 179 if (timeout == 0) 194 timeout >= 0 ? B_RELATIVE_TIMEOUT : 0, timeout); 195 // TODO: When interrupted we should adjust the timeout, respectively 196 // convert to an absolute timeout i [all...] |
/haiku/src/system/libroot/posix/pthread/ |
H A D | pthread_rwlock.cpp | 67 status_t ReadLock(uint32 flags, bigtime_t timeout) argument 69 return acquire_sem_etc(sem, 1, flags, timeout); 72 status_t WriteLock(uint32 flags, bigtime_t timeout) argument 75 flags, timeout); 148 status_t ReadLock(uint32 flags, bigtime_t timeout) argument 157 return _Wait(false, flags, timeout); 160 status_t WriteLock(uint32 flags, bigtime_t timeout) argument 170 return _Wait(true, flags, timeout); 189 status_t _Wait(bool writer, uint32 flags, bigtime_t timeout) argument 191 if (timeout 348 bigtime_t timeout = abstime->tv_sec * 1000000LL local 409 bigtime_t timeout = abstime->tv_sec * 1000000LL local [all...] |
/haiku/src/system/kernel/arch/arm/ |
H A D | soc_pxa.cpp | 77 PXATimer::SetTimeout(bigtime_t timeout) argument 79 uint32 val = timeout & UINT_MAX; 82 if (timeout & ~UINT_MAX) { 84 if (US2MS(timeout) & ~UINT_MAX) { 86 val = US2S(timeout) & UINT_MAX; 90 val = US2MS(timeout) & UINT_MAX;
|
/haiku/src/apps/cortex/NodeManager/ |
H A D | NodeSyncThread.h | 93 bigtime_t timeout); 120 bigtime_t timeout; member in struct:NodeSyncThread::_sync_op
|
/haiku/src/build/libroot/ |
H A D | sem.cpp | 75 acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout)
argument 89 if (timeout < 0)
90 timeout = 0;
94 // relative timeout: get the absolute time when to time out
96 // special case: on timeout == 0 we return B_WOULD_BLOCK
97 if (timeout == 0)
101 if (timeout > B_INFINITE_TIMEOUT || currentTime >= B_INFINITE_TIMEOUT - timeout) {
104 timeout += currentTime;
108 // absolute timeout
[all...] |
/haiku/headers/os/net/ |
H A D | DatagramSocket.h | 16 bigtime_t timeout = -1); 23 bigtime_t timeout = B_INFINITE_TIMEOUT);
|
H A D | Socket.h | 16 bigtime_t timeout = B_INFINITE_TIMEOUT); 26 bigtime_t timeout = B_INFINITE_TIMEOUT);
|
/haiku/headers/os/support/ |
H A D | Locker.h | 23 status_t LockWithTimeout(bigtime_t timeout); 39 bool AcquireLock(bigtime_t timeout, status_t* error);
|
/haiku/src/servers/app/ |
H A D | MessageLooper.h | 26 bigtime_t timeout = B_INFINITE_TIMEOUT); 36 bigtime_t timeout = B_INFINITE_TIMEOUT);
|
/haiku/headers/build/os/support/ |
H A D | Locker.h | 23 status_t LockWithTimeout(bigtime_t timeout); 39 bool AcquireLock(bigtime_t timeout, status_t* error);
|