Searched refs:index1 (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkText.c366 TkTextIndex index1, index2;
385 if (TkTextGetIndex(interp, textPtr, argv[2], &index1) != TCL_OK) {
389 if (TkTextCharBbox(textPtr, &index1, &x, &y, &width, &height) == 0) {
410 argv[0], " compare index1 op index2\"", (char *) NULL);
414 if ((TkTextGetIndex(interp, textPtr, argv[2], &index1) != TCL_OK)
420 relation = TkTextIndexCmp(&index1, &index2);
482 argv[0], " delete index1 ?index2?\"", (char *) NULL);
500 if (TkTextGetIndex(interp, textPtr, argv[2], &index1) != TCL_OK) {
504 if (TkTextDLineInfo(textPtr, &index1, &x, &y, &width, &height, &base)
512 argv[0], " get index1
364 TkTextIndex index1, index2; local
1127 TkTextIndex index1, index2; local
1973 TkTextIndex index1, index2; local
[all...]
H A DtkTextTag.c117 TkTextIndex first, last, index1, index2;
134 " tagName index1 ?index2 index1 index2 ...?\"",
140 if (TkTextGetIndex(interp, textPtr, argv[i], &index1) != TCL_OK) {
148 if (TkTextIndexCmp(&index1, &index2) >= 0) {
152 index2 = index1;
157 TkTextRedrawTag(textPtr, &index1, &index2, tagPtr, !addTag);
166 TkBTreeTag(&index1, &index2, tagPtr, addTag);
522 if (TkTextGetIndex(interp, textPtr, argv[3], &index1)
526 arrayPtr = TkBTreeGetTags(&index1,
116 TkTextIndex first, last, index1, index2; local
[all...]
/ast/src/cmd/ie/
H A Dhistory.c675 histloc hist_find(string,index1,flag,direction)
677 register int index1;
706 if(index1 <= index2)
709 else if(index1 >= index2)
711 while(index1!=index2)
713 direction>0?++index1:--index1;
714 offset = hist_position(index1);
717 location.his_command = index1;
/ast/src/cmd/ksh93/edit/
H A Dhistory.c952 Histloc_t hist_find(register History_t*hp,char *string,register int index1,int flag,int direction) argument
983 if(index1 <= index2)
986 else if(index1 >= index2)
988 while(index1!=index2)
990 direction>0?++index1:--index1;
991 offset = hist_tell(hp,index1);
994 location.hist_command = index1;
H A Dedit.c1662 int ac=0,l,n,index1,index2; local
1705 index1 = (int)hp->histind;
1706 for(index2=index1-hp->histsize; index1>index2; index1--)
1708 offset = hist_tell(hp,index1);
1724 mp->index = index1;

Completed in 23 milliseconds