Searched refs:form (Results 1 - 25 of 151) sorted by relevance

1234567

/haiku-fatelf/src/libs/ncurses/form/
H A Dheaders31 $(srcdir)/form.h
H A Dfrm_page.c33 #include "form.priv.h"
39 | Function : int set_form_page(FORM * form,int page)
41 | Description : Set the page number of the form.
44 | E_BAD_ARGUMENT - invalid form pointer or page number
50 set_form_page(FORM *form, int page) argument
54 T((T_CALLED("set_form_page(%p,%d)"), form, page));
56 if (!form || (page < 0) || (page >= form->maxpage))
59 if (!(form->status & _POSTED))
61 form
99 form_page(const FORM *form) argument
[all...]
H A Dfrm_post.c33 #include "form.priv.h"
39 | Function : int post_form(FORM * form)
41 | Description : Writes the form into its associated subwindow.
44 | E_BAD_ARGUMENT - invalid form pointer
45 | E_POSTED - form already posted
46 | E_NOT_CONNECTED - no fields connected to form
47 | E_NO_ROOM - form doesn't fit into subwindow
51 post_form(FORM *form) argument
57 T((T_CALLED("post_form(%p)"), form));
59 if (!form)
101 unpost_form(FORM *form) argument
[all...]
H A Dfrm_sub.c33 #include "form.priv.h"
39 | Function : int set_form_sub(FORM *form, WINDOW *win)
41 | Description : Set the subwindow of the form to win.
44 | E_POSTED - form is posted
47 set_form_sub(FORM *form, WINDOW *win) argument
49 T((T_CALLED("set_form_sub(%p,%p)"), form, win));
51 if (form && (form->status & _POSTED))
54 Normalize_Form(form)->sub = win;
62 | Description : Retrieve the window of the form
67 form_sub(const FORM *form) argument
[all...]
H A Dfrm_scale.c33 #include "form.priv.h"
39 | Function : int scale_form( const FORM *form, int *rows, int *cols )
41 | Description : Retrieve size of form
44 | E_BAD_ARGUMENT - invalid form pointer
45 | E_NOT_CONNECTED - no fields connected to form
48 scale_form(const FORM *form, int *rows, int *cols) argument
50 T((T_CALLED("scale_form(%p,%p,%p)"), form, rows, cols));
52 if (!form)
55 if (!(form->field))
59 *rows = form
[all...]
H A Dfrm_user.c33 #include "form.priv.h"
39 | Function : int set_form_userptr(FORM *form, void *usrptr)
41 | Description : Set the pointer that is reserved in any form to store
47 set_form_userptr(FORM *form, void *usrptr) argument
49 T((T_CALLED("set_form_userptr(%p,%p)"), form, usrptr));
51 Normalize_Form(form)->usrptr = usrptr;
57 | Function : void *form_userptr(const FORM *form)
59 | Description : Return the pointer that is reserved in any form to
66 form_userptr(const FORM *form) argument
68 T((T_CALLED("form_userptr(%p)"), form));
[all...]
H A Dfld_current.c33 #include "form.priv.h"
39 | Function : int set_current_field(FORM * form,FIELD * field)
41 | Description : Set the current field of the form to the specified one.
44 | E_BAD_ARGUMENT - invalid form or field pointer
51 set_current_field(FORM *form, FIELD *field) argument
55 T((T_CALLED("set_current_field(%p,%p)"), form, field));
56 if (form == 0 || field == 0)
60 else if ((form != field->form) || Field_Is_Not_Selectable(field))
64 else if ((form
114 current_field(const FORM *form) argument
[all...]
H A Dfrm_cursor.c33 #include "form.priv.h"
39 | Function : int pos_form_cursor(FORM * form)
41 | Description : Moves the form window cursor to the location required
42 | by the form driver to resume form processing. This may
48 | E_BAD_ARGUMENT - Invalid form pointer
52 pos_form_cursor(FORM *form) argument
56 T((T_CALLED("pos_form_cursor(%p)"), form));
58 if (!form)
62 if (!(form
[all...]
H A Dfrm_opts.c33 #include "form.priv.h"
39 | Function : int set_form_opts(FORM *form, Form_Options opts)
42 | remaining options for that form.
48 set_form_opts(FORM *form, Form_Options opts) argument
50 T((T_CALLED("set_form_opts(%p,%d)"), form, opts));
57 Normalize_Form(form)->opts = opts;
66 | Description : Retrieves the current form options.
71 form_opts(const FORM *form)
73 T((T_CALLED("form_opts(%p)"), form));
74 returnCode((int)(Normalize_Form(form)
88 form_opts_on(FORM *form, Form_Options opts) argument
113 form_opts_off(FORM *form, Form_Options opts) argument
[all...]
H A Dfrm_def.c33 #include "form.priv.h"
117 | Function : static void Disconnect_Fields(FORM *form)
119 | Description : Break association between form and array of fields.
124 Disconnect_Fields(FORM *form)
126 if (form->field)
130 for (fields = form->field; *fields; fields++)
132 if (form == (*fields)->form)
133 (*fields)->form = (FORM *)0;
136 form
123 Disconnect_Fields(FORM *form) argument
156 Connect_Fields(FORM *form, FIELD **fields) argument
253 Associate_Fields(FORM *form, FIELD **fields) argument
286 FORM *form = (FORM *)malloc(sizeof(FORM)); local
316 free_form(FORM *form) argument
345 set_form_fields(FORM *form, FIELD **fields) argument
376 form_fields(const FORM *form) argument
391 field_count(const FORM *form) argument
[all...]
H A Dfrm_win.c33 #include "form.priv.h"
39 | Function : int set_form_win(FORM *form,WINDOW *win)
41 | Description : Set the window of the form to win.
44 | E_POSTED - form is posted
47 set_form_win(FORM *form, WINDOW *win) argument
49 T((T_CALLED("set_form_win(%p,%p)"), form, win));
51 if (form && (form->status & _POSTED))
54 Normalize_Form(form)->win = win;
62 | Description : Retrieve the window of the form
67 form_win(const FORM *form) argument
[all...]
H A Dfrm_driver.c33 #include "form.priv.h"
38 This is the core module of the form library. It contains the majority
50 The current page of the form is left and some new page is
53 The current field of the form is left and some new field is
83 our form implementation. This doesn't affect the API, so we feel it is
116 static int Inter_Field_Navigation(int (*const fct) (FORM *), FORM *form);
117 static int FN_Next_Field(FORM *form);
118 static int FN_Previous_Field(FORM *form);
147 #define Address_Of_Current_Row_In_Nth_Buffer(form,N) \
148 Address_Of_Row_In_Nth_Buffer((form)
216 check_pos(FORM *form, int lineno) argument
322 delete_char(FORM *form) argument
443 Adjust_Cursor_Position(FORM *form, const FIELD_CELL *pos) argument
564 Synchronize_Buffer(FORM *form) argument
605 FORM *form = field->form; local
741 _nc_Position_Form_Cursor(FORM *form) argument
782 _nc_Refresh_Current_Field(FORM *form) argument
1075 FORM *form; local
1155 FORM *form; local
1222 FORM *form; local
1320 _nc_Set_Current_Field(FORM *form, FIELD *newfield) argument
1427 IFN_Next_Character(FORM *form) argument
1469 IFN_Previous_Character(FORM *form) argument
1498 IFN_Next_Line(FORM *form) argument
1526 IFN_Previous_Line(FORM *form) argument
1548 IFN_Next_Word(FORM *form) argument
1590 IFN_Previous_Word(FORM *form) argument
1644 IFN_Beginning_Of_Field(FORM *form) argument
1667 IFN_End_Of_Field(FORM *form) argument
1691 IFN_Beginning_Of_Line(FORM *form) argument
1715 IFN_End_Of_Line(FORM *form) argument
1742 IFN_Left_Character(FORM *form) argument
1767 IFN_Right_Character(FORM *form) argument
1798 IFN_Up_Character(FORM *form) argument
1820 IFN_Down_Character(FORM *form) argument
1855 VSC_Generic(FORM *form, int nlines) argument
1908 Vertical_Scrolling(int (*const fct) (FORM *), FORM *form) argument
1931 VSC_Scroll_Line_Forward(FORM *form) argument
1947 VSC_Scroll_Line_Backward(FORM *form) argument
1963 VSC_Scroll_Page_Forward(FORM *form) argument
1979 VSC_Scroll_Half_Page_Forward(FORM *form) argument
1995 VSC_Scroll_Page_Backward(FORM *form) argument
2011 VSC_Scroll_Half_Page_Backward(FORM *form) argument
2035 HSC_Generic(FORM *form, int ncolumns) argument
2087 Horizontal_Scrolling(int (*const fct) (FORM *), FORM *form) argument
2105 HSC_Scroll_Char_Forward(FORM *form) argument
2121 HSC_Scroll_Char_Backward(FORM *form) argument
2137 HSC_Horizontal_Line_Forward(FORM *form) argument
2153 HSC_Horizontal_Half_Line_Forward(FORM *form) argument
2169 HSC_Horizontal_Line_Backward(FORM *form) argument
2185 HSC_Horizontal_Half_Line_Backward(FORM *form) argument
2210 Is_There_Room_For_A_Line(FORM *form) argument
2232 Is_There_Room_For_A_Char_In_Line(FORM *form) argument
2267 Insert_String(FORM *form, int row, FIELD_CELL *txt, int len) argument
2342 Wrapping_Not_Necessary_Or_Wrapping_Ok(FORM *form) argument
2420 Field_Editing(int (*const fct) (FORM *), FORM *form) argument
2477 FE_New_Line(FORM *form) argument
2561 FE_Insert_Character(FORM *form) argument
2596 FE_Insert_Line(FORM *form) argument
2632 FE_Delete_Character(FORM *form) argument
2653 FE_Delete_Previous(FORM *form) argument
2723 FE_Delete_Line(FORM *form) argument
2741 FE_Delete_Word(FORM *form) argument
2781 FE_Clear_To_End_Of_Line(FORM *form) argument
2798 FE_Clear_To_End_Of_Field(FORM *form) argument
2815 FE_Clear_Field(FORM *form) argument
2839 EM_Overlay_Mode(FORM *form) argument
2855 EM_Insert_Mode(FORM *form) argument
2953 CR_Next_Choice(FORM *form) argument
2974 CR_Previous_Choice(FORM *form) argument
3086 FV_Validation(FORM *form) argument
3116 FORM *form = field->form; local
3144 _nc_First_Active_Field(FORM *form) argument
3198 FORM *form = field->form; local
3439 Inter_Field_Navigation(int (*const fct) (FORM *), FORM *form) argument
3464 FN_Next_Field(FORM *form) argument
3482 FN_Previous_Field(FORM *form) argument
3499 FN_First_Field(FORM *form) argument
3516 FN_Last_Field(FORM *form) argument
3535 FN_Sorted_Next_Field(FORM *form) argument
3553 FN_Sorted_Previous_Field(FORM *form) argument
3571 FN_Sorted_First_Field(FORM *form) argument
3589 FN_Sorted_Last_Field(FORM *form) argument
3607 FN_Left_Field(FORM *form) argument
3625 FN_Right_Field(FORM *form) argument
3645 FN_Up_Field(FORM *form) argument
3665 FN_Down_Field(FORM *form) argument
3695 _nc_Set_Form_Page(FORM *form, int page, FIELD *field) argument
3738 Next_Page_Number(const FORM *form) argument
3754 Previous_Page_Number(const FORM *form) argument
3780 Page_Navigation(int (*const fct) (FORM *), FORM *form) argument
3807 PN_Next_Page(FORM *form) argument
3823 PN_Previous_Page(FORM *form) argument
3839 PN_First_Page(FORM *form) argument
3855 PN_Last_Page(FORM *form) argument
3881 Data_Entry(FORM *form, int c) argument
4081 form_driver(FORM *form, int c) argument
[all...]
H A Dfrm_hook.c33 #include "form.priv.h"
39 NCURSES_IMPEXP int NCURSES_API set_ ## typ ## _ ## name (FORM *form, Form_Hook func)\
41 T((T_CALLED("set_" #typ"_"#name"(%p,%p)"), form, func));\
42 (Normalize_Form( form ) -> typ ## name) = func ;\
48 NCURSES_IMPEXP Form_Hook NCURSES_API typ ## _ ## name ( const FORM *form )\
50 T((T_CALLED(#typ "_" #name "(%p)"), form));\
51 returnFormHook( Normalize_Form( form ) -> typ ## name );\
56 | Function : int set_field_init(FORM *form, Form_Hook f)
59 | to be called when the form is posted and just after
68 | Function : Form_Hook field_init(const FORM *form)
[all...]
H A Dfrm_data.c33 #include "form.priv.h"
39 | Function : bool data_behind(const FORM *form)
48 data_behind(const FORM *form)
52 T((T_CALLED("data_behind(%p)"), form));
54 if (form && (form->status & _POSTED) && form->current)
58 field = form->current;
61 result = (form->toprow == 0) ? FALSE : TRUE;
65 result = (form
[all...]
H A Dllib-lform36 #include "form.priv.h"
109 FORM *form,
115 const FORM *form)
379 FORM *form)
386 const FORM *form)
391 const FORM *form)
406 FORM *form)
411 FORM *form,
417 const FORM *form)
422 const FORM *form)
[all...]
H A Dllib-lformw36 #include "form.priv.h"
109 FORM *form,
115 const FORM *form)
379 FORM *form)
386 const FORM *form)
391 const FORM *form)
406 FORM *form)
411 FORM *form,
417 const FORM *form)
422 const FORM *form)
[all...]
H A DMakefile32 # Makefile for form source code.
118 ../include/form.h
131 # make copies to simplify include-paths while still keeping form's include
133 ../include/form.h : $(srcdir)/form.h
135 cp $(srcdir)/form.h $@
138 $(srcdir)/form.priv.h \
139 $(srcdir)/form.h \
170 # libname: form
235 sh $(srcdir)/../misc/makellib form
[all...]
H A Dfld_move.c33 #include "form.priv.h"
56 if (field->form)
/haiku-fatelf/src/libs/ncurses/test/
H A Dedit_field.h10 #include <form.h>
20 extern int edit_field(FORM * form, int *result);
H A Ddemo_forms.c4 * Demonstrate a variety of functions from the form library.
86 * O_STATIC off makes the form library ignore justification.
98 * but that is a known bug in Solaris' form library -TD
118 * Put the form at the upper-left corner of the display, with just a box
156 another_field(FORM * form, FIELD * field) argument
158 FIELD **f = form_fields(form);
173 my_form_driver(FORM * form, int c) argument
180 if (form_driver(form, REQ_VALIDATION) == E_OK)
187 if ((field = current_field(form)) != 0) {
188 set_current_field(form, another_fiel
220 show_current_field(WINDOW *win, FORM * form) argument
292 FORM *form; local
[all...]
/haiku-fatelf/src/apps/debugger/dwarf/
H A DAttributeClasses.h32 uint16 get_attribute_form_classes(uint32 form);
33 uint8 get_attribute_class(uint32 name, uint32 form);
36 const char* get_attribute_form_name(uint32 form);
/haiku-fatelf/src/kits/tracker/
H A DTrackerScripting.cpp114 BMessage* specifier, int32 form, const char* property)
119 int32 result = propertyInfo.FindMatch(message, index, specifier, form,
124 form, property);
148 int32 form = 0; local
152 &form, &property);
161 handled = CreateProperty(message, &specifier, form, property,
166 handled = GetProperty(&specifier, form, property, &reply);
170 handled = SetProperty(message, &specifier, form, property,
175 handled = CountProperty(&specifier, form, property, &reply);
179 handled = DeleteProperty(&specifier, form, propert
113 ResolveSpecifier(BMessage* message, int32 index, BMessage* specifier, int32 form, const char* property) argument
197 CreateProperty(BMessage* message, BMessage*, int32 form, const char* property, BMessage* reply) argument
230 DeleteProperty(BMessage* , int32 form, const char* property, BMessage* ) argument
293 ExecuteProperty(BMessage*, int32 form, const char* property, BMessage*) argument
[all...]
/haiku-fatelf/src/libs/stdc++/legacy/
H A Dosform.cc29 ostream& ostream::form(const char *format ...) function in class:ostream
61 form("%p", p);
/haiku-fatelf/src/libs/ncurses/c++/
H A Dcursesf.cc69 if (form && (old_fields = ::form_fields(form))) {
70 ::set_form_fields(form, static_cast<FIELD**>(0));
118 form = static_cast<FORM*>(0);
119 form = ::new_form(mapFields(nfields));
120 if (!form)
126 hook->m_owner = form;
127 ::set_form_userptr(form, reinterpret_cast<void*>(hook));
129 ::set_form_init (form, _nc_xx_frm_init);
130 ::set_form_term (form, _nc_xx_frm_ter
[all...]
/haiku-fatelf/headers/cpp/
H A Dstream.h36 extern char* form(const char*, ...);

Completed in 203 milliseconds

1234567