Searched refs:timeout (Results 126 - 150 of 412) sorted by relevance

1234567891011>>

/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamFilterInterface.cpp123 CamFilterInterface::WaitFrame(bigtime_t timeout) argument
126 return fNextOfKin->WaitFrame(timeout);
/haiku/src/bin/network/telnet/
H A Dnetwork.c86 static struct timeval timeout = { 0, 0 }; local
93 value = select(net+1, (fd_set *)0, (fd_set *)0, &excepts, &timeout);
/haiku/src/tests/kits/app/bmessenger/
H A DSMInvoker.h38 SMInvoker2(bool useMessage, bool useReplyTo, bigtime_t timeout);
52 SMInvoker3(bool useMessage, bool useReplyTo, bigtime_t timeout);
/haiku/src/tools/fs_shell/
H A Dsem.cpp53 fssh_bigtime_t timeout)
55 return acquire_sem_etc(id, count, flags, timeout);
52 fssh_acquire_sem_etc(fssh_sem_id id, int32_t count, uint32_t flags, fssh_bigtime_t timeout) argument
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/
H A DProtocol.h83 bigtime_t timeout = kIMAP4ClientTimeout);
92 bigtime_t timeout = kIMAP4ClientTimeout,
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A Dvip.c310 RADEON_VIPH_CONTROL_VIPH_DMA_MODE | RADEON_VIPH_CONTROL_VIPH_EN ); // slowest, timeout in 16 phases
323 RADEON_VIPH_CONTROL_VIPH_DMA_MODE | RADEON_VIPH_CONTROL_VIPH_EN ); // slowest, timeout in 16 phases
349 uint32 timeout; local
354 timeout = INREG( regs, RADEON_VIPH_TIMEOUT_STAT );
355 if( (timeout & RADEON_VIPH_TIMEOUT_STAT_VIPH_REG_STAT) != 0 )
358 (timeout & 0xffffff00) | RADEON_VIPH_TIMEOUT_STAT_VIPH_REG_AK);
367 uint32 timeout; local
369 timeout = INREG( regs, RADEON_VIPH_TIMEOUT_STAT);
370 if((timeout & 0x0000000f) & channel) /* lockup ?? */
372 OUTREG( regs, RADEON_VIPH_TIMEOUT_STAT, (timeout
[all...]
/haiku/src/kits/network/libnetservices/
H A DNetworkRequest.cpp44 BNetworkRequest::SetTimeout(bigtime_t timeout) argument
47 fSocket->SetTimeout(timeout);
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Dsystm.h25 #define tsleep(identifier, priority, wmesg, timeout) \
26 msleep(identifier, &Giant, priority, wmesg, timeout)
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DTuner.cpp243 for (int timeout = 0; timeout < 10; timeout++) {
254 for (int timeout = 0; timeout < 10; timeout++) {
/haiku/src/preferences/notifications/
H A DGeneralView.cpp234 int32 timeout = fDurationSlider->Value(); local
235 settings.AddInt32(kTimeoutName, timeout);
270 int32 timeout = fDurationSlider->Value(); local
271 if (fOriginalTimeout != timeout)
306 int32 timeout = fDurationSlider->Value(); local
307 if (kDefaultTimeout != timeout)
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixFifo.cpp387 struct sockaddr_storage* address, bigtime_t timeout)
390 find_thread(NULL), this, vecs, vecCount, timeout);
399 status_t error = _Read(request, timeout);
433 const struct sockaddr_storage* address, bigtime_t timeout)
437 timeout);
450 status_t error = _Write(request, timeout);
522 UnixFifo::_Read(UnixRequest& request, bigtime_t timeout) argument
525 if (fReaders.Head() != &request && timeout == 0)
535 timeout);
549 if (timeout
385 Read(const iovec* vecs, size_t vecCount, ancillary_data_container** _ancillaryData, struct sockaddr_storage* address, bigtime_t timeout) argument
431 Write(const iovec* vecs, size_t vecCount, ancillary_data_container* ancillaryData, const struct sockaddr_storage* address, bigtime_t timeout) argument
581 _Write(UnixRequest& request, bigtime_t timeout) argument
[all...]
/haiku/src/system/kernel/
H A Dport.cpp682 get_port_message(int32 code, size_t bufferSize, uint32 flags, bigtime_t timeout, argument
701 if ((flags & B_RELATIVE_TIMEOUT) != 0 && timeout <= 0)
715 status_t status = entry.Wait(flags, timeout);
1321 port_buffer_size_etc(port_id id, uint32 flags, bigtime_t timeout) argument
1324 status_t error = get_port_message_info_etc(id, &info, flags, timeout);
1331 size_t infoSize, uint32 flags, bigtime_t timeout)
1355 if ((flags & B_RELATIVE_TIMEOUT) != 0 && timeout <= 0)
1363 // block if no message, or, if B_TIMEOUT flag set, block with timeout
1364 status_t status = entry.Wait(flags, timeout);
1436 uint32 flags, bigtime_t timeout)
1330 _get_port_message_info_etc(port_id id, port_message_info* info, size_t infoSize, uint32 flags, bigtime_t timeout) argument
1435 read_port_etc(port_id id, int32* _code, void* buffer, size_t bufferSize, uint32 flags, bigtime_t timeout) argument
1545 write_port_etc(port_id id, int32 msgCode, const void* buffer, size_t bufferSize, uint32 flags, bigtime_t timeout) argument
1555 writev_port_etc(port_id id, int32 msgCode, const iovec* msgVecs, size_t vecCount, size_t bufferSize, uint32 flags, bigtime_t timeout) argument
1844 _user_port_buffer_size_etc(port_id port, uint32 flags, bigtime_t timeout) argument
1870 _user_read_port_etc(port_id port, int32 *userCode, void *userBuffer, size_t bufferSize, uint32 flags, bigtime_t timeout) argument
1896 _user_write_port_etc(port_id port, int32 messageCode, const void *userBuffer, size_t bufferSize, uint32 flags, bigtime_t timeout) argument
1916 _user_writev_port_etc(port_id port, int32 messageCode, const iovec *userVecs, size_t vecCount, size_t bufferSize, uint32 flags, bigtime_t timeout) argument
1943 _user_get_port_message_info_etc(port_id port, port_message_info *userInfo, size_t infoSize, uint32 flags, bigtime_t timeout) argument
[all...]
H A Dlow_resource_manager.cpp245 bigtime_t timeout = kLowResourceInterval; local
248 B_RELATIVE_TIMEOUT, timeout);
270 timeout = kWarnResourceInterval;
272 timeout = kLowResourceInterval;
326 and \a timeout specify a timeout, the function will wait until the low
328 handlers, or until the timeout occurs (whichever happens first).
331 low_resource(uint32 resource, uint64 requirements, uint32 flags, uint32 timeout) argument
375 if ((flags & B_RELATIVE_TIMEOUT) == 0 || timeout > 0)
376 sLowResourceWaiterCondition.Wait(flags, timeout);
[all...]
/haiku/src/add-ons/kernel/network/stack/
H A Dutility.cpp217 will wait depending on the \a flags and \a timeout.
219 MSG_DONTWAIT - ignores the timeout and never wait for a buffer; if your
220 socket is O_NONBLOCK, you should specify this flag. A \a timeout of
226 fifo_dequeue_buffer(net_fifo* fifo, uint32 flags, bigtime_t timeout, argument
233 const bool dontWait = (flags & MSG_DONTWAIT) != 0 || timeout == 0;
267 B_CAN_INTERRUPT | B_RELATIVE_TIMEOUT, timeout);
330 bigtime_t timeout = B_INFINITE_TIMEOUT; local
333 // scan timers for new timeout and/or execute a timer
358 // calculate new timeout
359 if (timer->due < timeout)
579 store_syscall_restart_timeout(bigtime_t timeout) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_vf.c262 u32 timeout = E1000_VF_INIT_TIMEOUT; local
274 while (!mbx->ops.check_for_rst(hw, 0) && timeout) {
275 timeout--;
279 if (timeout) {
280 /* mailbox timeout can now become active */
281 mbx->timeout = E1000_VF_MBX_INIT_TIMEOUT;
550 /* If we were hit with a reset or timeout drop the link */
551 if (!mbx->ops.check_for_rst(hw, 0) || !mbx->timeout)
575 * we are still accepting timeout or if we had a timeout failur
[all...]
/haiku/src/kits/tracker/
H A DTaskLoop.cpp193 bigtime_t period, bigtime_t timeout)
196 fTimeoutAfter(system_time() + timeout)
212 // if call didn't terminate the task yet, check if timeout is due
363 bigtime_t period, bigtime_t timeout)
366 timeout));
506 for (int32 timeout = 10000; ; timeout--) {
507 // use a 10 sec timeout value in case the spawned
510 if (!timeout) {
191 PeriodicDelayedTaskWithTimeout( FunctionObjectWithResult<bool>* functor, bigtime_t initialDelay, bigtime_t period, bigtime_t timeout) argument
362 RunLater(FunctionObjectWithResult<bool>* functor, bigtime_t delay, bigtime_t period, bigtime_t timeout) argument
/haiku/src/add-ons/kernel/busses/scsi/usb/freecom/
H A Dfreecom.c58 uint8 timeout; /* timeout (seconds?) */ member in struct:__anon1418
59 #define FCMTO_DEF 0xfe /* default timeout */
60 #define FCMTO_TU 0x14 /* timeout for TEST UNIT READY command */
209 performs queue_bulk USB request for corresponding pipe and handle timeout of this
237 write_command(usb_device_info *udi, uint8 type, uint8 *cmd, uint8 timeout) argument
243 .timeout = FCMTO_DEF,
248 fc.timeout = FCMTO_TU;
251 PTRACE(udi, "FCM:FC:{Type:0x%02x; TO:%d;}\n", fc.type, fc.timeout);
308 request_transfer(usb_device_info *udi, uint8 type, uint32 length, uint8 timeout) argument
[all...]
/haiku/src/kits/app/
H A DLinkReceiver.cpp76 LinkReceiver::GetNextMessage(int32 &code, bigtime_t timeout) argument
86 status_t err = ReadFromPort(timeout);
163 LinkReceiver::AdjustReplyBuffer(bigtime_t timeout) argument
183 timeout == B_INFINITE_TIMEOUT ? 0 : B_RELATIVE_TIMEOUT,
184 timeout);
218 LinkReceiver::ReadFromPort(bigtime_t timeout) argument
223 status_t err = AdjustReplyBuffer(timeout);
232 if (timeout != B_INFINITE_TIMEOUT) {
235 fRecvBufferSize, B_TIMEOUT, timeout);
/haiku/src/kits/network/libnetapi/
H A DSecureSocket.cpp369 BSecureSocket::BSecureSocket(const BNetworkAddress& peer, bigtime_t timeout) argument
374 Connect(peer, timeout);
428 BSecureSocket::Connect(const BNetworkAddress& peer, bigtime_t timeout) argument
434 status = BSocket::Connect(peer, timeout);
455 BSecureSocket::WaitForReadable(bigtime_t timeout) const
465 return BSocket::WaitForReadable(timeout);
637 BSecureSocket::BSecureSocket(const BNetworkAddress& peer, bigtime_t timeout) argument
671 BSecureSocket::Connect(const BNetworkAddress& peer, bigtime_t timeout) argument
684 BSecureSocket::WaitForReadable(bigtime_t timeout) const
/haiku/src/tests/system/libroot/posix/
H A Drealtime_sem_test1.cpp368 timespec timeout; local
370 absolute_timeout(timeout, 1000000)));
378 absolute_timeout(timeout, 1000000)));
384 TEST("sem_timedwait() timeout");
387 absolute_timeout(timeout, 1000000)));
503 timespec timeout; local
505 absolute_timeout(timeout, 1000000)));
513 absolute_timeout(timeout, 1000000)));
519 TEST("sem_timedwait() timeout");
522 absolute_timeout(timeout, 100000
611 timespec timeout; local
636 timespec timeout; local
732 timespec timeout; local
768 timespec timeout; local
952 timespec timeout; local
977 timespec timeout; local
[all...]
/haiku/headers/os/app/
H A DLooper.h78 status_t LockWithTimeout(bigtime_t timeout);
135 bigtime_t timeout);
138 bigtime_t timeout);
146 bigtime_t timeout = B_INFINITE_TIMEOUT);
148 bigtime_t timeout = B_INFINITE_TIMEOUT);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_recv.c107 ar9300_stop_dma_receive(struct ath_hal *ah, u_int timeout) argument
118 if (timeout == 0) {
119 timeout = AH_RX_STOP_DMA_TIMEOUT;
141 for (wait = timeout / AH_TIME_QUANTUM; wait != 0; wait--) {
152 timeout / 1000,
/haiku/src/servers/app/
H A DEventStream.cpp42 EventStream::GetNextCursorPosition(BPoint& where, bigtime_t timeout) argument
164 InputServerStream::GetNextCursorPosition(BPoint &where, bigtime_t timeout) argument
170 timeout);
227 InputServerStream::_MessageFromPort(BMessage** _message, bigtime_t timeout) argument
235 bufferSize = port_buffer_size_etc(fPort, B_RELATIVE_TIMEOUT, timeout);
/haiku/src/tests/kits/shared/
H A DMemoryRingIOTest.cpp120 const bigtime_t timeout = 100; local
122 CHK(fRing.WaitForRead(timeout) == B_TIMED_OUT);
123 CHK(system_time() - start <= timeout + 10);
126 CHK(fRing.WaitForWrite(timeout) == B_TIMED_OUT);
127 CHK(system_time() - start <= timeout + 10);
219 "MemoryRingIOTest: Wait timeout",
/haiku/src/libs/compat/freebsd_network/
H A Dcallout.cpp62 bigtime_t timeout = B_INFINITE_TIMEOUT; local
65 // scan timers for new timeout and/or execute a timer
76 // calculate new timeout
77 if (timeout > c->c_due)
78 timeout = c->c_due;
100 sTimeout = timeout;
104 status = acquire_sem_etc(sWaitSem, 1, B_ABSOLUTE_TIMEOUT, timeout);

Completed in 262 milliseconds

1234567891011>>