Lines Matching refs:cmdName

217 TclPreventAliasLoop(interp, cmdInterp, cmdName, proc, clientData)
221 char *cmdName; /* Name of Tcl command we are
255 if ((strcmp(nextAliasPtr->targetName, cmdName) == 0) &&
1274 char *cmdName; /* Name of sub command to do. */
1283 cmdName = argv[1];
1290 len = strlen(cmdName);
1292 if (cmdName[0] == 'a') {
1293 if ((strncmp(cmdName, "alias", len) == 0) && (len <= 5)) {
1297 if (strcmp(cmdName, "aliases") == 0) {
1328 if ((cmdName[0] == 'c') && (strncmp(cmdName, "create", len) == 0)) {
1332 if ((cmdName[0] == 'd') && (strncmp(cmdName, "delete", len) == 0)) {
1336 if (cmdName[0] == 'e') {
1337 if ((strncmp(cmdName, "eval", len) == 0) && (len > 1)) {
1395 if ((strncmp(cmdName, "exists", len) == 0) && (len > 2)) {
1415 if (cmdName[0] == 'i') {
1416 if ((len > 1) && (strncmp(cmdName, "issafe", len) == 0)) {
1440 if (cmdName[0] == 's') {
1441 if ((strncmp(cmdName, "slaves", len) == 0) && (len > 1)) {
1463 if ((strncmp(cmdName, "share", len) == 0) && (len > 1)) {
1495 if ((cmdName[0] == 't') && (strncmp(cmdName, "target", len) == 0)) {
1504 if ((cmdName[0] == 't') && (strncmp(cmdName, "transfer", len) == 0)) {
1576 char *cmdName; /* Name of command to do. */
1604 cmdName = argv[1];
1605 len = strlen(cmdName);
1607 if (cmdName[0] == 'a') {
1608 if (strncmp(cmdName, "alias", len) == 0) {
1637 if (strncmp(cmdName, "aliases", len) == 0) {
1655 if (cmdName[0] == 'e') {
1656 if ((len > 1) && (strncmp(cmdName, "eval", len) == 0)) {
1711 if (cmdName[0] == 'i') {
1712 if ((len > 1) && (strncmp(cmdName, "issafe", len) == 0)) {
2031 char *cmdName; /* Name of command to delete. */
2039 cmdName = Tcl_GetCommandName(interp, slavePtr->interpCmd);
2040 (void) Tcl_DeleteCommand(interp, cmdName);
2048 cmdName = Tcl_GetCommandName(targetPtr->slaveInterp,
2050 (void) Tcl_DeleteCommand(targetPtr->slaveInterp, cmdName);