Searched refs:numTags (Results 1 - 25 of 26) sorted by relevance

12

/macosx-10.10/tcl-105/tk/tk/generic/
H A DtkTextTag.c103 static void SortTags(int numTags, TkTextTag **tagArrayPtr);
106 int numTags, TkTextTag **tagArrayPtr);
607 (textPtr->sharedTextPtr->numTags * sizeof(TkTextTag *)));
852 prio = textPtr->sharedTextPtr->numTags-1;
975 tagPtr->priority = textPtr->sharedTextPtr->numTags;
1013 textPtr->sharedTextPtr->numTags++;
1134 ChangeTagPriority(textPtr, tagPtr, textPtr->sharedTextPtr->numTags-1);
1135 textPtr->sharedTextPtr->numTags -= 1;
1237 int numTags, /* Number of tag pointers at *tagArrayPtr. */
1244 if (numTags <
1230 SortTags( int numTags, TkTextTag **tagArrayPtr) argument
1683 TagBindEvent( TkText *textPtr, XEvent *eventPtr, int numTags, TkTextTag **tagArrayPtr) argument
[all...]
H A DtkCmds.c248 if (winPtr->numTags != 0) {
254 if (winPtr->numTags > MAX_OBJS) {
256 (winPtr->numTags * sizeof(ClientData)));
258 for (i = 0; i < winPtr->numTags; i++) {
270 count = winPtr->numTags;
337 if (winPtr->numTags == 0) {
353 for (i = 0; i < winPtr->numTags; i++) {
372 winPtr->numTags = length;
423 for (i = 0; i < winPtr->numTags; i++) {
435 winPtr->numTags
[all...]
H A DtkCanvas.c974 itemPtr->numTags = 0;
1150 for (i = itemPtr->numTags-1; i >= 0; i--) {
1152 itemPtr->tagPtr[i] = itemPtr->tagPtr[itemPtr->numTags-1];
1153 itemPtr->numTags--;
1217 for (i = 0; i < itemPtr->numTags; i++) {
2806 for (tagPtr = itemPtr->tagPtr, count = itemPtr->numTags;
2894 for (tagPtr = itemPtr->tagPtr, count = itemPtr->numTags;
3517 for (tagPtr = itemPtr->tagPtr, count = itemPtr->numTags;
3537 for (tagPtr = itemPtr->tagPtr, count = itemPtr->numTags;
3712 for (tagPtr = itemPtr->tagPtr, count = itemPtr->numTags;
[all...]
H A DtkCanvUtil.c432 for (i = itemPtr->numTags-1; i >= 0; i--) {
441 itemPtr->numTags = argc;
484 if (itemPtr->numTags == 0) {
488 if (itemPtr->numTags == 1) {
493 return Tcl_Merge(itemPtr->numTags, (CONST char **) itemPtr->tagPtr);
H A DtkTextBTree.c126 int numTags; /* Number of tags for which there is currently member in struct:TagInfo
3362 tagInfo.numTags = 0;
3441 for (src = 0, dst = 0; src < tagInfo.numTags; src++) {
3521 infoPtr->numTags = textPtr->sharedTextPtr->numTags;
3527 if (LOTSA_TAGS < infoPtr->numTags) {
3529 ckalloc((unsigned) sizeof(int) * infoPtr->numTags);
3531 ckalloc((unsigned) sizeof(TkTextTag *) * infoPtr->numTags);
3534 for (i=0; i<infoPtr->numTags; i++) {
3629 for (i = infoPtr->numTags
[all...]
H A DtkText.h315 * integer value between 0 and numTags-1. */
543 int numTags; /* Number of tags currently defined for member in struct:TkSharedText
891 int numTags; /* Total tags in widget. */ member in struct:TkTextElideInfo
H A DtkInt.h786 int numTags; /* Number of tags at *tagPtr. */ member in struct:TkWindow
H A DtkText.c3547 int numTags;
3550 oldTagArrayPtr = TkBTreeGetTags(&index1, NULL, &numTags);
3554 for (i = 0; i < numTags; i++) {
3559 if (Tcl_ListObjGetElements(interp, objv[j+1], &numTags,
3565 for (i = 0; i < numTags; i++) {
3524 int numTags; local
H A Dtk.h782 int dummy11; /* numTags */
934 int numTags; /* Number of tag slots actually used at
931 int numTags; /* Number of tag slots actually used at member in struct:Tk_Item
H A DtkTextDisp.c756 int numTags, isNew, i;
776 tagPtrs = TkBTreeGetTags(indexPtr, textPtr, &numTags);
796 for (i = 0 ; i < numTags; i++) {
753 int numTags, isNew, i; local
H A DtkWindow.c702 winPtr->numTags = 0;
/macosx-10.10/tcl-105/tk84/tk/generic/
H A DtkTextTag.c80 static void SortTags _ANSI_ARGS_((int numTags,
511 ChangeTagPriority(textPtr, tagPtr, textPtr->numTags-1);
512 textPtr->numTags -= 1;
561 (textPtr->numTags * sizeof(TkTextTag *)));
566 arraySize = textPtr->numTags;
741 prio = textPtr->numTags-1;
829 tagPtr->priority = textPtr->numTags;
865 textPtr->numTags++;
1012 SortTags(numTags, tagArrayPtr)
1013 int numTags; /* Numbe
[all...]
H A DtkCmds.c250 if (winPtr->numTags != 0) {
256 if (winPtr->numTags > MAX_OBJS) {
258 (winPtr->numTags * sizeof(ClientData)));
260 for (i = 0; i < winPtr->numTags; i++) {
272 count = winPtr->numTags;
339 if (winPtr->numTags == 0) {
355 for (i = 0; i < winPtr->numTags; i++) {
374 winPtr->numTags = length;
425 for (i = 0; i < winPtr->numTags; i++) {
437 winPtr->numTags
[all...]
H A DtkTextBTree.c85 int numTags; /* Number of tags for which there member in struct:TagInfo
2374 tagInfo.numTags = 0;
2440 for (src = 0, dst = 0; src < tagInfo.numTags; src++) {
2490 int numTags = textPtr->numTags;
2498 if (LOTSA_TAGS < numTags) {
2499 tagCnts = (int *)ckalloc((unsigned)sizeof(int) * numTags);
2500 tagPtrs = (TkTextTag **)ckalloc((unsigned)sizeof(TkTextTag *) * numTags);
2503 for (i=0; i<numTags; i++) {
2576 for (i = numTags
2465 int numTags = textPtr->numTags; local
[all...]
H A DtkCanvUtil.c406 for (i = itemPtr->numTags-1; i >= 0; i--) {
415 itemPtr->numTags = argc;
458 if (itemPtr->numTags == 0) {
462 if (itemPtr->numTags == 1) {
467 return Tcl_Merge(itemPtr->numTags, (CONST char **) itemPtr->tagPtr);
H A DtkCanvas.c983 itemPtr->numTags = 0;
1180 for (i = itemPtr->numTags-1; i >= 0; i--) {
1182 itemPtr->tagPtr[i] = itemPtr->tagPtr[itemPtr->numTags-1];
1183 itemPtr->numTags--;
1265 for (i = 0; i < itemPtr->numTags; i++) {
2939 for (tagPtr = itemPtr->tagPtr, count = itemPtr->numTags;
3028 for (tagPtr = itemPtr->tagPtr, count = itemPtr->numTags;
3616 for (tagPtr = itemPtr->tagPtr, count = itemPtr->numTags;
3634 for (tagPtr = itemPtr->tagPtr, count = itemPtr->numTags;
3807 for (tagPtr = itemPtr->tagPtr, count = itemPtr->numTags;
[all...]
H A DtkText.c809 int i, j, numTags;
831 oldTagArrayPtr = TkBTreeGetTags(&index1, &numTags);
833 for (i = 0; i < numTags; i++) {
838 if (Tcl_SplitList(interp, argv[j+1], &numTags, &tagNames)
843 for (i = 0; i < numTags; i++) {
807 int i, j, numTags; local
H A DtkInt.h804 int numTags; /* Number of tags at *tagPtr. */ member in struct:TkWindow
H A DtkText.h295 * numTags-1. */
499 int numTags; /* Number of tags currently defined for member in struct:TkText
H A Dtk.h781 int dummy11; /* numTags */
941 int numTags; /* Number of tag slots actually used
939 int numTags; /* Number of tag slots actually used member in struct:Tk_Item
H A DtkTextDisp.c513 int numTags, new, i;
536 tagPtrs = TkBTreeGetTags(indexPtr, &numTags);
554 for (i = 0 ; i < numTags; i++) {
510 int numTags, new, i; local
/macosx-10.10/tcl-105/tcl_ext/tktreectrl/tktreectrl/generic/
H A DtkTreeUtils.c4117 int numTags
4123 if (numTags <= TREE_TAG_SPACE) {
4132 int tagSpace = (numTags / TREE_TAG_SPACE) * TREE_TAG_SPACE +
4133 ((numTags % TREE_TAG_SPACE) ? TREE_TAG_SPACE : 0);
4143 tagInfo->numTags = 0;
4145 for (i = 0; i < numTags; i++) {
4146 for (j = 0; j < tagInfo->numTags; j++) {
4150 if (j >= tagInfo->numTags) {
4152 if (tagInfo->tagSpace == tagInfo->numTags) {
4164 tagInfo->tagPtr[tagInfo->numTags
4237 int numTags = *numTagsPtr, tagSpace = *tagSpacePtr; local
4345 int i, numTags; local
[all...]
H A DtkTreeColumn.c847 for (tagPtr = tagInfo->tagPtr, count = tagInfo->numTags;
3657 int i, numTags; local
3668 if (Tcl_ListObjGetElements(interp, objv[5], &numTags, &listObjv) != TCL_OK) {
3672 STATIC_ALLOC(tags, Tk_Uid, numTags);
3673 for (i = 0; i < numTags; i++) {
3677 column->tagInfo = TagInfo_Add(tree, column->tagInfo, tags, numTags);
3679 STATIC_FREE(tags, Tk_Uid, numTags);
3714 int i, tagSpace, numTags = 0; local
3724 tags = TagInfo_Names(tree, column->tagInfo, tags, &numTags, &tagSpace);
3726 if (numTags) {
3740 int i, numTags; local
[all...]
H A DtkTreeItem.c1547 for (tagPtr = tagInfo->tagPtr, count = tagInfo->numTags;
6977 int i, numTags; local
6988 if (Tcl_ListObjGetElements(interp, objv[5], &numTags, &listObjv) != TCL_OK) {
6992 STATIC_ALLOC(tags, Tk_Uid, numTags);
6993 for (i = 0; i < numTags; i++) {
6997 item->tagInfo = TagInfo_Add(tree, item->tagInfo, tags, numTags);
6999 STATIC_FREE(tags, Tk_Uid, numTags);
7034 int i, tagSpace, numTags = 0; local
7044 tags = TagInfo_Names(tree, item->tagInfo, tags, &numTags, &tagSpace);
7046 if (numTags) {
7060 int i, numTags; local
[all...]
H A DtkTreeCtrl.h1084 int numTags; /* Number of tag slots actually used member in struct:TagInfo
1094 MODULE_SCOPE TagInfo *TagInfo_Add(TreeCtrl *tree, TagInfo *tagInfo, Tk_Uid tags[], int numTags);
1095 MODULE_SCOPE TagInfo *TagInfo_Remove(TreeCtrl *tree, TagInfo *tagInfo, Tk_Uid tags[], int numTags);

Completed in 450 milliseconds

12