Home
last modified time | relevance | path

Searched refs:startpos (Results 1 – 25 of 34) 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/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/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/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/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph261pay.c105 guint startpos; member
715 gob->startpos : gst_bit_reader_get_pos (br); in parse_mb_until_pos()
796 gobs[i].startpos = gobpos; in gst_rtp_h261_pay_init_gobs()
872 guint startpos; in gst_rtp_h261_packetize_and_push() local
882 startpos = pay->offset; in gst_rtp_h261_packetize_and_push()
900 endpos = GST_ROUND_DOWN_8 (startpos) + max_payload_size * 8; in gst_rtp_h261_packetize_and_push()
901 if (endpos < startpos) in gst_rtp_h261_packetize_and_push()
904 GST_LOG_OBJECT (pay, "Next packet startpos %u maxpos %u", startpos, endpos); in gst_rtp_h261_packetize_and_push()
908 if (bitrange_to_bytes (startpos, gob->endpos) > max_payload_size) { in gst_rtp_h261_packetize_and_push()
910 gob->startpos, gob->endpos); in gst_rtp_h261_packetize_and_push()
[all …]
/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.c1049 loff_t startpos; in tmpfs_read() local
1072 startpos = filep->f_pos; in tmpfs_read()
1074 endpos = startpos + buflen; in tmpfs_read()
1079 nread = endpos - startpos; in tmpfs_read()
1084 if (LOS_CopyFromKernel(buffer, buflen, &tfo->tfo_data[startpos], nread) != 0) in tmpfs_read()
1109 loff_t startpos; in tmpfs_readpage() local
1132 startpos = off; in tmpfs_readpage()
1134 endpos = startpos + PAGE_SIZE; in tmpfs_readpage()
1139 nread = endpos - startpos; in tmpfs_readpage()
1144 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.c87 int64_t pva_pts = AV_NOPTS_VALUE, startpos; in read_part_of_packet() local
91 startpos = avio_tell(pb); in read_part_of_packet()
178 av_add_index_entry(s->streams[streamid-1], startpos, pva_pts, 0, 0, AVINDEX_KEYFRAME); in read_part_of_packet()
Dgxfenc.c594 int64_t startpos, curpos; in gxf_write_umf_media_description() local
601 startpos = avio_tell(pb); in gxf_write_umf_media_description()
638 avio_seek(pb, startpos, SEEK_SET); in gxf_write_umf_media_description()
639 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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/
DTokenIterator.java116 int startpos = position; in nextToken() local
159 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/gstreamer/gstplugins_good/gst/matroska/
Debml-write.h122 guint64 startpos);
124 guint64 startpos,
Debml-write.c779 gst_ebml_write_master_finish_full (GstEbmlWrite * ebml, guint64 startpos, in gst_ebml_write_master_finish_full() argument
786 gst_ebml_write_seek (ebml, startpos); in gst_ebml_write_master_finish_full()
789 (G_GINT64_CONSTANT (1) << 56) | (pos - startpos - 8 + extra_size)); in gst_ebml_write_master_finish_full()
796 gst_ebml_write_master_finish (GstEbmlWrite * ebml, guint64 startpos) in gst_ebml_write_master_finish() argument
798 gst_ebml_write_master_finish_full (ebml, startpos, 0); in gst_ebml_write_master_finish()
/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/gettext/gettext-tools/src/
Dwrite-mo.c230 id_intervals[i].startpos += msgctlen; in write_table()
257 intervals[M_STR][nintervals[M_STR] + i].startpos = in write_table()
258 d + part_intervals[i].startpos; in write_table()
302 pre->segments[i].segsize = intervals[m][i].startpos - lastpos; in write_table()
304 length = intervals[m][i].endpos - intervals[m][i].startpos; in write_table()
305 pointer = str + intervals[m][i].startpos; in write_table()
Dformat.h139 size_t startpos; member
Dformat-c.c195 intervals[i].startpos = descr->sysdep_directives[2 * i] - string; in get_sysdep_c_format_directives()
/third_party/python/Lib/idlelib/
Dpyparse.py515 startpos = i
519 endpos = code.find('\n', startpos) + 1
553 i = startpos
/third_party/re2/re2/
Dre2.cc573 size_t startpos, in GlobalReplace() argument
584 if (startpos > endpos || endpos > text.size()) { in GlobalReplace()
587 << "startpos: " << startpos << ", " in GlobalReplace()
594 subtext.remove_prefix(startpos); in GlobalReplace()
611 if (prog_->anchor_start() && startpos != 0) in GlobalReplace()
624 if (startpos != 0) in GlobalReplace()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/
DSDL_sysaudio.h69 Uint32 startpos; /* bytes currently consumed in this packet. */ member
DSDL_audio.c506 packet->startpos = 0; in queue_audio_to_device()
537 const Uint32 avail = packet->datalen - packet->startpos; in dequeue_audio_from_device()
541 SDL_memcpy(ptr, packet->data + packet->startpos, cpy); in dequeue_audio_from_device()
542 packet->startpos += cpy; in dequeue_audio_from_device()
547 if (packet->startpos == packet->datalen) { /* packet is done, put it in the pool. */ in dequeue_audio_from_device()
1388 packet->startpos = 0; in open_audio_device()
/third_party/boost/boost/test/utils/runtime/
Dparameter.hpp54 std::string::size_type startpos = to_print.find_first_not_of(" \t\n", current); in commandline_pretty_print() local
55 current += startpos - current; in commandline_pretty_print()

12