Lines Matching refs:sub
135 TkUndoSubAtom *sub;
137 sub = elem->apply;
138 while (sub != NULL) {
139 TkUndoSubAtom *next = sub->next;
141 if (sub->action != NULL) {
142 Tcl_DecrRefCount(sub->action);
144 ckfree((char *)sub);
145 sub = next;
148 sub = elem->revert;
149 while (sub != NULL) {
150 TkUndoSubAtom *next = sub->next;
152 if (sub->action != NULL) {
153 Tcl_DecrRefCount(sub->action);
155 ckfree((char *)sub);
156 sub = next;
207 * stack with TkUndoPushAction. This sub-atom, if evaluated, will take
212 * If 'subAtomList' is non-NULL, the newly created sub-atom is added onto
274 * stack with TkUndoPushAction. This sub-atom, if evaluated, will take
280 * If 'subAtomList' is non-NULL, the newly created sub-atom is added onto
410 TkUndoSubAtom *sub = elem->apply;
411 while (sub != NULL) {
412 TkUndoSubAtom *next = sub->next;
414 if (sub->action != NULL) {
415 Tcl_DecrRefCount(sub->action);
417 ckfree((char *)sub);
418 sub = next;
420 sub = elem->revert;
421 while (sub != NULL) {
422 TkUndoSubAtom *next = sub->next;
424 if (sub->action != NULL) {
425 Tcl_DecrRefCount(sub->action);
427 ckfree((char *)sub);
428 sub = next;
651 * Execute a linked list of undo/redo sub-atoms. If any sub-atom returns
652 * a non TCL_OK value, execution of subsequent sub-atoms is cancelled and