/freebsd/stand/ficl/ |
H A D | ficl.h | 228 typedef struct vm FICL_VM; typedef 443 typedef void (*OUTFUNC)(FICL_VM *pVM, char *text, int fNewline); 477 FICL_VM *link; /* Ficl keeps a VM list for simple teardown */ 510 typedef void (*FICL_CODE)(FICL_VM *pVm); 571 void vmBranchRelative(FICL_VM *pVM, int offset); 572 FICL_VM * vmCreate (FICL_VM *pVM, unsigned nPStack, unsigned nRStack); 573 void vmDelete (FICL_VM *pVM); 574 void vmExecute (FICL_VM *pVM, FICL_WORD *pWord); 575 FICL_DICT *vmGetDict (FICL_VM *pVM); 576 char * vmGetString (FICL_VM *pVM, FICL_STRING *spDest, char delimiter); [all …]
|
H A D | float.c | 58 static void Fadd(FICL_VM *pVM) in Fadd() 75 static void Fsub(FICL_VM *pVM) in Fsub() 92 static void Fmul(FICL_VM *pVM) in Fmul() 109 static void Fnegate(FICL_VM *pVM) in Fnegate() 125 static void Fdiv(FICL_VM *pVM) in Fdiv() 142 static void Faddi(FICL_VM *pVM) in Faddi() 160 static void Fsubi(FICL_VM *pVM) in Fsubi() 178 static void Fmuli(FICL_VM *pVM) in Fmuli() 196 static void Fdivi(FICL_VM *pVM) in Fdivi() 214 static void isubf(FICL_VM *pVM) in isubf() [all …]
|
H A D | words.c | 57 static void colonParen(FICL_VM *pVM); 58 static void literalIm(FICL_VM *pVM); 59 static int ficlParseWord(FICL_VM *pVM, STRINGINFO si); 78 static void doLocalIm(FICL_VM *pVM); 79 static void do2LocalIm(FICL_VM *pVM); 89 static void markBranch(FICL_DICT *dp, FICL_VM *pVM, char *tag) in markBranch() 96 static void markControlTag(FICL_VM *pVM, char *tag) in markControlTag() 102 static void matchControlTag(FICL_VM *pVM, char *tag) in matchControlTag() 125 static void resolveBackBranch(FICL_DICT *dp, FICL_VM *pVM, char *tag) in resolveBackBranch() 148 static void resolveForwardBranch(FICL_DICT *dp, FICL_VM *pVM, char *tag) in resolveForwardBranch() [all …]
|
H A D | vm.c | 69 void vmBranchRelative(FICL_VM *pVM, int offset) in vmBranchRelative() 82 FICL_VM *vmCreate(FICL_VM *pVM, unsigned nPStack, unsigned nRStack) in vmCreate() 86 pVM = (FICL_VM *)ficlMalloc(sizeof (FICL_VM)); in vmCreate() 88 memset(pVM, 0, sizeof (FICL_VM)); in vmCreate() 117 void vmDelete (FICL_VM *pVM) in vmDelete() 140 void vmExecute(FICL_VM *pVM, FICL_WORD *pWord) in vmExecute() 160 void vmInnerLoop(FICL_VM *pVM) in vmInnerLoop() 195 void vmInnerLoop(FICL_VM *pVM) 253 FICL_DICT *vmGetDict(FICL_VM *pVM) in vmGetDict() 268 char *vmGetString(FICL_VM *pVM, FICL_STRING *spDest, char delimiter) in vmGetString() [all …]
|
H A D | loader.c | 67 ficlSetenv(FICL_VM *pVM) in ficlSetenv() 104 ficlSetenvq(FICL_VM *pVM) in ficlSetenvq() 142 ficlGetenv(FICL_VM *pVM) in ficlGetenv() 177 ficlUnsetenv(FICL_VM *pVM) in ficlUnsetenv() 206 ficlCopyin(FICL_VM *pVM) in ficlCopyin() 228 ficlCopyout(FICL_VM *pVM) in ficlCopyout() 250 ficlFindfile(FICL_VM *pVM) in ficlFindfile() 296 ficlIsvirtualizedQ(FICL_VM *pVM) in ficlIsvirtualizedQ() 315 ficlCcall(FICL_VM *pVM) in ficlCcall() 344 ficlUuidFromString(FICL_VM *pVM) in ficlUuidFromString() [all …]
|
H A D | search.c | 57 static void definitions(FICL_VM *pVM) in definitions() 79 static void forthWordlist(FICL_VM *pVM) in forthWordlist() 92 static void getCurrent(FICL_VM *pVM) in getCurrent() 109 static void getOrder(FICL_VM *pVM) in getOrder() 135 static void searchWordlist(FICL_VM *pVM) in searchWordlist() 169 static void setCurrent(FICL_VM *pVM) in setCurrent() 191 static void setOrder(FICL_VM *pVM) in setOrder() 237 static void ficlWordlist(FICL_VM *pVM) in ficlWordlist() 258 static void searchPop(FICL_VM *pVM) in searchPop() 280 static void searchPush(FICL_VM *pVM) in searchPush() [all …]
|
H A D | fileaccess.c | 19 static void pushIor(FICL_VM *pVM, int success) in pushIor() 31 static void ficlFopen(FICL_VM *pVM, char *writeMode) /* ( c-addr u fam -- fileid ior ) */ in ficlFopen() 89 static void ficlOpenFile(FICL_VM *pVM) /* ( c-addr u fam -- fileid ior ) */ in ficlOpenFile() 95 static void ficlCreateFile(FICL_VM *pVM) /* ( c-addr u fam -- fileid ior ) */ in ficlCreateFile() 108 static void ficlCloseFile(FICL_VM *pVM) /* ( fileid -- ior ) */ in ficlCloseFile() 114 static void ficlDeleteFile(FICL_VM *pVM) /* ( c-addr u -- ior ) */ in ficlDeleteFile() 126 static void ficlRenameFile(FICL_VM *pVM) /* ( c-addr1 u1 c-addr2 u2 -- ior ) */ in ficlRenameFile() 149 static void ficlFileStatus(FICL_VM *pVM) /* ( c-addr u -- x ior ) */ in ficlFileStatus() 178 static void ficlFilePosition(FICL_VM *pVM) /* ( fileid -- ud ior ) */ in ficlFilePosition() 199 static void ficlFileSize(FICL_VM *pVM) /* ( fileid -- ud ior ) */ in ficlFileSize() [all …]
|
H A D | testmain.c | 56 static void ficlGetCWD(FICL_VM *pVM) in ficlGetCWD() 73 static void ficlChDir(FICL_VM *pVM) in ficlChDir() 101 static void ficlSystem(FICL_VM *pVM) in ficlSystem() 131 static void ficlLoad(FICL_VM *pVM) in ficlLoad() 212 static void spewHash(FICL_VM *pVM) in spewHash() 257 static void ficlBreak(FICL_VM *pVM) in ficlBreak() 263 static void ficlClock(FICL_VM *pVM) in ficlClock() 270 static void clocksPerSec(FICL_VM *pVM) in clocksPerSec() 277 static void execxt(FICL_VM *pVM) in execxt() 311 FICL_VM *pVM; in main()
|
H A D | tools.c | 84 static void vmSetBreak(FICL_VM *pVM, FICL_BREAKPOINT *pBP) in vmSetBreak() 98 static void debugPrompt(FICL_VM *pVM) in debugPrompt() 153 static FICL_WORD *findEnclosingWord(FICL_VM *pVM, CELL *cp) in findEnclosingWord() 186 static void seeColon(FICL_VM *pVM, CELL *pc) in seeColon() 301 static void seeXT(FICL_VM *pVM) in seeXT() 365 static void see(FICL_VM *pVM) in see() 381 void ficlDebugXT(FICL_VM *pVM) in ficlDebugXT() 415 void stepIn(FICL_VM *pVM) in stepIn() 440 void stepOver(FICL_VM *pVM) in stepOver() 488 void stepBreak(FICL_VM *pVM) in stepBreak() [all …]
|
H A D | prefix.c | 72 int ficlParsePrefix(FICL_VM *pVM, STRINGINFO si) in ficlParsePrefix() 116 static void tempBase(FICL_VM *pVM, int base) in tempBase() 132 static void fTempBase(FICL_VM *pVM) in fTempBase() 139 static void prefixHex(FICL_VM *pVM) in prefixHex() 144 static void prefixTen(FICL_VM *pVM) in prefixTen()
|
H A D | ficl.c | 227 void ficlListParseSteps(FICL_VM *pVM) in ficlListParseSteps() 253 FICL_VM *ficlNewVM(FICL_SYSTEM *pSys) in ficlNewVM() 255 FICL_VM *pVM = vmCreate(NULL, defaultStack, defaultStack); in ficlNewVM() 273 void ficlFreeVM(FICL_VM *pVM) in ficlFreeVM() 276 FICL_VM *pList = pSys->vmList; in ficlFreeVM() 333 int ficlEvaluate(FICL_VM *pVM, char *pText) in ficlEvaluate() 362 int ficlExec(FICL_VM *pVM, char *pText) in ficlExec() 367 int ficlExecC(FICL_VM *pVM, char *pText, FICL_INT size) in ficlExecC() 476 int ficlExecXT(FICL_VM *pVM, FICL_WORD *pWord) in ficlExecXT() 674 FICL_VM *pVM = pSys->vmList; in ficlTermSystem()
|
H A D | gfx_loader.c | 61 ficl_term_putimage(FICL_VM *pVM) in ficl_term_putimage() 112 ficl_fb_putimage(FICL_VM *pVM) in ficl_fb_putimage() 151 ficl_fb_setpixel(FICL_VM *pVM) in ficl_fb_setpixel() 165 ficl_fb_line(FICL_VM *pVM) in ficl_fb_line() 182 ficl_fb_bezier(FICL_VM *pVM) in ficl_fb_bezier() 201 ficl_fb_drawrect(FICL_VM *pVM) in ficl_fb_drawrect() 218 ficl_term_drawrect(FICL_VM *pVM) in ficl_term_drawrect()
|
H A D | stack.c | 72 void vmCheckStack(FICL_VM *pVM, int popCells, int pushCells) in vmCheckStack() 91 void vmCheckFStack(FICL_VM *pVM, int popCells, int pushCells) in vmCheckFStack()
|
H A D | dict.c | 308 void dictCheck(FICL_DICT *pDict, FICL_VM *pVM, int n) in dictCheck() 475 void dictHashSummary(FICL_VM *pVM) in dictHashSummary()
|
/freebsd/stand/ficl/x86/ |
H A D | sysdep.c | 10 ficlOutb(FICL_VM *pVM) in ficlOutb() 25 ficlInb(FICL_VM *pVM) in ficlInb()
|
/freebsd/stand/common/ |
H A D | interp_forth.c | 62 FICL_VM *bf_vm; 69 bf_command(FICL_VM *vm) in bf_command()
|
/freebsd/stand/ficl/amd64/ |
H A D | sysdep.c | 54 void ficlTextOut(FICL_VM *pVM, char *msg, int fNewline) in ficlTextOut()
|
/freebsd/stand/ficl/arm/ |
H A D | sysdep.c | 52 void ficlTextOut(FICL_VM *pVM, char *msg, int fNewline) in ficlTextOut()
|
/freebsd/stand/ficl/i386/ |
H A D | sysdep.c | 54 void ficlTextOut(FICL_VM *pVM, char *msg, int fNewline) in ficlTextOut()
|
/freebsd/stand/ficl/powerpc/ |
H A D | sysdep.c | 52 void ficlTextOut(FICL_VM *pVM, char *msg, int fNewline) in ficlTextOut()
|
/freebsd/stand/ficl/aarch64/ |
H A D | sysdep.c | 52 void ficlTextOut(FICL_VM *pVM, char *msg, int fNewline) in ficlTextOut()
|
/freebsd/stand/ficl/riscv/ |
H A D | sysdep.c | 52 void ficlTextOut(FICL_VM *pVM, char *msg, int fNewline) in ficlTextOut()
|