Lines Matching refs:interp

61   Tcl_Interp *interp,    /* The TCL interpreter that invoked this command */
69 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
75 Tcl_AppendResult(interp, errorName(rc), 0);
82 Tcl_AppendResult(interp, zBuf, 0);
93 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
100 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
104 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
107 Tcl_AppendResult(interp, errorName(rc), 0);
120 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
127 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
131 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
134 Tcl_AppendResult(interp, errorName(rc), 0);
147 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
154 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
158 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
161 Tcl_AppendResult(interp, errorName(rc), 0);
174 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
181 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
185 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
188 Tcl_AppendResult(interp, errorName(rc), 0);
201 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
209 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
213 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
216 Tcl_AppendResult(interp, errorName(rc), 0);
220 Tcl_AppendResult(interp, zBuf, 0);
231 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
239 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
243 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
244 if( Tcl_GetInt(interp, argv[2], &iTable) ) return TCL_ERROR;
247 Tcl_AppendResult(interp, errorName(rc), 0);
260 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
268 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
272 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
273 if( Tcl_GetInt(interp, argv[2], &iTable) ) return TCL_ERROR;
276 Tcl_AppendResult(interp, errorName(rc), 0);
289 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
298 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
302 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
305 Tcl_AppendResult(interp, errorName(rc), 0);
311 Tcl_AppendElement(interp, zBuf);
323 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
335 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
339 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
341 if( Tcl_GetInt(interp, argv[i+2], &aMeta[i]) ) return TCL_ERROR;
345 Tcl_AppendResult(interp, errorName(rc), 0);
358 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
367 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
371 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
372 if( Tcl_GetInt(interp, argv[2], &iPage) ) return TCL_ERROR;
375 Tcl_AppendResult(interp, errorName(rc), 0);
388 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
397 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
401 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
402 if( Tcl_GetInt(interp, argv[2], &iPage) ) return TCL_ERROR;
405 Tcl_AppendResult(interp, errorName(rc), 0);
418 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
427 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
431 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
439 Tcl_AppendElement(interp, zName[i]);
441 Tcl_AppendElement(interp, zBuf);
453 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
460 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
464 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
478 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
489 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
493 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
497 if( Tcl_GetInt(interp, argv[i+2], &aRoot[i]) ) return TCL_ERROR;
501 Tcl_AppendResult(interp, zResult, 0);
514 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
526 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
530 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR;
531 if( Tcl_GetInt(interp, argv[2], &iTable) ) return TCL_ERROR;
532 if( Tcl_GetBoolean(interp, argv[3], &wrFlag) ) return TCL_ERROR;
535 Tcl_AppendResult(interp, errorName(rc), 0);
539 Tcl_AppendResult(interp, zBuf, 0);
550 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
558 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
562 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
565 Tcl_AppendResult(interp, errorName(rc), 0);
578 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
588 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
592 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
595 Tcl_AppendResult(interp, errorName(rc), 0);
601 Tcl_AppendResult(interp, zBuf, 0);
612 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
620 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
624 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
627 Tcl_AppendResult(interp, errorName(rc), 0);
641 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
649 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
653 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
657 Tcl_AppendResult(interp, errorName(rc), 0);
672 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
682 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
686 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
689 Tcl_AppendResult(interp, errorName(rc), 0);
693 Tcl_AppendResult(interp, zBuf, 0);
706 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
716 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
720 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
723 Tcl_AppendResult(interp, errorName(rc), 0);
727 Tcl_AppendResult(interp, zBuf, 0);
739 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
749 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
753 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
756 Tcl_AppendResult(interp, errorName(rc), 0);
760 Tcl_AppendResult(interp, zBuf, 0);
772 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
782 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
786 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
789 Tcl_AppendResult(interp, errorName(rc), 0);
793 Tcl_AppendResult(interp, zBuf, 0);
804 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
814 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
818 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
826 Tcl_AppendResult(interp, zMsg, 0);
830 Tcl_AppendResult(interp, zBuf, 0);
842 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
852 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
856 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
864 Tcl_AppendResult(interp, zMsg, 0);
868 Tcl_AppendResult(interp, zBuf, 0);
880 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
889 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
893 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
897 Tcl_AppendResult(interp, zBuf, 0);
918 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
929 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
933 if( Tcl_GetInt(interp, argv[1], (int*)&pCur) ) return TCL_ERROR;
936 Tcl_AppendResult(interp, errorName(rc), 0);
944 Tcl_AppendResult(interp, &zBuf[1], 0);
951 int Sqlitetest3_Init(Tcl_Interp *interp){
988 Tcl_CreateCommand(interp, aCmd[i].zName, aCmd[i].xProc, 0, 0);
990 Tcl_LinkVar(interp, "pager_refinfo_enable", (char*)&pager_refinfo_enable,
992 Tcl_LinkVar(interp, "btree_native_byte_order",(char*)&btree_native_byte_order,