Lines Matching refs:fun

165 	Math_f fun;  in arith_exec()  local
210 (*ep->fun)(&ptr,&node,ASSIGN,num+1); in arith_exec()
214 (*ep->fun)(&ptr,&node,ASSIGN,num-1); in arith_exec()
219 num = (*ep->fun)(&ptr,&node,ASSIGN,num); in arith_exec()
224 num = (*ep->fun)(&ptr,&node,ASSIGN,num); in arith_exec()
250 num = (*ep->fun)(&ptr,&node,VALUE,num); in arith_exec()
296 num = (*ep->fun)(&ptr,&node,ASSIGN,num); in arith_exec()
302 r = (*ep->fun)(&ptr,&node,VALUE,num); in arith_exec()
307 num = (*ep->fun)(&ptr,&node,ASSIGN,r); in arith_exec()
430 fun = *((Math_f*)(ep->code+(int)(*sp))); in arith_exec()
437 num = sh_mathfun(shp,(void*)fun,1,arg); in arith_exec()
440 num = (*((Math_1f_f)fun))(num); in arith_exec()
444 fun = *((Math_f*)(ep->code+(int)(*sp))); in arith_exec()
446 num = (*((Math_1i_f)(uintptr_t)fun))(num); in arith_exec()
450 fun = *((Math_f*)(ep->code+(int)(*sp))); in arith_exec()
458 num = sh_mathfun(shp,(void*)fun,2,arg); in arith_exec()
462 num = (*((Math_2f_i)fun))(sp[1],(int)num); in arith_exec()
464 num = (*((Math_2f_f)fun))(sp[1],num); in arith_exec()
468 fun = *((Math_f*)(ep->code+(int)(*sp))); in arith_exec()
470 num = (*((Math_2i_f)(uintptr_t)fun))(sp[1],num); in arith_exec()
474 fun = *((Math_f*)(ep->code+(int)(*sp))); in arith_exec()
483 num = sh_mathfun(shp,(void*)fun,3,arg); in arith_exec()
486 num = (*((Math_3f_f)fun))(sp[1],sp[2],num); in arith_exec()
588 lvalue.fun = 0; in expr()
718 Sfdouble_t (*fun)(Sfdouble_t,...); in expr() local
722 fun = lvalue.fun; in expr()
723 lvalue.fun = 0; in expr()
724 if(fun) in expr()
734 stakpush(vp,fun,Math_f); in expr()
745 if(fun) in expr()
886 if(lvalue.fun) in expr()
907 Arith_t *arith_compile(Shell_t *shp,const char *string,char **last,Sfdouble_t(*fun)(const char**,st… in arith_compile()
915 cur.convert = fun; in arith_compile()
924 if((*fun)( &string , &cur.errmsg, MESSAGE, 0) < 0) in arith_compile()
939 ep->fun = fun; in arith_compile()