Searched refs:state (Results 26 - 50 of 673) sorted by relevance

1234567891011>>

/haiku/src/libs/iconv/
H A Ducs2.h27 /* The state is 0 if big-endian, 1 if little-endian. */
31 state_t state = conv->istate; local
34 ucs4_t wc = (state ? s[0] + (s[1] << 8) : (s[0] << 8) + s[1]);
38 state ^= 1;
43 conv->istate = state;
47 conv->istate = state;
H A Ducs4.h27 /* The state is 0 if big-endian, 1 if little-endian. */
31 state_t state = conv->istate; local
34 ucs4_t wc = (state
40 state ^= 1;
43 conv->istate = state;
48 conv->istate = state;
H A Diso2022_jp1.h30 * The state can be one of the following values.
40 state_t state = conv->istate; local
50 state = STATE_ASCII;
57 state = STATE_JISX0201ROMAN;
68 state = STATE_JISX0208;
78 state = STATE_JISX0212;
91 switch (state) {
98 conv->istate = state;
108 conv->istate = state;
120 conv->istate = state;
147 state_t state = conv->ostate; local
244 state_t state = conv->ostate; local
[all...]
H A Dutf16.h33 /* The state is 0 if big-endian, 1 if little-endian. */
37 state_t state = conv->istate; local
40 ucs4_t wc = (state ? s[0] + (s[1] << 8) : (s[0] << 8) + s[1]);
43 state ^= 1;
46 ucs4_t wc2 = (state ? s[2] + (s[3] << 8) : (s[2] << 8) + s[3]);
50 conv->istate = state;
58 conv->istate = state;
63 conv->istate = state;
71 /* The state is 0 at the beginning, 1 after the BOM has been written. */
/haiku/src/system/libroot/posix/stdlib/
H A Drandom.c42 * rand()/srand() like interface, this package also has a special state info
46 * that much state information. Good sizes for the amount of state
47 * information are 32, 64, 128, and 256 bytes. The state can be switched by
49 * with initstate(). By default, the package runs with 128 bytes of state
51 * congruential generator. If the amount of state information is less than
54 * Internally, the state information is treated as an array of longs; the
56 * integer); the remainder of the array is the state information for the
57 * R.N.G. Thus, 32 bytes of state information will give 7 longs worth of
58 * state informatio
200 static long *state = &randtbl[1]; variable
[all...]
/haiku/src/add-ons/kernel/network/protocols/ipv4/
H A Dmulticast.cpp167 GroupInterface *state = iterator.Next();
168 state->Clear();
169 _ReturnState(state);
176 net_interface *interface, GroupInterface* &state, bool create)
178 state = fStates.Lookup(std::make_pair(&groupAddress, interface->index));
180 if (state == NULL && create) {
181 state = new (nothrow) GroupInterface(this, groupAddress, interface);
182 if (state == NULL)
185 status_t status = fStates.Insert(state);
187 delete state;
175 GetState(const AddressType &groupAddress, net_interface *interface, GroupInterface* &state, bool create) argument
205 ReturnState(GroupInterface *state) argument
213 _ReturnState(GroupInterface *state) argument
[all...]
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dmulticast.cpp156 GroupInterface *state = iterator.Next();
157 state->Clear();
158 _ReturnState(state);
165 net_interface *interface, GroupInterface* &state, bool create)
167 state = fStates.Lookup(std::make_pair(&groupAddress, interface->index));
169 if (state == NULL && create) {
170 state = new (nothrow) GroupInterface(this, groupAddress, interface);
171 if (state == NULL)
174 status_t status = fStates.Insert(state);
176 delete state;
164 GetState(const AddressType &groupAddress, net_interface *interface, GroupInterface* &state, bool create) argument
194 ReturnState(GroupInterface *state) argument
202 _ReturnState(GroupInterface *state) argument
[all...]
/haiku/src/apps/debugger/user_interface/gui/model/
H A DVariablesViewStateHistory.cpp46 VariablesViewState* state; member in struct:VariablesViewStateHistory::StateEntry
51 state(NULL)
59 if (state != NULL)
60 state->ReleaseReference();
63 void SetState(VariablesViewState* state) argument
65 if (state == this->state)
68 if (state != NULL)
69 state->AcquireReference();
71 if (this->state !
165 SetState(thread_id threadID, FunctionID* functionID, VariablesViewState* state) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dpacket_buffer.cpp45 cpu_status state = disable_interrupts(); local
51 restore_interrupts(state);
58 cpu_status state = disable_interrupts(); local
64 restore_interrupts(state);
73 cpu_status state = disable_interrupts(); local
79 restore_interrupts(state);
88 cpu_status state = disable_interrupts(); local
94 restore_interrupts(state);
101 cpu_status state = disable_interrupts(); local
107 restore_interrupts(state);
117 cpu_status state = disable_interrupts(); local
[all...]
/haiku/src/kits/tracker/
H A DSlowMenu.cpp55 BSlowMenu::AddDynamicItem(add_state state) argument
60 if (state == B_ABORT) {
65 if (state == B_INITIAL_ADD && !StartBuildingItemList()) {
H A DMountMenu.h48 virtual bool AddDynamicItem(add_state state);
/haiku/src/libs/compat/freebsd_iflib/
H A Dmp_ring.c48 uint64_t state; member in union:ring_state
81 /* Consumer is about to update the ring's state to s */
116 os.state = ns.state = r->state;
119 r->state = ns.state;
140 os.state = ns.state = r->state;
[all...]
/haiku/src/add-ons/kernel/generic/bios/
H A Dbios.cpp171 bios_allocate_mem(bios_state* state, size_t size) argument
178 if (state->allocated_size + size > kRAMSize)
182 = (void*)(state->mapped_address + kRAMBase + state->allocated_size);
183 state->allocated_size += size;
190 bios_physical_address(bios_state* state, void* virtualAddress) argument
192 return (uint32)((addr_t)virtualAddress - state->mapped_address);
197 bios_virtual_address(bios_state* state, uint32 physicalAddress) argument
199 return (void*)((addr_t)physicalAddress + state->mapped_address);
208 BIOSState* state local
259 bios_interrupt(bios_state* state, uint8 vector, bios_regs* regs) argument
321 bios_finish(bios_state* state) argument
[all...]
/haiku/src/apps/mediaplayer/interface/
H A DSubtitleBitmap.cpp203 ParseState*& state)
234 state = new ParseState(state);
235 state->bold = true;
237 state = new ParseState(state);
238 state->italic = true;
240 state = new ParseState(state);
241 state
202 find_next_tag(const BString& string, int32& tagPos, int32& tagLength, ParseState*& state) argument
269 apply_state(BTextView* textView, const ParseState* state, BFont font, bool changeColor) argument
299 ParseState* state = &rootState; local
[all...]
/haiku/src/apps/mediaplayer/media_node_framework/
H A DPlaybackManager.cpp146 // set up the initial state
147 PlayingState* state = new PlayingState; local
148 state->frame_count = Duration();
149 state->start_frame = 0;
150 state->end_frame = 0;
151 state->first_visible_frame = 0;
152 state->last_visible_frame = 0;
153 state->max_frame_count = state->frame_count;
155 state
240 PlayingState* state = new PlayingState(*_LastState()); local
256 PlayingState* state = new PlayingState(*_LastState()); local
269 PlayingState* state = new PlayingState(*_LastState()); local
411 PlayingState* state = new PlayingState(*_LastState()); local
550 PlayingState* state = _StateAtFrame(CurrentFrame()); local
570 PlayingState* state = _StateAtFrame(CurrentFrame()); local
671 PlayingState* state = _StateAtFrame(frame); local
1159 PrintState(PlayingState* state) argument
1199 _PushState(PlayingState* state, bool adjustCurrentFrame) argument
1319 PlayingState* state = _StateAt(i); local
1340 PlayingState* state; local
1405 _PlayingDirectionFor(PlayingState* state) argument
1417 _GetPlayingBoundsFor(PlayingState* state, int64& startFrame, int64& endFrame, int64& frameCount) argument
1457 _PlayingStartFrameFor(PlayingState* state) argument
1480 _PlayingEndFrameFor(PlayingState* state) argument
1506 _RangeFrameForFrame(PlayingState* state, int64 frame) argument
1529 _FrameForRangeFrame(PlayingState* state, int64 index) argument
1557 _NextFrameInRange(PlayingState* state, int64 frame) argument
1718 _NotifySeekHandledIfNecessary(PlayingState* state) argument
[all...]
/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/
H A Dmd5.h37 UINT4 state[4]; /* state (ABCD) */ member in struct:__anon2558
/haiku/src/apps/poorman/
H A DPoorManLoggingView.h21 void SetLogConsoleValue(bool state) argument
23 if (state)
34 void SetLogFileValue(bool state) argument
36 if (state)
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Drandom_r.c62 rand()/srand() like interface, this package also has a special state info
66 that much state information. Good sizes for the amount of state
67 information are 32, 64, 128, and 256 bytes. The state can be switched by
69 with initstate(). By default, the package runs with 128 bytes of state
71 congruential generator. If the amount of state information is less than
73 state information is treated as an array of longs; the zeroth element of
75 of the array is the state information for the R.N.G. Thus, 32 bytes of
76 state information will give 7 longs worth of state informatio
167 int32_t *state; local
242 int32_t *state; variable
361 int32_t *state; local
[all...]
/haiku/src/kits/debugger/jobs/
H A DGetThreadStateJob.cpp44 CpuState* state = NULL; local
45 status_t error = fDebuggerInterface->GetCpuState(fThread->ID(), state);
46 BReference<CpuState> reference(state, true);
55 fThread->SetCpuState(state);
/haiku/headers/private/support/
H A DJobPrivate.h33 void SetState(BJobState state) argument
35 fJob.SetState(state);
/haiku/src/kits/debugger/debug_info/
H A DImageDebugInfoLoadingState.cpp34 SpecificImageDebugInfoLoadingState* state)
36 fSpecificInfoLoadingState.SetTo(state, true);
33 SetSpecificDebugInfoLoadingState( SpecificImageDebugInfoLoadingState* state) argument
/haiku/headers/private/debugger/model/
H A DReturnValueInfo.h21 CpuState* state);
24 void SetTo(target_addr_t address, CpuState* state);
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_once.cpp28 // reset the control state to uninitialized
29 int32 value = atomic_get_and_set((int32*)&onceControl->state,
45 // The state goes through at most four states:
46 // STATE_UNINITIALIZED: The initial uninitialized state.
58 int32 value = atomic_test_and_set((int32*)&onceControl->state,
70 value = atomic_get_and_set((int32*)&onceControl->state,
86 value = atomic_test_and_set((int32*)&onceControl->state,
96 value = atomic_test_and_set((int32*)&onceControl->state,
110 while (atomic_get((int32*)&onceControl->state) == STATE_SPINNING);
/haiku/src/libs/libtelnet/
H A Denc_des.c73 int state[2]; member in struct:fb
146 fbp->state[0] = fbp->state[1] = FAILED;
178 int state; local
187 state = fbp->state[dir-1];
188 if (state == FAILED)
189 state = IN_PROGRESS;
193 state = fbp->state[di
254 int state = fbp->state[DIR_DECRYPT-1]; local
336 int state = fbp->state[DIR_ENCRYPT-1]; local
427 int state = fbp->state[dir-1]; local
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DInodeRegular.cpp24 Inode::CreateState(const char* name, int mode, int perms, OpenState* state, argument
27 ASSERT(state != NULL);
34 status_t result = CreateFile(name, mode, perms, state, &changeInfo,
57 state->fFileSystem = fFileSystem;
58 state->fInfo = fileInfo;
59 state->fMode = mode & O_RWMASK;
76 OpenState* state = new(std::nothrow) OpenState; local
77 if (state == NULL)
80 status_t result = CreateState(name, mode, perms, state, data);
82 delete state;
109 OpenState* state = new(std::nothrow) OpenState; local
254 OpenState* state = new OpenState; local
323 OpenState* state = cookie != NULL ? cookie->fOpenState : fOpenState; local
373 OpenState* state = fOpenState; local
[all...]

Completed in 115 milliseconds

1234567891011>>