tclCmdMZ.c File Reference#include "tclInt.h"
#include "tclRegexp.h"
Go to the source code of this file.
|
Functions |
int | Tcl_PwdObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_RegexpObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_RegsubObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_RenameObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_ReturnObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_SourceObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_SplitObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
Tcl_Command | TclInitStringCmd (Tcl_Interp *interp) |
int | Tcl_SubstObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_SwitchObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_TimeObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_WhileObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
void | TclListLines (CONST char *listStr, int line, int n, int *lines) |
Function Documentation
int Tcl_PwdObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_RegexpObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 84 of file tclCmdMZ.c.
References CONST, Tcl_RegExpIndices::end, Tcl_RegExpInfo::matches, Tcl_RegExpInfo::nsubs, Tcl_RegExpIndices::start, Tcl_AppendResult(), Tcl_DecrRefCount, TCL_ERROR, TCL_EXACT, Tcl_GetCharLength(), Tcl_GetIndexFromObj(), Tcl_GetRange(), Tcl_GetRegExpFromObj(), Tcl_GetUniChar(), Tcl_IncrRefCount, Tcl_ListObjAppendElement(), Tcl_NewIntObj(), Tcl_NewListObj(), Tcl_NewLongObj(), Tcl_NewObj(), Tcl_ObjSetVar2(), TCL_OK, TCL_REG_ADVANCED, TCL_REG_EXPANDED, TCL_REG_NEWLINE, TCL_REG_NLANCH, TCL_REG_NLSTOP, TCL_REG_NOCASE, TCL_REG_NOTBOL, Tcl_RegExpExecObj(), Tcl_RegExpGetInfo(), Tcl_SetObjResult(), Tcl_WrongNumArgs(), TclGetIntForIndexM, TclGetString, and TclRegAbout().
int Tcl_RegsubObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 434 of file tclCmdMZ.c.
References CONST, Tcl_RegExpIndices::end, Tcl_RegExpInfo::matches, Tcl_RegExpInfo::nsubs, Tcl_RegExpIndices::start, Tcl_AppendResult(), Tcl_AppendUnicodeToObj(), Tcl_DecrRefCount, Tcl_DuplicateObj(), TCL_ERROR, TCL_EXACT, Tcl_GetCharLength(), Tcl_GetIndexFromObj(), Tcl_GetRegExpFromObj(), Tcl_GetUnicodeFromObj(), Tcl_IncrRefCount, Tcl_NewIntObj(), Tcl_NewUnicodeObj(), Tcl_ObjSetVar2(), TCL_OK, TCL_REG_ADVANCED, TCL_REG_EXPANDED, TCL_REG_NEWLINE, TCL_REG_NLANCH, TCL_REG_NLSTOP, TCL_REG_NOCASE, TCL_REG_NOTBOL, Tcl_RegExpExecObj(), Tcl_RegExpGetInfo(), Tcl_SetObjResult(), Tcl_UniCharNcasecmp(), Tcl_UniCharNcmp(), Tcl_UniCharToLower(), Tcl_WrongNumArgs(), TclGetIntForIndexM, and TclGetString.
int Tcl_RenameObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_ReturnObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_SourceObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_SplitObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 976 of file tclCmdMZ.c.
References Tcl_CreateHashEntry, Tcl_DeleteHashTable(), TCL_ERROR, Tcl_GetHashValue, Tcl_InitHashTable(), Tcl_ListObjAppendElement(), Tcl_NewObj(), Tcl_NewStringObj(), TCL_OK, TCL_ONE_WORD_KEYS, Tcl_SetHashValue, Tcl_SetObjResult(), Tcl_WrongNumArgs(), TclGetStringFromObj, TclNewStringObj, and TclUtfToUniChar.
int Tcl_SubstObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 3351 of file tclCmdMZ.c.
References CONST, TCL_ERROR, Tcl_GetIndexFromObj(), TCL_OK, Tcl_Panic(), Tcl_SetObjResult(), TCL_SUBST_ALL, TCL_SUBST_BACKSLASHES, TCL_SUBST_COMMANDS, TCL_SUBST_VARIABLES, Tcl_SubstObj(), and Tcl_WrongNumArgs().
int Tcl_SwitchObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 3429 of file tclCmdMZ.c.
References ckalloc, ckfree, Interp::cmdFramePtr, CONST, CmdFrame::data, Tcl_RegExpIndices::end, Tcl_Interp::errorLine, CmdFrame::eval, iPtr, CmdFrame::line, Tcl_RegExpInfo::matches, CmdFrame::nline, Tcl_RegExpInfo::nsubs, Tcl_RegExpIndices::start, Tcl_AppendObjToErrorInfo(), Tcl_AppendResult(), Tcl_DecrRefCount, TCL_ERROR, Tcl_GetIndexFromObj(), Tcl_GetRange(), Tcl_GetRegExpFromObj(), TCL_LEAVE_ERR_MSG, Tcl_ListObjAppendElement(), TCL_LOCATION_BC, TCL_LOCATION_SOURCE, Tcl_NewListObj(), Tcl_NewLongObj(), Tcl_ObjPrintf(), Tcl_ObjSetVar2(), TCL_OK, Tcl_Panic(), TCL_REG_ADVANCED, TCL_REG_NOCASE, Tcl_RegExpExecObj(), Tcl_RegExpGetInfo(), Tcl_ResetResult(), Tcl_StringCaseMatch(), Tcl_WrongNumArgs(), TclEvalObjEx(), TclGetSrcInfoForPc(), TclGetString, TclGetStringFromObj, TclListLines(), TclListObjGetElements, TclNewObj, TclStackAlloc(), TclStackFree(), and CmdFrame::type.
int Tcl_TimeObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 3909 of file tclCmdMZ.c.
References TCL_ERROR, Tcl_EvalObjEx(), Tcl_GetTime(), Tcl_NewDoubleObj(), Tcl_NewIntObj(), Tcl_NewListObj(), TCL_OK, Tcl_SetObjResult(), Tcl_WrongNumArgs(), TclGetIntFromObj, and TclNewLiteralStringObj.
int Tcl_WhileObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 4005 of file tclCmdMZ.c.
References Interp::cmdFramePtr, iPtr, Tcl_AppendObjToErrorInfo(), TCL_BREAK, TCL_CONTINUE, TCL_ERROR, Tcl_ExprBooleanObj(), Tcl_ObjPrintf(), TCL_OK, Tcl_ResetResult(), Tcl_WrongNumArgs(), and TclEvalObjEx().
void TclListLines |
( |
CONST char * |
listStr, |
|
|
int |
line, |
|
|
int |
n, |
|
|
int * |
lines | |
|
) |
| | |
Generated on Wed Mar 12 12:18:28 2008 by
1.5.1
|