/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/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | raw_ostream.h | 84 uint64_t tell() const { return current_pos() + GetNumBytesInBuffer(); } in tell() 254 virtual uint64_t current_pos() const = 0; 315 virtual uint64_t current_pos() const { return pos; } in current_pos() function 432 virtual uint64_t current_pos() const { return OS.size(); } in current_pos() function 456 virtual uint64_t current_pos() const; 482 virtual uint64_t current_pos() const;
|
D | raw_os_ostream.h | 33 virtual uint64_t current_pos() const;
|
D | FormattedStream.h | 62 virtual uint64_t current_pos() const { in current_pos() function
|
D | circular_raw_ostream.h | 89 virtual uint64_t current_pos() const { in current_pos() function
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 1-5.c | 171 intptr_t stack_start, stack_end, current_pos; in threaded() 176 current_pos = (intptr_t) & ret; in threaded() 184 if ((stack_start > current_pos) || (current_pos > stack_end)) { in threaded()
|
/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 | raw_sha1_ostream.h | 42 uint64_t current_pos() const override { return 0; } in current_pos() function
|
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/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | raw_ostream.h | 98 uint64_t tell() const { return current_pos() + GetNumBytesInBuffer(); } in tell() 297 virtual uint64_t current_pos() const = 0; 376 uint64_t current_pos() const override { return pos; } in current_pos() function 471 uint64_t current_pos() const override { return OS.size(); } in current_pos() function 499 uint64_t current_pos() const override; 526 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
|
/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/swiftshader/third_party/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 | 737 uint64_t raw_svector_ostream::current_pos() const { in current_pos() function in raw_svector_ostream 762 uint64_t raw_null_ostream::current_pos() const { in current_pos() function in raw_null_ostream
|
/external/swiftshader/third_party/llvm-subzero/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
|
/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 | 760 uint64_t raw_svector_ostream::current_pos() const { return OS.size(); } in current_pos() function in raw_svector_ostream 787 uint64_t raw_null_ostream::current_pos() const { in current_pos() function in raw_null_ostream
|
/external/v8/src/compiler/ |
D | graph-visualizer.cc | 625 UsePosition* current_pos = range->first_pos(); in PrintLiveRange() local 626 while (current_pos != nullptr) { in PrintLiveRange() 627 if (current_pos->RegisterIsBeneficial() || FLAG_trace_all_uses) { in PrintLiveRange() 628 os_ << " " << current_pos->pos().value() << " M"; in PrintLiveRange() 630 current_pos = current_pos->next(); in PrintLiveRange()
|
/external/llvm/lib/MC/ |
D | MCLinkerOptimizationHint.cpp | 48 uint64_t current_pos() const override { return Count; } in getEmitSize() function in MCLOHDirective::getEmitSize::raw_counting_ostream
|
/external/libtextclassifier/smartselect/ |
D | feature-processor.cc | 96 int current_pos = it->start; in SplitTokensOnSelectionBoundaries() local 99 current_pos, in SplitTokensOnSelectionBoundaries() 100 current_pos + std::distance(last_start, split_point)); in SplitTokensOnSelectionBoundaries() 103 current_pos = new_token.end; in SplitTokensOnSelectionBoundaries()
|