Searched refs:indexPtr (Results 1 - 15 of 15) sorted by relevance
/ast/src/lib/libtk/generic/ |
H A D | tkTextIndex.c | 31 TkTextIndex *indexPtr)); 33 TkTextIndex *indexPtr)); 45 * The structure at *indexPtr is filled in with information 48 * exist), and indexPtr is returned as result. 57 TkTextMakeIndex(tree, lineIndex, charIndex, indexPtr) 63 TkTextIndex *indexPtr; /* Structure to fill in. */ 68 indexPtr->tree = tree; 76 indexPtr->linePtr = TkBTreeFindLine(tree, lineIndex); 77 if (indexPtr->linePtr == NULL) { 78 indexPtr [all...] |
H A D | tkTextMark.c | 39 TkTextIndex *indexPtr, TkTextSegment *segPtr, 237 TkTextSetMark(textPtr, name, indexPtr) 240 TkTextIndex *indexPtr; /* Where to set mark. */ 262 if (TkBTreeLineIndex(indexPtr->linePtr) 264 TkTextIndexBackChars(indexPtr, 1, &insertIndex); 265 indexPtr = &insertIndex; 275 markPtr->body.mark.linePtr = indexPtr->linePtr; 279 TkBTreeLinkSegment(markPtr, indexPtr); 289 TkTextIndexForwChars(indexPtr, 1, &index2); 290 TkTextChanged(textPtr, indexPtr, 362 indexPtr); local [all...] |
H A D | tkText.h | 617 struct TkTextIndex *indexPtr, TkTextSegment *segPtr, 693 extern int TkBTreeCharTagged _ANSI_ARGS_((TkTextIndex *indexPtr, 703 extern TkTextTag ** TkBTreeGetTags _ANSI_ARGS_((TkTextIndex *indexPtr, 705 extern void TkBTreeInsertChars _ANSI_ARGS_((TkTextIndex *indexPtr, 709 TkTextIndex *indexPtr)); 731 TkTextIndex *indexPtr, int *xPtr, int *yPtr, 734 TkTextIndex *indexPtr, TkTextSegment *segPtr, 739 TkTextIndex *indexPtr, int *xPtr, int *yPtr, 748 TkTextIndex *indexPtr)); 757 extern TkTextSegment * TkTextIndexToSeg _ANSI_ARGS_((TkTextIndex *indexPtr, [all...] |
H A D | tkTextBTree.c | 133 static TkTextSegment * SplitSeg _ANSI_ARGS_((TkTextIndex *indexPtr)); 143 TkTextTag *tagPtr, TkTextIndex *indexPtr)); 392 TkBTreeInsertChars(indexPtr, string) 393 register TkTextIndex *indexPtr; /* Indicates where to insert text. 420 prevPtr = SplitSeg(indexPtr); 421 linePtr = indexPtr->linePtr; 480 CleanupLine(indexPtr->linePtr); 481 if (linePtr != indexPtr->linePtr) { 497 Rebalance((BTree *) indexPtr->tree, nodePtr); 501 TkBTreeCheck(indexPtr [all...] |
H A D | tkTextDisp.c | 319 TkTextIndex *indexPtr)); 325 TkTextIndex *indexPtr)); 331 TkTextIndex *indexPtr)); 458 GetStyle(textPtr, indexPtr) 460 TkTextIndex *indexPtr; /* The character in the text for which 491 tagPtrs = TkBTreeGetTags(indexPtr, &numTags); 700 * line whose leftmost character is given by indexPtr. 714 LayoutDLine(textPtr, indexPtr) 716 TkTextIndex *indexPtr; /* Beginning of display line. May not 766 dlPtr->index = *indexPtr; [all...] |
H A D | tkCanvText.c | 138 char *indexString, int *indexPtr)); 1276 * A standard Tcl result. If all went well, then *indexPtr is 1288 GetTextIndex(interp, canvas, itemPtr, string, indexPtr) 1295 int *indexPtr; /* Where to store converted index. */ 1305 *indexPtr = textPtr->numChars; 1321 *indexPtr = textPtr->insertPos; 1334 *indexPtr = textInfoPtr->selectFirst; 1336 *indexPtr = textInfoPtr->selectLast; 1359 *indexPtr = 0; 1364 *indexPtr [all...] |
H A D | tkEntry.c | 307 Entry *entryPtr, char *string, int *indexPtr)); 1676 * A standard Tcl result. If all went well, then *indexPtr is 1689 GetEntryIndex(interp, entryPtr, string, indexPtr) 1694 int *indexPtr; /* Where to store converted index. */ 1702 *indexPtr = entryPtr->selectAnchor; 1718 *indexPtr = entryPtr->numChars; 1724 *indexPtr = entryPtr->insertPos; 1737 *indexPtr = entryPtr->selectFirst; 1739 *indexPtr = entryPtr->selectLast; 1758 *indexPtr [all...] |
H A D | tkTextWind.c | 81 TkTextIndex *indexPtr, TkTextSegment *segPtr, 743 EmbWinLayoutProc(textPtr, indexPtr, ewPtr, offset, maxX, maxChars, 746 TkTextIndex *indexPtr; /* Identifies first character in chunk. */ 747 TkTextSegment *ewPtr; /* Segment corresponding to indexPtr. */ 749 * indexPtr (always 0). */ 1165 * window exists, *indexPtr is filled in with its index. 1174 TkTextWindowIndex(textPtr, name, indexPtr) 1177 TkTextIndex *indexPtr; /* Index information gets stored here. */ 1187 indexPtr->tree = textPtr->tree; 1188 indexPtr [all...] |
H A D | tkListbox.c | 282 int *indexPtr)); 1643 * A standard Tcl result. If all went well, then *indexPtr is 1654 GetListboxIndex(interp, listPtr, string, numElsOK, indexPtr) 1663 int *indexPtr; /* Where to store converted index. */ 1672 *indexPtr = listPtr->active; 1675 *indexPtr = listPtr->selectAnchor; 1677 *indexPtr = listPtr->numElements; 1692 *indexPtr = NearestListboxElement(listPtr, y); 1694 if (Tcl_GetInt(interp, string, indexPtr) != TCL_OK) { 1700 if (*indexPtr > listPt [all...] |
H A D | tkText.c | 162 TkTextIndex *indexPtr, char *string)); 1049 * the character indicated by "indexPtr". 1055 InsertChars(textPtr, indexPtr, string) 1057 TkTextIndex *indexPtr; /* Where to insert new characters. May be 1069 lineIndex = TkBTreeLineIndex(indexPtr->linePtr); 1072 TkTextMakeIndex(textPtr->tree, lineIndex, 1000000, indexPtr); 1083 if (indexPtr->linePtr == textPtr->topIndex.linePtr) { 1086 if (offset > indexPtr->charIndex) { 1090 TkTextChanged(textPtr, indexPtr, indexPtr); [all...] |
H A D | tkMenu.c | 434 int *indexPtr)); 2035 * A standard Tcl result. If all went well, then *indexPtr is 2047 GetMenuIndex(interp, menuPtr, string, lastOK, indexPtr) 2055 int *indexPtr; /* Where to store converted relief. */ 2060 *indexPtr = menuPtr->active; 2066 *indexPtr = menuPtr->numEntries - ((lastOK) ? 0 : 1); 2071 *indexPtr = -1; 2087 *indexPtr = i; 2105 *indexPtr = i; 2117 *indexPtr [all...] |
H A D | tk.h | 629 int *indexPtr));
|
H A D | tkImgPhoto.c | 354 int *indexPtr, int argc, char **argv));
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclUtil.c | 1325 * *indexPtr. If the return value is TCL_ERROR, then string 1338 TclGetListIndex(interp, string, indexPtr) 1341 int *indexPtr; /* Where to store index. */ 1344 if (Tcl_GetInt(interp, string, indexPtr) != TCL_OK) { 1347 if (*indexPtr < 0) { 1348 *indexPtr = 0; 1351 *indexPtr = INT_MAX;
|
/ast/src/lib/libtksh/include/ |
H A D | tkshlib.h | 226 char *string, int *indexPtr);
|
Completed in 69 milliseconds