Lines Matching refs:masterPtr

133 			    Master *masterPtr, char *aliasName,
148 Master *masterPtr, char *path,
313 Master *masterPtr; /* Master record of interp
339 masterPtr = (Master *) Tcl_GetAssocData(interp, "tclMasterRecord",
341 if (masterPtr == (Master *) NULL) {
344 masterPtr->isSafe = 1;
395 GetInterp(interp, masterPtr, path, masterPtrPtr)
397 Master *masterPtr; /* Its master record. */
407 if (masterPtrPtr != (Master **) NULL) *masterPtrPtr = masterPtr;
415 hPtr = Tcl_FindHashEntry(&(masterPtr->slaveTable), argv[i]);
426 masterPtr = (Master *) Tcl_GetAssocData(searchInterp,
428 if (masterPtrPtr != (Master **) NULL) *masterPtrPtr = masterPtr;
429 if (masterPtr == (Master *) NULL) {
464 Master *masterPtr; /* Master record. */
474 masterPtr = (Master *) Tcl_GetAssocData(interp, "tclMasterRecord",
476 if (masterPtr == (Master *) NULL) {
491 masterInterp = GetInterp(interp, masterPtr, masterPath, &masterPtr);
502 safe = masterPtr->isSafe;
505 hPtr = Tcl_CreateHashEntry(&(masterPtr->slaveTable), slavePath, &new);
577 Master *masterPtr; /* Master record. */
585 masterPtr = (Master *) Tcl_GetAssocData(interp, "tclMasterRecord", NULL);
586 if (masterPtr == (Master *) NULL) {
591 safe = masterPtr->isSafe;
655 Master *masterPtr; /* Interim storage for master record.*/
665 masterPtr = (Master *) Tcl_GetAssocData(interp, "tclMasterRecord", NULL);
666 if (masterPtr == (Master *) NULL) {
683 masterInterp = GetInterp(interp, masterPtr, masterPath, &masterPtr);
694 hPtr = Tcl_FindHashEntry(&(masterPtr->slaveTable), slaveName);
768 AliasHelper(curInterp, slaveInterp, masterInterp, masterPtr,
775 Master *masterPtr; /* Master record for target interp. */
894 hPtr = Tcl_CreateHashEntry(&(masterPtr->targetTable),
937 Master *masterPtr; /* Master record for current interp. */
942 masterPtr = (Master *) Tcl_GetAssocData(interp, "tclMasterRecord", NULL);
943 if (masterPtr == (Master *) NULL) {
952 slaveInterp = GetInterp(interp, masterPtr, argv[2], NULL);
970 masterInterp = GetInterp(interp, masterPtr, argv[4], &masterMasterPtr);
1142 Master *masterPtr; /* Interim storage for Master record. */
1162 masterPtr = (Master *) Tcl_GetAssocData(slavePtr->masterInterp,
1164 if (masterPtr == (Master *) NULL) {
1167 Tcl_AppendElement(askingInterp, Tcl_GetHashKey(&(masterPtr->slaveTable),
1199 Master *masterPtr; /* Interim storage for Master record. */
1205 masterPtr = (Master *) Tcl_GetAssocData(askingInterp, "tclMasterRecord",
1207 if (masterPtr == (Master *) NULL) {
1210 slaveInterp = GetInterp(askingInterp, masterPtr, path, NULL);
1268 Master *masterPtr; /* Master record for current interp. */
1285 masterPtr = (Master *) Tcl_GetAssocData(interp, "tclMasterRecord", NULL);
1286 if (masterPtr == (Master *) NULL) {
1304 slaveInterp = GetInterp(interp, masterPtr, argv[2], NULL);
1343 slaveInterp = GetInterp(interp, masterPtr, argv[2], NULL);
1402 if (GetInterp(interp, masterPtr, argv[2], NULL) ==
1423 slaveInterp = GetInterp(interp, masterPtr, argv[2],
1424 &masterPtr);
1431 if (masterPtr->isSafe == 0) {
1448 if (GetInterp(interp, masterPtr, argv[2], &masterPtr) ==
1455 for (hPtr = Tcl_FirstHashEntry(&(masterPtr->slaveTable), &hSearch);
1459 Tcl_GetHashKey(&(masterPtr->slaveTable), hPtr));
1469 masterInterp = GetInterp(interp, masterPtr, argv[2], NULL);
1475 slaveInterp = GetInterp(interp, masterPtr, argv[4], NULL);
1510 masterInterp = GetInterp(interp, masterPtr, argv[2], NULL);
1516 slaveInterp = GetInterp(interp, masterPtr, argv[4], NULL);
1573 Master *masterPtr; /* Master record for slave interp. */
1627 masterPtr = (Master *) Tcl_GetAssocData(interp,
1629 if (masterPtr == (Master *) NULL) {
1632 return AliasHelper(interp, slaveInterp, interp, masterPtr,
1718 masterPtr = (Master *) Tcl_GetAssocData(slaveInterp,
1720 if (masterPtr == (Master *) NULL) {
1723 if (masterPtr->isSafe == 1) {
2032 Master *masterPtr; /* Interim storage. */
2034 masterPtr = (Master *) clientData;
2035 for (hPtr = Tcl_FirstHashEntry(&(masterPtr->slaveTable), &hSearch);
2042 Tcl_DeleteHashTable(&(masterPtr->slaveTable));
2044 for (hPtr = Tcl_FirstHashEntry(&(masterPtr->targetTable), &hSearch);
2046 hPtr = Tcl_FirstHashEntry(&(masterPtr->targetTable), &hSearch)) {
2052 Tcl_DeleteHashTable(&(masterPtr->targetTable));
2054 ckfree((char *) masterPtr);
2185 Master *masterPtr; /* Its Master record. */
2187 masterPtr = (Master *) ckalloc((unsigned) sizeof(Master));
2188 masterPtr->isSafe = 0;
2189 Tcl_InitHashTable(&(masterPtr->slaveTable), TCL_STRING_KEYS);
2190 Tcl_InitHashTable(&(masterPtr->targetTable), TCL_ONE_WORD_KEYS);
2193 (ClientData) masterPtr);
2219 Master *masterPtr; /* Its master record. */
2224 masterPtr = (Master *) Tcl_GetAssocData(interp, "tclMasterRecord", NULL);
2225 if (masterPtr == (Master *) NULL) {
2228 return masterPtr->isSafe;
2317 Master *masterPtr; /* Interim storage for Master record. */
2322 masterPtr = (Master *) Tcl_GetAssocData(interp, "tclMasterRecord", NULL);
2323 if (masterPtr == (Master *) NULL) {
2326 return GetInterp(interp, masterPtr, slavePath, NULL);
2389 Master *masterPtr; /* Master record for target interp. */
2397 masterPtr = (Master *) Tcl_GetAssocData(targetInterp, "tclMasterRecord",
2399 if (masterPtr == (Master *) NULL) {
2402 return AliasHelper(slaveInterp, slaveInterp, targetInterp, masterPtr,