Home
last modified time | relevance | path

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

/external/nanopb-c/generator/google/protobuf/internal/
Ddecoder.py217 (element, new_pos) = decode_value(buffer, pos)
221 pos = new_pos + tag_len
222 if buffer[new_pos:pos] != tag_bytes or new_pos >= end:
224 if new_pos > end:
226 return new_pos
249 (result, new_pos) = decode_value(buffer, pos)
250 return (modify_value(result), new_pos)
273 new_pos = pos + value_size
274 result = local_unpack(format, buffer[pos:new_pos])[0]
275 return (result, new_pos)
[all …]
Dpython_message.py815 (tag_bytes, new_pos) = local_ReadTag(buffer, pos)
818 value_start_pos = new_pos
819 new_pos = local_SkipField(buffer, new_pos, end, tag_bytes)
820 if new_pos == -1:
824 unknown_field_list.append((tag_bytes, buffer[value_start_pos:new_pos]))
825 pos = new_pos
827 pos = field_decoder(buffer, new_pos, end, self, field_dict)
/external/protobuf/python/google/protobuf/internal/
Ddecoder.py234 (element, new_pos) = decode_value(buffer, pos)
238 pos = new_pos + tag_len
239 if buffer[new_pos:pos] != tag_bytes or new_pos >= end:
241 if new_pos > end:
243 return new_pos
266 (result, new_pos) = decode_value(buffer, pos)
267 return (modify_value(result), new_pos)
290 new_pos = pos + value_size
291 result = local_unpack(format, buffer[pos:new_pos])[0]
292 return (result, new_pos)
[all …]
Dpython_message.py862 (tag_bytes, new_pos) = local_ReadTag(buffer, pos)
865 value_start_pos = new_pos
866 new_pos = local_SkipField(buffer, new_pos, end, tag_bytes)
867 if new_pos == -1:
871 unknown_field_list.append((tag_bytes, buffer[value_start_pos:new_pos]))
872 pos = new_pos
874 pos = field_decoder(buffer, new_pos, end, self, field_dict)
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dinput_audio_file.cc54 long new_pos = current_pos + sizeof(int16_t) * samples; // Samples to bytes. in Seek() local
55 RTC_CHECK_GE(new_pos, 0) in Seek()
57 new_pos = new_pos % file_size; // Wrap around the end of the file. in Seek()
59 RTC_CHECK_EQ(0, fseek(fp_, new_pos, SEEK_SET)); in Seek()
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-indic.cc1381 unsigned int new_pos = base == end ? base - 2 : base - 1; in final_reordering_syllable() local
1389 while (new_pos > start && in final_reordering_syllable()
1390 !(is_one_of (info[new_pos], (FLAG (OT_M) | HALANT_OR_COENG_FLAGS)))) in final_reordering_syllable()
1391 new_pos--; in final_reordering_syllable()
1396 if (is_halant_or_coeng (info[new_pos]) && in final_reordering_syllable()
1397 info[new_pos].indic_position() != POS_PRE_M) in final_reordering_syllable()
1400 if (new_pos + 1 < end && is_joiner (info[new_pos + 1])) in final_reordering_syllable()
1401 new_pos++; in final_reordering_syllable()
1404 new_pos = start; /* No move. */ in final_reordering_syllable()
1407 if (start < new_pos && info[new_pos].indic_position () != POS_PRE_M) in final_reordering_syllable()
[all …]
Dhb-buffer.cc127 hb_glyph_position_t *new_pos = NULL; in enlarge() local
141 new_pos = (hb_glyph_position_t *) realloc (pos, new_allocated * sizeof (pos[0])); in enlarge()
145 if (unlikely (!new_pos || !new_info)) in enlarge()
148 if (likely (new_pos)) in enlarge()
149 pos = new_pos; in enlarge()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DANTLRStringStream.js116 var new_pos = this.p+i-1;
117 if (new_pos>=this.n || new_pos<0) {
120 return this.data.charAt(new_pos);
/external/dbus/dbus/
Ddbus-marshal-basic.h199 int *new_pos);
206 int *new_pos);
222 int *new_pos);
Ddbus-marshal-basic.c513 int *new_pos) in _dbus_marshal_read_uint32() argument
517 if (new_pos) in _dbus_marshal_read_uint32()
518 *new_pos = pos + 4; in _dbus_marshal_read_uint32()
553 int *new_pos) in _dbus_marshal_read_basic() argument
649 if (new_pos) in _dbus_marshal_read_basic()
650 *new_pos = pos; in _dbus_marshal_read_basic()
1533 int *new_pos) in _dbus_marshal_read_fixed_multi() argument
1553 if (new_pos) in _dbus_marshal_read_fixed_multi()
1554 *new_pos = pos + array_len; in _dbus_marshal_read_fixed_multi()
/external/libbrillo/brillo/streams/
Dmemory_stream_unittest.cc125 uint64_t new_pos = 0; in TEST_F() local
126 EXPECT_TRUE(stream_->Seek(2, Stream::Whence::FROM_BEGIN, &new_pos, &error)); in TEST_F()
128 EXPECT_EQ(2, new_pos); in TEST_F()
130 EXPECT_TRUE(stream_->Seek(2, Stream::Whence::FROM_CURRENT, &new_pos, &error)); in TEST_F()
132 EXPECT_EQ(4, new_pos); in TEST_F()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp63 int new_pos = FXSYS_round(pos); in _AdjustBlue() local
65 return new_pos; in _AdjustBlue()
67 blues[count++] = new_pos; in _AdjustBlue()
68 return new_pos; in _AdjustBlue()
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/
Dpump.py359 new_pos = Cursor(pos.line + 1, 0)
360 yield MakeToken(lines, pos, new_pos, 'exp')
361 pos = new_pos
/external/google-breakpad/src/testing/gtest/scripts/
Dpump.py359 new_pos = Cursor(pos.line + 1, 0)
360 yield MakeToken(lines, pos, new_pos, 'exp')
361 pos = new_pos
/external/protobuf/gtest/scripts/
Dpump.py353 new_pos = Cursor(pos.line + 1, 0)
354 yield MakeToken(lines, pos, new_pos, 'exp')
355 pos = new_pos
/external/opencv3/modules/core/test/
Dtest_ds.cpp676 int new_pos, new_pos0; in test_get_seq_reading() local
680 new_pos = cvtest::randInt(rng) % (total*2) - total; in test_get_seq_reading()
681 new_pos0 = new_pos + (is_relative ? pos : 0 ); in test_get_seq_reading()
687 cvSetSeqReaderPos( &reader, new_pos, is_relative ); in test_get_seq_reading()
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dinput_readers.py1348 new_pos = self._blob_reader.tell()
1350 new_pos -= 1
1352 self.INITIAL_POSITION_PARAM: new_pos,
/external/v8/src/parsing/
Dparser-base.h2530 int new_pos = position(); in ParseMemberWithNewPrefixesExpression() local
2549 result = Traits::SpreadCallNew(result, args, new_pos); in ParseMemberWithNewPrefixesExpression()
2551 result = factory()->NewCallNew(result, args, new_pos); in ParseMemberWithNewPrefixesExpression()
2560 new_pos); in ParseMemberWithNewPrefixesExpression()
/external/libvpx/libvpx/third_party/libwebm/
Dmkvparser.cpp5773 long long new_pos = -1; in Load() local
5878 new_pos = pos + size; in Load()
5904 m_pos = new_pos; // designates position just beyond timecode payload in Load()
/external/libvpx/libwebm/mkvparser/
Dmkvparser.cc5993 long long new_pos = -1; in Load() local
6098 new_pos = pos + size; in Load()
6124 m_pos = new_pos; // designates position just beyond timecode payload in Load()
/external/dbus/
DChangeLog.pre-1-014188 Set array_len and new_pos correctly.