Searched refs:newPtr (Results 1 - 11 of 11) sorted by relevance
/ast/src/lib/libtk/generic/ |
H A D | tkFocus.c | 84 TkWindow *newPtr, *focusWinPtr, *topLevelPtr; 111 newPtr = (TkWindow *) Tk_NameToWindow(interp, argv[1], tkwin); 112 if (newPtr == NULL) { 115 if (!(newPtr->flags & TK_ALREADY_DEAD)) { 116 SetFocus(newPtr, 0); 130 newPtr = (TkWindow *) Tk_NameToWindow(interp, argv[2], tkwin); 131 if (newPtr == NULL) { 134 newPtr = TkGetFocus(newPtr); 135 if (newPtr ! 83 TkWindow *newPtr, *focusWinPtr, *topLevelPtr; local [all...] |
H A D | tkCanvUtil.c | 304 Tk_Uid *newPtr; 320 newPtr = (Tk_Uid *) ckalloc((unsigned) (argc * sizeof(Tk_Uid))); 322 newPtr[i] = itemPtr->tagPtr[i]; 327 itemPtr->tagPtr = newPtr; 297 Tk_Uid *newPtr; local
|
H A D | tkConfig.c | 388 XColor *newPtr, *oldPtr; 391 newPtr = NULL; 394 newPtr = Tk_GetColor(interp, tkwin, uid); 395 if (newPtr == NULL) { 403 *((XColor **) ptr) = newPtr; 407 XFontStruct *newPtr, *oldPtr; 410 newPtr = NULL; 413 newPtr = Tk_GetFontStruct(interp, tkwin, uid); 414 if (newPtr == NULL) { 422 *((XFontStruct **) ptr) = newPtr; 385 XColor *newPtr, *oldPtr; local 404 XFontStruct *newPtr, *oldPtr; local [all...] |
H A D | tkTextBTree.c | 2858 register Node *newPtr, *childPtr; 2877 newPtr = (Node *) ckalloc(sizeof(Node)); 2878 newPtr->parentPtr = NULL; 2879 newPtr->nextPtr = NULL; 2880 newPtr->summaryPtr = NULL; 2881 newPtr->level = nodePtr->level + 1; 2882 newPtr->children.nodePtr = nodePtr; 2883 newPtr->numChildren = 1; 2884 newPtr->numLines = nodePtr->numLines; 2885 RecomputeNodeCounts(newPtr); 2830 register Node *newPtr, *childPtr; local 3270 TkTextSegment *segPtr2, *newPtr; local [all...] |
H A D | tkListbox.c | 1304 register Element *prevPtr, *newPtr; 1334 for (i = argc ; i > 0; i--, argv++, prevPtr = newPtr) { 1336 newPtr = (Element *) ckalloc(ElementSize(length)); 1337 newPtr->textLength = length; 1338 strcpy(newPtr->text, *argv); 1339 XTextExtents(listPtr->fontPtr, newPtr->text, newPtr->textLength, 1341 newPtr->lBearing = bbox.lbearing; 1342 newPtr->pixelWidth = bbox.rbearing - bbox.lbearing; 1343 if (newPtr 1297 register Element *prevPtr, *newPtr; local [all...] |
H A D | tkOption.c | 1017 register ElArray *newPtr; 1019 newPtr = (ElArray *) ckalloc(EL_ARRAY_SIZE(2*arrayPtr->arraySize)); 1020 newPtr->arraySize = 2*arrayPtr->arraySize; 1021 newPtr->numUsed = arrayPtr->numUsed; 1022 newPtr->nextToUse = &newPtr->els[newPtr->numUsed]; 1023 memcpy((VOID *) newPtr->els, (VOID *) arrayPtr->els, 1026 arrayPtr = newPtr; 1007 register ElArray *newPtr; local
|
H A D | tkTextDisp.c | 1136 register DLine *newPtr; 1184 newPtr = LayoutDLine(textPtr, &index); 1186 dInfoPtr->dLinePtr = newPtr; 1188 prevPtr->nextPtr = newPtr; 1193 newPtr->nextPtr = dlPtr; 1194 dlPtr = newPtr; 1221 newPtr = dlPtr->nextPtr; 1222 FreeDLines(textPtr, dlPtr, newPtr, 0); 1223 dlPtr = newPtr; 1225 prevPtr->nextPtr = newPtr; 1130 register DLine *newPtr; local [all...] |
/ast/src/lib/libtksh/tcl/ |
H A D | tclHash.c | 44 char *key, int *newPtr)); 48 char *key, int *newPtr)); 54 char *key, int *newPtr)); 58 char *key, int *newPtr)); 470 * is a newly-created entry, then *newPtr will be set to a non-zero 471 * value; otherwise *newPtr will be set to 0. If this is a new 481 StringCreate(tablePtr, key, newPtr) 485 int *newPtr; /* Store info here telling whether a new 505 *newPtr = 0; 515 *newPtr [all...] |
H A D | tclCmdAH.c | 1454 register char *newPtr = newFormat; 1491 *newPtr = '%'; 1492 newPtr++; 1528 *newPtr = *format; 1529 newPtr++; 1557 sprintf(newPtr, "%d", width); 1558 while (*newPtr != 0) { 1559 newPtr++; 1563 *newPtr = '.'; 1564 newPtr 1438 register char *newPtr = newFormat; local [all...] |
/ast/src/lib/libtksh/include/ |
H A D | tcl.h | 537 char *key, int *newPtr)); 577 #define Tcl_CreateHashEntry(tablePtr, key, newPtr) \ 578 (*((tablePtr)->createProc))(tablePtr, key, newPtr)
|
/ast/src/lib/libtk/unix/ |
H A D | tkUnixWm.c | 3855 Window *oldPtr, *newPtr; 3904 newPtr = (Window *) ckalloc((unsigned) ((count+2)*sizeof(Window))); 3906 newPtr[i] = oldPtr[i]; 3911 newPtr[count-1] = winPtr->window; 3912 newPtr[count] = topPtr->window; 3913 XSetWMColormapWindows(topPtr->display, topPtr->window, newPtr, count+1); 3914 ckfree((char *) newPtr); 3824 Window *oldPtr, *newPtr; local
|
Completed in 51 milliseconds