Lines Matching refs:protPtr

178     ProtocolHandler *protPtr;	/* First in list of protocol handlers for
403 wmPtr->protPtr = NULL;
640 while (wmPtr->protPtr != NULL) {
641 ProtocolHandler *protPtr;
643 protPtr = wmPtr->protPtr;
644 wmPtr->protPtr = protPtr->nextPtr;
645 Tcl_EventuallyFree((ClientData) protPtr, TCL_DYNAMIC);
1488 register ProtocolHandler *protPtr, *prevPtr;
1502 for (protPtr = wmPtr->protPtr; protPtr != NULL;
1503 protPtr = protPtr->nextPtr) {
1505 Tk_GetAtomName((Tk_Window) winPtr, protPtr->protocol));
1514 for (protPtr = wmPtr->protPtr; protPtr != NULL;
1515 protPtr = protPtr->nextPtr) {
1516 if (protPtr->protocol == protocol) {
1517 interp->result = protPtr->command;
1530 for (protPtr = wmPtr->protPtr, prevPtr = NULL; protPtr != NULL;
1531 prevPtr = protPtr, protPtr = protPtr->nextPtr) {
1532 if (protPtr->protocol == protocol) {
1534 wmPtr->protPtr = protPtr->nextPtr;
1536 prevPtr->nextPtr = protPtr->nextPtr;
1538 Tcl_EventuallyFree((ClientData) protPtr, TCL_DYNAMIC);
1544 protPtr = (ProtocolHandler *) ckalloc(HANDLER_SIZE(cmdLength));
1545 protPtr->protocol = protocol;
1546 protPtr->nextPtr = wmPtr->protPtr;
1547 wmPtr->protPtr = protPtr;
1548 protPtr->interp = interp;
1549 strcpy(protPtr->command, argv[4]);
3522 register ProtocolHandler *protPtr;
3534 for (protPtr = wmPtr->protPtr, count = 1; protPtr != NULL;
3535 protPtr = protPtr->nextPtr, count++) {
3542 for (protPtr = wmPtr->protPtr, atomPtr = &arrayPtr[1];
3543 protPtr != NULL; protPtr = protPtr->nextPtr) {
3544 if (protPtr->protocol != deleteWindowAtom) {
3545 *atomPtr = protPtr->protocol;
3583 register ProtocolHandler *protPtr;
3604 for (protPtr = wmPtr->protPtr; protPtr != NULL;
3605 protPtr = protPtr->nextPtr) {
3606 if (protocol == protPtr->protocol) {
3607 Tcl_Preserve((ClientData) protPtr);
3608 interp = protPtr->interp;
3610 result = Tcl_GlobalEval(interp, protPtr->command);
3619 Tcl_Release((ClientData) protPtr);