Searched refs:state (Results 1 - 25 of 673) sorted by relevance

1234567891011>>

/haiku/src/apps/serialconnect/libvterm/src/
H A Dpen.c36 static void lookup_colour_ansi(const VTermState *state, long index, VTermColor *col) argument
39 *col = state->colors[index];
43 static void lookup_colour_palette(const VTermState *state, long index, VTermColor *col) argument
47 lookup_colour_ansi(state, index, col);
67 static int lookup_colour(const VTermState *state, int palette, const long args[], int argcount, VTermColor *col, int *index) argument
84 lookup_colour_palette(state, argcount ? CSI_ARG_OR(args[0], -1) : -1, col);
96 static void setpenattr(VTermState *state, VTermAttr attr, VTermValueType type, VTermValue *val) argument
105 if(state->callbacks && state->callbacks->setpenattr)
106 (*state
109 setpenattr_bool(VTermState *state, VTermAttr attr, int boolean) argument
115 setpenattr_int(VTermState *state, VTermAttr attr, int number) argument
121 setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color) argument
127 set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) argument
136 vterm_state_newpen(VTermState *state) argument
147 vterm_state_resetpen(VTermState *state) argument
163 vterm_state_savepen(VTermState *state, int save) argument
183 vterm_state_get_default_colors(const VTermState *state, VTermColor *default_fg, VTermColor *default_bg) argument
189 vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col) argument
194 vterm_state_set_default_colors(VTermState *state, const VTermColor *default_fg, const VTermColor *default_bg) argument
200 vterm_state_set_palette_color(VTermState *state, int index, const VTermColor *col) argument
206 vterm_state_set_bold_highbright(VTermState *state, int bold_is_highbright) argument
211 vterm_state_setpen(VTermState *state, const long args[], int argcount) argument
373 vterm_state_getpen(VTermState *state, long args[], int argcount) argument
424 vterm_state_get_penattr(const VTermState *state, VTermAttr attr, VTermValue *val) argument
[all...]
H A Dstate.c20 static void putglyph(VTermState *state, const uint32_t chars[], int width, VTermPos pos) argument
25 .protected_cell = state->protected_cell,
26 .dwl = state->lineinfo[pos.row].doublewidth,
27 .dhl = state->lineinfo[pos.row].doubleheight,
30 if(state->callbacks && state->callbacks->putglyph)
31 if((*state->callbacks->putglyph)(&info, pos, state->cbdata))
37 static void updatecursor(VTermState *state, VTermPos *oldpos, int cancel_phantom) argument
39 if(state
50 erase(VTermState *state, VTermRect rect, int selective) argument
59 VTermState *state = vterm_allocator_malloc(vt, sizeof(VTermState)); local
73 vterm_state_free(VTermState *state) argument
81 scroll(VTermState *state, VTermRect rect, int downward, int rightward) argument
109 linefeed(VTermState *state) argument
125 grow_combine_buffer(VTermState *state) argument
138 set_col_tabstop(VTermState *state, int col) argument
144 clear_col_tabstop(VTermState *state, int col) argument
150 is_col_tabstop(VTermState *state, int col) argument
156 tab(VTermState *state, int count, int direction) argument
177 set_lineinfo(VTermState *state, int row, int force, int dwl, int dhl) argument
203 VTermState *state = user; local
353 VTermState *state = user; local
437 output_mouse(VTermState *state, int code, int pressed, int modifiers, int col, int row) argument
488 VTermState *state = data; local
527 settermprop_bool(VTermState *state, VTermProp prop, int v) argument
533 settermprop_int(VTermState *state, VTermProp prop, int v) argument
539 settermprop_string(VTermState *state, VTermProp prop, const char *str, size_t len) argument
550 savecursor(VTermState *state, int save) argument
577 VTermState *state = user; local
716 set_mode(VTermState *state, int num, int val) argument
733 set_dec_mode(VTermState *state, int num, int val) argument
834 request_dec_mode(VTermState *state, int num) argument
905 VTermState *state = user; local
1437 VTermState *state = user; local
1459 request_status_string(VTermState *state, const char *command, size_t cmdlen) argument
1511 VTermState *state = user; local
1523 VTermState *state = user; local
1606 VTermState *state; local
1629 vterm_state_reset(VTermState *state, int hard) argument
1695 vterm_state_get_cursorpos(const VTermState *state, VTermPos *cursorpos) argument
1700 vterm_state_set_callbacks(VTermState *state, const VTermStateCallbacks *callbacks, void *user) argument
1715 vterm_state_set_termprop(VTermState *state, VTermProp prop, VTermValue *val) argument
1757 vterm_state_get_lineinfo(const VTermState *state, int row) argument
[all...]
H A Dvterm_internal.h58 #define SCROLLREGION_BOTTOM(state) ((state)->scrollregion_bottom > -1 ? (state)->scrollregion_bottom : (state)->rows)
60 #define SCROLLREGION_LEFT(state) ((state)->mode.leftrightmargin ? (state)->scrollregion_left : 0)
62 #define SCROLLREGION_RIGHT(state) ((state)->mode.leftrightmargin && (state)
160 VTermState *state; member in struct:VTerm
[all...]
/haiku/src/tests/system/libroot/posix/
H A Dsigsetjmp_test.c12 jump_to_top_level(jmp_buf *state, int value) argument
14 siglongjmp(*state, value);
21 jmp_buf state; local
24 if ((value = sigsetjmp(state, 1)) != 0) {
28 jump_to_top_level(&state, 42);
H A Dsetjmp_test.c14 jmp_buf state; local
17 if ((value = setjmp(state)) != 0) {
21 longjmp(state, 42);
H A Dgnulib-test-mbrtowc.c31 mbstate_t state; local
45 memset (&state, '\0', sizeof (mbstate_t));
47 ret = mbrtowc (&wc, "x", 0, &state);
52 assert (mbsinit (&state));
58 memset (&state, '\0', sizeof (mbstate_t));
60 ret = mbrtowc (&wc, "", 1, &state);
63 assert (mbsinit (&state));
64 ret = mbrtowc (NULL, "", 1, &state);
66 assert (mbsinit (&state));
75 memset (&state, '\
[all...]
H A Dgnulib-test-mbsnrtowcs.c33 mbstate_t state; local
48 memset(&state, '\0', sizeof(mbstate_t));
51 ret = mbsnrtowcs(NULL, &src, 1, 0, &state);
53 assert(mbsinit (&state));
56 ret = mbsnrtowcs(NULL, &src, 1, 1, &state);
58 assert(mbsinit (&state));
62 ret = mbsnrtowcs(&wc, &src, 1, 0, &state);
65 assert(mbsinit (&state));
69 ret = mbsnrtowcs(&wc, &src, 1, 1, &state);
72 assert(mbsinit (&state));
[all...]
H A Dgnulib-test-mbsrtowcs.c32 mbstate_t state; local
45 memset(&state, '\0', sizeof(mbstate_t));
54 ret = mbrtowc(&wc, input, 1, &state);
57 assert(mbsinit (&state));
61 ret = mbrtowc(&wc, input + 1, 1, &state);
64 assert(mbsinit (&state));
68 temp_state = state;
72 assert(mbsinit (&state));
75 ret = mbsrtowcs(buf, &src, BUFSIZE, &state);
85 assert(mbsinit (&state));
[all...]
/haiku/src/kits/debugger/dwarf/
H A DLineNumberProgram.cpp72 LineNumberProgram::GetInitialState(State& state) const
77 _SetToInitial(state);
78 state.dataReader.SetTo(fProgram, fProgramSize, fAddressSize);
83 LineNumberProgram::GetNextRow(State& state) const
85 if (state.isSequenceEnd)
86 _SetToInitial(state);
88 DataReader& dataReader = state.dataReader;
96 state.address += (adjustedOpcode / fLineRange)
98 state.line += adjustedOpcode % fLineRange + fLineBase;
99 state
[all...]
H A DDwarfFileLoadingState.cpp17 state(DWARF_FILE_LOADING_STATE_INITIAL)
/haiku/src/kits/debugger/model/
H A DReturnValueInfo.cpp21 ReturnValueInfo::ReturnValueInfo(target_addr_t address, CpuState* state) argument
25 fState(state)
27 state->AcquireReference();
39 ReturnValueInfo::SetTo(target_addr_t address, CpuState* state) argument
46 fState = state;
/haiku/src/system/libroot/os/arch/m68k/
H A Dcompatibility.c15 int _kset_cpu_state_(int cpuNum, int state);
40 _kset_cpu_state_(int cpuNum, int state) argument
42 return state ? B_OK : B_ERROR;
/haiku/src/system/libroot/os/arch/ppc/
H A Dcompatibility.c15 int _kset_cpu_state_(int cpuNum, int state);
40 _kset_cpu_state_(int cpuNum, int state) argument
42 return state ? B_OK : B_ERROR;
/haiku/src/libs/iconv/
H A Dhz.h27 * The state is 1 in GB mode, 0 in ASCII mode.
33 state_t state = conv->istate; local
42 if (state == 0) {
45 conv->istate = state;
49 state = 1;
63 state = 0;
74 if (state == 0) {
76 conv->istate = state;
86 conv->istate = state;
91 conv->istate = state;
98 state_t state = conv->ostate; local
149 state_t state = conv->ostate; local
[all...]
H A Diso2022_jp.h30 * The state can be one of the following values.
39 state_t state = conv->istate; local
49 state = STATE_ASCII;
56 state = STATE_JISX0201ROMAN;
67 state = STATE_JISX0208;
79 switch (state) {
86 conv->istate = state;
96 conv->istate = state;
108 conv->istate = state;
116 conv->istate = state;
123 state_t state = conv->ostate; local
197 state_t state = conv->ostate; local
[all...]
H A Diso2022_jp3.h30 * The state is composed of one of the following values
40 * In the ISO-2022-JP-3 to UCS-4 direction, the state also holds the last
54 state_t state = conv->istate; local
64 state = STATE_ASCII;
71 state = STATE_JISX0201ROMAN;
78 state = STATE_JISX0201KATAKANA;
89 state = STATE_JISX0208;
99 state = STATE_JISX02131;
106 state = STATE_JISX02132;
119 switch (state) {
266 state_t state = conv->ostate; local
496 state_t state = conv->ostate; local
[all...]
H A Dutf7.h57 * The state is structured as follows:
71 state_t state = conv->istate; local
73 if (state & 3)
80 /* Here (state & 3) == 0 */
87 conv->istate = state;
95 conv->istate = state;
99 state = 1;
110 state_t base64state = state;
136 state = 0;
181 conv->istate = state;
208 state_t state = conv->ostate; local
323 state_t state = conv->ostate; local
[all...]
/haiku/src/tools/hvif2png/
H A Dhvif2png.cpp69 h2p_close_state(h2p_state* state) argument
71 if (state->hvif_buffer.buffer != NULL)
72 free(state->hvif_buffer.buffer);
74 if (state->in != NULL) {
75 if (state->in != stdin)
76 fclose(state->in);
77 state->in = NULL;
80 if (state->out != NULL) {
81 if (state->out != stdout)
82 fclose(state
93 h2p_open_streams(h2p_state* state) argument
324 h2p_state state; local
[all...]
/haiku/src/servers/app/
H A DPictureBoundingBoxPlayer.cpp172 expand_rect_for_pen_size(BoundingBoxState* state, RectType& rect) argument
174 float penInset = -((state->GetDrawState()->PenSize() / 2.0f) + 1.0f);
183 BoundingBoxState* const state = local
186 state->GetDrawState()->SetPenLocation(
187 state->GetDrawState()->PenLocation() + delta);
197 BoundingBoxState* const state = local
203 const SimpleTransform transform = state->PenToLocalTransform();
223 expand_rect_for_pen_size(state, rect);
224 state->IncludeRect(rect);
226 state
235 BoundingBoxState* const state = local
255 determine_bounds_bezier(BoundingBoxState* state, const BPoint* viewPoints, BRect& outRect) argument
291 BoundingBoxState* const state = local
311 BoundingBoxState* const state = local
333 determine_bounds_polygon(BoundingBoxState* state, int32 numPoints, const BPoint* viewPoints, BRect& outRect) argument
368 BoundingBoxState* const state = local
386 BoundingBoxState* const state = local
401 BoundingBoxState* const state = local
428 BoundingBoxState* const state = local
475 BoundingBoxState* const state = local
486 BoundingBoxState* const state = local
521 BoundingBoxState* const state = local
531 BoundingBoxState* const state = local
547 BoundingBoxState* const state = local
561 BoundingBoxState* const state = local
571 BoundingBoxState* const state = local
581 BoundingBoxState* const state = local
591 BoundingBoxState* const state = local
601 BoundingBoxState* const state = local
611 BoundingBoxState* const state = local
625 BoundingBoxState* const state = local
639 BoundingBoxState* const state = local
651 BoundingBoxState* const state = local
663 BoundingBoxState* const state = local
675 BoundingBoxState* const state = local
687 BoundingBoxState* const state = local
699 BoundingBoxState* const state = local
711 BoundingBoxState* const state = local
730 BoundingBoxState* const state = local
740 BoundingBoxState* const state = local
752 BoundingBoxState* const state = local
764 BoundingBoxState* const state = local
776 BoundingBoxState* const state = local
[all...]
/haiku/src/kits/debugger/debug_info/
H A DDwarfImageDebugInfoLoadingState.cpp26 return fState.state == DWARF_FILE_LOADING_STATE_USER_INPUT_NEEDED;
H A DImageDebugLoadingStateHandler.h21 SpecificImageDebugInfoLoadingState* state)
25 SpecificImageDebugInfoLoadingState* state,
/haiku/src/kits/debugger/jobs/
H A DGetCPUStateJob.cpp44 CpuState* state; local
45 status_t error = fDebuggerInterface->GetCpuState(fThread->ID(), state);
48 BReference<CpuState> reference(state, true);
53 fThread->SetCpuState(state);
/haiku/src/system/boot/loader/
H A Dpackage_support.cpp107 return fDisplayName != NULL ? fDisplayName : "Latest state";
127 // the current state -- packages are directly in the packages directory
130 // an old state
163 while (PackageVolumeState* state = fStates.RemoveHead())
164 delete state;
190 // add the current state
191 PackageVolumeState* state = _AddState(NULL); local
192 if (state == NULL)
194 status_t error = _InitState(packagesDirectory, fPackagesDir, state);
196 TRACE("PackageVolumeInfo::SetTo(): failed to init current state
229 PackageVolumeState* state = NULL; local
257 PackageVolumeState* state = new(std::nothrow) PackageVolumeState; local
272 _InitState(Directory* packagesDirectory, DIR* dir, PackageVolumeState* state) argument
320 _ParseActivatedPackagesFile(Directory* packagesDirectory, PackageVolumeState* state, char* packageName, size_t packageNameSize) argument
[all...]
/haiku/headers/os/drivers/
H A Dbios.h60 status_t (*interrupt)(bios_state* state, uint8 vector, bios_regs* regs);
61 void (*finish)(bios_state* state);
64 void* (*allocate_mem)(bios_state* state, size_t size);
65 uint32 (*physical_address)(bios_state* state, void* virtualAddress);
66 void* (*virtual_address)(bios_state* state, uint32 physicalAddress);
/haiku/src/apps/bootmanager/
H A DWizardController.h30 virtual int32 NextState(int32 state) = 0;
31 virtual WizardPageView* CreatePage(int32 state, WizardView* wizard) = 0;
38 StateStack(int32 state, StateStack* next) argument
40 fState(state),
62 void _PushState(int32 state);

Completed in 189 milliseconds

1234567891011>>