| /illumos-gate/usr/src/uts/intel/sys/acpi/ | 
| H A D | actbinfo.h | 155 #define ACPI_FACS_OFFSET(f)             (UINT16) ACPI_OFFSET (ACPI_TABLE_FACS,f)  argument156 #define ACPI_GAS_OFFSET(f)              (UINT16) ACPI_OFFSET (ACPI_GENERIC_ADDRESS,f)  argument
 157 #define ACPI_HDR_OFFSET(f)              (UINT16) ACPI_OFFSET (ACPI_TABLE_HEADER,f)  argument
 158 #define ACPI_RSDP_OFFSET(f)             (UINT16) ACPI_OFFSET (ACPI_TABLE_RSDP,f)  argument
 159 #define ACPI_BERT_OFFSET(f)             (UINT16) ACPI_OFFSET (ACPI_TABLE_BERT,f)  argument
 160 #define ACPI_BGRT_OFFSET(f)             (UINT16) ACPI_OFFSET (ACPI_TABLE_BGRT,f)  argument
 161 #define ACPI_BOOT_OFFSET(f)             (UINT16) ACPI_OFFSET (ACPI_TABLE_BOOT,f)  argument
 162 #define ACPI_CPEP_OFFSET(f)             (UINT16) ACPI_OFFSET (ACPI_TABLE_CPEP,f)  argument
 163 #define ACPI_DBG2_OFFSET(f)             (UINT16) ACPI_OFFSET (ACPI_TABLE_DBG2,f)  argument
 164 #define ACPI_DBGP_OFFSET(f)             (UINT16) ACPI_OFFSET (ACPI_TABLE_DBGP,f)  argument
 [all …]
 
 | 
| /illumos-gate/usr/src/lib/libeti/form/inc/ | 
| H A D | utility.h | 66 #define	Status(f, s)		((f) -> status & (s))  argument67 #define	Set(f, s)		((f) -> status |= (s))  argument
 68 #define	Clr(f, s)		((f) -> status &= ~(s))  argument
 70 #define	Opt(f, x)		((f) -> opts & (x))  argument
 77 #define	MakeArg(f, p, err)	(_makearg((f) -> type, p, err))  argument
 78 #define	CopyArg(f, err)		(_copyarg((f) -> type, (f) -> arg, err))  argument
 79 #define	FreeArg(f)		(_freearg((f) -> type, (f) -> arg))  argument
 80 #define	CheckField(f)		(_checkfield((f) -> type, (f), (f) -> arg))  argument
 81 #define	CheckChar(f, c)		(_checkchar((f) -> type, (c), (f) -> arg))  argument
 82 #define	NextChoice(f)		(_nextchoice((f) -> type, (f), (f) -> arg))  argument
 [all …]
 
 | 
| /illumos-gate/usr/src/lib/libeti/form/common/ | 
| H A D | chg_field.c | 36 #define	first(f)	(f->field [Pmin(f, P(f))])  argument37 #define	last(f)		(f->field [Pmax(f, P(f))])  argument
 38 #define	sfirst(f)	(f->field [Smin(f, P(f))])  argument
 39 #define	slast(f)	(f->field [Smax(f, P(f))])  argument
 41 #define	Active(f)	(Opt(f, O_ACTIVE) && Opt(f, O_VISIBLE))  argument
 45 next(FIELD *f)  in next()
 62 prev(FIELD *f)  in prev()
 79 snext(FIELD *f)  in snext()
 93 sprev(FIELD *f)  in sprev()
 107 left(FIELD *f)  in left()
 [all …]
 
 | 
| H A D | chg_char.c | 36 #define	SizePrev(f, v)	((v) - Buf(f))		/* from beginning to v	*/  argument37 #define	SizeNext(f, v)	(BufSize(f) - SizePrev(f, v))  argument
 44 _next_char(FORM *f)  in _next_char()
 62 _prev_char(FORM *f)  in _prev_char()
 77 _next_line(FORM *f)  in _next_line()
 89 _prev_line(FORM *f)  in _prev_line()
 101 _next_word(FORM *f)  in _next_word()
 141 _prev_word(FORM *f)  in _prev_word()
 161 _beg_field(FORM *f)  in _beg_field()
 172 _end_field(FORM *f)  in _end_field()
 [all …]
 
 | 
| H A D | chg_data.c | 37 #define	AT_BOTTOM(f)	(Y(f) == Ymax(f) - 1)		/* last line	*/  argument38 #define	AT_END(f)	(Y(f) == Ymax(f) - 1 && X(f) == Xmax(f) - 1)  argument
 40 #define	AT_BEGINNING(f)	(Y(f) == 0 && X(f) == 0)	/* first char	*/  argument
 43 room_for_line(FORM *f)  in room_for_line()
 53 room_for_char(FORM *f)  in room_for_char()
 82 	FORM		*f = c->form;  in _grow_field()  local
 172 insert_str(FORM *f, int y, int off, int nstr)	/* used for word wrapping */  in insert_str()
 218 wrap_ok(FORM *f)		/* used for word wrapping */  in wrap_ok()
 273 _new_line(FORM *f)  in _new_line()
 355 _ins_char(FORM *f)  in _ins_char()
 [all …]
 
 | 
| H A D | utility.c | 36 #define	Scrollable(f)		((f)->drows > (f)->rows || \  argument38 #define	Connected(f)		((f) -> form != (FORM *) 0)  argument
 39 #define	OnPage(f)		((f) -> page == P((f) -> form))  argument
 40 #define	Posted(f)		(Status((f) -> form, POSTED))  argument
 41 #define	Visible(f)		(Opt(f, O_VISIBLE) && OnPage(f))  argument
 42 #define	isCurrent(f)		((f) == C((f) -> form))  argument
 43 #define	Justified(f)		(Just(f) != NO_JUSTIFICATION && \  argument
 91 _adjust_cursor(FORM *f, char *v)  in _adjust_cursor()
 107 _buf_to_win(FIELD *f, WINDOW *w)  in _buf_to_win()
 125 _win_to_buf(WINDOW *w, FIELD *f)  in _win_to_buf()
 [all …]
 
 | 
| H A D | field.c | 90 MakeType(FIELD *f, va_list *ap)  in MakeType()111 CopyType(FIELD *f, FIELD *fsrc)  in CopyType()
 133 FreeType(FIELD *f)  in FreeType()
 153 	FIELD *f = (FIELD *) 0;  in new_field()  local
 197 	FIELD *f = (FIELD *) 0;  in dup_field()  local
 246 	FIELD *f = (FIELD *) 0;  in link_field()  local
 285 free_field(FIELD *f)  in free_field()
 312 field_info(FIELD *f, int *rows, int *cols, int *frow, int *fcol,  in field_info()
 340 set_max_field(FIELD *f, int max)  in set_max_field()
 369 dynamic_field_info(FIELD *f, int *drows, int *dcols, int *max)  in dynamic_field_info()
 [all …]
 
 | 
| H A D | chg_page.c | 36 #define	first(f)	(0)  argument37 #define	last(f)		(f->maxpage - 1)  argument
 41 next(FORM *f)  in next()
 52 prev(FORM *f)  in prev()
 62 _next_page(FORM *f)  in _next_page()
 68 _prev_page(FORM *f)  in _prev_page()
 74 _first_page(FORM *f)  in _first_page()
 80 _last_page(FORM *f)  in _last_page()
 
 | 
| H A D | post.c | 37 post_form(FORM *f)  in post_form()68 unpost_form(FORM *f)  in unpost_form()
 90 pos_form_cursor(FORM *f)  in pos_form_cursor()
 102 set_current_field(FORM *f, FIELD *c)  in set_current_field()
 141 current_field(FORM *f)  in current_field()
 147 field_index(FIELD *f)  in field_index()
 156 set_form_page(FORM *f, int page)  in set_form_page()
 191 form_page(FORM *f)  in form_page()
 
 | 
| H A D | form.c | 75 insert(FIELD *f, FIELD *head)  in insert()111 sort_form(FORM *f)  in sort_form()
 138 merge(FIELD *f, FORM *form) /* adjust form dimensions to include field f */  in merge()
 153 	FIELD **f = form->field;  in disconnect_fields()  local
 171 connect_fields(FORM *f, FIELD **x)  in connect_fields()
 224 	FORM *f;  in new_form()  local
 245 free_form(FORM *f)  in free_form()
 260 set_form_fields(FORM *f, FIELD **fields)  in set_form_fields()
 288 form_fields(FORM *f)  in form_fields()
 294 field_count(FORM *f)  in field_count()
 [all …]
 
 | 
| H A D | driver.c | 44 #define	CALL(x, f)	(x.class ? (*x.class) (x.act, f) : E_SYSTEM_ERROR)  argument119 _page_navigation(PTF_int act, FORM *f)  in _page_navigation()
 137 _field_navigation(PTF_int act, FORM *f)  in _field_navigation()
 153 _data_navigation(PTF_int act, FORM *f)  in _data_navigation()
 160 _data_manipulation(PTF_int act, FORM *f)  in _data_manipulation()
 172 _misc_request(PTF_int act, FORM *f)  in _misc_request()
 178 form_driver(FORM *f, int c)  in form_driver()
 
 | 
| /illumos-gate/usr/src/test/util-tests/tests/awk/tests/ | 
| H A D | T.errmsg | 52 function f(i,j,i) { return i }  function88 function f(){}; {split($0, x, f)}  function
 91 function f(){}; {f = split($0, x)}  function
 97 function f(){}; {split($0, f)}  function
 99 function f called with 1 args, uses only 0  function
 101 function f() { print "x" }  function
 103 can.t use function f as argument in f  function
 105 function f() { print "x" }  function
 130 BEGIN { f() }  function
 131 function f() { next }  function
 [all …]
 
 | 
| H A D | T.misc | 189 function f() { return 12345 }  function190 BEGIN { printf "<%s>\n", f() }  function
 286 function f(A) { delete A[1] }  function
 334 	{ if (f() == 1) exit }  function
 343 	{ if (f() == 1) exit }  function
 356 	{ if (f() == 1) exit }  function
 
 | 
| /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ | 
| H A D | fsm.c | 48 #define PROTO_NAME(f)	((f)->callbacks->proto_name)  argument71 fsm_init(f)  in fsm_init()  argument
 89 fsm_lowerup(f)  in fsm_lowerup()  argument
 119 fsm_lowerdown(f)  in fsm_lowerdown()  argument
 163 fsm_open(f)  in fsm_open()  argument
 212 fsm_close(f, reason)  in fsm_close()  argument
 273     fsm *f = (fsm *) arg;  local
 324 fsm_input(f, inpacket, l)  in fsm_input()  argument
 406 fsm_rconfreq(f, id, inp, len)  in fsm_rconfreq()  argument
 486 fsm_rconfack(f, id, inp, len)  in fsm_rconfack()  argument
 [all …]
 
 | 
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ | 
| H A D | recfmt.h | 46 #define RECTYPE(f)		(((f)>>28)&((1<<4)-1))  argument49 #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)  argument342 #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 …]
 
 | 
| /illumos-gate/usr/src/cmd/ast/libshell/common/ | 
| H A D | illumos_cmdlist.h | 45 #define	BINCMDLIST(f)	\  argument47 #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
 
 | 
| /illumos-gate/usr/src/test/libc-tests/tests/stdio/ | 
| H A D | memstream.c | 57 	FILE *f = fmemopen(buf, size, mode);  in fmemopen_badopen()  local138 	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 …]
 
 | 
| /illumos-gate/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)])  argument48 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 …]
 
 | 
| /illumos-gate/usr/src/lib/libexacct/common/ | 
| H A D | exacct_ops.c | 73 static int stack_check(ea_file_impl_t *f)  in stack_check()108 static void stack_free(ea_file_impl_t *f)  in stack_free()
 124 static int stack_new_group(ea_file_impl_t *f, int nobjs)  in stack_new_group()
 147     ea_file_impl_t *f,  in stack_next_object()
 195 static int stack_previous_object(ea_file_impl_t *f)  in stack_previous_object()
 226 fread_wrapper(ea_file_impl_t *f, void *buf, size_t sz)  in fread_wrapper()
 238 bufread_wrapper(ea_file_impl_t *f, void *buf, size_t sz)  in bufread_wrapper()
 254 fseek_wrapper(ea_file_impl_t *f, off_t adv)  in fseek_wrapper()
 260 bufseek_wrapper(ea_file_impl_t *f, off_t adv)  in bufseek_wrapper()
 276 fpos_wrapper(ea_file_impl_t *f)  in fpos_wrapper()
 [all …]
 
 | 
| /illumos-gate/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 …]
 
 | 
| /illumos-gate/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()  local212 	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 …]
 
 | 
| /illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ | 
| H A D | types.sh | 148 		f()  function157 		f()  function
 163 		function f  function
 172 		f()  function
 206 	 function f  function
 223 	function f  function
 279 	 	f()  function
 
 | 
| /illumos-gate/usr/src/tools/smatch/src/validation/ | 
| H A D | function-pointer-type.c | 3 void fa(void) { int (*f)(void); f = &fun; }  in fa()  local4 void f0(void) { int (*f)(void); f = fun; }	// C99,C11 6.3.2.1p4  in f0()  local
 5 void f1(void) { int (*f)(void); f = *fun; }	// C99,C11 6.5.3.2p4  in f1()  local
 6 void f2(void) { int (*f)(void); f = **fun; }	// C99,C11 6.5.3.2p4  in f2()  local
 7 void f3(void) { int (*f)(void); f = ***fun; }	// C99,C11 6.5.3.2p4  in f3()  local
 
 | 
| /illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ | 
| H A D | service.c | 156 		papi_status_t (*f)();  in service_send_peer()  local183 		papi_status_t (*f)();  in service_connect()  local
 267 				void (*f)();  in papiServiceDestroy()  local
 313 		papi_status_t (*f)();  in papiServiceSetUserName()  local
 335 		papi_status_t (*f)();  in papiServiceSetPassword()  local
 357 		papi_status_t (*f)();  in papiServiceSetEncryption()  local
 378 		papi_status_t (*f)();  in papiServiceSetAuthCB()  local
 398 		papi_status_t (*f)();  in papiServiceSetAppData()  local
 414 		char *(*f)();  in papiServiceGetServiceName()  local
 433 		char *(*f)();  in papiServiceGetUserName()  local
 [all …]
 
 |