/freebsd-12-stable/contrib/ncurses/form/ |
H A D | fld_pad.c | 39 | Function : int set_field_pad(FIELD *field, int ch) 41 | Description : Set the pad character used to fill the field. This must 45 | E_BAD_ARGUMENT - invalid field pointer or pad character 49 set_field_pad(FIELD *field, int ch) argument 53 T((T_CALLED("set_field_pad(%p,%d)"), (void *)field, ch)); 55 Normalize_Field(field); 58 if (field->pad != ch) 60 field->pad = ch; 61 res = _nc_Synchronize_Attributes(field); 71 | Function : int field_pad(const FIELD *field) 78 field_pad(const FIELD *field) argument [all...] |
H A D | fld_page.c | 39 | Function : int set_new_page(FIELD *field, bool new_page_flag) 41 | Description : Marks the field as the beginning of a new page of 45 | E_CONNECTED - field is connected 48 set_new_page(FIELD *field, bool new_page_flag) argument 50 T((T_CALLED("set_new_page(%p,%d)"), (void *)field, new_page_flag)); 52 Normalize_Field(field); 53 if (field->form) 57 SetStatus(field, _NEWPAGE); 59 ClrStatus(field, _NEWPAGE); 66 | Function : bool new_page(const FIELD *field) [all...] |
H A D | fld_max.c | 39 | Function : int set_max_field(FIELD *field, int maxgrow) 41 | Description : Set the maximum growth for a dynamic field. If maxgrow=0 42 | the field may grow to any possible size. 48 set_max_field(FIELD *field, int maxgrow) argument 50 T((T_CALLED("set_max_field(%p,%d)"), (void *)field, maxgrow)); 52 if (!field || (maxgrow < 0)) 56 bool single_line_field = Single_Line_Field(field); 60 if ((single_line_field && (maxgrow < field->dcols)) || 61 (!single_line_field && (maxgrow < field->drows))) 64 field [all...] |
H A D | fld_type.c | 39 | Function : int set_field_type(FIELD *field, FIELDTYPE *type,...) 41 | Description : Associate the specified fieldtype with the field. 42 | Certain field types take additional arguments. Look 43 | at the spec of the field types ! 49 set_field_type(FIELD *field, FIELDTYPE *type,...) argument 55 T((T_CALLED("set_field_type(%p,%p)"), (void *)field, (void *)type)); 59 Normalize_Field(field); 60 _nc_Free_Type(field); 62 field->type = type; 63 field 91 field_type(const FIELD *field) argument [all...] |
H A D | fld_stat.c | 39 | Function : int set_field_status(FIELD *field, bool status) 47 set_field_status(FIELD *field, bool status) argument 49 T((T_CALLED("set_field_status(%p,%d)"), (void *)field, status)); 51 Normalize_Field(field); 54 SetStatus(field, _CHANGED); 56 ClrStatus(field, _CHANGED); 63 | Function : bool field_status(const FIELD *field) 72 field_status(const FIELD *field) 74 T((T_CALLED("field_status(%p)"), (const void *)field)); 76 returnBool((Normalize_Field(field) [all...] |
H A D | fld_move.c | 39 | Function : int move_field(FIELD *field,int frow, int fcol) 41 | Description : Moves the disconnected field to the new location in 46 | E_CONNECTED - field is connected 49 move_field(FIELD *field, int frow, int fcol) argument 51 T((T_CALLED("move_field(%p,%d,%d)"), (void *)field, frow, fcol)); 53 if (!field || (frow < 0) || (fcol < 0)) 56 if (field->form) 59 field->frow = (short) frow; 60 field->fcol = (short) fcol;
|
H A D | fld_user.c | 39 | Function : int set_field_userptr(FIELD *field, void *usrptr) 41 | Description : Set the pointer that is reserved in any field to store 47 set_field_userptr(FIELD *field, void *usrptr) argument 49 T((T_CALLED("set_field_userptr(%p,%p)"), (void *)field, (void *)usrptr)); 51 Normalize_Field(field)->usrptr = usrptr; 57 | Function : void *field_userptr(const FIELD *field) 59 | Description : Return the pointer that is reserved in any field to 66 field_userptr(const FIELD *field) argument 68 T((T_CALLED("field_userptr(%p)"), (const void *)field)); 69 returnVoidPtr(Normalize_Field(field) [all...] |
H A D | fld_info.c | 39 | Function : int field_info(const FIELD *field, 47 | E_BAD_ARGUMENT - invalid field pointer 50 field_info(const FIELD *field, argument 56 (const void *)field, 61 if (!field) 65 *rows = field->rows; 67 *cols = field->cols; 69 *frow = field->frow; 71 *fcol = field->fcol; 73 *nrow = field 92 dynamic_field_info(const FIELD *field, int *drows, int *dcols, int *maxgrow) argument [all...] |
H A D | fld_just.c | 39 | Function : int set_field_just(FIELD *field, int just) 48 set_field_just(FIELD *field, int just) argument 52 T((T_CALLED("set_field_just(%p,%d)"), (void *)field, just)); 59 Normalize_Field(field); 60 if (field->just != just) 62 field->just = (short) just; 63 res = _nc_Synchronize_Attributes(field); 73 | Function : int field_just( const FIELD *field ) 80 field_just(const FIELD *field) argument 82 T((T_CALLED("field_just(%p)"), (const void *)field)); [all...] |
H A D | fld_link.c | 39 | Function : FIELD *link_field(FIELD *field, int frow, int fcol) 41 | Description : Duplicates the field at the specified position. The 42 | new field shares its buffers with the original one, 49 | Return Values : Pointer to the new field or NULL if failure 52 link_field(FIELD *field, int frow, int fcol) argument 57 T((T_CALLED("link_field(%p,%d,%d)"), (void *)field, frow, fcol)); 58 if (field && (frow >= 0) && (fcol >= 0) && 62 T((T_CREATE("field %p"), (void *)New_Field)); 67 New_Field->link = field->link; 68 field [all...] |
H A D | fld_dup.c | 39 | Function : FIELD *dup_field(FIELD *field, int frow, int fcol) 41 | Description : Duplicates the field at the specified position. All 42 | field attributes and the buffers are copied. 48 | Return Values : Pointer to the new field or NULL if failure 51 dup_field(FIELD *field, int frow, int fcol) argument 56 T((T_CALLED("dup_field(%p,%d,%d)"), (void *)field, frow, fcol)); 57 if (field && (frow >= 0) && (fcol >= 0) && 61 T((T_CREATE("field %p"), (void *)New_Field)); 66 New_Field->rows = field->rows; 67 New_Field->cols = field [all...] |
H A D | fld_current.c | 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 45 | E_REQUEST_DENIED - field not selectable 47 | E_INVALID_FIELD - current field can't be left 51 set_current_field(FORM *form, FIELD *field) argument 55 T((T_CALLED("set_current_field(%p,%p)"), (void *)form, (void *)field)); 56 if (form == 0 || field == 0) 60 else if ((form != field->form) || Field_Is_Not_Selectable(field)) 131 field_index(const FIELD *field) argument [all...] |
H A D | fld_opts.c | 43 | Function : int set_field_opts(FIELD *field, Field_Options opts) 45 | Description : Turns on the named options for this field and turns 49 | E_CURRENT - the field is the current field 54 set_field_opts(FIELD *field, Field_Options opts) argument 58 T((T_CALLED("set_field_opts(%p,%d)"), (void *)field, opts)); 62 res = _nc_Synchronize_Options(Normalize_Field(field), opts); 68 | Function : Field_Options field_opts(const FIELD *field) 75 field_opts(const FIELD *field) 77 T((T_CALLED("field_opts(%p)"), (const void *)field)); 95 field_opts_on(FIELD *field, Field_Options opts) argument 123 field_opts_off(FIELD *field, Field_Options opts) argument [all...] |
/freebsd-12-stable/contrib/sendmail/include/sm/ |
H A D | tailq.h | 77 #define SM_TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) 81 #define SM_TAILQ_PREV(elm, headname, field) \ 82 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) 86 #define SM_TAILQ_FOREACH(var, head, field) \ 89 (var) = SM_TAILQ_NEXT(var, field)) 91 #define SM_TAILQ_FOREACH_REVERSE(var, head, headname, field) \ 94 (var) = SM_TAILQ_PREV(var, headname, field)) 104 #define SM_TAILQ_INSERT_HEAD(head, elm, field) do { \ 105 if (((elm)->field [all...] |
/freebsd-12-stable/contrib/libucl/src/ |
H A D | tree.h | 70 #define TREE_DELTA(self, field) \ 71 (( (((self)->field.avl_left) ? (self)->field.avl_left->field.avl_height : 0)) \ 72 - (((self)->field.avl_right) ? (self)->field.avl_right->field.avl_height : 0)) 76 #define TREE_DEFINE(node, field) \ 78 static struct node *_HU_FUNCTION(TREE_BALANCE_##node##_##field)(struct node *); \ 80 static struct node *_HU_FUNCTION(TREE_ROTL_##node##_##field)(struc [all...] |
/freebsd-12-stable/crypto/heimdal/lib/gssapi/mech/ |
H A D | mechqueue.h | 60 #define HEIM_SLIST_INSERT_AFTER(slistelm, elm, field) do { \ 61 (elm)->field.sle_next = (slistelm)->field.sle_next; \ 62 (slistelm)->field.sle_next = (elm); \ 65 #define HEIM_SLIST_INSERT_HEAD(head, elm, field) do { \ 66 (elm)->field.sle_next = (head)->slh_first; \ 70 #define HEIM_SLIST_REMOVE_HEAD(head, field) do { \ 71 (head)->slh_first = (head)->slh_first->field.sle_next; \ 74 #define HEIM_SLIST_REMOVE(head, elm, type, field) do { \ 76 HEIM_SLIST_REMOVE_HEAD((head), field); \ [all...] |
/freebsd-12-stable/contrib/ipfilter/sys/ |
H A D | tree.h | 78 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left 79 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right 84 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ 85 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \ 86 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ 90 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ 91 SPLAY_RIGHT((head)->sph_root, field) [all...] |
/freebsd-12-stable/crypto/openssh/openbsd-compat/ |
H A D | sys-tree.h | 82 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left 83 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right 88 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ 89 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \ 90 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ 94 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ 95 SPLAY_RIGHT((head)->sph_root, field) [all...] |
/freebsd-12-stable/crypto/heimdal/base/ |
H A D | heimqueue.h | 59 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_HEAD(head, elm, field) \ 61 (head)->tqh_first->field.tqe_prev != &(head)->tqh_first) \ 63 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_TAIL(head, elm, field) \ 66 #define QUEUEDEBUG_HEIM_TAILQ_OP(elm, field) \ 67 if ((elm)->field.tqe_next && \ 68 (elm)->field.tqe_next->field.tqe_prev != \ 69 &(elm)->field.tqe_next) \ 71 if (*(elm)->field.tqe_prev != (elm)) \ 73 #define QUEUEDEBUG_HEIM_TAILQ_PREREMOVE(head, elm, field) \ [all...] |
/freebsd-12-stable/crypto/heimdal/lib/asn1/ |
H A D | asn1_queue.h | 59 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_HEAD(head, elm, field) \ 61 (head)->tqh_first->field.tqe_prev != &(head)->tqh_first) \ 63 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_TAIL(head, elm, field) \ 66 #define QUEUEDEBUG_ASN1_TAILQ_OP(elm, field) \ 67 if ((elm)->field.tqe_next && \ 68 (elm)->field.tqe_next->field.tqe_prev != \ 69 &(elm)->field.tqe_next) \ 71 if (*(elm)->field.tqe_prev != (elm)) \ 73 #define QUEUEDEBUG_ASN1_TAILQ_PREREMOVE(head, elm, field) \ [all...] |
/freebsd-12-stable/contrib/ntp/sntp/libevent/compat/sys/ |
H A D | queue.h | 109 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) 111 #define SLIST_FOREACH(var, head, field) \ 114 (var) = SLIST_NEXT(var, field)) 123 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ 124 (elm)->field.sle_next = (slistelm)->field.sle_next; \ 125 (slistelm)->field.sle_next = (elm); \ 128 #define SLIST_INSERT_HEAD(head, elm, field) do { \ 129 (elm)->field [all...] |
/freebsd-12-stable/contrib/libevent/compat/sys/ |
H A D | queue.h | 109 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) 111 #define SLIST_FOREACH(var, head, field) \ 114 (var) = SLIST_NEXT(var, field)) 123 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ 124 (elm)->field.sle_next = (slistelm)->field.sle_next; \ 125 (slistelm)->field.sle_next = (elm); \ 128 #define SLIST_INSERT_HEAD(head, elm, field) do { \ 129 (elm)->field [all...] |
/freebsd-12-stable/contrib/ntp/sntp/libevent/WIN32-Code/ |
H A D | tree.h | 75 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left 76 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right 81 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ 82 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \ 83 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ 87 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ 88 SPLAY_RIGHT((head)->sph_root, field) [all...] |
/freebsd-12-stable/contrib/libevent/WIN32-Code/ |
H A D | tree.h | 75 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left 76 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right 81 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ 82 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \ 83 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ 87 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ 88 SPLAY_RIGHT((head)->sph_root, field) [all...] |
/freebsd-12-stable/contrib/openbsm/compat/ |
H A D | queue.h | 160 #define SLIST_FOREACH(var, head, field) \ 163 (var) = SLIST_NEXT((var), field)) 165 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ 167 (var) && ((tvar) = SLIST_NEXT((var), field), 1); \ 170 #define SLIST_FOREACH_PREVPTR(var, varp, head, field) \ 173 (varp) = &SLIST_NEXT((var), field)) 179 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ 180 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \ 181 SLIST_NEXT((slistelm), field) [all...] |