Home
last modified time | relevance | path

Searched refs:form (Results 1 – 25 of 1298) sorted by relevance

12345678910>>...52

/openbsd-src/lib/libform/
H A Dfrm_driver.c118 static int Inter_Field_Navigation(int (*const fct) (FORM *), FORM *form);
119 static int FN_Next_Field(FORM *form);
120 static int FN_Previous_Field(FORM *form);
149 #define Address_Of_Current_Row_In_Nth_Buffer(form,N) \ argument
150 Address_Of_Row_In_Nth_Buffer((form)->current,N,(form)->currow)
154 #define Address_Of_Current_Row_In_Buffer(form) \ argument
155 Address_Of_Current_Row_In_Nth_Buffer(form,0)
159 #define Address_Of_Current_Position_In_Nth_Buffer(form,N) \ argument
160 (Address_Of_Current_Row_In_Nth_Buffer(form,N) + (form)->curcol)
164 #define Address_Of_Current_Position_In_Buffer(form) \ argument
[all …]
H A Dfrm_def.c125 Disconnect_Fields(FORM *form) in Disconnect_Fields() argument
127 if (form->field) in Disconnect_Fields()
131 for (fields = form->field; *fields; fields++) in Disconnect_Fields()
133 if (form == (*fields)->form) in Disconnect_Fields()
134 (*fields)->form = (FORM *)0; in Disconnect_Fields()
137 form->rows = form->cols = 0; in Disconnect_Fields()
138 form->maxfield = form->maxpage = -1; in Disconnect_Fields()
139 form->field = (FIELD **)0; in Disconnect_Fields()
140 if (form->page) in Disconnect_Fields()
141 free(form->page); in Disconnect_Fields()
[all …]
H A Dfld_current.c53 set_current_field(FORM *form, FIELD *field) in FORM_EXPORT()
57 T((T_CALLED("set_current_field(%p,%p)"), (void *)form, (void *)field)); in FORM_EXPORT()
58 if (form == 0 || field == 0) in FORM_EXPORT()
62 else if ((form != field->form) || Field_Is_Not_Selectable(field)) in FORM_EXPORT()
66 else if ((form->status & _POSTED) == 0) in FORM_EXPORT()
68 form->current = field; in FORM_EXPORT()
69 form->curpage = field->page; in FORM_EXPORT()
73 if ((form->status & _IN_DRIVER) != 0) in FORM_EXPORT()
79 if (form->current != field) in FORM_EXPORT()
81 if (form->current && !_nc_Internal_Validation(form)) in FORM_EXPORT()
[all …]
H A Dfrm_post.c53 post_form(FORM *form) in FORM_EXPORT()
59 T((T_CALLED("post_form(%p)"), (void *)form)); in FORM_EXPORT()
61 if (!form) in FORM_EXPORT()
64 if (form->status & _POSTED) in FORM_EXPORT()
67 if (!(form->field)) in FORM_EXPORT()
70 formwin = Get_Form_Window(form); in FORM_EXPORT()
71 if ((form->cols > getmaxx(formwin)) || (form->rows > getmaxy(formwin))) in FORM_EXPORT()
77 page = form->curpage; in FORM_EXPORT()
78 form->curpage = -1; in FORM_EXPORT()
79 if ((err = _nc_Set_Form_Page(form, page, form->current)) != E_OK) in FORM_EXPORT()
[all …]
H A Dfrm_page.c52 set_form_page(FORM *form, int page) in FORM_EXPORT()
56 T((T_CALLED("set_form_page(%p,%d)"), (void *)form, page)); in FORM_EXPORT()
58 if (!form || (page < 0) || (page >= form->maxpage)) in FORM_EXPORT()
61 if (!(form->status & _POSTED)) in FORM_EXPORT()
63 form->curpage = (short)page; in FORM_EXPORT()
64 form->current = _nc_First_Active_Field(form); in FORM_EXPORT()
68 if (form->status & _IN_DRIVER) in FORM_EXPORT()
72 if (form->curpage != page) in FORM_EXPORT()
74 if (!_nc_Internal_Validation(form)) in FORM_EXPORT()
78 Call_Hook(form, fieldterm); in FORM_EXPORT()
[all …]
H A Dfrm_data.c50 data_behind(const FORM *form) in FORM_EXPORT()
54 T((T_CALLED("data_behind(%p)"), (const void *)form)); in FORM_EXPORT()
56 if (form && (form->status & _POSTED) && form->current) in FORM_EXPORT()
60 field = form->current; in FORM_EXPORT()
63 result = (form->toprow == 0) ? FALSE : TRUE; in FORM_EXPORT()
67 result = (form->begincol == 0) ? FALSE : TRUE; in FORM_EXPORT()
137 data_ahead(const FORM *form) in data_ahead() argument
141 T((T_CALLED("data_ahead(%p)"), (const void *)form)); in data_ahead()
143 if (form && (form->status & _POSTED) && form->current) in data_ahead()
149 field = form->current; in data_ahead()
[all …]
H A Dfrm_opts.c50 set_form_opts(FORM *form, Form_Options opts) in FORM_EXPORT()
52 T((T_CALLED("set_form_opts(%p,%d)"), (void *)form, opts)); in FORM_EXPORT()
59 Normalize_Form(form)->opts = opts; in FORM_EXPORT()
73 form_opts(const FORM *form) in form_opts() argument
75 T((T_CALLED("form_opts(%p)"), (const void *)form)); in form_opts()
76 returnCode((Form_Options)((unsigned)Normalize_Form(form)->opts & ALL_FORM_OPTS)); in form_opts()
90 form_opts_on(FORM *form, Form_Options opts) in form_opts_on() argument
92 T((T_CALLED("form_opts_on(%p,%d)"), (void *)form, opts)); in form_opts_on()
99 Normalize_Form(form)->opts |= opts; in form_opts_on()
115 form_opts_off(FORM *form, Form_Options opts) in form_opts_off() argument
[all …]
H A Dfrm_hook.c41 FORM_IMPEXP int NCURSES_API set_ ## typ ## _ ## name (FORM *form, Form_Hook func)\
44 T((T_CALLED("set_" #typ"_"#name"(%p,%s)"), (void *) form, TR_FUNC_ARG(0, func)));\
45 (Normalize_Form( form ) -> typ ## name) = func ;\
51 FORM_IMPEXP Form_Hook NCURSES_API typ ## _ ## name ( const FORM *form )\
53 T((T_CALLED(#typ "_" #name "(%p)"), (const void *) form));\
54 returnFormHook( Normalize_Form( form ) -> typ ## name );\
111 GEN_HOOK_SET_FUNCTION(form, init)
121 GEN_HOOK_GET_FUNCTION(form, init)
133 GEN_HOOK_SET_FUNCTION(form, term)
143 GEN_HOOK_GET_FUNCTION(form, term)
H A Dfrm_sub.c49 set_form_sub(FORM *form, WINDOW *win) in FORM_EXPORT()
51 T((T_CALLED("set_form_sub(%p,%p)"), (void *)form, (void *)win)); in FORM_EXPORT()
53 if (form && (form->status & _POSTED)) in FORM_EXPORT()
58 FORM *f = Normalize_Form(form); in FORM_EXPORT()
63 Normalize_Form(form)->sub = win; in FORM_EXPORT()
78 form_sub(const FORM *form) in form_sub() argument
82 T((T_CALLED("form_sub(%p)"), (const void *)form)); in form_sub()
84 f = Normalize_Form(form); in form_sub()
H A Dfrm_win.c49 set_form_win(FORM *form, WINDOW *win) in FORM_EXPORT()
51 T((T_CALLED("set_form_win(%p,%p)"), (void *)form, (void *)win)); in FORM_EXPORT()
53 if (form && (form->status & _POSTED)) in FORM_EXPORT()
58 FORM *f = Normalize_Form(form); in FORM_EXPORT()
63 Normalize_Form(form)->win = win; in FORM_EXPORT()
78 form_win(const FORM *form) in form_win() argument
83 T((T_CALLED("form_win(%p)"), (const void *)form)); in form_win()
85 f = Normalize_Form(form); in form_win()
H A Dform.priv.h100 #define Normalize_Form(form) \ argument
101 ((form) = (form != 0) ? (form) : _nc_Default_Form)
108 #define Get_Form_Screen(form) \ argument
109 ((form)->win ? _nc_screen_of((form->win)):CURRENT_SCREEN)
111 #define Get_Form_Screen(form) CURRENT_SCREEN argument
115 #define Get_Form_Window(form) \ argument
116 ((form)->sub \
117 ? (form)->sub \
118 : ((form)->win \
119 ? (form)->win \
[all …]
H A Dfrm_user.c49 set_form_userptr(FORM *form, void *usrptr) in FORM_EXPORT()
51 T((T_CALLED("set_form_userptr(%p,%p)"), (void *)form, (void *)usrptr)); in FORM_EXPORT()
53 Normalize_Form(form)->usrptr = usrptr; in FORM_EXPORT()
68 form_userptr(const FORM *form) in form_userptr() argument
70 T((T_CALLED("form_userptr(%p)"), (const void *)form)); in form_userptr()
71 returnVoidPtr(Normalize_Form(form)->usrptr); in form_userptr()
H A Dfrm_scale.c50 scale_form(const FORM *form, int *rows, int *cols) in FORM_EXPORT()
53 (const void *)form, in FORM_EXPORT()
57 if (!form) in FORM_EXPORT()
60 if (!(form->field)) in FORM_EXPORT()
64 *rows = form->rows; in FORM_EXPORT()
66 *cols = form->cols; in FORM_EXPORT()
H A Dfrm_cursor.c54 pos_form_cursor(FORM *form) in FORM_EXPORT()
58 T((T_CALLED("pos_form_cursor(%p)"), (void *)form)); in FORM_EXPORT()
60 if (!form) in FORM_EXPORT()
64 if (!(form->status & _POSTED)) in FORM_EXPORT()
67 res = _nc_Position_Form_Cursor(form); in FORM_EXPORT()
/openbsd-src/lib/libcrypto/ec/
H A Decp_oct.c
/openbsd-src/regress/usr.bin/m4/
H A Dargs.out1 first form: 1,2,B, second form 1,2,C
2 first form: 1,2,B, second form 1,2,C
3 first form: , second form
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFFormValue.h43 DWARFFormValue(const DWARFUnit *unit, dw_form_t form) in DWARFFormValue() argument
44 : m_unit(unit), m_form(form) {} in DWARFFormValue()
49 void SetForm(dw_form_t form) { m_form = form; } in SetForm() argument
58 static std::optional<uint8_t> GetFixedSize(dw_form_t form,
73 static bool SkipValue(const dw_form_t form,
76 static bool IsBlockForm(const dw_form_t form);
77 static bool IsDataForm(const dw_form_t form);
80 static bool FormIsSupported(dw_form_t form);
/openbsd-src/lib/libc/gen/
H A Dgetbsize.c41 char *ep, *p, *form; in getbsize() local
47 form = ""; in getbsize()
57 form = "G"; in getbsize()
62 form = "K"; in getbsize()
67 form = "M"; in getbsize()
88 form = ""; in getbsize()
94 *headerlenp = snprintf(header, sizeof(header), "%ld%s-blocks", n, form); in getbsize()
/openbsd-src/gnu/usr.bin/perl/dist/Unicode-Normalize/
H A DNormalize.pm117 my $form = shift;
119 if (exists $formNorm{$form}) {
120 return $formNorm{$form}->($str);
122 croak($PACKAGE."::normalize: invalid form name: $form");
158 my $form = shift;
160 if (exists $formCheck{$form}) {
161 return $formCheck{$form}->($str);
163 croak($PACKAGE."::check: invalid form name: $form");
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64SchedThunderX3T110.td325 // Load vector pair, immed offset, Q-form [LDP/LDNP].
335 // Load vector pair, immed offset, S/D-form [LDP/LDNP].
761 // Divide, W-form
769 // Divide, X-form
776 // Multiply accumulate, W-form
782 // Multiply accumulate, X-form
1056 // Store pair, immed offset, W-form
1057 // Store pair, immed offset, X-form
1063 // Store pair, immed post-index, W-form
1064 // Store pair, immed post-index, X-form
[all …]
H A DAArch64SchedThunderX2T99.td501 // Divide, W-form
509 // Divide, X-form
516 // Multiply accumulate, W-form
522 // Multiply accumulate, X-form
887 // Store pair, immed offset, W-form
888 // Store pair, immed offset, X-form
894 // Store pair, immed post-index, W-form
895 // Store pair, immed post-index, X-form
896 // Store pair, immed pre-index, W-form
897 // Store pair, immed pre-index, X-form
[all …]
H A DAArch64SchedNeoverseN2.td780 // FP divide, H-form
782 // FP divide, S-form
784 // FP divide, D-form
787 // FP square root, H-form
789 // FP square root, S-form
791 // FP square root, D-form
848 // Load vector reg, register offset, scale, S/D-form
850 // Load vector reg, register offset, extend, scale, S/D-form
853 // Load vector reg, register offset, scale, H/Q-form
854 // Load vector reg, register offset, extend, scale, H/Q-form
[all …]
/openbsd-src/gnu/gcc/gcc/config/h8300/
H A Dgenmova.sh65 for form in mult ashift; do
66 case $form in
78 (plus:$d ($form:$d $operand
98 ($form:$d (zero_extend:$d $operand)
107 (plus:$d ($form:$d (zero_extend:$d $operand)
137 (and:$d ($form:$d $paradoxical
147 (plus:$d (and:$d ($form:$d $paradoxical
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dd30v-dis.c60 while (f->form == index) in lookup_opcode()
62 if ((!is_long || f->form >= LONG) && (f->modifier == mod)) in lookup_opcode()
64 insn->form = f; in lookup_opcode()
69 if (insn->form) in lookup_opcode()
73 if (insn->form) in lookup_opcode()
78 if (insn->form == NULL) in lookup_opcode()
130 if (d30v_operand_table[insn->form->operands[0]].flags & OPERAND_NAME) in print_insn()
135 (struct d30v_operand *) &d30v_operand_table[insn->form->operands[0]], in print_insn()
154 while ((opnum = insn->form->operands[opind++]) != 0) in print_insn()
209 (struct d30v_operand *) &d30v_operand_table[insn->form->operands[2]]; in print_insn()
[all …]
/openbsd-src/gnu/usr.bin/binutils/opcodes/
H A Dd30v-dis.c42 insn.form = (struct d30v_format *) NULL;
101 insn.form = (struct d30v_format *) NULL;
147 while (f->form == index)
149 if ((!is_long || f->form >= LONG) && (f->modifier == mod))
151 insn->form = f;
156 if (insn->form)
160 if (insn->form)
165 if (insn->form == NULL)
192 if (d30v_operand_table[insn->form->operands[0]].flags & OPERAND_NAME)
197 (struct d30v_operand *) &d30v_operand_table[insn->form->operands[0]],
[all …]

12345678910>>...52