/ast/src/lib/libtk/generic/ |
H A D | tkCanvText.c | 28 int numChars; /* Number of characters displayed in this member in struct:TextLine 59 int numChars; /* Number of non-NULL characters in text. */ member in struct:TextItem 140 char *string, int numChars)); 236 textPtr->numChars = 0; 368 textPtr->numChars = strlen(textPtr->text); 415 if (textInfoPtr->selectFirst >= textPtr->numChars) { 418 if (textInfoPtr->selectLast >= textPtr->numChars) { 419 textInfoPtr->selectLast = textPtr->numChars-1; 422 && (textInfoPtr->selectAnchor >= textPtr->numChars)) { 423 textInfoPtr->selectAnchor = textPtr->numChars 540 int numChars, numPixels; local [all...] |
H A D | tkEntry.c | 35 int numChars; /* Number of non-NULL characters in member in struct:__anon396 366 entryPtr->numChars = 0; 480 if ((index == entryPtr->numChars) && (index > 0)) { 488 if (index < entryPtr->numChars) { 748 index = (fraction * entryPtr->numChars) + 0.5; 763 if (index >= entryPtr->numChars) { 764 index = entryPtr->numChars-1; 1136 entryPtr->numChars - entryPtr->leftIndex, entryPtr->leftX, 1156 count = entryPtr->numChars - entryPtr->selectLast; 1241 (entryPtr->numChars [all...] |
H A D | tkFont.c | 645 TkDisplayChars(display, drawable, gc, fontStructPtr, string, numChars, 655 int numChars; /* Number of characters to display from 710 for (p = string; numChars > 0; numChars--, p++) { 862 TkComputeTextGeometry(fontStructPtr, string, numChars, wrapLength, 867 int numChars; /* Number of characters to consider from 882 for (numLines = 1, p = string; (p - string) < numChars; numLines++) { 883 p += TkMeasureChars(fontStructPtr, p, numChars - (p - string), 0, 924 TkDisplayText(display, drawable, fontStructPtr, string, numChars, x, y, 933 int numChars; /* Numbe [all...] |
H A D | tkMessage.c | 36 int numChars; /* Number of characters in string, not member in struct:__anon411 233 msgPtr->numChars = 0; 462 msgPtr->numChars = strlen(msgPtr->string); 568 msgPtr->numChars - (p - msgPtr->string), 0, width, 0, 638 int x, y, lineLength, numChars, charsLeft; 673 for (p = msgPtr->string, charsLeft = msgPtr->numChars; *p != 0; 680 numChars = TkMeasureChars(msgPtr->fontPtr, p, charsLeft, 0, 701 msgPtr->textGC, msgPtr->fontPtr, p, numChars, x, y, x, 0); 702 p += numChars; 703 charsLeft -= numChars; 632 int x, y, lineLength, numChars, charsLeft; local [all...] |
H A D | tkTextDisp.c | 256 int numChars; /* Number of characters to display. */ member in struct:CharInfo 258 * will be numChars, not 4. THIS MUST BE 755 * lines with numChars > 0. Used to 895 if (chunkPtr->numChars > 0) { 911 if (chunkPtr->numChars != maxChars) { 934 curIndex.charIndex += chunkPtr->numChars; 935 offset += chunkPtr->numChars; 963 breakCharOffset = breakChunkPtr->numChars; 966 || (breakCharOffset != lastChunkPtr->numChars))) { 977 if (breakCharOffset != breakChunkPtr->numChars) { [all...] |
H A D | tkWindow.c | 894 int numChars; 911 numChars = p-pathName; 912 if (numChars > FIXED_SPACE) { 913 p = (char *) ckalloc((unsigned) (numChars+1)); 917 if (numChars == 0) { 921 strncpy(p, pathName, (size_t) numChars); 922 p[numChars] = '\0'; 952 if (NameWindow(interp, winPtr, parentPtr, pathName+numChars+1) 960 return CreateTopLevelWindow(interp, parent, pathName+numChars+1, 886 int numChars; local
|
H A D | tkMenubutton.c | 43 int numChars; /* # of characters in text. */ member in struct:__anon410 351 mbPtr->numChars = 0; 887 mbPtr->text, mbPtr->numChars, x, y, mbPtr->textWidth, 1109 mbPtr->numChars = strlen(mbPtr->text); 1111 mbPtr->numChars, mbPtr->wrapLength, &mbPtr->textWidth,
|
H A D | tkInt.h | 664 int numChars, int wrapLength, int *widthPtr, 693 int numChars, int x, int y, int tabOrigin, 697 char *string, int numChars, int x, int y,
|
H A D | tkButton.c | 43 int numChars; /* # of characters in text. */ member in struct:__anon390 538 butPtr->numChars = 0; 1285 butPtr->text, butPtr->numChars, x, y, butPtr->textWidth, 1570 butPtr->numChars = strlen(butPtr->text); 1572 butPtr->numChars, butPtr->wrapLength, &butPtr->textWidth,
|
H A D | tkBind.c | 2004 int numChars; 2016 numChars = XmbLookupString(winPtr->inputContext, 2021 numChars = 0; 2024 numChars = XLookupString(&eventPtr->xkey, numStorage, 2029 numChars = XLookupString(&eventPtr->xkey, numStorage, 2033 numStorage[numChars] = '\0'; 1992 int numChars; local
|
H A D | tkText.h | 213 int numChars; /* Number of characters that will be member in struct:TkTextDispChunk
|
H A D | tkTextMark.c | 477 chunkPtr->numChars = 0;
|
H A D | tkTextWind.c | 859 chunkPtr->numChars = 1;
|
/ast/src/lib/libtksh/src/ |
H A D | list.c | 186 int numChars; local 205 numChars = 1; 207 numChars += Tcl_ScanElement(argv[i], &flagPtr[i]) + 1; 214 result = (char *) ckalloc((unsigned) numChars); 217 numChars = Tcl_ConvertElement(argv[i], dst, flagPtr[i]); 218 dst += numChars;
|
H A D | tcleval.c | 520 int numChars; local 545 numChars = src - cmdStart; 546 if (numChars > (NUM_CHARS-50)) { 547 numChars = NUM_CHARS-50; 553 numChars, cmdStart, ellipsis); 556 numChars, cmdStart, ellipsis);
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclUtil.c | 699 int numChars; 713 numChars = 1; 715 numChars += Tcl_ScanElement(argv[i], &flagPtr[i]) + 1; 722 result = (char *) ckalloc((unsigned) numChars); 725 numChars = Tcl_ConvertElement(argv[i], dst, flagPtr[i]); 726 dst += numChars; 693 int numChars; local
|