Lines Matching refs:aliasName
59 char *aliasName; /* Name of alias command. */
133 Master *masterPtr, char *aliasName,
140 Tcl_Interp *slaveInterp, char *aliasName));
142 Tcl_Interp *slaveInterp, char *aliasName));
151 char *aliasName));
258 aliasPtr->aliasName, "\": would create a loop",
769 aliasName, targetName, argc, argv)
776 char *aliasName; /* Name of alias cmd. */
814 " \"alias ", aliasName, " {}\"", (char *) NULL);
818 return DeleteAlias(curInterp, slaveInterp, aliasName);
822 aliasPtr->aliasName = (char *) ckalloc((unsigned) strlen(aliasName)+1);
824 strcpy(aliasPtr->aliasName, aliasName);
839 if (TclPreventAliasLoop(curInterp, slaveInterp, aliasName, AliasCmd,
847 ckfree(aliasPtr->aliasName);
854 aliasPtr->slaveCmd = Tcl_CreateCommand(slaveInterp, aliasName, AliasCmd,
863 hPtr = Tcl_CreateHashEntry(&(slavePtr->aliasTable), aliasName, &new);
903 curInterp->result = aliasPtr->aliasName;
915 * - interp alias slavePath aliasName
917 * - interp alias slavePath aliasName {}
1000 DescribeAlias(interp, slaveInterp, aliasName)
1003 char *aliasName; /* Name of alias to describe. */
1031 hPtr = Tcl_FindHashEntry(&(slavePtr->aliasTable), aliasName);
1062 DeleteAlias(interp, slaveInterp, aliasName)
1065 char *aliasName; /* Name of alias to delete. */
1074 Tcl_AppendResult(interp, "alias \"", aliasName, "\" not found",
1087 hPtr = Tcl_FindHashEntry(&(slavePtr->aliasTable), aliasName);
1089 Tcl_AppendResult(interp, "alias \"", aliasName, "\" not found",
1094 aliasName = Tcl_GetCommandName(slaveInterp, aliasPtr->slaveCmd);
1103 if (Tcl_DeleteCommand(slaveInterp, aliasName) != 0) {
1192 GetTarget(askingInterp, path, aliasName)
1195 char *aliasName; /* The target of this allias. */
1221 hPtr = Tcl_FindHashEntry(&(slaveSlavePtr->aliasTable), aliasName);
1223 Tcl_AppendResult(askingInterp, "alias \"", aliasName, "\" in path \"",
1234 aliasName, "\" in path \"", path, "\" is not my descendant",
1612 argv[0], " alias aliasName ?targetName? ?args..?",
1649 Tcl_AppendElement(interp, aliasPtr->aliasName);
1990 ckfree((char *) aliasPtr->aliasName);
2426 Tcl_GetAlias(interp, aliasName, targetInterpPtr, targetNamePtr, argcPtr,
2429 char *aliasName; /* Name of alias to find. */
2439 if ((interp == (Tcl_Interp *) NULL) || (aliasName == (char *) NULL)) {
2446 hPtr = Tcl_FindHashEntry(&(slavePtr->aliasTable), aliasName);
2448 Tcl_AppendResult(interp, "alias \"", aliasName, "\" not found",