/titanic_53/usr/src/lib/libeti/form/inc/ |
H A D | utility.h | 68 #define Status(f, s) ((f) -> status & (s)) argument 69 #define Set(f, s) ((f) -> status |= (s)) argument 70 #define Clr(f, s) ((f) -> status &= ~(s)) argument 72 #define Opt(f, x) ((f) -> opts & (x)) argument 79 #define MakeArg(f, p, err) (_makearg((f) -> type, p, err)) argument 80 #define CopyArg(f, err) (_copyarg((f) -> type, (f) -> arg, err)) argument 81 #define FreeArg(f) (_freearg((f) -> type, (f) -> arg)) argument 82 #define CheckField(f) (_checkfield((f) -> type, (f), (f) -> arg)) argument 83 #define CheckChar(f, c) (_checkchar((f) -> type, (c), (f) -> arg)) argument 84 #define NextChoice(f) (_nextchoice((f) -> type, (f), (f) -> arg)) argument [all …]
|
/titanic_53/usr/src/lib/libeti/form/common/ |
H A D | chg_field.c | 38 #define first(f) (f->field [Pmin(f, P(f))]) argument 39 #define last(f) (f->field [Pmax(f, P(f))]) argument 40 #define sfirst(f) (f->field [Smin(f, P(f))]) argument 41 #define slast(f) (f->field [Smax(f, P(f))]) argument 43 #define Active(f) (Opt(f, O_ACTIVE) && Opt(f, O_VISIBLE)) argument 47 next(FIELD *f) in next() 64 prev(FIELD *f) in prev() 81 snext(FIELD *f) in snext() 95 sprev(FIELD *f) in sprev() 109 left(FIELD *f) in left() [all …]
|
H A D | chg_char.c | 38 #define SizePrev(f, v) ((v) - Buf(f)) /* from beginning to v */ argument 39 #define SizeNext(f, v) (BufSize(f) - SizePrev(f, v)) argument 46 _next_char(FORM *f) in _next_char() 64 _prev_char(FORM *f) in _prev_char() 79 _next_line(FORM *f) in _next_line() 91 _prev_line(FORM *f) in _prev_line() 103 _next_word(FORM *f) in _next_word() 143 _prev_word(FORM *f) in _prev_word() 163 _beg_field(FORM *f) in _beg_field() 174 _end_field(FORM *f) in _end_field() [all …]
|
H A D | chg_data.c | 39 #define AT_BOTTOM(f) (Y(f) == Ymax(f) - 1) /* last line */ argument 40 #define AT_END(f) (Y(f) == Ymax(f) - 1 && X(f) == Xmax(f) - 1) argument 42 #define AT_BEGINNING(f) (Y(f) == 0 && X(f) == 0) /* first char */ argument 45 room_for_line(FORM *f) in room_for_line() 55 room_for_char(FORM *f) in room_for_char() 84 FORM *f = c->form; in _grow_field() local 174 insert_str(FORM *f, int y, int off, int nstr) /* used for word wrapping */ in insert_str() 220 wrap_ok(FORM *f) /* used for word wrapping */ in wrap_ok() 275 _new_line(FORM *f) in _new_line() 357 _ins_char(FORM *f) in _ins_char() [all …]
|
H A D | chg_page.c | 38 #define first(f) (0) argument 39 #define last(f) (f->maxpage - 1) argument 43 next(FORM *f) in next() 54 prev(FORM *f) in prev() 64 _next_page(FORM *f) in _next_page() 70 _prev_page(FORM *f) in _prev_page() 76 _first_page(FORM *f) in _first_page() 82 _last_page(FORM *f) in _last_page()
|
H A D | utility.c | 38 #define Scrollable(f) ((f)->drows > (f)->rows || \ argument 40 #define Connected(f) ((f) -> form != (FORM *) 0) argument 41 #define OnPage(f) ((f) -> page == P((f) -> form)) argument 42 #define Posted(f) (Status((f) -> form, POSTED)) argument 43 #define Visible(f) (Opt(f, O_VISIBLE) && OnPage(f)) argument 44 #define isCurrent(f) ((f) == C((f) -> form)) argument 45 #define Justified(f) (Just(f) != NO_JUSTIFICATION && \ argument 93 _adjust_cursor(FORM *f, char *v) in _adjust_cursor() 109 _buf_to_win(FIELD *f, WINDOW *w) in _buf_to_win() 127 _win_to_buf(WINDOW *w, FIELD *f) in _win_to_buf() [all …]
|
H A D | field.c | 88 MakeType(FIELD *f, va_list *ap) in MakeType() 109 CopyType(FIELD *f, FIELD *fsrc) in CopyType() 131 FreeType(FIELD *f) in FreeType() 151 FIELD *f = (FIELD *) 0; in new_field() local 195 FIELD *f = (FIELD *) 0; in dup_field() local 244 FIELD *f = (FIELD *) 0; in link_field() local 283 free_field(FIELD *f) in free_field() 310 field_info(FIELD *f, int *rows, int *cols, int *frow, int *fcol, in field_info() 338 set_max_field(FIELD *f, int max) in set_max_field() 362 dynamic_field_info(FIELD *f, int *drows, int *dcols, int *max) in dynamic_field_info() [all …]
|
H A D | post.c | 39 post_form(FORM *f) in post_form() 70 unpost_form(FORM *f) in unpost_form() 92 pos_form_cursor(FORM *f) in pos_form_cursor() 104 set_current_field(FORM *f, FIELD *c) in set_current_field() 143 current_field(FORM *f) in current_field() 149 field_index(FIELD *f) in field_index() 158 set_form_page(FORM *f, int page) in set_form_page() 193 form_page(FORM *f) in form_page()
|
H A D | form.c | 77 insert(FIELD *f, FIELD *head) in insert() 113 sort_form(FORM *f) in sort_form() 140 merge(FIELD *f, FORM *form) /* adjust form dimensions to include field f */ in merge() 155 FIELD **f = form->field; in disconnect_fields() local 173 connect_fields(FORM *f, FIELD **x) in connect_fields() 226 FORM *f; in new_form() local 247 free_form(FORM *f) in free_form() 262 set_form_fields(FORM *f, FIELD **fields) in set_form_fields() 290 form_fields(FORM *f) in form_fields() 296 field_count(FORM *f) in field_count() [all …]
|
H A D | driver.c | 46 #define CALL(x, f) (x.class ? (*x.class) (x.act, f) : E_SYSTEM_ERROR) argument 121 _page_navigation(PTF_int act, FORM *f) in _page_navigation() 139 _field_navigation(PTF_int act, FORM *f) in _field_navigation() 155 _data_navigation(PTF_int act, FORM *f) in _data_navigation() 162 _data_manipulation(PTF_int act, FORM *f) in _data_manipulation() 174 _misc_request(PTF_int act, FORM *f) in _misc_request() 180 form_driver(FORM *f, int c) in form_driver()
|
H A D | form_opts.c | 39 set_form_opts(FORM *f, OPTIONS opts) in set_form_opts() 46 form_opts(FORM *f) in form_opts() 52 form_opts_on(FORM *f, OPTIONS opts) in form_opts_on() 59 form_opts_off(FORM *f, OPTIONS opts) in form_opts_off()
|
/titanic_53/usr/src/cmd/ast/libshell/common/ |
H A D | illumos_cmdlist.h | 45 #define BINCMDLIST(f) \ argument 47 #define USRBINCMDLIST(f) \ argument 49 #define SBINCMDLIST(f) \ argument 51 #define SUSRBINCMDLIST(f) \ argument 54 #define XPG6CMDLIST(f) \ argument 56 #define XPG4CMDLIST(f) \ argument 60 #define GNUCMDLIST(f) \ argument 69 #define ASTCMDLIST(f) \ argument
|
/titanic_53/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | recfmt.h | 46 #define RECTYPE(f) (((f)>>28)&((1<<4)-1)) argument 49 #define REC_D_DELIMITER(f) ((f)&((1<<8)-1)) argument 52 #define REC_F_SIZE(f) ((f)&((1<<28)-1)) argument 55 #define REC_U_ATTRIBUTES(f) ((f)&~((1<<28)-1)) argument 58 #define REC_V_RECORD(f,s) (((f)&(((1<<16)-1)<<16))|(s)) argument 59 #define REC_V_HEADER(f) (((f)>>23)&((1<<5)-1)) argument 60 #define REC_V_OFFSET(f) (((f)>>19)&((1<<4)-1)) argument 61 #define REC_V_LENGTH(f) ((((f)>>18)&1)+1) argument 62 #define REC_V_LITTLE(f) (((f)>>17)&1) argument 63 #define REC_V_INCLUSIVE(f) (((f)>>16)&1) argument [all …]
|
H A D | sfio.h | 337 #define _SF_(f) (f) argument 342 #define __sf_putd(f,v) (_sfputd(_SF_(f),(Sfdouble_t)(v))) argument 343 #define __sf_putl(f,v) (_sfputl(_SF_(f),(Sflong_t)(v))) argument 344 #define __sf_putu(f,v) (_sfputu(_SF_(f),(Sfulong_t)(v))) argument 345 #define __sf_putm(f,v,m) (_sfputm(_SF_(f),(Sfulong_t)(v),(Sfulong_t)(m))) argument 347 #define __sf_putc(f,c) (_SF_(f)->_next >= _SF_(f)->_endw ? \ argument 350 #define __sf_getc(f) (_SF_(f)->_next >= _SF_(f)->_endr ? _sffilbuf(_SF_(f),0) : \ argument 358 #define __sf_fileno(f) (_SF_(f)->_file) argument 359 #define __sf_eof(f) (_SF_(f)->_flags&SF_EOF) argument 360 #define __sf_error(f) (_SF_(f)->_flags&SF_ERROR) argument [all …]
|
/titanic_53/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | fsm.c | 55 #define PROTO_NAME(f) ((f)->callbacks->proto_name) argument 78 fsm_init(f) in fsm_init() argument 96 fsm_lowerup(f) in fsm_lowerup() argument 126 fsm_lowerdown(f) in fsm_lowerdown() argument 170 fsm_open(f) in fsm_open() argument 219 fsm_close(f, reason) in fsm_close() argument 280 fsm *f = (fsm *) arg; local 331 fsm_input(f, inpacket, l) in fsm_input() argument 413 fsm_rconfreq(f, id, inp, len) in fsm_rconfreq() argument 493 fsm_rconfack(f, id, inp, len) in fsm_rconfack() argument [all …]
|
/titanic_53/usr/src/boot/lib/libstand/ |
H A D | nullfs.c | 71 int null_open (const char *path, struct open_file *f) in null_open() 76 int null_close(struct open_file *f) in null_close() 81 int null_read (struct open_file *f, void *buf, size_t size, size_t *resid) in null_read() 86 int null_write (struct open_file *f, void *buf, size_t size, size_t *resid) in null_write() 91 off_t null_seek (struct open_file *f, off_t offset, int where) in null_seek() 97 int null_stat (struct open_file *f, struct stat *sb) in null_stat() 102 int null_readdir(struct open_file *f, struct dirent *d) in null_readdir()
|
/titanic_53/usr/src/test/libc-tests/tests/stdio/ |
H A D | memstream.c | 57 FILE *f = fmemopen(buf, size, mode); in fmemopen_badopen() local 138 FILE *f = open_memstream(bufp, sizep); in open_memstream_badopen() local 202 FILE *f = open_wmemstream(bufp, sizep); in open_wmemstream_badopen() local 264 fmemopen_fill_putc(FILE *f, size_t len, boolean_t buffer) in fmemopen_fill_putc() 311 fmemopen_fill_fwrite(FILE *f, size_t len, boolean_t buffer) in fmemopen_fill_fwrite() 355 fmemopen_fill_alt_fwrite(FILE *f, size_t len, boolean_t buffer) in fmemopen_fill_alt_fwrite() 400 fmemopen_fill_fputs(FILE *f, size_t len, boolean_t buffer) in fmemopen_fill_fputs() 451 FILE *f; in fmemopen_fill_default() local 465 FILE *f; in fmemopen_fill_lbuf() local 483 FILE *f; in fmemopen_fill_nobuf() local [all …]
|
/titanic_53/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | sfstr.c | 27 #define VALID(p,f) ((p=(Sfstr_t*)f)>=&strs[0]&&p<&strs[elementsof(strs)]) argument 48 sfclose(Sfio_t* f) in sfclose() 64 sfprintf(Sfio_t* f, const char* fmt, ...) in sfprintf() 97 sfputc(Sfio_t* f, int c) in sfputc() 115 sfputr(Sfio_t* f, const char* buf, int sep) in sfputr() 142 sfstrbase(Sfio_t* f) in sfstrbase() 171 #define _sf_strseek(f,p,m) \ argument 186 sfstrseek(Sfio_t* f, int n, int w) in sfstrseek() 196 sfstrset(Sfio_t* f, int n) in sfstrset() 206 sfstrtell(Sfio_t* f) in sfstrtell() [all …]
|
/titanic_53/usr/src/lib/libexacct/common/ |
H A D | exacct_ops.c | 75 static int stack_check(ea_file_impl_t *f) in stack_check() 110 static void stack_free(ea_file_impl_t *f) in stack_free() 126 static int stack_new_group(ea_file_impl_t *f, int nobjs) in stack_new_group() 149 ea_file_impl_t *f, in stack_next_object() 197 static int stack_previous_object(ea_file_impl_t *f) in stack_previous_object() 228 fread_wrapper(ea_file_impl_t *f, void *buf, size_t sz) in fread_wrapper() 240 bufread_wrapper(ea_file_impl_t *f, void *buf, size_t sz) in bufread_wrapper() 256 fseek_wrapper(ea_file_impl_t *f, off_t adv) in fseek_wrapper() 262 bufseek_wrapper(ea_file_impl_t *f, off_t adv) in bufseek_wrapper() 278 fpos_wrapper(ea_file_impl_t *f) in fpos_wrapper() [all …]
|
/titanic_53/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfvprintf.c | 96 int sfvprintf(Sfio_t* f, const char* form, va_list args) in sfvprintf() 143 #define SMputc(f,c) { if((o = SFFLSBUF(f,c)) >= 0 ) n_output += 1; \ argument 146 #define SMnputc(f,c,n) { if((o = SFNPUTC(f,c,n)) > 0 ) n_output += 1; \ argument 149 #define SMwrite(f,s,n) { if((o = SFWRITE(f,(Void_t*)s,n)) > 0 ) n_output += o; \ argument 153 #define SFBUF(f) argument 154 #define SFINIT(f) (n_output = 0) argument 155 #define SFEND(f) argument 156 #define SFputc(f,c) SMputc(f,c) argument 157 #define SFnputc(f,c,n) SMnputc(f,c,n) argument 158 #define SFwrite(f,s,n) SMwrite(f,s,n) argument [all …]
|
/titanic_53/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp.c | 185 static fn_t f = "sbdp_get_bd_and_wnode_num"; in sbdp_get_bd_and_wnode_num() local 212 static fn_t f = "sbdp_get_board_num"; in sbdp_get_board_num() local 257 static fn_t f = "sbdp_get_unit_num"; in sbdp_get_unit_num() local 388 static fn_t f = "sbdp_update_bd_info"; in sbdp_update_bd_info() local 462 static fn_t f = "sbdp_bd_init"; in sbdp_bd_init() local 487 static fn_t f = "sbdp_bd_fini"; in sbdp_bd_fini() local 508 static fn_t f = "sbdp_wnode_init"; in sbdp_wnode_init() local 529 static fn_t f = "sbdp_wnode_fini"; in sbdp_wnode_fini() local 550 static fn_t f = "sbdp_add_new_bd_info"; in sbdp_add_new_bd_info() local 572 static fn_t f = "sbdp_cleanup_bd"; in sbdp_cleanup_bd() local [all …]
|
/titanic_53/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | host.c | 48 host_open(const char *upath, struct open_file *f) in host_open() 58 host_close(struct open_file *f) in host_close() 71 host_read(struct open_file *f, void *start, size_t size, size_t *resid) in host_read() 81 host_write(struct open_file *f, void *start, size_t size, size_t *resid) in host_write() 88 host_seek(struct open_file *f, off_t offset, int where) in host_seek() 95 host_stat(struct open_file *f, struct stat *sb) in host_stat() 111 host_readdir(struct open_file *f, struct dirent *d) in host_readdir() 154 host_dev_open(struct open_file *f, ...) in host_dev_open() 167 host_dev_close(struct open_file *f) in host_dev_close()
|
/titanic_53/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | types.sh | 148 f() function 157 f() function 163 function f function 172 f() function 206 function f function 223 function f function 279 f() function
|
/titanic_53/usr/src/tools/ctf/cvt/ |
H A D | fifo.c | 51 fifo_t *f; in fifo_new() local 60 fifo_add(fifo_t *f, void *data) in fifo_add() 77 fifo_remove(fifo_t *f) in fifo_remove() 103 fifo_free(fifo_t *f, void (*freefn)(void *)) in fifo_free() 123 fifo_len(fifo_t *f) in fifo_len() 134 fifo_empty(fifo_t *f) in fifo_empty() 140 fifo_iter(fifo_t *f, int (*iter)(void *data, void *arg), void *arg) in fifo_iter()
|
/titanic_53/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | scr_dump.c | 51 scr_dump(f) in scr_dump() argument 72 scr_replace(w, f) in scr_replace() argument 137 scr_restore(f) in scr_restore() argument 157 scr_init(f) in scr_init() argument 182 scr_set(f) in scr_set() argument
|