Searched refs:state (Results 276 - 300 of 673) sorted by relevance

<<11121314151617181920>>

/haiku/src/system/libroot/posix/time/
H A Dlocaltime_fading_out.c108 struct state { struct
163 const struct state * sp, struct tm * tmp));
174 static struct state lclmem;
175 static struct state gmtmem;
206 register struct state * sp;
344 register const struct state * const sp;
564 register const struct state * sp;
704 sp = (const struct state *)
765 register const struct state * sp;
793 sp = (const struct state *) (((voi
[all...]
/haiku/src/apps/powerstatus/
H A DPowerStatusView.cpp382 fOnline = (fBatteryInfo.state & BATTERY_DISCHARGING) == 0;
426 const char* state = NULL; local
427 if ((fBatteryInfo.state & BATTERY_CHARGING) != 0)
428 state = B_TRANSLATE("charging");
429 else if ((fBatteryInfo.state & BATTERY_DISCHARGING) != 0)
430 state = B_TRANSLATE("discharging");
432 if (state != NULL) {
434 state);
530 batteryInfo->state |= info.state;
[all...]
H A DExtendedInfoWindow.cpp101 if ((fBatteryInfo.state & BATTERY_CHARGING) != 0)
103 else if ((fBatteryInfo.state & BATTERY_DISCHARGING) != 0)
105 else if ((fBatteryInfo.state & BATTERY_CRITICAL_STATE) != 0
111 else if ((fBatteryInfo.state & BATTERY_CRITICAL_STATE) != 0)
311 return (fBatteryInfo.state & BATTERY_CRITICAL_STATE) != 0;
H A DACPIDriverInterface.cpp108 info->state = fCachedInfo.state;
/haiku/src/add-ons/kernel/drivers/network/wb840/
H A Ddevice.c268 // re-enable transmit state machine
306 ether_link_state_t state; local
309 state.media = (data->link ? IFM_ACTIVE : 0) | IFM_ETHER
312 state.speed = data->speed == LINK_SPEED_100_MBIT
314 state.quality = 1000;
316 return user_memcpy(arg, &state, sizeof(ether_link_state_t));
/haiku/src/bin/network/ftpd/
H A Dftpcmd.y109 static int state;
175 short state;
185 { "REIN", REIN, ARGS, 0, "(reinitialize server state)" },
892 state = CMD; /* reset lexer state */
1303 switch (state) {
1333 return (NOTIMPL); /* state remains CMD */
1334 state = p->state;
1355 state
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DInode.cpp737 OpenState* state = cookie->fOpenState; local
746 MutexLocker locker(state->fOwnerLock);
747 LockOwner* owner = state->GetLockOwner(info.team);
769 MutexLocker _(state->fLocksLock);
770 state->AddLock(linfo);
791 OpenState* state = cookie->fOpenState; local
792 MutexLocker locker(state->fLocksLock);
793 LockInfo* linfo = state->fLocks;
796 state->RemoveLock(linfo, prev);
824 state
838 OpenState* state = cookie->fOpenState; local
[all...]
H A DFileSystem.cpp360 FileSystem::AddOpenFile(OpenState* state) argument
362 ASSERT(state != NULL);
366 fOpenFiles.InsertBefore(fOpenFiles.Head(), state);
373 FileSystem::RemoveOpenFile(OpenState* state) argument
375 ASSERT(state != NULL);
379 fOpenFiles.Remove(state);
H A DRequestBuilder.cpp197 OpenState* state, LockOwner* owner)
199 stream.AddUHyper(state->fClientID);
203 lockOwner[1] = state->fInfo.fFileId;
209 RequestBuilder::Lock(OpenState* state, LockInfo* lock, uint32* sequence, argument
232 fRequest->Stream().AddUInt(state->fStateSeq);
233 fRequest->Stream().AddUInt(state->fStateID[0]);
234 fRequest->Stream().AddUInt(state->fStateID[1]);
235 fRequest->Stream().AddUInt(state->fStateID[2]);
239 _GenerateLockOwner(fRequest->Stream(), state, lock->fOwner);
262 OpenState* state)
196 _GenerateLockOwner(XDR::WriteStream& stream, OpenState* state, LockOwner* owner) argument
261 LockT(LockType type, uint64 pos, uint64 len, OpenState* state) argument
790 ReleaseLockOwner(OpenState* state, LockOwner* owner) argument
[all...]
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp1221 _state_ *state = new _state_(fState);
1223 fStack.AddItem(state);
1230 _state_ *state = (_state_*)fStack.LastItem();
1234 if (state->fStroke)
1235 SetHighColor(state->fStrokeColor);
1240 if (state->fFill)
1241 SetHighColor(state->fFillColor);
1245 SetPenSize(state->fStrokeWidth);
1248 SetLineMode(state->fLineCap, state
1220 _state_ *state = new _state_(fState); local
1229 _state_ *state = (_state_*)fStack.LastItem(); local
[all...]
/haiku/src/kits/mail/
H A Dmail_util.cpp131 int32 state = 0; local
140 &destLength, &state) == B_OK) {
165 // Manage the status string only if it currently has a known state
212 char *dst, int32 *dstLen, int32 *state, char substitute)
248 dst, dstLen, state, substitute);
270 char *dst, int32 *dstLen, int32 *state, char substitute)
294 // state contains the number of source bytes to skip, left over from a
297 if (srcRemaining <= *state) {
298 *state -= srcRemaining;
302 srcRemaining -= *state;
211 mail_convert_to_utf8(uint32 srcEncoding, const char *src, int32 *srcLen, char *dst, int32 *dstLen, int32 *state, char substitute) argument
269 mail_convert_from_utf8(uint32 dstEncoding, const char *src, int32 *srcLen, char *dst, int32 *dstLen, int32 *state, char substitute) argument
567 int32 state = 0; local
[all...]
/haiku/src/tests/add-ons/kernel/network/
H A Duserland_modules.cpp41 module_state state; member in struct:module
477 m->state = MODULE_LOADED;
699 switch (m->state) {
701 m->state = MODULE_INITING;
706 m->state = (status == B_OK) ? MODULE_READY : MODULE_LOADED;
708 if (m->state == MODULE_READY && m->keep_loaded && m->addon) {
724 default: // Unknown module state!!!
739 switch (m->state) {
741 m->state = MODULE_UNINITING;
746 m->state
[all...]
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/
H A Dh2generic.cpp365 if (!TEST_AND_CLEAR(&bdev->state, RUNNING))
460 if (TEST_AND_SET(&bdev->state, RUNNING)) {
566 if (TEST_AND_CLEAR(&bdev->state, RUNNING)) {
644 bdev->state = CLEAR_BIT(bdev->state, ANCILLYANT);
653 bdev->state = CLEAR_BIT(bdev->state, ANCILLYANT);
662 bdev->state = SET_BIT(bdev->state, RUNNING);
/haiku/src/bin/
H A Durlwrapper.cpp151 int state = 0; local
163 switch (state) {
166 state = 1;
170 state = 2;
174 state = 3;
178 state = 4;
183 state = 5;
188 state = 3;
193 if (state == 5) {
/haiku/src/kits/debugger/debugger_interface/local/
H A DLocalDebuggerInterface.cpp705 LocalDebuggerInterface::SetCpuState(thread_id thread, const CpuState* state) argument
714 error = state->UpdateDebugState(&debugState, sizeof(debugState));
806 CpuState* state = NULL; local
809 sizeof(debug_cpu_state), state);
814 message.origin.thread, state);
815 state->ReleaseReference();
820 CpuState* state = NULL; local
823 sizeof(debug_cpu_state), state);
828 message.origin.thread, state);
829 state
834 CpuState* state = NULL; local
[all...]
/haiku/src/apps/haikudepot/model/
H A DPackageManager.cpp136 PackageState state = ref->State(); local
163 ref->SetState(state);
170 ref->SetState(state);
180 ref->SetState(state);
235 void _SetDownloadedPackagesState(PackageState state) argument
239 (*it)->SetState(state);
270 PackageState state = ref->State(); local
287 ref->SetState(state);
296 ref->SetState(state);
596 int32 state
[all...]
/haiku/src/add-ons/kernel/network/protocols/ipv4/
H A Dipv4.cpp503 IPv4GroupInterface* state = groupIterator.Next(); local
507 kprintf("%p: group <%s, %s, %s {", state, state->Interface()->name,
508 print_address(&state->Address(), addressBuffer,
510 state->Mode() == IPv4GroupInterface::kExclude
515 = state->Sources().GetIterator();
523 kprintf("}> sock %p\n", state->Parent()->Socket());
705 IPv4GroupInterface* state = it.Next(); local
707 ipv4_protocol* ipProtocol = state->Parent()->Socket();
712 if (state
836 JoinGroup(IPv4GroupInterface* state) argument
852 LeaveGroup(IPv4GroupInterface* state) argument
893 IPv4GroupInterface* state = NULL; local
[all...]
/haiku/src/apps/codycam/
H A DFtpClient.cpp424 FtpClient::_TestState(unsigned long state) argument
426 return ((fState & state) != 0);
431 FtpClient::_SetState(unsigned long state) argument
433 fState |= state;
438 FtpClient::_ClearState(unsigned long state) argument
440 fState &= ~state;
/haiku/headers/os/drivers/pcmcia/
H A Dds.h131 u_int state, open; member in struct:dev_link_t
145 /* Flags for device state */
156 ((l) && ((l->state & ~DEV_BUSY) == (DEV_CONFIG|DEV_PRESENT)))
/haiku/src/apps/activitymonitor/
H A DActivityView.h65 status_t SaveState(BMessage& state) const;
74 const BMessage* state = NULL);
/haiku/headers/os/game/
H A DDirectWindow.h79 bool state);
88 virtual void WindowActivated(bool state);
/haiku/src/servers/package/
H A DVolume.h166 void _SetLatestState(VolumeState* state,
168 void _DumpState(VolumeState* state);
/haiku/headers/os/interface/
H A DColorControl.h45 virtual void SetEnabled(bool state);
58 virtual void WindowActivated(bool state);
/haiku/headers/private/debugger/arch/
H A DArchitecture.h89 // and CPU state; returned CPU state
98 // to the CPU state.
115 CpuState* state) = 0;
118 CpuState* state,
/haiku/headers/libs/glut/GL/
H A Dglut.h306 /* Mouse button state. */
336 /* Entry/exit state. */
340 /* Menu usage state. */
344 /* Visibility state. */
348 /* Window status state. */
629 GLUTAPI void GLUTAPIENTRY glutMouseFunc(void (GLUTCALLBACK *func)(int button, int state, int x, int y));
632 GLUTAPI void GLUTAPIENTRY glutEntryFunc(void (GLUTCALLBACK *func)(int state));
633 GLUTAPI void GLUTAPIENTRY glutVisibilityFunc(void (GLUTCALLBACK *func)(int state));
636 GLUTAPI void GLUTAPIENTRY glutMenuStateFunc(void (GLUTCALLBACK *func)(int state));
641 GLUTAPI void GLUTAPIENTRY glutSpaceballButtonFunc(void (GLUTCALLBACK *func)(int button, int state));
[all...]

Completed in 216 milliseconds

<<11121314151617181920>>