Home
last modified time | relevance | path

Searched refs:startpos (Results 1 – 25 of 26) sorted by relevance

12

/third_party/python/Objects/stringlib/
Dcodecs.h314 Py_ssize_t startpos, endpos, newpos; in STRINGLIB() local
320 startpos = i-1; in STRINGLIB()
321 endpos = startpos+1; 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()
351 writer->min_size -= max_char_size * (endpos - startpos); in STRINGLIB()
353 unicode, startpos, endpos); in STRINGLIB()
[all …]
/third_party/python/Modules/
D_heapqmodule.c21 siftdown(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown() argument
38 while (pos > startpos) { in siftdown()
68 Py_ssize_t startpos, endpos, childpos, limit; in siftup() local
74 startpos = pos; in siftup()
112 return siftdown(heap, startpos, pos); in siftup()
390 siftdown_max(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown_max() argument
407 while (pos > startpos) { in siftdown_max()
437 Py_ssize_t startpos, endpos, childpos, limit; in siftup_max() local
443 startpos = pos; in siftup_max()
481 return siftdown_max(heap, startpos, pos); in siftup_max()
/third_party/rust/crates/regex/bench/src/ffi/
Dre2.cpp26 int startpos, int endpos) { in re2_regexp_match() argument
30 return cpp_re->Match(cpp_text, startpos, endpos, RE2::UNANCHORED, in re2_regexp_match()
35 int startpos, int endpos, in re2_regexp_find() argument
42 matched = cpp_re->Match(cpp_text, startpos, endpos, RE2::UNANCHORED, in re2_regexp_find()
Dre2.rs139 startpos: c_int, in re2_regexp_match()
145 startpos: c_int, in re2_regexp_find()
/third_party/NuttX/fs/vfs/
Dfs_sendfile.c91 off_t startpos = 0; in sendfile() local
103 startpos = lseek(infd, 0, SEEK_CUR); in sendfile()
104 if (startpos == (off_t)-1) in sendfile()
261 if (lseek(infd, startpos, SEEK_SET) == (off_t)-1) in sendfile()
/third_party/python/Lib/
Dheapq.py205 def _siftdown(heap, startpos, pos): argument
209 while pos > startpos:
260 startpos = pos
276 _siftdown(heap, startpos, pos)
278 def _siftdown_max(heap, startpos, pos): argument
283 while pos > startpos:
296 startpos = pos
312 _siftdown_max(heap, startpos, pos)
Ddoctest.py285 startpos, endpos = 0, len(got)
289 startpos = len(w)
301 if startpos > endpos:
313 startpos = got.find(w, startpos, endpos)
314 if startpos < 0:
316 startpos += len(w)
/third_party/ffmpeg/libavcodec/
Ddca_parser.c38 unsigned int startpos; member
90 pc1->startpos = IS_EXSS_MARKER(state) ? size - 4 : size - 6; in dca_find_frame_end()
326 if (buf_size > pc1->startpos) { in dca_parse()
327 buf += pc1->startpos; in dca_parse()
328 buf_size -= pc1->startpos; in dca_parse()
330 pc1->startpos = 0; in dca_parse()
/third_party/NuttX/fs/tmpfs/
Dfs_tmpfs.c1050 loff_t startpos; in tmpfs_read() local
1073 startpos = filep->f_pos; in tmpfs_read()
1075 endpos = startpos + buflen; in tmpfs_read()
1080 nread = endpos - startpos; in tmpfs_read()
1085 if (LOS_CopyFromKernel(buffer, buflen, &tfo->tfo_data[startpos], nread) != 0) in tmpfs_read()
1110 loff_t startpos; in tmpfs_readpage() local
1133 startpos = off; in tmpfs_readpage()
1135 endpos = startpos + PAGE_SIZE; in tmpfs_readpage()
1140 nread = endpos - startpos; in tmpfs_readpage()
1145 if (LOS_CopyFromKernel(buffer, PAGE_SIZE, &tfo->tfo_data[startpos], nread) != 0) in tmpfs_readpage()
[all …]
/third_party/python/Lib/turtledemo/
Dpenrose.py135 def test(l=200, n=4, fun=sun, startpos=(0,0), th=2): argument
137 goto(startpos)
170 test(600, 8, startpos=(70, 117))
/third_party/ffmpeg/libavformat/
Dpva.c88 int64_t pva_pts = AV_NOPTS_VALUE, startpos; in read_part_of_packet() local
92 startpos = avio_tell(pb); in read_part_of_packet()
179 av_add_index_entry(s->streams[streamid-1], startpos, pva_pts, 0, 0, AVINDEX_KEYFRAME); in read_part_of_packet()
Dgxfenc.c578 int64_t startpos, curpos; in gxf_write_umf_media_description() local
585 startpos = avio_tell(pb); in gxf_write_umf_media_description()
621 avio_seek(pb, startpos, SEEK_SET); in gxf_write_umf_media_description()
622 avio_wl16(pb, curpos - startpos); in gxf_write_umf_media_description()
Delectronicarts.c366 uint64_t startpos = avio_tell(pb); in process_ea_header() local
453 avio_seek(pb, startpos + size, SEEK_SET); in process_ea_header()
Drmdec.c135 int64_t startpos = avio_tell(pb); in rm_read_audio_stream_info() local
140 if ((startpos + header_size) >= avio_tell(pb) + 2) { in rm_read_audio_stream_info()
146 if ((startpos + header_size) > avio_tell(pb)) in rm_read_audio_stream_info()
147 avio_skip(pb, header_size + startpos - avio_tell(pb)); in rm_read_audio_stream_info()
Dnutenc.c618 int64_t startpos = avio_tell(bc); in write_index() local
659 payload_size = avio_tell(bc) - startpos + 8 + 4; in write_index()
/third_party/cups-filters/filter/foomatic-rip/
Dfoomaticrip.c533 int guess_file_type(const char *begin, size_t len, int *startpos) in guess_file_type() argument
544 *startpos = p - begin; in guess_file_type()
551 *startpos = 0; in guess_file_type()
565 int startpos; in print_file() local
586 type = guess_file_type(buf, n, &startpos); in print_file()
700 return print_pdf(stdin, buf, n, filename, startpos); in print_file()
702 return print_pdf(file, NULL, 0, filename, startpos); in print_file()
Dpdf.h27 int print_pdf(FILE *s, const char *alreadyread, size_t len, const char *filename, size_t startpos);
Dpdf.c291 size_t startpos) in print_pdf() argument
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/
DTokenIterator.java116 int startpos = position; in nextToken() local
154 startpos); in nextToken()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/data/
DTokenIterator.java118 int startpos = position; in nextToken() local
161 startpos); in nextToken()
/third_party/lwip/test/unit/dhcp/
Dtest_dhcp.c216 static void check_pkt_fuzzy(struct pbuf *p, u32_t startpos, const u8_t *mem, u32_t len) in check_pkt_fuzzy() argument
222 fail_if((startpos + len) > p->tot_len); in check_pkt_fuzzy()
223 while (startpos > p->len && p->next) { in check_pkt_fuzzy()
224 startpos -= p->len; in check_pkt_fuzzy()
228 fail_unless(startpos + len <= p->len); /* All data we seek within same pbuf */ in check_pkt_fuzzy()
232 for (i = startpos; i <= (p->len - len); i++) { in check_pkt_fuzzy()
/third_party/python/Lib/idlelib/
Dpyparse.py515 startpos = i
519 endpos = code.find('\n', startpos) + 1
553 i = startpos
/third_party/lz4/lib/
Dlz4hc.c246 const BYTE** startpos, in LZ4HC_InsertAndGetWiderMatch() argument
296 *startpos = ip + back; in LZ4HC_InsertAndGetWiderMatch()
314 *startpos = ip + back; in LZ4HC_InsertAndGetWiderMatch()
402 *startpos = ip; in LZ4HC_InsertAndGetWiderMatch()
438 *startpos = ip + back; in LZ4HC_InsertAndGetWiderMatch()
/third_party/python/Objects/
Dunicodeobject.c359 Py_ssize_t startpos, Py_ssize_t endpos, Py_ssize_t *newpos);
365 Py_ssize_t startpos, Py_ssize_t endpos,
4415 Py_ssize_t startpos, Py_ssize_t endpos, in make_decode_exception() argument
4420 encoding, input, length, startpos, endpos, reason); in make_decode_exception()
4423 if (PyUnicodeDecodeError_SetStart(*exceptionObject, startpos)) in make_decode_exception()
7086 Py_ssize_t startpos, Py_ssize_t endpos, in make_encode_exception() argument
7092 encoding, unicode, startpos, endpos, reason); in make_encode_exception()
7095 if (PyUnicodeEncodeError_SetStart(*exceptionObject, startpos)) in make_encode_exception()
7112 Py_ssize_t startpos, Py_ssize_t endpos, in raise_encode_exception() argument
7116 encoding, unicode, startpos, endpos, reason); in raise_encode_exception()
[all …]
/third_party/astc-encoder/Source/
Dstb_image_write.h1375 int startpos = i; in stbiw__jpg_processDU() local
1380 nrzeroes = i-startpos; in stbiw__jpg_processDU()

12