/external/fonttools/Lib/fontTools/svgLib/path/ |
D | parser.py | 32 def parse_path(pathdef, pen, current_pos=(0, 0), arc_class=EllipticalArc): argument 52 current_pos = complex(*current_pos) 86 current_pos = pos 88 current_pos += pos 94 pen.moveTo((current_pos.real, current_pos.imag)) 99 start_pos = current_pos 108 if current_pos != start_pos: 111 current_pos = start_pos 120 pos += current_pos 122 current_pos = pos [all …]
|
/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/tensorflow/tensorflow/core/kernels/data/ |
D | fixed_length_record_dataset_op.cc | 135 const int64 current_pos = input_buffer_->Tell(); in GetNextInternal() local 137 if (current_pos < file_pos_limit_) { in GetNextInternal() 201 int64 current_pos = input_buffer_ ? input_buffer_->Tell() : -1; in SaveInternal() local 203 writer->WriteScalar(full_name(kCurrentPos), current_pos)); in SaveInternal() 214 int64 current_pos; in RestoreInternal() local 216 reader->ReadScalar(full_name(kCurrentPos), ¤t_pos)); in RestoreInternal() 221 if (current_pos >= 0) { // There was an active input_buffer_. in RestoreInternal() 230 TF_RETURN_IF_ERROR(input_buffer_->Seek(current_pos)); in RestoreInternal() 257 const int64 current_pos = buffered_input_stream_->Tell(); in GetNextInternal() local 260 if (current_pos < file_pos_limit_) { in GetNextInternal() [all …]
|
D | text_line_dataset_op.cc | 167 int64 current_pos; in RestoreInternal() local 169 reader->ReadScalar(full_name(kCurrentPos), ¤t_pos)); in RestoreInternal() 172 TF_RETURN_IF_ERROR(buffered_input_stream_->Seek(current_pos)); in RestoreInternal()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 1-5.c | 164 intptr_t stack_start, stack_end, current_pos; in threaded() 169 current_pos = (intptr_t) & ret; in threaded() 177 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
|
/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;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | raw_ostream.h | 100 uint64_t tell() const { return current_pos() + GetNumBytesInBuffer(); } in tell() 303 virtual uint64_t current_pos() const = 0; 383 uint64_t current_pos() const override { return pos; } in current_pos() function 485 uint64_t current_pos() const override { return OS.size(); } in current_pos() function 513 uint64_t current_pos() const override; 540 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
|
/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/igt-gpu-tools/runner/ |
D | resultgen.c | 106 char *current_pos = begin; in find_line_after_last() local 115 one = memmem(current_pos, end - current_pos, needle1_newline, strlen(needle1_newline)); in find_line_after_last() 116 two = memmem(current_pos, end - current_pos, needle2_newline, strlen(needle2_newline)); in find_line_after_last() 120 if (one != NULL && current_pos < one) in find_line_after_last() 121 current_pos = one; in find_line_after_last() 122 if (two != NULL && current_pos < two) in find_line_after_last() 123 current_pos = two; in find_line_after_last() 125 one = next_line(current_pos, end); in find_line_after_last() 127 current_pos = one; in find_line_after_last() 132 one = memchr(current_pos, '\n', end - current_pos); in find_line_after_last() [all …]
|
/external/u-boot/scripts/kconfig/ |
D | zconf.l | 24 } current_pos; variable 105 current_pos.file = current_file; 106 current_pos.lineno = yylineno;
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | dump_mlir_util.cc | 68 uint64_t current_pos() const override { return 0; } in current_pos() function 82 uint64_t current_pos() const override { return 0; } in current_pos() function
|
/external/v8/src/compiler/ |
D | graph-visualizer.cc | 793 UsePosition* current_pos = range->first_pos(); in PrintLiveRange() local 794 while (current_pos != nullptr) { in PrintLiveRange() 795 if (current_pos->RegisterIsBeneficial() || FLAG_trace_all_uses) { in PrintLiveRange() 796 os_ << " " << current_pos->pos().value() << " M"; in PrintLiveRange() 798 current_pos = current_pos->next(); in PrintLiveRange() 1012 for (UsePosition* current_pos = range.first_pos(); current_pos != nullptr; in operator <<() local 1013 current_pos = current_pos->next()) { in operator <<() 1019 os << current_pos->pos().value(); in operator <<()
|
/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/swiftshader/third_party/llvm-7.0/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
|
/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
|
/external/v4l2_codec2/tests/c2_e2e_test/jni/ |
D | common.cpp | 35 int current_pos = file_.tellg(); in GetLength() local 40 file_.seekg(current_pos, file_.beg); in GetLength()
|
/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
|