Home
last modified time | relevance | path

Searched refs:startpos (Results 1 - 25 of 32) sorted by relevance

12

/third_party/python/Objects/stringlib/
H A Dcodecs.h314 Py_ssize_t startpos, endpos, newpos; in utf8_encoder() local
320 startpos = i-1; in utf8_encoder()
321 endpos = startpos+1; in utf8_encoder()
332 memset(p, '?', endpos - startpos); in utf8_encoder()
333 p += (endpos - startpos); in utf8_encoder()
336 i += (endpos - startpos - 1); in utf8_encoder()
340 for (k=startpos; k<endpos; k++) { in utf8_encoder()
346 i += (endpos - startpos - 1); in utf8_encoder()
351 writer->min_size -= max_char_size * (endpos - startpos); in utf8_encoder()
353 unicode, startpos, endpo in utf8_encoder()
[all...]
/third_party/rust/crates/regex/bench/src/ffi/
H A Dre2.cpp26 int startpos, int endpos) { in re2_regexp_match()
30 return cpp_re->Match(cpp_text, startpos, endpos, RE2::UNANCHORED, in re2_regexp_match()
35 int startpos, int endpos, in re2_regexp_find()
42 matched = cpp_re->Match(cpp_text, startpos, endpos, RE2::UNANCHORED, in re2_regexp_find()
25 re2_regexp_match(re2_regexp *re, re2_string text, int startpos, int endpos) re2_regexp_match() argument
34 re2_regexp_find(re2_regexp *re, re2_string text, int startpos, int endpos, int *match_start, int *match_end) re2_regexp_find() argument
/third_party/NuttX/fs/vfs/
H A 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/
H A Dheapq.py204 # 'heap' is a heap at all indices >= startpos, except possibly for pos. pos
207 def _siftdown(heap, startpos, pos):
211 while pos > startpos:
262 startpos = pos
278 _siftdown(heap, startpos, pos)
280 def _siftdown_max(heap, startpos, pos):
285 while pos > startpos:
298 startpos = pos
314 _siftdown_max(heap, startpos, pos)
H A Ddoctest.py285 startpos, endpos = 0, len(got)
289 startpos = len(w)
301 if startpos > endpos:
312 # Search for an empty string succeeds, and doesn't change startpos.
313 startpos = got.find(w, startpos, endpos)
314 if startpos < 0:
316 startpos += len(w)
/third_party/python/Modules/
H A D_heapqmodule.c25 siftdown(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown() argument
42 while (pos > startpos) { in siftdown()
72 Py_ssize_t startpos, endpos, childpos, limit; in siftup() local
78 startpos = pos; in siftup()
116 return siftdown(heap, startpos, pos); in siftup()
394 siftdown_max(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown_max() argument
411 while (pos > startpos) { in siftdown_max()
441 Py_ssize_t startpos, endpos, childpos, limit; in siftup_max() local
447 startpos = pos; in siftup_max()
485 return siftdown_max(heap, startpos, po in siftup_max()
[all...]
/third_party/ffmpeg/libavcodec/
H A 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/
H A 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], nrea in tmpfs_readpage()
1251 loff_t startpos; tmpfs_write() local
[all...]
/third_party/python/Lib/turtledemo/
H A Dpenrose.py135 def test(l=200, n=4, fun=sun, startpos=(0,0), th=2):
137 goto(startpos)
170 test(600, 8, startpos=(70, 117))
/third_party/cups-filters/filter/foomatic-rip/
H A 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()
590 /*if (startpos > 0) { in print_file()
592 write_output(buf, 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()
H A Dpdf.h27 int print_pdf(FILE *s, const char *alreadyread, size_t len, const char *filename, size_t startpos);
H A Dpdf.c291 size_t startpos) in print_pdf()
287 print_pdf(FILE *s, const char *alreadyread, size_t len, const char *filename, size_t startpos) print_pdf() argument
/third_party/ffmpeg/libavformat/
H A 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()
H A 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()
H A 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()
H A 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()
/third_party/backends/backend/
H A Das6e.h74 int startpos; member
H A Das6e.c325 scan_params[2] = s->as6e_params.startpos; in sane_start()
358 s->as6e_params.startpos = as6e_unit_convert (s->value[OPT_TL_X].w); in sane_get_parameters()
367 s->as6e_params.startpos = (s->as6e_params.startpos / divisor) * divisor; in sane_get_parameters()
374 s->as6e_params.startpos) * s->as6e_params.resolution / 300; in sane_get_parameters()
H A Dhp3900_types.c449 SANE_Int startpos; /* [+44] 78c */ member
459 SANE_Int startpos; /* +0 */ member
H A Dhp3900_debug.c418 DBG (DBG_FNC, " -> startpos = %i\n", params->startpos); in dbg_hwdcfg()
472 DBG (DBG_FNC, " *> startpos = %i\n", params->startpos); in dbg_ScanParams()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/
H A DTokenIterator.java116 int startpos = position; in nextToken()
154 startpos); in nextToken()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/data/
H A DTokenIterator.java118 int startpos = position; in nextToken()
161 startpos); in nextToken()
/third_party/python/Lib/idlelib/
H A Dpyparse.py511 startpos = i
515 endpos = code.find('\n', startpos) + 1
549 i = startpos
/third_party/lwip/test/unit/dhcp/
H A 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/lz4/lib/
H A Dlz4hc.c246 const BYTE** startpos, in LZ4HC_InsertAndGetWiderMatch()
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()
458 /* note : LZ4HC_InsertAndGetWiderMatch() is able to modify the starting position of a match (*startpos), in LZ4HC_InsertAndFindBestMatch()
1316 /* note : LZ4HC_InsertAndGetWiderMatch() is able to modify the starting position of a match (*startpos), in LZ4HC_FindLongerMatch()
240 LZ4HC_InsertAndGetWiderMatch( LZ4HC_CCtx_internal* const hc4, const BYTE* const ip, const BYTE* const iLowLimit, const BYTE* const iHighLimit, int longest, const BYTE** matchpos, const BYTE** startpos, const int maxNbAttempts, const int patternAnalysis, const int chainSwap, const dictCtx_directive dict, const HCfavor_e favorDecSpeed) LZ4HC_InsertAndGetWiderMatch() argument

Completed in 27 milliseconds

12