/external/fonttools/Lib/fontTools/svgLib/path/ |
D | parser.py | 92 def parse_path(pathdef, pen, current_pos=(0, 0), arc_class=EllipticalArc): argument 112 current_pos = complex(*current_pos) 146 current_pos = pos 148 current_pos += pos 154 pen.moveTo((current_pos.real, current_pos.imag)) 159 start_pos = current_pos 168 if current_pos != start_pos: 171 current_pos = start_pos 180 pos += current_pos 182 current_pos = pos [all …]
|
/external/libbrillo/brillo/streams/ |
D | stream_utils_test.cc | 104 const uint64_t current_pos = 1234; in TEST() local 109 FROM_HERE, 0, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr)); in TEST() 113 FROM_HERE, 0, Whence::FROM_CURRENT, current_pos, end_pos, &pos, nullptr)); in TEST() 114 EXPECT_EQ(current_pos, pos); in TEST() 117 FROM_HERE, 0, Whence::FROM_END, current_pos, end_pos, &pos, nullptr)); in TEST() 121 FROM_HERE, 10, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr)); in TEST() 125 FROM_HERE, 10, Whence::FROM_CURRENT, current_pos, end_pos, &pos, in TEST() 127 EXPECT_EQ(current_pos + 10, pos); in TEST() 130 FROM_HERE, 10, Whence::FROM_END, current_pos, end_pos, &pos, nullptr)); in TEST() 134 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 | 139 const int64 current_pos = input_buffer_->Tell(); in GetNextInternal() local 141 if (current_pos < file_pos_limit_) { in GetNextInternal() 207 int64 current_pos = input_buffer_ ? input_buffer_->Tell() : -1; in SaveInternal() local 209 writer->WriteScalar(full_name(kCurrentPos), current_pos)); in SaveInternal() 220 int64 current_pos; in RestoreInternal() local 222 reader->ReadScalar(full_name(kCurrentPos), ¤t_pos)); in RestoreInternal() 227 if (current_pos >= 0) { // There was an active input_buffer_. in RestoreInternal() 236 TF_RETURN_IF_ERROR(input_buffer_->Seek(current_pos)); in RestoreInternal() 265 const int64 current_pos = buffered_input_stream_->Tell(); in GetNextInternal() local 268 if (current_pos < file_pos_limit_) { in GetNextInternal() [all …]
|
D | text_line_dataset_op.cc | 172 int64 current_pos; in RestoreInternal() local 174 reader->ReadScalar(full_name(kCurrentPos), ¤t_pos)); in RestoreInternal() 177 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/modules/audio_coding/neteq/tools/ |
D | input_audio_file.cc | 55 const long current_pos = ftell(fp_); in Seek() local 56 RTC_CHECK_NE(EOF, current_pos) in Seek() 62 long new_pos = current_pos + sizeof(int16_t) * samples; // Samples to bytes. in Seek()
|
/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-10.0/llvm/include/llvm/Support/ |
D | raw_ostream.h | 113 uint64_t tell() const { return current_pos() + GetNumBytesInBuffer(); } in tell() 323 virtual uint64_t current_pos() const = 0; 420 uint64_t current_pos() const override { return pos; } in current_pos() function 524 uint64_t current_pos() const override { return OS.size(); } in current_pos() function 552 uint64_t current_pos() const override; 579 uint64_t current_pos() const override;
|
D | raw_os_ostream.h | 32 uint64_t current_pos() const override;
|
/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/llvm-project/llvm/include/llvm/Support/ |
D | raw_ostream.h | 132 uint64_t tell() const { return current_pos() + GetNumBytesInBuffer(); } in tell() 343 virtual uint64_t current_pos() const = 0; 448 uint64_t current_pos() const override { return pos; } in current_pos() function 615 uint64_t current_pos() const override { return OS.size(); } in current_pos() function 645 uint64_t current_pos() const override; 672 uint64_t current_pos() const override;
|
D | raw_os_ostream.h | 32 uint64_t current_pos() const override;
|
D | raw_sha1_ostream.h | 41 uint64_t current_pos() const override { return 0; } in current_pos() function
|
/external/webrtc/api/transport/ |
D | stun.cc | 241 size_t current_pos = kStunHeaderSize; in ValidateMessageIntegrityOfType() local 243 while (current_pos + 4 <= size) { in ValidateMessageIntegrityOfType() 246 attr_type = rtc::GetBE16(&data[current_pos]); in ValidateMessageIntegrityOfType() 247 attr_length = rtc::GetBE16(&data[current_pos + sizeof(attr_type)]); in ValidateMessageIntegrityOfType() 252 current_pos + sizeof(attr_type) + sizeof(attr_length) + attr_length > in ValidateMessageIntegrityOfType() 261 current_pos += sizeof(attr_type) + sizeof(attr_length) + attr_length; in ValidateMessageIntegrityOfType() 263 current_pos += (4 - (attr_length % 4)); in ValidateMessageIntegrityOfType() 272 size_t mi_pos = current_pos; in ValidateMessageIntegrityOfType() 273 std::unique_ptr<char[]> temp_data(new char[current_pos]); in ValidateMessageIntegrityOfType() 274 memcpy(temp_data.get(), data, current_pos); in ValidateMessageIntegrityOfType() [all …]
|
/external/curl/lib/vtls/ |
D | schannel_verify.c | 316 LPTSTR current_pos = NULL; in cert_get_name_string() local 382 current_pos = host_names; in cert_get_name_string() 411 *current_pos++ = (char)(*dns_w++); in cert_get_name_string() 413 *current_pos++ = '\0'; in cert_get_name_string() 418 *current_pos = '\0'; in cert_get_name_string()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | raw_os_ostream.cpp | 29 uint64_t raw_os_ostream::current_pos() const { return OS.tellp(); } in current_pos() function in raw_os_ostream
|
/external/llvm-project/llvm/lib/Support/ |
D | raw_os_ostream.cpp | 29 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/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-project/lldb/source/Utility/ |
D | StreamCallback.cpp | 22 uint64_t StreamCallback::current_pos() const { return 0; } in current_pos() function in StreamCallback
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | StreamCallback.h | 30 uint64_t current_pos() const override;
|