Searched refs:PROC_ARG_BIT (Results 1 - 1 of 1) sorted by relevance

/macosx-10.10/ksh-23/ksh/src/lib/libast/include/
H A Dproc.h53 #define PROC_ARG_BIT 14 /* bits per op arg */ macro
56 #define PROC_ARG_NULL ((1<<PROC_ARG_BIT)-1)
70 #define PROC_op1(o,a) (((o)<<(2*PROC_ARG_BIT))|((a)&((PROC_ARG_NULL<<PROC_ARG_BIT)|PROC_ARG_NULL)))
71 #define PROC_op2(o,a,b) (((o)<<(2*PROC_ARG_BIT))|(((b)&PROC_ARG_NULL)<<PROC_ARG_BIT)|((a)&PROC_ARG_NULL))
81 #define PROC_OP(x) (((x)>>(2*PROC_ARG_BIT))&((1<<PROC_OP_BIT)-1))
82 #define PROC_ARG(x,n) ((n)?(((x)>>(((n)-1)*PROC_ARG_BIT))&PROC_ARG_NULL):(((x)&~((1<<(2*PROC_ARG_BIT))-1))==~((1<<(2*PROC_ARG_BIT))
[all...]

Completed in 77 milliseconds