Searched refs:field (Results 1 - 25 of 569) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A D900403_04.C11 unsigned int field; member in struct:s
/openbsd-current/lib/libform/
H A Dfld_pad.c41 | Function : int set_field_pad(FIELD *field, int ch)
43 | Description : Set the pad character used to fill the field. This must
47 | E_BAD_ARGUMENT - invalid field pointer or pad character
51 set_field_pad(FIELD *field, int ch) argument
55 T((T_CALLED("set_field_pad(%p,%d)"), (void *)field, ch));
57 Normalize_Field(field);
60 if (field->pad != ch)
62 field->pad = ch;
63 res = _nc_Synchronize_Attributes(field);
73 | Function : int field_pad(const FIELD *field)
80 field_pad(const FIELD *field) argument
[all...]
H A Dfld_page.c41 | Function : int set_new_page(FIELD *field, bool new_page_flag)
43 | Description : Marks the field as the beginning of a new page of
47 | E_CONNECTED - field is connected
50 set_new_page(FIELD *field, bool new_page_flag) argument
52 T((T_CALLED("set_new_page(%p,%d)"), (void *)field, new_page_flag));
54 Normalize_Field(field);
55 if (field->form)
59 SetStatus(field, _NEWPAGE);
61 ClrStatus(field, _NEWPAGE);
68 | Function : bool new_page(const FIELD *field)
[all...]
H A Dfld_type.c41 | Function : int set_field_type(FIELD *field, FIELDTYPE *type,...)
43 | Description : Associate the specified fieldtype with the field.
44 | Certain field types take additional arguments. Look
45 | at the spec of the field types !
51 set_field_type(FIELD *field, FIELDTYPE *type, ...) argument
57 T((T_CALLED("set_field_type(%p,%p)"), (void *)field, (void *)type));
61 Normalize_Field(field);
62 _nc_Free_Type(field);
64 field->type = type;
65 field
93 field_type(const FIELD *field) argument
[all...]
H A Dfld_max.c41 | Function : int set_max_field(FIELD *field, int maxgrow)
43 | Description : Set the maximum growth for a dynamic field. If maxgrow=0
44 | the field may grow to any possible size.
50 set_max_field(FIELD *field, int maxgrow) argument
52 T((T_CALLED("set_max_field(%p,%d)"), (void *)field, maxgrow));
54 if (!field || (maxgrow < 0))
58 bool single_line_field = Single_Line_Field(field);
62 if (((single_line_field && (maxgrow < field->dcols)) ||
63 (!single_line_field && (maxgrow < field->drows))) &&
64 !Field_Has_Option(field, O_INPUT_LIMI
[all...]
H A Dfld_stat.c41 | Function : int set_field_status(FIELD *field, bool status)
44 | field's primary buffer.
49 set_field_status(FIELD *field, bool status) argument
51 T((T_CALLED("set_field_status(%p,%d)"), (void *)field, status));
53 Normalize_Field(field);
56 SetStatus(field, _CHANGED);
58 ClrStatus(field, _CHANGED);
65 | Function : bool field_status(const FIELD *field)
68 | for that field's primary buffer.
74 field_status(const FIELD *field)
[all...]
H A Dfld_user.c41 | Function : int set_field_userptr(FIELD *field, void *usrptr)
43 | Description : Set the pointer that is reserved in any field to store
49 set_field_userptr(FIELD *field, void *usrptr) argument
51 T((T_CALLED("set_field_userptr(%p,%p)"), (void *)field, (void *)usrptr));
53 Normalize_Field(field)->usrptr = usrptr;
59 | Function : void *field_userptr(const FIELD *field)
61 | Description : Return the pointer that is reserved in any field to
68 field_userptr(const FIELD *field) argument
70 T((T_CALLED("field_userptr(%p)"), (const void *)field));
71 returnVoidPtr(Normalize_Field(field)
[all...]
H A Dfld_move.c41 | Function : int move_field(FIELD *field,int frow, int fcol)
43 | Description : Moves the disconnected field to the new location in
48 | E_CONNECTED - field is connected
51 move_field(FIELD *field, int frow, int fcol) argument
53 T((T_CALLED("move_field(%p,%d,%d)"), (void *)field, frow, fcol));
55 if (!field || (frow < 0) || (fcol < 0))
58 if (field->form)
61 field->frow = (short)frow;
62 field->fcol = (short)fcol;
H A Dfld_info.c41 | Function : int field_info(const FIELD *field,
46 | Description : Retrieve information about the field's creation parameters.
49 | E_BAD_ARGUMENT - invalid field pointer
52 field_info(const FIELD *field, argument
58 (const void *)field,
63 if (!field)
67 *rows = field->rows;
69 *cols = field->cols;
71 *frow = field->frow;
73 *fcol = field
94 dynamic_field_info(const FIELD *field, int *drows, int *dcols, int *maxgrow) argument
[all...]
H A Dfld_just.c41 | Function : int set_field_just(FIELD *field, int just)
43 | Description : Set the field's type of justification.
50 set_field_just(FIELD *field, int just) argument
54 T((T_CALLED("set_field_just(%p,%d)"), (void *)field, just));
61 Normalize_Field(field);
62 if (field->just != just)
64 field->just = (short)just;
65 res = _nc_Synchronize_Attributes(field);
75 | Function : int field_just( const FIELD *field )
77 | Description : Retrieve the field'
82 field_just(const FIELD *field) argument
[all...]
H A Dfld_link.c41 | Function : FIELD *link_field(FIELD *field, int frow, int fcol)
43 | Description : Duplicates the field at the specified position. The
44 | new field shares its buffers with the original one,
51 | Return Values : Pointer to the new field or NULL if failure
54 link_field(FIELD *field, int frow, int fcol) argument
59 T((T_CALLED("link_field(%p,%d,%d)"), (void *)field, frow, fcol));
60 if (field && (frow >= 0) && (fcol >= 0) &&
64 T((T_CREATE("field %p"), (void *)New_Field));
69 New_Field->link = field->link;
70 field
[all...]
H A Dfld_dup.c41 | Function : FIELD *dup_field(FIELD *field, int frow, int fcol)
43 | Description : Duplicates the field at the specified position. All
44 | field attributes and the buffers are copied.
50 | Return Values : Pointer to the new field or NULL if failure
53 dup_field(FIELD *field, int frow, int fcol) argument
58 T((T_CALLED("dup_field(%p,%d,%d)"), (void *)field, frow, fcol));
59 if (field && (frow >= 0) && (fcol >= 0) &&
63 T((T_CREATE("field %p"), (void *)New_Field));
68 New_Field->rows = field->rows;
69 New_Field->cols = field
[all...]
H A Dfld_current.c41 | Function : int set_current_field(FORM * form,FIELD * field)
43 | Description : Set the current field of the form to the specified one.
46 | E_BAD_ARGUMENT - invalid form or field pointer
47 | E_REQUEST_DENIED - field not selectable
49 | E_INVALID_FIELD - current field can't be left
53 set_current_field(FORM *form, FIELD *field) argument
57 T((T_CALLED("set_current_field(%p,%p)"), (void *)form, (void *)field));
58 if (form == 0 || field == 0)
62 else if ((form != field->form) || Field_Is_Not_Selectable(field))
159 field_index(const FIELD *field) argument
[all...]
H A Dfld_opts.c45 | Function : int set_field_opts(FIELD *field, Field_Options opts)
47 | Description : Turns on the named options for this field and turns
51 | E_CURRENT - the field is the current field
56 set_field_opts(FIELD *field, Field_Options opts) argument
60 T((T_CALLED("set_field_opts(%p,%d)"), (void *)field, opts));
64 res = _nc_Synchronize_Options(Normalize_Field(field), opts);
70 | Function : Field_Options field_opts(const FIELD *field)
72 | Description : Retrieve the field's options.
77 field_opts(const FIELD *field)
97 field_opts_on(FIELD *field, Field_Options opts) argument
125 field_opts_off(FIELD *field, Field_Options opts) argument
[all...]
H A Dfld_attr.c42 /* "Template" macro to generate a function to set a field's attribute */
44 FORM_IMPEXP int NCURSES_API set_field_ ## name (FIELD * field, chtype attr)\
47 T((T_CALLED("set_field_" #name "(%p,%s)"), (void *)field, _traceattr(attr)));\
50 Normalize_Field( field );\
51 if (field != 0) \
53 if ((field -> name) != attr)\
55 field -> name = attr;\
56 res = _nc_Synchronize_Attributes( field );\
67 /* "Template" macro to generate a function to get a field's attribute */
69 FORM_IMPEXP chtype NCURSES_API field_ ## name (const FIELD * field)\
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/
H A D900403_04.C9 unsigned int field; member in struct:s
/openbsd-current/sbin/isakmpd/
H A Dfield.h1 /* $OpenBSD: field.h,v 1.6 2004/05/23 18:17:55 hshoexer Exp $ */
2 /* $EOM: field.h,v 1.3 1998/08/02 20:25:01 niklas Exp $ */
37 struct field { struct
47 extern void field_dump_field(struct field *, u_int8_t *);
48 extern void field_dump_payload(struct field *, u_int8_t *);
49 extern u_int32_t field_get_num(struct field *, u_int8_t *);
50 extern void field_get_raw(struct field *, u_int8_t *, u_int8_t *);
51 extern void field_set_num(struct field *, u_int8_t *, u_int32_t);
52 extern void field_set_raw(struct field *, u_int8_t *, u_int8_t *);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D960301-1.c3 unsigned field : 4; member in struct:foo
10 oldfoo = foo.field;
11 foo.field = k;
H A D20000717-4.c9 int field[6]; member in struct:__anon6933::slot
18 int r = s.slot[0].field[!toggle];
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Denum12.C9 Bool field:1; member in struct:S
11 void copy_enum_bit_field () const { object = field; }
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.cp/
H A Dclasses.exp48 { field public "int a;" }
49 { field public "int b;" }
57 { field public "int a;" }
58 { field public "int b;" }
66 { field protected "int a;" }
67 { field protected "int b;" }
75 { field private "int a;" }
76 { field private "int b;" }
84 { field public "int a;" }
85 { field publi
[all...]
/openbsd-current/sys/sys/
H A Dsmr.h172 #define SMR_SLIST_NEXT(elm, field) \
173 SMR_PTR_GET(&(elm)->field.smr_sle_next)
179 #define SMR_SLIST_NEXT_LOCKED(elm, field) \
180 SMR_PTR_GET_LOCKED(&(elm)->field.smr_sle_next)
182 #define SMR_SLIST_FOREACH(var, head, field) \
185 (var) = SMR_SLIST_NEXT(var, field))
187 #define SMR_SLIST_FOREACH_LOCKED(var, head, field) \
190 (var) = SMR_SLIST_NEXT_LOCKED(var, field))
192 #define SMR_SLIST_FOREACH_SAFE_LOCKED(var, head, field, tvar) \
194 (var) && ((tvar) = SMR_SLIST_NEXT_LOCKED(var, field),
[all...]
H A Dtree.h77 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left
78 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right
83 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \
84 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
85 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
89 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \
90 SPLAY_RIGHT((head)->sph_root, field)
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A D940409-1.c6 struct S { volatile int field; }; member in struct:S
7 int f (register struct S arg); /* { dg-bogus "volatile field" "with arg" { xfail *-*-* } } */
8 int g (register struct S); /* { dg-bogus "volatile field" "no arg" { xfail *-*-* } } */
/openbsd-current/sbin/wsconsctl/
H A Dmousecfg.c192 mousecfg_get_field(struct wsmouse_parameters *field) argument
196 for (i = 0; i < field->nparams; i++) {
197 if ((n = index_of(field->params[i].key)) >= 0)
198 field->params[i].value = cfg_buffer[n].value;
206 mousecfg_put_field(int fd, struct wsmouse_parameters *field) argument
211 for (i = 0; i < field->nparams; i++)
212 if ((n = index_of(field->params[i].key)) < 0)
215 d |= (cfg_buffer[n].value != field->params[i].value);
221 if ((err = ioctl(fd, WSMOUSEIO_SETPARAMS, field))
222 || (err = ioctl(fd, WSMOUSEIO_GETPARAMS, field)))
232 get_value(struct wsmouse_parameters *field, enum wsmousecfg key) argument
242 set_value(struct wsmouse_parameters *field, enum wsmousecfg key, int value) argument
252 get_percent(struct wsmouse_parameters *field, enum wsmousecfg key) argument
258 set_percent(struct wsmouse_parameters *field, enum wsmousecfg key, float f) argument
264 set_tapping(struct wsmouse_parameters *field, char *tapping) argument
288 set_edges(struct wsmouse_parameters *field, char *edges) argument
308 read_param(struct wsmouse_parameters *field, char *val) argument
342 mousecfg_pr_field(struct wsmouse_parameters *field) argument
376 mousecfg_rd_field(struct wsmouse_parameters *field, char *val) argument
[all...]

Completed in 161 milliseconds

1234567891011>>