Home
last modified time | relevance | path

Searched refs:current_pos (Results 1 – 25 of 43) sorted by relevance

12

/external/fonttools/Lib/fontTools/svgLib/path/
Dparser.py32 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/
Dstream_utils_unittest.cc102 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/
Dfixed_length_record_dataset_op.cc135 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), &current_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 …]
Dtext_line_dataset_op.cc167 int64 current_pos; in RestoreInternal() local
169 reader->ReadScalar(full_name(kCurrentPos), &current_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/
D1-5.c164 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/
Dinput_audio_file.cc47 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/
Dbwe_test_fileutils.cc36 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/
Draw_ostream.h92 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;
Draw_os_ostream.h33 uint64_t current_pos() const override;
Draw_sha1_ostream.h42 uint64_t current_pos() const override { return 0; } in current_pos() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Draw_ostream.h98 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;
Draw_os_ostream.h33 uint64_t current_pos() const override;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
Draw_ostream.h100 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;
Draw_os_ostream.h33 uint64_t current_pos() const override;
Draw_sha1_ostream.h42 uint64_t current_pos() const override { return 0; } in current_pos() function
/external/webrtc/webrtc/p2p/base/
Dstun.cc144 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/
Dresultgen.c106 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/
Dzconf.l24 } current_pos; variable
105 current_pos.file = current_file;
106 current_pos.lineno = yylineno;
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Ddump_mlir_util.cc68 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/
Dgraph-visualizer.cc793 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/
Draw_os_ostream.cpp30 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/
Draw_os_ostream.cpp30 uint64_t raw_os_ostream::current_pos() const { return OS.tellp(); } in current_pos() function in raw_os_ostream
/external/llvm/lib/Support/
Draw_os_ostream.cpp30 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/
Dcommon.cpp35 int current_pos = file_.tellg(); in GetLength() local
40 file_.seekg(current_pos, file_.beg); in GetLength()
/external/llvm/lib/MC/
DMCLinkerOptimizationHint.cpp48 uint64_t current_pos() const override { return Count; } in getEmitSize() function in MCLOHDirective::getEmitSize::raw_counting_ostream

12