Home
last modified time | relevance | path

Searched refs:startchar (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/idlelib/idle_test/
Dmock_tk.py204 startline, startchar = self._decode(index1)
206 endline, endchar = startline, startchar+1
211 return self.data[startline][startchar:endchar]
213 lines = [self.data[startline][startchar:]]
225 startline, startchar = self._decode(index1, -1)
227 if startchar < len(self.data[startline])-1:
229 endline, endchar = startline, startchar+1
240 if startline == endline and startchar < endchar:
241 self.data[startline] = self.data[startline][:startchar] + \
244 self.data[startline] = self.data[startline][:startchar] + \
/third_party/pcre2/pcre2/src/
Dpcre2demo.c375 PCRE2_SIZE startchar = pcre2_get_startchar(match_data); in main() local
376 if (start_offset <= startchar) in main()
378 if (startchar >= subject_length) break; /* Reached end of subject. */ in main()
379 start_offset = startchar + 1; /* Advance by one character. */ in main()
Dpcre2_match_data.c157 return match_data->startchar; in pcre2_get_startchar()
Dpcre2_jit_match.c175 match_data->startchar = arguments.startchar_ptr - subject; in pcre2_jit_match()
Dpcre2_match.c6469 match_data->startchar = 0; in pcre2_match()
6537 length - (start_match - subject), &(match_data->startchar)); in pcre2_match()
6540 match_data->startchar += start_match - subject; in pcre2_match()
6672 length - (mb->check_subject - subject), &(match_data->startchar)); in pcre2_match()
6681 match_data->startchar += mb->check_subject - subject; in pcre2_match()
6683 end_subject = subject + match_data->startchar; in pcre2_match()
7446 &(match_data->startchar)); in pcre2_match()
7462 mb->end_subject = end_subject = start_match + match_data->startchar; in pcre2_match()
7488 match_data->startchar = start_match - subject; in pcre2_match()
7525 match_data->startchar = match_partial - subject; in pcre2_match()
Dpcre2test.c7893 PCRE2_SIZE startchar; in process_data() local
7894 PCRE2_GET_STARTCHAR(startchar, match_data); in process_data()
7895 PCHARS(lleft, pp, startchar, start - startchar, utf, outfile); in process_data()
7899 if (startchar != start) in process_data()
8097 PCRE2_SIZE startchar; in process_data() local
8098 PCRE2_GET_STARTCHAR(startchar, match_data); in process_data()
8099 fprintf(outfile, " at offset %" SIZ_FORM, startchar); in process_data()
8152 PCRE2_SIZE startchar; in process_data() local
8153 PCRE2_GET_STARTCHAR(startchar, match_data); in process_data()
8154 if (end_offset <= startchar) in process_data()
[all …]
Dpcre2_intmodedep.h663 PCRE2_SIZE startchar; /* Offset to starting code unit */ member
Dpcre2_substitute.c348 rc = PRIV(valid_utf)(replacement, rlength, &(match_data->startchar)); in pcre2_substitute()
Dpcre2_dfa_match.c3570 length - (PCRE2_SIZE)(check_subject - subject), &(match_data->startchar)); in pcre2_dfa_match()
3573 match_data->startchar += (PCRE2_SIZE)(check_subject - subject); in pcre2_dfa_match()
3999 match_data->startchar = (PCRE2_SIZE)(start_match - subject); in pcre2_dfa_match()
Dpcre2grep.c1891 PCRE2_SIZE startchar = pcre2_get_startchar(match_data); in match_patterns() local
1893 fprintf(stderr, "%s at offset %" SIZ_FORM "\n\n", mbuffer, startchar); in match_patterns()
/third_party/pcre2/pcre2/testdata/
Dtestinput10586 \x80\=startchar
587 abc\x80\=startchar
588 abc\x80\=startchar,offset=3
Dtestinput22639 /\++\KZ|\d+X|9+Y/startchar
2678 /abc\K123/startchar
2699 /abc\K/aftertext,startchar
2707 /^(?:(?=abc)|abc\K)/aftertext,startchar
2934 ab\=startchar
3683 /123\Kabc/startchar
3936 abcd\=startchar
4579 abcd\=allusedtext,startchar
Dtestoutput101813 \x80\=startchar
1815 abc\x80\=startchar
1817 abc\x80\=startchar,offset=3
Dtestoutput29282 /\++\KZ|\d+X|9+Y/startchar
9341 /abc\K123/startchar
9434 /abc\K/aftertext,startchar
9453 /^(?:(?=abc)|abc\K)/aftertext,startchar
10114 ab\=startchar
11948 /123\Kabc/startchar
13359 abcd\=startchar
14787 abcd\=allusedtext,startchar
14788 ** Not allowed together: allusedtext startchar
Dtestinput51645 /\x{100}\x{200}\K\x{300}/utf,startchar
Dtestoutput53938 /\x{100}\x{200}\K\x{300}/utf,startchar
/third_party/pcre2/pcre2/doc/
Dpcre2test.txt972 startchar show starting character when relevant
1132 startchar show startchar when relevant
1185 The startchar modifier requests that the starting character for the
1194 data> abcxyz\=startchar
1198 Unlike allusedtext, the startchar modifier can be used with JIT. How-