Home
last modified time | relevance | path

Searched refs:startchar (Results 1 – 17 of 17) 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/pcre/dist2/src/
Dpcre2demo.c366 PCRE2_SIZE startchar = pcre2_get_startchar(match_data); in main() local
367 if (start_offset <= startchar) in main()
369 if (startchar >= subject_length) break; /* Reached end of subject. */ in main()
370 start_offset = startchar + 1; /* Advance by one character. */ in main()
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.c7423 PCRE2_SIZE startchar; in process_data() local
7424 PCRE2_GET_STARTCHAR(startchar, match_data); in process_data()
7425 PCHARS(lleft, pp, startchar, start - startchar, utf, outfile); in process_data()
7429 if (startchar != start) in process_data()
7606 PCRE2_SIZE startchar; in process_data() local
7607 PCRE2_GET_STARTCHAR(startchar, match_data); in process_data()
7608 fprintf(outfile, " at offset %" SIZ_FORM, SIZ_CAST startchar); in process_data()
7661 PCRE2_SIZE startchar; in process_data() local
7662 PCRE2_GET_STARTCHAR(startchar, match_data); in process_data()
7663 if (end_offset <= startchar) in process_data()
[all …]
Dpcre2_intmodedep.h658 PCRE2_SIZE startchar; /* Offset to starting code unit */ member
Dpcre2_dfa_match.c3477 length - (PCRE2_SIZE)(check_subject - subject), &(match_data->startchar)); in pcre2_dfa_match()
3480 match_data->startchar += (PCRE2_SIZE)(check_subject - subject); in pcre2_dfa_match()
3817 match_data->startchar = (PCRE2_SIZE)(start_match - subject); in pcre2_dfa_match()
Dpcre2_match.c6145 length - (check_subject - subject), &(match_data->startchar)); in pcre2_match()
6148 match_data->startchar += check_subject - subject; in pcre2_match()
6824 match_data->startchar = start_match - subject; in pcre2_match()
6847 match_data->startchar = match_partial - subject; in pcre2_match()
/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/libaom/libaom/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/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/
Dtestinput22649 /\++\KZ|\d+X|9+Y/startchar
2688 /abc\K123/startchar
2709 /abc\K/aftertext,startchar
2717 /^(?:(?=abc)|abc\K)/aftertext,startchar
2944 ab\=startchar
3685 /123\Kabc/startchar
3938 abcd\=startchar
4581 abcd\=allusedtext,startchar
Dtestoutput29300 /\++\KZ|\d+X|9+Y/startchar
9359 /abc\K123/startchar
9456 /abc\K/aftertext,startchar
9475 /^(?:(?=abc)|abc\K)/aftertext,startchar
10140 ab\=startchar
11957 /123\Kabc/startchar
13370 abcd\=startchar
14806 abcd\=allusedtext,startchar
14807 ** Not allowed together: allusedtext startchar
Dtestinput51639 /\x{100}\x{200}\K\x{300}/utf,startchar
Dtestoutput53931 /\x{100}\x{200}\K\x{300}/utf,startchar
/external/pcre/dist2/doc/
Dpcre2test.txt938 startchar show starting character when relevant
1087 startchar show startchar when relevant
1130 The startchar modifier requests that the starting character for the
1139 data> abcxyz\=startchar
1143 Unlike allusedtext, the startchar modifier can be used with JIT. How-