Home
last modified time | relevance | path

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

123

/external/curl/src/
Dtool_formparse.c485 char *endpos; in get_param_part() local
504 *pdata = get_param_word(&p, &endpos, endchar); in get_param_part()
507 while(endpos > *pdata && ISSPACE(endpos[-1])) in get_param_part()
508 endpos--; in get_param_part()
510 *endpos = '\0'; in get_param_part()
543 filename = get_param_word(&p, &endpos, endchar); in get_param_part()
546 while(endpos > filename && ISSPACE(endpos[-1])) in get_param_part()
547 endpos--; in get_param_part()
549 *endpos = '\0'; in get_param_part()
566 hdrfile = get_param_word(&p, &endpos, endchar); in get_param_part()
[all …]
/external/python/cpython3/Objects/stringlib/
Dcodecs.h315 Py_ssize_t startpos, endpos, newpos; in STRINGLIB() local
322 endpos = startpos+1; in STRINGLIB()
324 while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos])) in STRINGLIB()
325 endpos++; in STRINGLIB()
328 writer->overallocate = (endpos < size); in STRINGLIB()
333 memset(p, '?', endpos - startpos); in STRINGLIB()
334 p += (endpos - startpos); in STRINGLIB()
337 i += (endpos - startpos - 1); in STRINGLIB()
341 for (k=startpos; k<endpos; k++) { in STRINGLIB()
347 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/
D_heapqmodule.c66 Py_ssize_t startpos, endpos, childpos, limit; in siftup() local
71 endpos = PyList_GET_SIZE(heap); in siftup()
73 if (pos >= endpos) { in siftup()
80 limit = endpos >> 1; /* smallest pos that has no child */ in siftup()
84 if (childpos + 1 < endpos) { in siftup()
96 if (endpos != PyList_GET_SIZE(heap)) { in siftup()
460 Py_ssize_t startpos, endpos, childpos, limit; in siftup_max() local
465 endpos = PyList_GET_SIZE(heap); in siftup_max()
467 if (pos >= endpos) { in siftup_max()
474 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.c453 state->endpos = end; in state_init()
590 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_match_impl() argument
597 if (!state_init(&state, (PatternObject *)self, string, pos, endpos)) in _sre_SRE_Pattern_match_impl()
629 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_fullmatch_impl() argument
636 if (!state_init(&state, self, string, pos, endpos)) in _sre_SRE_Pattern_fullmatch_impl()
671 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_search_impl() argument
678 if (!state_init(&state, self, string, pos, endpos)) in _sre_SRE_Pattern_search_impl()
736 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_findall_impl() argument
744 if (!state_init(&state, self, string, pos, endpos)) in _sre_SRE_Pattern_findall_impl()
835 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_finditer_impl() argument
[all …]
/external/python/cpython3/Modules/clinic/
D_sre.c.h191 Py_ssize_t pos, Py_ssize_t endpos);
203 Py_ssize_t endpos = PY_SSIZE_T_MAX; in _sre_SRE_Pattern_match() local
250 endpos = ival; in _sre_SRE_Pattern_match()
253 return_value = _sre_SRE_Pattern_match_impl(self, string, pos, endpos); in _sre_SRE_Pattern_match()
270 Py_ssize_t pos, Py_ssize_t endpos);
282 Py_ssize_t endpos = PY_SSIZE_T_MAX; in _sre_SRE_Pattern_fullmatch() local
329 endpos = ival; in _sre_SRE_Pattern_fullmatch()
332 return_value = _sre_SRE_Pattern_fullmatch_impl(self, string, pos, endpos); in _sre_SRE_Pattern_fullmatch()
351 Py_ssize_t pos, Py_ssize_t endpos);
363 Py_ssize_t endpos = PY_SSIZE_T_MAX; in _sre_SRE_Pattern_search() local
[all …]
/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/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/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.cpp113 void FaxFillBits(uint8_t* dest_buf, int columns, int startpos, int endpos) { in FaxFillBits() argument
115 endpos = pdfium::clamp(endpos, 0, columns); in FaxFillBits()
116 if (startpos >= endpos) in FaxFillBits()
120 int last_byte = (endpos - 1) / 8; in FaxFillBits()
122 for (int i = startpos % 8; i <= (endpos - 1) % 8; ++i) in FaxFillBits()
129 for (int i = 0; i <= (endpos - 1) % 8; ++i) in FaxFillBits()
/external/python/cffi/cffi/
Dcparser.py75 endpos = match.end()
76 if csource.startswith('*', endpos):
79 i = endpos
92 csource = csource[endpos:i] + closing + csource[i:]
115 endpos = match.end() - 1
124 if csource[endpos] == '{':
126 closing = csource.find('}', endpos)
129 if csource.find('{', endpos + 1, closing) >= 0:
132 parts.append(csource[endpos+1:closing])
136 semicolon = csource.find(';', endpos)
[all …]
/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/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/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/protobuf/src/google/protobuf/io/
Dprinter.cc144 int endpos = end - text; in Print() local
146 std::string varname(text + pos, endpos - pos); in Print()
176 i = endpos; in Print()
177 pos = endpos + 1; in Print()

123