Home
last modified time | relevance | path

Searched refs:endpos (Results 1 – 25 of 62) sorted by relevance

123

/external/curl/src/
Dtool_formparse.c471 char *endpos; in get_param_part() local
490 *pdata = get_param_word(config, &p, &endpos, endchar); in get_param_part()
493 while(endpos > *pdata && ISSPACE(endpos[-1])) in get_param_part()
494 endpos--; in get_param_part()
496 *endpos = '\0'; in get_param_part()
529 filename = get_param_word(config, &p, &endpos, endchar); in get_param_part()
532 while(endpos > filename && ISSPACE(endpos[-1])) in get_param_part()
533 endpos--; in get_param_part()
535 *endpos = '\0'; in get_param_part()
552 hdrfile = get_param_word(config, &p, &endpos, endchar); in get_param_part()
[all …]
/external/python/cpython3/Objects/stringlib/
Dcodecs.h314 Py_ssize_t startpos, endpos, newpos; in STRINGLIB() local
321 endpos = startpos+1; in STRINGLIB()
323 while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos])) in STRINGLIB()
324 endpos++; in STRINGLIB()
327 writer->overallocate = (endpos < size); in STRINGLIB()
332 memset(p, '?', endpos - startpos); in STRINGLIB()
333 p += (endpos - startpos); in STRINGLIB()
336 i += (endpos - startpos - 1); in STRINGLIB()
340 for (k=startpos; k<endpos; k++) { in STRINGLIB()
346 i += (endpos - startpos - 1); in STRINGLIB()
[all …]
/external/webrtc/common_audio/signal_processing/
Ddownsample_fast_mips.c26 size_t endpos = delay + factor * (data_out_length - 1) + 1; in WebRtcSpl_DownsampleFast_mips() local
40 || data_in_length < endpos) { in WebRtcSpl_DownsampleFast_mips()
100 [p_coefs_0] "r" (p_coefficients_0), [endpos] "r" (endpos), in WebRtcSpl_DownsampleFast_mips()
160 [p_coefs_0] "r" (p_coefficients_0), [endpos] "r" (endpos), in WebRtcSpl_DownsampleFast_mips()
Ddownsample_fast.c30 size_t endpos = delay + factor * (data_out_length - 1) + 1; in WebRtcSpl_DownsampleFastC() local
34 || data_in_length < endpos) { in WebRtcSpl_DownsampleFastC()
41 for (i = delay; i < endpos; i += factor) { in WebRtcSpl_DownsampleFastC()
Ddownsample_fast_neon.c28 size_t endpos = delay + factor * (data_out_length - 1) + 1; in WebRtcSpl_DownsampleFastNeon() local
30 size_t endpos1 = endpos - factor * res; in WebRtcSpl_DownsampleFastNeon()
34 || data_in_length < endpos) { in WebRtcSpl_DownsampleFastNeon()
204 for (; i < endpos; i += factor) { in WebRtcSpl_DownsampleFastNeon()
/external/python/cpython3/Modules/clinic/
D_sre.c.h172 Py_ssize_t endpos);
182 Py_ssize_t endpos = PY_SSIZE_T_MAX; in _sre_SRE_Pattern_match() local
185 &string, &pos, &endpos)) { in _sre_SRE_Pattern_match()
188 return_value = _sre_SRE_Pattern_match_impl(self, cls, string, pos, endpos); in _sre_SRE_Pattern_match()
206 Py_ssize_t endpos);
216 Py_ssize_t endpos = PY_SSIZE_T_MAX; in _sre_SRE_Pattern_fullmatch() local
219 &string, &pos, &endpos)) { in _sre_SRE_Pattern_fullmatch()
222 return_value = _sre_SRE_Pattern_fullmatch_impl(self, cls, string, pos, endpos); in _sre_SRE_Pattern_fullmatch()
242 Py_ssize_t endpos);
252 Py_ssize_t endpos = PY_SSIZE_T_MAX; in _sre_SRE_Pattern_search() local
[all …]
/external/python/cpython3/Modules/
D_heapqmodule.c68 Py_ssize_t startpos, endpos, childpos, limit; in siftup() local
73 endpos = PyList_GET_SIZE(heap); in siftup()
75 if (pos >= endpos) { in siftup()
82 limit = endpos >> 1; /* smallest pos that has no child */ in siftup()
86 if (childpos + 1 < endpos) { in siftup()
98 if (endpos != PyList_GET_SIZE(heap)) { in siftup()
437 Py_ssize_t startpos, endpos, childpos, limit; in siftup_max() local
442 endpos = PyList_GET_SIZE(heap); in siftup_max()
444 if (pos >= endpos) { in siftup_max()
451 limit = endpos >> 1; /* smallest pos that has no child */ in siftup_max()
[all …]
Dsre.h49 Py_ssize_t pos, endpos; /* current target slice */ member
71 Py_ssize_t pos, endpos; member
D_sre.c469 state->endpos = end; in state_init()
635 Py_ssize_t endpos) in _sre_SRE_Pattern_match_impl() argument
643 if (!state_init(&state, (PatternObject *)self, string, pos, endpos)) in _sre_SRE_Pattern_match_impl()
678 Py_ssize_t endpos) in _sre_SRE_Pattern_fullmatch_impl() argument
686 if (!state_init(&state, self, string, pos, endpos)) in _sre_SRE_Pattern_fullmatch_impl()
724 Py_ssize_t endpos) in _sre_SRE_Pattern_search_impl() argument
732 if (!state_init(&state, self, string, pos, endpos)) in _sre_SRE_Pattern_search_impl()
790 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_findall_impl() argument
798 if (!state_init(&state, self, string, pos, endpos)) in _sre_SRE_Pattern_findall_impl()
892 Py_ssize_t endpos) in _sre_SRE_Pattern_finditer_impl() argument
[all …]
/external/markdown/markdown/
Dhtmlparser.py277 endpos = self.check_for_whole_start_tag(i)
278 if endpos < 0:
279 return endpos
281 self.__starttag_text = rawdata[i:endpos]
289 while k < endpos:
304 end = rawdata[k:endpos].strip()
313 self.handle_data(rawdata[i:endpos])
314 return endpos
323 return endpos
/external/python/cpython2/Tools/scripts/
Dparseentities.py20 def parse(text,pos=0,endpos=None): argument
23 if endpos is None:
24 endpos = len(text)
27 m = entityRE.search(text,pos,endpos)
/external/python/cpython3/Tools/scripts/
Dparseentities.py19 def parse(text,pos=0,endpos=None): argument
22 if endpos is None:
23 endpos = len(text)
26 m = entityRE.search(text,pos,endpos)
/external/python/cpython2/Modules/
D_heapqmodule.c77 Py_ssize_t startpos, endpos, childpos, rightpos, limit; in _siftup() local
82 endpos = PyList_GET_SIZE(heap); in _siftup()
84 if (pos >= endpos) { in _siftup()
90 limit = endpos / 2; /* smallest pos that has no child */ in _siftup()
95 if (rightpos < endpos) { in _siftup()
103 if (endpos != PyList_GET_SIZE(heap)) { in _siftup()
418 Py_ssize_t startpos, endpos, childpos, rightpos, limit; in _siftupmax() local
423 endpos = PyList_GET_SIZE(heap); in _siftupmax()
425 if (pos >= endpos) { in _siftupmax()
433 limit = endpos / 2; /* smallest pos that has no child */ in _siftupmax()
[all …]
Dsre.h55 Py_ssize_t pos, endpos; /* current target slice */ member
81 Py_ssize_t pos, endpos; member
/external/python/parse_type/parse_type/
Dparse.py802 def search(self, string, pos=0, endpos=None, evaluate_result=True): argument
814 if endpos is None:
815 endpos = len(string)
816 m = self._search_re.search(string, pos, endpos)
825 def findall(self, string, pos=0, endpos=None, extra_types=None, evaluate_result=True): argument
835 if endpos is None:
836 endpos = len(string)
837 return ResultIterator(self, string, pos, endpos, evaluate_result=evaluate_result)
1191 def __init__(self, parser, string, pos, endpos, evaluate_result=True): argument
1195 self.endpos = endpos
[all …]
/external/python/cpython3/Lib/html/
Dparser.py302 endpos = self.check_for_whole_start_tag(i)
303 if endpos < 0:
304 return endpos
306 self.__starttag_text = rawdata[i:endpos]
314 while k < endpos:
329 end = rawdata[k:endpos].strip()
338 self.handle_data(rawdata[i:endpos])
339 return endpos
347 return endpos
/external/python/cpython2/Lib/
DHTMLParser.py284 endpos = self.check_for_whole_start_tag(i)
285 if endpos < 0:
286 return endpos
288 self.__starttag_text = rawdata[i:endpos]
297 while k < endpos:
312 end = rawdata[k:endpos].strip()
321 self.handle_data(rawdata[i:endpos])
322 return endpos
330 return endpos
Dheapq.py296 endpos = len(heap)
301 while childpos < endpos:
304 if rightpos < endpos and not cmp_lt(heap[childpos], heap[rightpos]):
332 endpos = len(heap)
337 while childpos < endpos:
340 if rightpos < endpos and not cmp_lt(heap[rightpos], heap[childpos]):
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Dfilter_functions.c141 int k, n, endpos, start; in WebRtcIsac_WeightingFilter() local
160 endpos=PITCH_WLPCBUFLEN + PITCH_SUBFRAME_LEN; in WebRtcIsac_WeightingFilter()
165 start=endpos-PITCH_WLPCWINLEN; in WebRtcIsac_WeightingFilter()
181 endpos+=PITCH_SUBFRAME_LEN; in WebRtcIsac_WeightingFilter()
/external/python/cpython3/Lib/
Dheapq.py259 endpos = len(heap)
264 while childpos < endpos:
267 if rightpos < endpos and not heap[childpos] < heap[rightpos]:
295 endpos = len(heap)
300 while childpos < endpos:
303 if rightpos < endpos and not heap[rightpos] < heap[childpos]:
/external/pdfium/core/fxcodec/fax/
Dfaxmodule.cpp128 void FaxFillBits(uint8_t* dest_buf, int columns, int startpos, int endpos) { in FaxFillBits() argument
130 endpos = pdfium::clamp(endpos, 0, columns); in FaxFillBits()
131 if (startpos >= endpos) in FaxFillBits()
135 int last_byte = (endpos - 1) / 8; in FaxFillBits()
137 for (int i = startpos % 8; i <= (endpos - 1) % 8; ++i) in FaxFillBits()
144 for (int i = 0; i <= (endpos - 1) % 8; ++i) in FaxFillBits()
/external/wpa_supplicant_8/src/eap_server/
Dtncs.c839 char *endpos; in tncs_process_if_tnccs() local
850 endpos = end; in tncs_process_if_tnccs()
854 *endpos = '<'; in tncs_process_if_tnccs()
862 *endpos = '<'; in tncs_process_if_tnccs()
885 char *xml, *xmlend, *endpos; in tncs_process_if_tnccs() local
895 endpos = end; in tncs_process_if_tnccs()
899 *endpos = '<'; in tncs_process_if_tnccs()
915 *endpos = '<'; in tncs_process_if_tnccs()
924 *endpos = '<'; in tncs_process_if_tnccs()
/external/python/cpython2/Modules/_io/
Dtextio.c1701 Py_ssize_t start, endpos, chunked, offset_to_buffer; in _textiowrapper_readline() local
1736 start = endpos = offset_to_buffer = 0; in _textiowrapper_readline()
1759 endpos = _PyIO_find_line_ending( in _textiowrapper_readline()
1762 if (endpos >= 0) { in _textiowrapper_readline()
1763 endpos += start; in _textiowrapper_readline()
1764 if (limit >= 0 && (endpos - start) + chunked >= limit) in _textiowrapper_readline()
1765 endpos = start + limit - chunked; in _textiowrapper_readline()
1770 endpos = consumed + start; in _textiowrapper_readline()
1771 if (limit >= 0 && (endpos - start) + chunked >= limit) { in _textiowrapper_readline()
1773 endpos = start + limit - chunked; in _textiowrapper_readline()
[all …]
/external/python/cpython3/Modules/_io/
Dbytesio.c199 size_t endpos = (size_t)self->pos + len; in write_bytes() local
200 if (endpos > (size_t)PyBytes_GET_SIZE(self->buf)) { in write_bytes()
201 if (resize_buffer(self, endpos) < 0) { in write_bytes()
207 if (unshare_buffer(self, Py_MAX(endpos, (size_t)self->string_size)) < 0) { in write_bytes()
229 self->pos = endpos; in write_bytes()
232 if ((size_t)self->string_size < endpos) { in write_bytes()
233 self->string_size = endpos; in write_bytes()
/external/python/cffi/cffi/
Dcparser.py76 endpos = match.end()
77 if csource.startswith('*', endpos):
80 i = endpos
93 csource = csource[endpos:i] + closing + csource[i:]
116 endpos = match.end() - 1
125 if csource[endpos] == '{':
127 closing = csource.find('}', endpos)
130 if csource.find('{', endpos + 1, closing) >= 0:
133 parts.append(csource[endpos+1:closing])
137 semicolon = csource.find(';', endpos)
[all …]

123