/external/libbrillo/brillo/streams/ |
D | stream_utils_unittest.cc | 102 const uint64_t current_pos = 1234; in TEST() local 107 FROM_HERE, 0, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr)); in TEST() 111 FROM_HERE, 0, Whence::FROM_CURRENT, current_pos, end_pos, &pos, nullptr)); in TEST() 112 EXPECT_EQ(current_pos, pos); in TEST() 115 FROM_HERE, 0, Whence::FROM_END, current_pos, end_pos, &pos, nullptr)); in TEST() 119 FROM_HERE, 10, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr)); in TEST() 123 FROM_HERE, 10, Whence::FROM_CURRENT, current_pos, end_pos, &pos, in TEST() 125 EXPECT_EQ(current_pos + 10, pos); in TEST() 128 FROM_HERE, 10, Whence::FROM_END, current_pos, end_pos, &pos, nullptr)); in TEST() 132 FROM_HERE, -10, Whence::FROM_CURRENT, current_pos, end_pos, &pos, in TEST() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | input_audio_file.cc | 47 const long current_pos = ftell(fp_); in Seek() local 48 RTC_CHECK_NE(EOF, current_pos) in Seek() 54 long new_pos = current_pos + sizeof(int16_t) * samples; // Samples to bytes. in Seek()
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | bwe_test_fileutils.cc | 36 int32_t current_pos = ftell(file_); in IsAtEnd() local 39 fseek(file_, current_pos, SEEK_SET); in IsAtEnd() 40 return current_pos == end_pos; in IsAtEnd()
|
/external/llvm/include/llvm/Support/ |
D | raw_ostream.h | 92 uint64_t tell() const { return current_pos() + GetNumBytesInBuffer(); } in tell() 284 virtual uint64_t current_pos() const = 0; 363 uint64_t current_pos() const override { return pos; } in current_pos() function 458 uint64_t current_pos() const override { return OS.size(); } in current_pos() function 486 uint64_t current_pos() const override; 512 uint64_t current_pos() const override;
|
D | raw_os_ostream.h | 33 uint64_t current_pos() const override;
|
D | circular_raw_ostream.h | 88 uint64_t current_pos() const override { in current_pos() function
|
D | FormattedStream.h | 48 uint64_t current_pos() const override { in current_pos() function
|
/external/webrtc/webrtc/p2p/base/ |
D | stun.cc | 144 size_t current_pos = kStunHeaderSize; in ValidateMessageIntegrity() local 146 while (current_pos < size) { in ValidateMessageIntegrity() 149 attr_type = rtc::GetBE16(&data[current_pos]); in ValidateMessageIntegrity() 150 attr_length = rtc::GetBE16(&data[current_pos + sizeof(attr_type)]); in ValidateMessageIntegrity() 155 current_pos + attr_length > size) { in ValidateMessageIntegrity() 163 current_pos += sizeof(attr_type) + sizeof(attr_length) + attr_length; in ValidateMessageIntegrity() 165 current_pos += (4 - (attr_length % 4)); in ValidateMessageIntegrity() 174 size_t mi_pos = current_pos; in ValidateMessageIntegrity() 175 rtc::scoped_ptr<char[]> temp_data(new char[current_pos]); in ValidateMessageIntegrity() 176 memcpy(temp_data.get(), data, current_pos); in ValidateMessageIntegrity() [all …]
|
/external/v8/src/compiler/ |
D | graph-visualizer.cc | 573 UsePosition* current_pos = range->first_pos(); in PrintLiveRange() local 574 while (current_pos != nullptr) { in PrintLiveRange() 575 if (current_pos->RegisterIsBeneficial() || FLAG_trace_all_uses) { in PrintLiveRange() 576 os_ << " " << current_pos->pos().value() << " M"; in PrintLiveRange() 578 current_pos = current_pos->next(); in PrintLiveRange()
|
/external/llvm/lib/Support/ |
D | raw_os_ostream.cpp | 30 uint64_t raw_os_ostream::current_pos() const { return OS.tellp(); } in current_pos() function in raw_os_ostream
|
D | raw_ostream.cpp | 744 uint64_t raw_svector_ostream::current_pos() const { return OS.size(); } in current_pos() function in raw_svector_ostream 771 uint64_t raw_null_ostream::current_pos() const { in current_pos() function in raw_null_ostream
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_debug.cpp | 93 uint64_t current_pos() const { return pos; } in current_pos() function in raw_debug_ostream 96 uint64_t current_pos() { return pos; } in current_pos() function in raw_debug_ostream
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | transfer.py | 877 current_pos = self.stream.tell() 880 self.stream.seek(current_pos) 881 if current_pos != end_pos: 884 (int(end_pos) - int(current_pos)))
|
/external/llvm/include/llvm/MC/ |
D | MCLinkerOptimizationHint.h | 140 uint64_t current_pos() const override { return Count; } in getEmitSize()
|
/external/v8/src/parsing/ |
D | scanner.cc | 717 int current_pos = source_pos(); in SeekForward() local 718 DCHECK_EQ(next_.location.end_pos, current_pos); in SeekForward() 720 DCHECK(pos >= current_pos); in SeekForward() 721 if (pos != current_pos) { in SeekForward()
|
/external/toybox/kconfig/ |
D | lex.zconf.c_shipped | 771 } current_pos; 1046 current_pos.file = current_file; 1047 current_pos.lineno = current_file->lineno; 2343 return current_pos.lineno; 2348 return current_pos.file ? current_pos.file->name : "<none>";
|
/external/webrtc/talk/app/webrtc/ |
D | webrtcsdp.cc | 901 size_t current_pos = 0; in SdpDeserialize() local 904 if (!ParseSessionDescription(message, ¤t_pos, &session_id, in SdpDeserialize() 912 if (!ParseMediaDescription(message, session_td, session_extmaps, ¤t_pos, in SdpDeserialize()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | firstpass.c | 2841 FIRSTPASS_STATS *current_pos = cpi->twopass.stats_in; in find_next_key_frame() local 2869 reset_fpf_position(cpi, current_pos); in find_next_key_frame()
|
/external/v8/src/crankshaft/ |
D | hydrogen.cc | 13490 UsePosition* current_pos = range->first_pos(); in TraceLiveRange() local 13491 while (current_pos != NULL) { in TraceLiveRange() 13492 if (current_pos->RegisterIsBeneficial() || FLAG_trace_all_uses) { in TraceLiveRange() 13493 trace_.Add(" %d M", current_pos->pos().Value()); in TraceLiveRange() 13495 current_pos = current_pos->next(); in TraceLiveRange()
|