Home
last modified time | relevance | path

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

/third_party/protobuf/python/google/protobuf/internal/
Ddecoder.py240 (element, new_pos) = decode_value(buffer, pos)
244 pos = new_pos + tag_len
245 if buffer[new_pos:pos] != tag_bytes or new_pos >= end:
247 if new_pos > end:
249 return new_pos
275 (result, new_pos) = decode_value(buffer, pos)
276 return (modify_value(result), new_pos)
299 new_pos = pos + value_size
300 result = local_unpack(format, buffer[pos:new_pos])[0]
301 return (result, new_pos)
[all …]
Dpython_message.py1181 (tag_bytes, new_pos) = local_ReadTag(buffer, pos)
1197 old_pos = new_pos
1198 (data, new_pos) = decoder._DecodeUnknownField(
1199 buffer, new_pos, wire_type) # pylint: disable=protected-access
1200 if new_pos == -1:
1205 new_pos = local_SkipField(buffer, old_pos, end, tag_bytes)
1206 if new_pos == -1:
1209 (tag_bytes, buffer[old_pos:new_pos].tobytes()))
1210 pos = new_pos
1212 pos = field_decoder(buffer, new_pos, end, self, field_dict)
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-shape-complex-indic.cc1100 unsigned int new_pos = base == end ? base - 2 : base - 1; in final_reordering_syllable_indic() local
1109 while (new_pos > start && in final_reordering_syllable_indic()
1110 !(is_one_of (info[new_pos], (FLAG (OT_M) | FLAG (OT_H))))) in final_reordering_syllable_indic()
1111 new_pos--; in final_reordering_syllable_indic()
1116 if (is_halant (info[new_pos]) && in final_reordering_syllable_indic()
1117 info[new_pos].indic_position() != POS_PRE_M) in final_reordering_syllable_indic()
1121 if (new_pos + 1 < end && is_joiner (info[new_pos + 1])) in final_reordering_syllable_indic()
1122 new_pos++; in final_reordering_syllable_indic()
1124 if (new_pos + 1 < end) in final_reordering_syllable_indic()
1127 if (info[new_pos + 1].indic_category() == OT_ZWJ) in final_reordering_syllable_indic()
[all …]
Dhb-buffer.cc126 hb_glyph_position_t *new_pos = nullptr; in enlarge() local
140 new_pos = (hb_glyph_position_t *) hb_realloc (pos, new_allocated * sizeof (pos[0])); in enlarge()
144 if (unlikely (!new_pos || !new_info)) in enlarge()
147 if (likely (new_pos)) in enlarge()
148 pos = new_pos; in enlarge()
/third_party/ffmpeg/libavformat/
Dsubfile.c119 int64_t new_pos, end; in subfile_seek() local
132 new_pos = c->start + pos; in subfile_seek()
135 new_pos = c->pos + pos; in subfile_seek()
138 new_pos = end + pos; in subfile_seek()
141 if (new_pos < c->start) in subfile_seek()
143 c->pos = new_pos; in subfile_seek()
Dftp.c760 int64_t new_pos; in ftp_seek() local
768 new_pos = pos; in ftp_seek()
771 new_pos = s->position + pos; in ftp_seek()
776 new_pos = s->filesize + pos; in ftp_seek()
785 if (new_pos < 0) { in ftp_seek()
790 if (new_pos != s->position) { in ftp_seek()
793 s->position = new_pos; in ftp_seek()
795 return new_pos; in ftp_seek()
Dmpeg.c964 int64_t old_pos = avio_tell(pb), new_pos; in vobsub_read_packet() local
974 new_pos = avio_tell(pb); in vobsub_read_packet()
975 pkt_size = ret + (new_pos - old_pos); in vobsub_read_packet()
Dwavdec.c730 uint64_t new_pos = wav->smv_data_ofs + in wav_read_packet() local
732 if (avio_seek(s->pb, new_pos, SEEK_SET) < 0) { in wav_read_packet()
/third_party/json/docs/examples/
Dinsert.cpp12 auto new_pos = v.insert(v.begin() + 2, 10); in main() local
15 std::cout << *new_pos << '\n'; in main()
Dinsert__count.cpp12 auto new_pos = v.insert(v.begin() + 2, 7, 7); in main() local
15 std::cout << *new_pos << '\n'; in main()
Dinsert__ilist.cpp12 auto new_pos = v.insert(v.end(), {7, 8, 9}); in main() local
15 std::cout << *new_pos << '\n'; in main()
Dinsert__range.cpp15 auto new_pos = v.insert(v.end(), v2.begin(), v2.end()); in main() local
18 std::cout << *new_pos << '\n'; in main()
/third_party/vk-gl-cts/external/amber/src/src/
Dshader_compiler.cc195 char* new_pos = nullptr; in ParseHex() local
196 uint64_t v = static_cast<uint64_t>(std::strtol(str, &new_pos, 16)); in ParseHex()
208 used += static_cast<size_t>(new_pos - str); in ParseHex()
209 str = new_pos; in ParseHex()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Debml-write.c211 gst_ebml_writer_send_segment_event (GstEbmlWrite * ebml, guint64 new_pos) in gst_ebml_writer_send_segment_event() argument
216 GST_INFO ("seeking to %" G_GUINT64_FORMAT, new_pos); in gst_ebml_writer_send_segment_event()
220 segment.start = new_pos; in gst_ebml_writer_send_segment_event()
227 GST_WARNING ("seek to %" G_GUINT64_FORMAT "failed", new_pos); in gst_ebml_writer_send_segment_event()
/third_party/node/deps/v8/src/torque/
Dearley-parser.h307 Item Advance(size_t new_pos, const Item* child = nullptr) const {
311 DCHECK_EQ(new_pos, child->pos());
314 Item result(rule_, mark_ + 1, start_, new_pos);
/third_party/python/Lib/
Dzipfile.py1051 new_pos = offset
1053 new_pos = curr_pos + offset
1055 new_pos = self._orig_file_size + offset
1060 if new_pos > self._orig_file_size:
1061 new_pos = self._orig_file_size
1063 if new_pos < 0:
1064 new_pos = 0
1066 read_offset = new_pos - curr_pos
1083 read_offset = new_pos
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dsmall_vector.h338 typename std::vector<T>::iterator new_pos = in insert() local
340 large_data_->insert(new_pos, first, last); in insert()
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dsmall_vector.h338 typename std::vector<T>::iterator new_pos = in insert() local
340 large_data_->insert(new_pos, first, last); in insert()
/third_party/spirv-tools/source/util/
Dsmall_vector.h355 typename std::vector<T>::iterator new_pos = in insert() local
357 large_data_->insert(new_pos, first, last); in insert()
/third_party/libsnd/tests/
Dutils.tpl140 (SNDFILE *file, sf_count_t offset, int whence, sf_count_t new_pos, int channels, int line_num) ;
642 test_seek_or_die (SNDFILE *file, sf_count_t offset, int whence, sf_count_t new_pos, int channels, i…
686 if ((position = sf_seek (file, offset, whence)) != new_pos)
688 line_num, channel_name, offset, whence_name, position, new_pos) ;
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/
Dgstdvdspu.c378 update_video_to_position (GstDVDSpu * dvdspu, GstClockTime new_pos) in update_video_to_position() argument
386 while (dvdspu->video_seg.position < new_pos && in update_video_to_position()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstcollectpads.c1596 GstCollectData * data, GstClockTime new_pos) in gst_collect_pads_handle_position_update() argument
1609 pads->priv->compare_func (pads, data, new_pos, in gst_collect_pads_handle_position_update()
/third_party/node/deps/v8/src/parsing/
Dparser-base.h3589 int new_pos = position(); in ParseMemberWithPresentNewPrefixesExpression() local
3617 result = factory()->NewCallNew(result, args, new_pos, has_spread); in ParseMemberWithPresentNewPrefixesExpression()
3631 return factory()->NewCallNew(result, args, new_pos, false); in ParseMemberWithPresentNewPrefixesExpression()
/third_party/ffmpeg/
DChangelog66 - avformat/wavdec: Use 64bit in new_pos computation
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs37763 let new_pos = match pos.into_node().forget_type().choose_parent_kv() { localVariable
37785 pos = unsafe { new_pos.cast_to_leaf_unchecked() };