Lines Matching defs:spos

1370 static osc8_match osc8_search_line1(int search_type, POSITION linepos, POSITION spos, constant char *line, size_t line_len, constant char *param, POSITION clickpos)
1423 if (osc8_linepos == linepos && osc8_match_start == spos + ptr_diff(op1.osc8_start, line))
1427 osc8_match_start = spos + ptr_diff(op1.osc8_start, line);
1428 osc8_match_end = spos + ptr_diff(op2.osc8_start, line);
1429 osc8_params_start = spos + ptr_diff(op1.params_start, line);
1430 osc8_params_end = spos + ptr_diff(op1.params_end, line);
1431 osc8_uri_start = spos + ptr_diff(op1.uri_start, line);
1432 osc8_uri_end = spos + ptr_diff(op1.uri_end, line);
1433 osc8_text_start = spos + ptr_diff(op1.osc8_end, line);
1434 osc8_text_end = spos + ptr_diff(op2.osc8_start, line);
1448 POSITION spos = linepos;
1461 spos += off;
1469 r = osc8_search_line1(search_type, linepos, spos, sline, sline_len, param, clickpos);
2204 * prep_hilite asks that the range (spos,epos) be covered by the prep region.
2206 public void prep_hilite(POSITION spos, POSITION epos, int maxlines)
2228 spos = back_raw_line(spos+1, NULL, NULL);
2238 max_epos = spos;
2245 * The range that we need to search (spos,epos); and the range that
2251 spos > prep_endpos)
2261 nprep_startpos = spos;
2289 if (spos < prep_startpos)
2296 if (spos < SEARCH_MORE)
2297 spos = 0;
2299 spos -= SEARCH_MORE;
2300 nprep_startpos = spos;
2301 } else /* (spos >= prep_startpos) */
2307 spos = prep_endpos;
2318 if (epos == NULL_POSITION || epos > spos)
2324 result = search_range(spos, epos, search_type, 0, maxlines, (POSITION*)NULL, &new_epos, (POSITION*)NULL);
2340 spos = nprep_endpos;
2354 spos = back_raw_line(nprep_startpos, NULL, NULL);
2355 if (spos == NULL_POSITION)
2357 nprep_startpos = spos;