/external/protobuf/python/google/protobuf/internal/ |
D | decoder.py | 239 (element, new_pos) = decode_value(buffer, pos) 243 pos = new_pos + tag_len 244 if buffer[new_pos:pos] != tag_bytes or new_pos >= end: 246 if new_pos > end: 248 return new_pos 271 (result, new_pos) = decode_value(buffer, pos) 272 return (modify_value(result), new_pos) 295 new_pos = pos + value_size 296 result = local_unpack(format, buffer[pos:new_pos])[0] 297 return (result, new_pos) [all …]
|
D | python_message.py | 1164 (tag_bytes, new_pos) = local_ReadTag(buffer, pos) 1178 old_pos = new_pos 1179 (data, new_pos) = decoder._DecodeUnknownField( 1180 buffer, new_pos, wire_type) # pylint: disable=protected-access 1181 if new_pos == -1: 1186 new_pos = local_SkipField(buffer, old_pos, end, tag_bytes) 1187 if new_pos == -1: 1190 (tag_bytes, buffer[old_pos:new_pos].tobytes())) 1191 pos = new_pos 1193 pos = field_decoder(buffer, new_pos, end, self, field_dict)
|
/external/bcc/src/cc/usdt/ |
D | usdt_args.cc | 134 bool ArgumentParser_aarch64::parse_register(ssize_t pos, ssize_t &new_pos, in parse_register() argument 136 new_pos = parse_number(pos, reg_num); in parse_register() 137 if (new_pos == pos || *reg_num < 0 || *reg_num > 31) in parse_register() 142 bool ArgumentParser_aarch64::parse_size(ssize_t pos, ssize_t &new_pos, in parse_size() argument 146 new_pos = parse_number(pos, arg_size); in parse_size() 147 if (new_pos == pos) in parse_size() 157 bool ArgumentParser_aarch64::parse_mem(ssize_t pos, ssize_t &new_pos, in parse_mem() argument 162 if (parse_register(pos + 1, new_pos, reg_num) == false) in parse_mem() 165 if (arg_[new_pos] == ',') { in parse_mem() 166 pos = new_pos + 1; in parse_mem() [all …]
|
/external/perfetto/src/protozero/ |
D | proto_decoder.cc | 76 const uint8_t* new_pos = pos; in ParseOneField() local 82 new_pos = ParseVarInt(pos, end, &int_value); in ParseOneField() 88 if (PERFETTO_UNLIKELY(new_pos == pos)) in ParseOneField() 96 new_pos = ParseVarInt(pos, end, &payload_length); in ParseOneField() 97 if (PERFETTO_UNLIKELY(new_pos == pos)) in ParseOneField() 101 if (payload_length > static_cast<uint64_t>(end - new_pos)) in ParseOneField() 104 const uintptr_t payload_start = reinterpret_cast<uintptr_t>(new_pos); in ParseOneField() 107 new_pos += payload_length; in ParseOneField() 112 new_pos = pos + sizeof(uint64_t); in ParseOneField() 113 if (PERFETTO_UNLIKELY(new_pos > end)) in ParseOneField() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-ot-shape-complex-indic.cc | 1138 unsigned int new_pos = base == end ? base - 2 : base - 1; in final_reordering_syllable_indic() local 1147 while (new_pos > start && in final_reordering_syllable_indic() 1148 !(is_one_of (info[new_pos], (FLAG (OT_M) | FLAG (OT_H))))) in final_reordering_syllable_indic() 1149 new_pos--; in final_reordering_syllable_indic() 1154 if (is_halant (info[new_pos]) && in final_reordering_syllable_indic() 1155 info[new_pos].indic_position() != POS_PRE_M) in final_reordering_syllable_indic() 1159 if (new_pos + 1 < end && is_joiner (info[new_pos + 1])) in final_reordering_syllable_indic() 1160 new_pos++; in final_reordering_syllable_indic() 1162 if (new_pos + 1 < end) in final_reordering_syllable_indic() 1165 if (info[new_pos + 1].indic_category() == OT_ZWJ) in final_reordering_syllable_indic() [all …]
|
D | hb-buffer.cc | 124 hb_glyph_position_t *new_pos = nullptr; in enlarge() local 138 new_pos = (hb_glyph_position_t *) realloc (pos, new_allocated * sizeof (pos[0])); in enlarge() 142 if (unlikely (!new_pos || !new_info)) in enlarge() 145 if (likely (new_pos)) in enlarge() 146 pos = new_pos; in enlarge()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | input_audio_file.cc | 54 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/pdfium/fpdfsdk/ |
D | cpdfsdk_customaccess.cpp | 29 FX_SAFE_FILESIZE new_pos = size; in ReadBlockAtOffset() local 30 new_pos += offset; in ReadBlockAtOffset() 31 return new_pos.IsValid() && new_pos.ValueOrDie() <= GetSize() && in ReadBlockAtOffset()
|
D | fpdf_dataavail.cpp | 84 FX_SAFE_FILESIZE new_pos = size; in ReadBlockAtOffset() local 85 new_pos += offset; in ReadBlockAtOffset() 86 return new_pos.IsValid() && new_pos.ValueOrDie() <= GetSize() && in ReadBlockAtOffset()
|
/external/pdfium/core/fxcrt/ |
D | cfx_seekablestreamproxy.cpp | 167 FX_SAFE_FILESIZE new_pos = m_iPosition; in Seek() local 168 new_pos += iOffset; in Seek() 170 new_pos.ValueOrDefault(std::numeric_limits<FX_FILESIZE>::max()); in Seek() 195 FX_SAFE_FILESIZE new_pos = m_iPosition; in ReadData() local 196 new_pos += iBufferSize; in ReadData() 197 m_iPosition = new_pos.ValueOrDefault(m_iPosition); in ReadData() 198 return new_pos.IsValid() ? iBufferSize : 0; in ReadData()
|
D | cfx_memorystream.cpp | 79 size_t new_pos = safe_new_pos.ValueOrDie(); in WriteBlockAtOffset() local 80 if (new_pos > m_nTotalSize) { in WriteBlockAtOffset() 82 FX_SAFE_SIZE_T new_size = new_pos; in WriteBlockAtOffset() 96 m_nCurPos = new_pos; in WriteBlockAtOffset()
|
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/ |
D | ANTLRStringStream.js | 116 var new_pos = this.p+i-1; 117 if (new_pos>=this.n || new_pos<0) { 120 return this.data.charAt(new_pos);
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_type3glyphmap.cpp | 32 int new_pos = FXSYS_roundf(pos); in AdjustBlueHelper() local 34 blues->push_back(new_pos); in AdjustBlueHelper() 35 return new_pos; in AdjustBlueHelper()
|
/external/libxkbcommon/xkbcommon/src/ |
D | scanner-utils.h | 111 const size_t new_pos = nl ? (size_t) (nl - s->s) : s->len; in skip_to_eol() local 112 s->column += new_pos - s->pos; in skip_to_eol() 113 s->pos = new_pos; in skip_to_eol()
|
/external/deqp-deps/amber/src/ |
D | shader_compiler.cc | 182 char* new_pos = nullptr; in ParseHex() local 183 uint64_t v = static_cast<uint64_t>(std::strtol(str, &new_pos, 16)); in ParseHex() 195 used += static_cast<size_t>(new_pos - str); in ParseHex() 196 str = new_pos; in ParseHex()
|
/external/libbrillo/brillo/streams/ |
D | memory_stream_unittest.cc | 125 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/perfetto/include/perfetto/protozero/ |
D | proto_decoder.h | 223 const uint8_t* new_pos = variable 226 if (PERFETTO_UNLIKELY(new_pos == read_ptr_)) { 231 read_ptr_ = new_pos;
|
/external/v8/src/parsing/ |
D | scanner.h | 168 void ReadBlockAt(size_t new_pos) { in ReadBlockAt() argument 173 DCHECK(new_pos < buffer_pos_ || in ReadBlockAt() 174 new_pos >= buffer_pos_ + (buffer_end_ - buffer_start_)); in ReadBlockAt() 177 buffer_pos_ = new_pos; in ReadBlockAt() 179 DCHECK_EQ(pos(), new_pos); in ReadBlockAt()
|
/external/bcc/src/cc/ |
D | usdt.h | 117 bool parse_register(ssize_t pos, ssize_t &new_pos, optional<int> *reg_num); 118 bool parse_size(ssize_t pos, ssize_t &new_pos, optional<int> *arg_size); 119 bool parse_mem(ssize_t pos, ssize_t &new_pos, optional<int> *reg_num,
|
/external/bcc/src/cc/includes/ |
D | usdt.h | 117 bool parse_register(ssize_t pos, ssize_t &new_pos, optional<int> *reg_num); 118 bool parse_size(ssize_t pos, ssize_t &new_pos, optional<int> *arg_size); 119 bool parse_mem(ssize_t pos, ssize_t &new_pos, optional<int> *reg_num,
|
/external/pdfium/core/fxcodec/bmp/ |
D | cfx_bmpdecompressor.cpp | 172 FX_SAFE_SIZE_T new_pos = input_buffer_->GetPosition(); in ReadBmpHeaderIfh() local 179 new_pos += img_ifh_size_; in ReadBmpHeaderIfh() 180 if (!new_pos.IsValid()) in ReadBmpHeaderIfh() 183 if (!input_buffer_->Seek(new_pos.ValueOrDie())) in ReadBmpHeaderIfh()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | model_pruner.cc | 346 int new_pos = terminal_input_pos[input_tensor.index()]; in RewriteIdentityNAndInputsOutputs() local 348 new_pos > 0 ? strings::StrCat(node->name(), ":", new_pos) in RewriteIdentityNAndInputsOutputs()
|
/external/v8/src/torque/ |
D | earley-parser.h | 307 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);
|
/external/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | small_vector.h | 338 typename std::vector<T>::iterator new_pos = in insert() local 340 large_data_->insert(new_pos, first, last); in insert()
|
/external/angle/third_party/spirv-tools/src/source/util/ |
D | small_vector.h | 338 typename std::vector<T>::iterator new_pos = in insert() local 340 large_data_->insert(new_pos, first, last); in insert()
|