tclCmdIL.c File Reference#include "tclInt.h"
#include "tclRegexp.h"
Go to the source code of this file.
|
Data Structures |
struct | SortElement |
struct | SortInfo |
Defines |
#define | SORTMODE_ASCII 0 |
#define | SORTMODE_INTEGER 1 |
#define | SORTMODE_REAL 2 |
#define | SORTMODE_COMMAND 3 |
#define | SORTMODE_DICTIONARY 4 |
#define | SORTMODE_ASCII_NC 8 |
#define | SORTIDX_NONE -1 |
#define | SORTIDX_END -2 |
#define | ADD_PAIR(name, value) |
#define | NUM_LISTS 30 |
Typedefs |
typedef int(*) | SortStrCmpFn_t (const char *, const char *) |
typedef int(*) | SortMemCmpFn_t (const void *, const void *, size_t) |
Functions |
int | Tcl_IfObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_IncrObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
Tcl_Command | TclInitInfoCmd (Tcl_Interp *interp) |
int | TclInfoExistsCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
Tcl_Obj * | TclInfoFrame (Tcl_Interp *interp, CmdFrame *framePtr) |
int | Tcl_JoinObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_LassignObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_LindexObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_LinsertObjCmd (ClientData dummy, Tcl_Interp *interp, register int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_ListObjCmd (ClientData dummy, Tcl_Interp *interp, register int objc, register Tcl_Obj *CONST objv[]) |
int | Tcl_LlengthObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, register Tcl_Obj *CONST objv[]) |
int | Tcl_LrangeObjCmd (ClientData notUsed, Tcl_Interp *interp, int objc, register Tcl_Obj *CONST objv[]) |
int | Tcl_LrepeatObjCmd (ClientData dummy, Tcl_Interp *interp, register int objc, register Tcl_Obj *CONST objv[]) |
int | Tcl_LreplaceObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_LreverseObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_LsearchObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_LsetObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | Tcl_LsortObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
Define Documentation
#define ADD_PAIR |
( |
name, |
|
|
value |
|
) |
|
#define SORTMODE_ASCII_NC 8 |
#define SORTMODE_COMMAND 3 |
#define SORTMODE_DICTIONARY 4 |
#define SORTMODE_INTEGER 1 |
Typedef Documentation
Function Documentation
int Tcl_IfObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_IncrObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_JoinObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_LassignObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 2029 of file tclCmdIL.c.
References Tcl_DecrRefCount, TCL_ERROR, Tcl_IncrRefCount, TCL_LEAVE_ERR_MSG, Tcl_NewListObj(), Tcl_ObjSetVar2(), TCL_OK, Tcl_SetObjResult(), Tcl_WrongNumArgs(), TclListObjCopy(), TclListObjGetElements, and TclNewObj.
int Tcl_LindexObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_LinsertObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
register int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_ListObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
register int |
objc, |
|
|
register Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_LlengthObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
register Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_LrangeObjCmd |
( |
ClientData |
notUsed, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
register Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_LrepeatObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
register int |
objc, |
|
|
register Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 2394 of file tclCmdIL.c.
References List::elemCount, List::elements, Tcl_Obj::internalRep, Tcl_Obj::refCount, Tcl_AppendResult(), TCL_ERROR, Tcl_IncrRefCount, Tcl_NewListObj(), TCL_OK, Tcl_SetObjResult(), Tcl_WrongNumArgs(), TclGetIntFromObj, and Tcl_Obj::twoPtrValue.
int Tcl_LreplaceObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 2488 of file tclCmdIL.c.
References Tcl_AppendResult(), TCL_ERROR, Tcl_IsShared, Tcl_ListObjReplace(), TCL_OK, Tcl_SetObjResult(), Tcl_WrongNumArgs(), TclGetIntForIndexM, TclGetString, TclListObjCopy(), and TclListObjLength.
int Tcl_LreverseObjCmd |
( |
ClientData |
clientData, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 2595 of file tclCmdIL.c.
References List::elemCount, List::elements, Tcl_Obj::internalRep, TCL_ERROR, Tcl_IncrRefCount, Tcl_IsShared, Tcl_NewListObj(), TCL_OK, Tcl_SetObjResult(), Tcl_WrongNumArgs(), TclInvalidateStringRep, TclListObjGetElements, and Tcl_Obj::twoPtrValue.
int Tcl_LsearchObjCmd |
( |
ClientData |
clientData, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 2683 of file tclCmdIL.c.
References ckalloc, ckfree, SortInfo::compareCmdPtr, CONST, SortInfo::indexc, SortInfo::indexv, SortInfo::interp, SortInfo::isIncreasing, SortInfo::resultCode, SortInfo::singleIndex, SORTIDX_END, SortInfo::sortMode, Tcl_AppendObjToErrorInfo(), Tcl_AppendResult(), Tcl_DecrRefCount, Tcl_DuplicateObj(), TCL_ERROR, Tcl_GetIndexFromObj(), Tcl_IncrRefCount, Tcl_ObjPrintf(), TCL_OK, Tcl_WrongNumArgs(), TclGetIntForIndexM, and TclListObjGetElements.
int Tcl_LsetObjCmd |
( |
ClientData |
clientData, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
int Tcl_LsortObjCmd |
( |
ClientData |
clientData, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 3432 of file tclCmdIL.c.
References ckalloc, ckfree, CONST, SortInfo::indexc, SortInfo::indexv, SortInfo::interp, SortInfo::isIncreasing, NUM_LISTS, SortInfo::resultCode, SortInfo::singleIndex, SORTIDX_END, SortInfo::sortMode, SORTMODE_ASCII, SORTMODE_COMMAND, SORTMODE_DICTIONARY, Tcl_AppendObjToErrorInfo(), Tcl_AppendResult(), TCL_ERROR, Tcl_GetIndexFromObj(), Tcl_ObjPrintf(), TCL_OK, Tcl_WrongNumArgs(), TclGetIntForIndexM, TclListObjGetElements, and SortInfo::unique.
int TclInfoExistsCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *CONST |
objv[] | |
|
) |
| | |
Definition at line 1112 of file tclCmdIL.c.
References ADD_PAIR, Command::clientData, ExtraFrameInfoField::clientData, CmdFrame::cmd, Proc::cmdPtr, CONST, CmdFrame::data, CmdFrame::eval, ExtraFrameInfo::fields, CmdFrame::framePtr, Namespace::fullName, Command::hPtr, ExtraFrameInfo::length, CmdFrame::line, ExtraFrameInfoField::name, Command::nsPtr, ExtraFrameInfoField::proc, CallFrame::procPtr, Tcl_HashEntry::tablePtr, Tcl_AppendToObj(), Tcl_DecrRefCount, Tcl_DuplicateObj(), Tcl_GetHashKey, TCL_LOCATION_BC, TCL_LOCATION_EVAL, TCL_LOCATION_EVAL_LIST, TCL_LOCATION_LAST, TCL_LOCATION_PREBC, TCL_LOCATION_PROC, TCL_LOCATION_SOURCE, Tcl_NewIntObj(), Tcl_NewStringObj(), Tcl_Panic(), TclGetSrcInfoForPc(), TclStackAlloc(), TclStackFree(), and CmdFrame::type.
Referenced by TclEvalObjvInternal(), and TclObjInterpProcCore().
Generated on Wed Mar 12 12:18:28 2008 by
1.5.1
|