tclDictObj.c File Reference#include "tclInt.h"
#include "tommath.h"
Go to the source code of this file.
|
Data Structures |
struct | ChainEntry |
struct | Dict |
Defines |
#define | LOCAL_SIZE 20 |
Functions |
Tcl_Obj * | TclTraceDictPath (Tcl_Interp *interp, Tcl_Obj *dictPtr, int keyc, Tcl_Obj *const keyv[], int flags) |
int | Tcl_DictObjPut (Tcl_Interp *interp, Tcl_Obj *dictPtr, Tcl_Obj *keyPtr, Tcl_Obj *valuePtr) |
int | Tcl_DictObjGet (Tcl_Interp *interp, Tcl_Obj *dictPtr, Tcl_Obj *keyPtr, Tcl_Obj **valuePtrPtr) |
int | Tcl_DictObjRemove (Tcl_Interp *interp, Tcl_Obj *dictPtr, Tcl_Obj *keyPtr) |
int | Tcl_DictObjSize (Tcl_Interp *interp, Tcl_Obj *dictPtr, int *sizePtr) |
int | Tcl_DictObjFirst (Tcl_Interp *interp, Tcl_Obj *dictPtr, Tcl_DictSearch *searchPtr, Tcl_Obj **keyPtrPtr, Tcl_Obj **valuePtrPtr, int *donePtr) |
void | Tcl_DictObjNext (Tcl_DictSearch *searchPtr, Tcl_Obj **keyPtrPtr, Tcl_Obj **valuePtrPtr, int *donePtr) |
void | Tcl_DictObjDone (Tcl_DictSearch *searchPtr) |
int | Tcl_DictObjPutKeyList (Tcl_Interp *interp, Tcl_Obj *dictPtr, int keyc, Tcl_Obj *const keyv[], Tcl_Obj *valuePtr) |
int | Tcl_DictObjRemoveKeyList (Tcl_Interp *interp, Tcl_Obj *dictPtr, int keyc, Tcl_Obj *const keyv[]) |
Tcl_Obj * | Tcl_NewDictObj (void) |
Tcl_Obj * | Tcl_DbNewDictObj (const char *file, int line) |
Tcl_Command | TclInitDictCmd (Tcl_Interp *interp) |
Variables |
Tcl_ObjType | tclDictType |
Define Documentation
Function Documentation
Tcl_Obj* Tcl_DbNewDictObj |
( |
const char * |
file, |
|
|
int |
line | |
|
) |
| | |
Definition at line 1110 of file tclDictObj.c.
References Tcl_DictSearch::dictionaryPtr, ChainEntry::entry, Dict::entryChainHead, Dict::epoch, Tcl_DictSearch::epoch, Tcl_Obj::internalRep, Tcl_DictSearch::next, ChainEntry::nextPtr, Tcl_Obj::otherValuePtr, Dict::refcount, Dict::table, Tcl_GetHashKey, Tcl_GetHashValue, TCL_OK, tclDictType, and Tcl_Obj::typePtr.
Referenced by Tcl_GetEncodingNames(), Tcl_SetEnsembleMappingDict(), TclArraySet(), TclCompileEnsemble(), TclExecuteByteCode(), and TclMergeReturnOptions().
Definition at line 973 of file tclDictObj.c.
References Tcl_Obj::internalRep, Tcl_Obj::otherValuePtr, Dict::table, Tcl_FindHashEntry, Tcl_GetHashValue, TCL_OK, tclDictType, and Tcl_Obj::typePtr.
Referenced by Tcl_Main(), Tcl_RegisterConfig(), TclCompileEnsemble(), TclDefaultBgErrorHandlerObjCmd(), TclExecuteByteCode(), TclMergeReturnOptions(), and TclProcessReturn().
Definition at line 1183 of file tclDictObj.c.
References Tcl_DictSearch::dictionaryPtr, ChainEntry::entry, Tcl_DictSearch::epoch, Tcl_DictSearch::next, ChainEntry::nextPtr, Tcl_DictObjDone(), Tcl_GetHashKey, Tcl_GetHashValue, and Tcl_Panic().
Referenced by Tcl_GetEncodingNames(), Tcl_SetEnsembleMappingDict(), TclArraySet(), TclCompileEnsemble(), TclExecuteByteCode(), and TclMergeReturnOptions().
Definition at line 914 of file tclDictObj.c.
References Tcl_Obj::bytes, Dict::epoch, Tcl_Obj::internalRep, Tcl_Obj::otherValuePtr, Tcl_GetHashValue, Tcl_IncrRefCount, Tcl_InvalidateStringRep(), Tcl_IsShared, TCL_OK, Tcl_Panic(), Tcl_SetHashValue, TclDecrRefCount, tclDictType, and Tcl_Obj::typePtr.
Referenced by ClockGetdatefieldsObjCmd(), Tcl_ArrayObjCmd(), Tcl_GetReturnOptions(), Tcl_RegisterConfig(), TclExecuteByteCode(), TclInitChanCmd(), TclMakeEnsemble(), and TclMergeReturnOptions().
Definition at line 1288 of file tclDictObj.c.
References DICT_PATH_CREATE, Tcl_Obj::internalRep, Tcl_Obj::otherValuePtr, TCL_ERROR, Tcl_GetHashValue, Tcl_IncrRefCount, Tcl_IsShared, TCL_OK, Tcl_Panic(), Tcl_SetHashValue, TclDecrRefCount, and TclTraceDictPath().
Definition at line 1019 of file tclDictObj.c.
References Tcl_Obj::bytes, Dict::epoch, Tcl_Obj::internalRep, Tcl_Obj::otherValuePtr, Tcl_InvalidateStringRep(), Tcl_IsShared, TCL_OK, Tcl_Panic(), tclDictType, and Tcl_Obj::typePtr.
Referenced by TclExecuteByteCode(), and TclMergeReturnOptions().
Definition at line 1397 of file tclDictObj.c.
References Dict::chain, ckalloc, Dict::epoch, Tcl_Obj::internalRep, Tcl_Obj::otherValuePtr, Dict::refcount, Tcl_DbNewDictObj(), Tcl_InvalidateStringRep(), tclDictType, TclNewObj, and Tcl_Obj::typePtr.
Referenced by ClockGetdatefieldsObjCmd(), Tcl_DbNewDictObj(), Tcl_RegisterConfig(), and TclTraceDictPath().
Definition at line 779 of file tclDictObj.c.
References Dict::chain, DICT_PATH_CREATE, DICT_PATH_EXISTS, DICT_PATH_NON_EXISTENT, DICT_PATH_UPDATE, Dict::epoch, Tcl_Obj::internalRep, Tcl_Obj::otherValuePtr, Dict::table, Tcl_AppendResult(), Tcl_DuplicateObj(), Tcl_FindHashEntry, Tcl_GetHashValue, Tcl_IncrRefCount, Tcl_IsShared, Tcl_NewDictObj(), TCL_OK, Tcl_ResetResult(), Tcl_SetErrorCode(), Tcl_SetHashValue, TclDecrRefCount, tclDictType, TclGetString, and Tcl_Obj::typePtr.
Referenced by Tcl_DictObjPutKeyList(), Tcl_DictObjRemoveKeyList(), and TclExecuteByteCode().
Variable Documentation
Initial value: {
"dict",
FreeDictInternalRep,
DupDictInternalRep,
UpdateStringOfDict,
SetDictFromAny
}
Definition at line 153 of file tclDictObj.c.
Referenced by Tcl_DbNewDictObj(), Tcl_DictObjFirst(), Tcl_DictObjGet(), Tcl_DictObjPut(), Tcl_DictObjRemove(), Tcl_DictObjSize(), Tcl_NewDictObj(), TclArraySet(), TclInitObjSubsystem(), and TclTraceDictPath().
Generated on Wed Mar 12 12:18:30 2008 by
1.5.1
|