Lines Matching refs:tvarPtr
1833 TraceVarInfo *tvarPtr;
1858 tvarPtr = (TraceVarInfo *) ckalloc((unsigned)
1859 (sizeof(TraceVarInfo) - sizeof(tvarPtr->command) + length + 1));
1860 tvarPtr->flags = flags;
1861 tvarPtr->errMsg = NULL;
1862 tvarPtr->length = length;
1864 strcpy(tvarPtr->command, argv[4]);
1866 (ClientData) tvarPtr) != TCL_OK) {
1867 ckfree((char *) tvarPtr);
1874 TraceVarInfo *tvarPtr;
1909 tvarPtr = (TraceVarInfo *) clientData;
1910 if ((tvarPtr->length == length) && (tvarPtr->flags == flags)
1911 && (strncmp(argv[4], tvarPtr->command,
1915 if (tvarPtr->errMsg != NULL) {
1916 ckfree(tvarPtr->errMsg);
1918 ckfree((char *) tvarPtr);
1936 TraceVarInfo *tvarPtr = (TraceVarInfo *) clientData;
1938 if (tvarPtr->flags & TCL_TRACE_READS) {
1942 if (tvarPtr->flags & TCL_TRACE_WRITES) {
1946 if (tvarPtr->flags & TCL_TRACE_UNSETS) {
1953 Tcl_AppendElement(interp, tvarPtr->command);
2001 TraceVarInfo *tvarPtr = (TraceVarInfo *) clientData;
2008 if (tvarPtr->errMsg != NULL) {
2009 ckfree(tvarPtr->errMsg);
2010 tvarPtr->errMsg = NULL;
2012 if ((tvarPtr->flags & flags) && !(flags & TCL_INTERP_DESTROYED)) {
2025 Tcl_DStringAppend(&cmd, tvarPtr->command, tvarPtr->length);
2053 tvarPtr->errMsg = (char *) ckalloc((unsigned) (strlen(interp->result) + 1));
2054 strcpy(tvarPtr->errMsg, interp->result);
2055 result = tvarPtr->errMsg;
2063 if (tvarPtr->errMsg != NULL) {
2064 ckfree(tvarPtr->errMsg);
2066 ckfree((char *) tvarPtr);