Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/idlelib/idle_test/
Dmock_tk.py200 startline, startchar = self._decode(index1)
202 endline, endchar = startline, startchar+1
207 return self.data[startline][startchar:endchar]
209 lines = [self.data[startline][startchar:]]
222 startline, startchar = self._decode(index1, -1)
224 if startchar < len(self.data[startline])-1:
226 endline, endchar = startline, startchar+1
237 if startline == endline and startchar < endchar:
238 self.data[startline] = self.data[startline][:startchar] + \
241 self.data[startline] = self.data[startline][:startchar] + \
/external/python/cpython2/Lib/idlelib/idle_test/
Dmock_tk.py200 startline, startchar = self._decode(index1)
202 endline, endchar = startline, startchar+1
207 return self.data[startline][startchar:endchar]
209 lines = [self.data[startline][startchar:]]
222 startline, startchar = self._decode(index1, -1)
224 if startchar < len(self.data[startline])-1:
226 endline, endchar = startline, startchar+1
237 if startline == endline and startchar < endchar:
238 self.data[startline] = self.data[startline][:startchar] + \
241 self.data[startline] = self.data[startline][:startchar] + \
/external/libvpx/libvpx/tools/
Dcpplint.py1219 def FindEndOfExpressionInLine(line, startpos, depth, startchar, endchar): argument
1234 if line[i] == startchar:
1262 startchar = line[pos]
1263 if startchar not in '({[<':
1265 if startchar == '(': endchar = ')'
1266 if startchar == '[': endchar = ']'
1267 if startchar == '{': endchar = '}'
1268 if startchar == '<': endchar = '>'
1272 line, pos, 0, startchar, endchar)
1281 line, 0, num_open, startchar, endchar)
[all …]
/external/pcre/dist2/src/
Dpcre2_match_data.c144 return match_data->startchar; in pcre2_get_startchar()
Dpcre2_jit_match.c178 match_data->startchar = arguments.startchar_ptr - subject; in pcre2_jit_match()
Dpcre2test.c6535 PCRE2_SIZE startchar; in process_data() local
6536 PCRE2_GET_STARTCHAR(startchar, match_data); in process_data()
6537 PCHARS(lleft, pp, startchar, start - startchar, utf, outfile); in process_data()
6541 if (startchar != start) in process_data()
6721 PCRE2_SIZE startchar; in process_data() local
6722 PCRE2_GET_STARTCHAR(startchar, match_data); in process_data()
6723 fprintf(outfile, " at offset %lu", (unsigned long int)startchar); in process_data()
6768 PCRE2_SIZE startchar; in process_data() local
6769 PCRE2_GET_STARTCHAR(startchar, match_data); in process_data()
6770 if (end_offset <= startchar) in process_data()
[all …]
Dpcre2_intmodedep.h637 PCRE2_SIZE startchar; /* Offset to starting code unit */ member
Dpcre2_dfa_match.c3315 length - (PCRE2_SIZE)(check_subject - subject), &(match_data->startchar)); in pcre2_dfa_match()
3318 match_data->startchar += (PCRE2_SIZE)(check_subject - subject); in pcre2_dfa_match()
3586 match_data->startchar = (PCRE2_SIZE)(start_match - subject); in pcre2_dfa_match()
Dpcre2_match.c6586 length - (check_subject - subject), &(match_data->startchar)); in pcre2_match()
6589 match_data->startchar += check_subject - subject; in pcre2_match()
7199 match_data->startchar = start_match - subject; in pcre2_match()
7226 match_data->startchar = match_partial - subject; in pcre2_match()
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py1031 def FindEndOfExpressionInLine(line, startpos, depth, startchar, endchar): argument
1045 if line[i] == startchar:
1073 startchar = line[pos]
1074 if startchar not in '({[':
1076 if startchar == '(': endchar = ')'
1077 if startchar == '[': endchar = ']'
1078 if startchar == '{': endchar = '}'
1081 end_pos = FindEndOfExpressionInLine(line, pos, 0, startchar, endchar)
1085 num_open = tail.count(startchar) - tail.count(endchar)
1089 delta = line.count(startchar) - line.count(endchar)
[all …]
/external/pcre/dist2/testdata/
Dtestinput22626 /\++\KZ|\d+X|9+Y/startchar
2665 /abc\K123/startchar
2686 /abc\K/aftertext,startchar
2694 /^(?:(?=abc)|abc\K)/aftertext,startchar
2934 ab\=startchar
3674 /123\Kabc/startchar
3928 abcd\=startchar
4556 abcd\=allusedtext,startchar
Dtestoutput29109 /\++\KZ|\d+X|9+Y/startchar
9168 /abc\K123/startchar
9265 /abc\K/aftertext,startchar
9284 /^(?:(?=abc)|abc\K)/aftertext,startchar
9971 ab\=startchar
11791 /123\Kabc/startchar
13205 abcd\=startchar
14620 abcd\=allusedtext,startchar
14621 ** Not allowed together: allusedtext startchar
Dtestinput51639 /\x{100}\x{200}\K\x{300}/utf,startchar
Dtestoutput53945 /\x{100}\x{200}\K\x{300}/utf,startchar
/external/pcre/dist2/doc/
Dpcre2test.txt829 startchar show starting character when relevant
919 startchar show startchar when relevant
962 The startchar modifier requests that the starting character for the
971 data> abcxyz\=startchar
975 Unlike allusedtext, the startchar modifier can be used with JIT. How-